/* Domospacer: architect's drawing table. Warm paper, ink, one terracotta accent. */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/vendor/fonts/figtree-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/vendor/fonts/figtree-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/vendor/fonts/figtree-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/vendor/fonts/figtree-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/vendor/fonts/figtree-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/vendor/fonts/figtree-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/vendor/fonts/instrument-serif-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/vendor/fonts/instrument-serif-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Fallback faces sized to the real fonts (ratios measured in Chrome), so text does not reflow when they arrive. */
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 99.6%; }
@font-face { font-family: 'Instrument Serif Fallback'; src: local('Times New Roman'); size-adjust: 82.4%; }

:root {
  --paper: #f3ecdd;
  --paper-deep: #e9dfca;
  --sheet: #fbf7ee;
  --ink: #221e18;
  --ink-soft: #5b5446;
  --ink-faint: #6f6757;
  --rule: rgba(34, 30, 24, .16);
  --rule-strong: rgba(34, 30, 24, .42);
  --accent: #a5481f;
  --accent-deep: #84381a;
  --accent-wash: rgba(165, 72, 31, .11);
  --ok: #3e6a45;
  --serif: 'Instrument Serif', 'Instrument Serif Fallback', 'Times New Roman', serif;
  --sans: 'Figtree', 'Figtree Fallback', system-ui, sans-serif;
  --radius: 3px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background-color: var(--paper);
  /* drafting grid */
  background-image:
    linear-gradient(rgba(34, 30, 24, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 30, 24, .045) 1px, transparent 1px),
    linear-gradient(rgba(34, 30, 24, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 30, 24, .022) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.65rem, 7.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
small, .small { font-size: .86rem; }
.muted { color: var(--ink-soft); }
.num { font-variant-numeric: tabular-nums; }
.missing { background: #f4d9b8; padding: 0 .3em; font-weight: 500; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; }

/* header */
.site-head { border-bottom: 1px solid var(--rule); background: rgba(243, 236, 221, .92); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { font-family: var(--serif); font-size: 1.65rem; color: var(--ink); text-decoration: none; line-height: 1; display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 24px; height: 24px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--accent); }
.site-nav .btn { color: var(--sheet); }
.site-nav .btn:hover { color: var(--sheet); }
.nav-links, .nav-acts { display: flex; align-items: center; gap: 22px; }
.nav-links a[aria-current] { color: var(--accent); }
.site-nav-public a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; font-size: .95rem; }
.linklike:hover { color: var(--accent); }
[hidden] { display: none !important; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--sheet); font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--sheet); }
.btn:disabled { background: var(--paper-deep); border-color: var(--rule-strong); color: var(--ink-faint); cursor: not-allowed; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.btn-quiet { background: transparent; color: var(--ink-soft); border-color: var(--rule-strong); }
.btn-quiet:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-danger { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-danger:hover { background: var(--accent); color: var(--sheet); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* landing */
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 12px; }
.wrap-narrow > h1 { margin-bottom: 14px; }
.updated { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.hero { padding: clamp(22px, 2.8vw, 38px) 0 clamp(40px, 6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.hero h1 { font-size: clamp(2.8rem, 4.85vw, 4.35rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-side { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 16px clamp(28px, 4vw, 56px); align-items: start; }
.hero .lede { font-size: 1.02rem; line-height: 1.5; margin: 0; color: var(--ink-soft); }
.hero-note { margin: 10px 0 0; color: var(--ink-soft); }

.shot { margin: 0; position: relative; min-width: 0; }
.shot figcaption { font-size: .86rem; line-height: 1.4; color: var(--ink-soft); margin-top: 8px; }
.shot figcaption b { font-weight: 500; color: var(--ink); }
.shot-frame { border: 1px solid var(--rule-strong); background: var(--paper-deep); overflow: hidden; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-stage { position: relative; aspect-ratio: 1800 / 830; background: var(--paper-deep); border: 1px solid var(--rule-strong); overflow: hidden; }
.shot-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: 0; transition: opacity .55s ease; }
.shot-stage img.is-on { opacity: 1; }
.lp-shot .shot-stage { aspect-ratio: 16 / 10.4; }
.lp-shot .shot-stage img { opacity: 1; object-position: 50% 50%; }

/* an architect's dimension line above the picture */
.dimension {
  display: flex; align-items: center; justify-content: center; height: 16px; margin: 0 0 10px; font-size: .78rem; letter-spacing: .03em; color: var(--ink-soft);
  background:
    linear-gradient(var(--ink-soft), var(--ink-soft)) left center / 1px 13px no-repeat,
    linear-gradient(var(--ink-soft), var(--ink-soft)) right center / 1px 13px no-repeat,
    linear-gradient(var(--rule-strong), var(--rule-strong)) center / 100% 1px no-repeat;
}
.dimension span { background: var(--paper); padding: 0 12px; }

/* the title block of a drawing */
.plate { position: absolute; right: clamp(10px, 1.8vw, 20px); bottom: clamp(10px, 1.8vw, 20px); width: min(318px, 44%); margin: 0; padding: 12px 14px; background: var(--sheet); border: 1px solid var(--ink); color: var(--ink); }
.shot figcaption.plate { margin-top: 0; }
.plate-title { font-family: var(--serif); font-size: 1.28rem; line-height: 1.1; margin: 0 0 3px; }
.plate-text { margin: 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.35; }
.plate-text b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.plate-hours { display: flex; margin-top: 10px; border: 1px solid var(--ink); }
.plate-hours button { flex: 1 1 0; min-height: 40px; padding: 6px 0; background: transparent; border: 0; border-left: 1px solid var(--ink); color: var(--ink); font: 500 .9rem/1 var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.plate-hours button:first-child { border-left: 0; }
.plate-hours button:hover { background: var(--accent-wash); }
.plate-hours button.is-on { background: var(--ink); color: var(--sheet); }
.plate-hours button:focus-visible { outline-offset: -4px; }
.plate-hours button.is-on:focus-visible { outline-color: var(--sheet); }

.drawing text { font-family: var(--sans); fill: var(--ink-soft); font-size: 11.5px; }
.drawing .room { font-family: var(--serif); font-size: 21px; fill: var(--ink); }
.drawing .tb { font-size: 9.5px; letter-spacing: .08em; }
.drawing .tb-big { font-family: var(--serif); font-size: 18px; fill: var(--ink); }
.drawing .wall { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linejoin: miter; }
.drawing .wall-in { fill: none; stroke: var(--ink); stroke-width: 4.5; }
.drawing .thin { fill: none; stroke: var(--ink); stroke-width: 1; }
.drawing .dim { fill: none; stroke: var(--ink-soft); stroke-width: .9; }
.drawing .glass { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.2; }
.drawing .sun-path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 5 5; }
.drawing .sun { fill: var(--accent); }
.drawing .ray { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 2 4; }
.drawing .light { fill: var(--accent-wash); stroke: var(--accent); stroke-width: .8; }
.drawing .hour { fill: var(--accent); font-size: 11.5px; }

.section { padding: clamp(44px, 6.4vw, 80px) 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(24px, 3.4vw, 40px); flex-wrap: wrap; }
.section-head h2 { flex: 1 1 420px; }
.section-head p { flex: 0 1 30em; margin: 0; color: var(--ink-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 40px); }
.step { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; align-content: start; }
.step-pic { grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sheet); border: 1px solid var(--rule-strong); margin-bottom: 16px; }
.step-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.step-pic.plan-sheet { padding: 6px; }
.step-pic.plan-sheet svg { display: block; width: 100%; height: 100%; }
.step .n { font-family: var(--serif); font-size: 2.5rem; color: var(--accent); line-height: 1; }
.step p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.plain-list { list-style: none; margin: 18px 0 0; padding: 0; }
.split > .plain-list { margin-top: 0; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--rule); }
.plain-list li:last-child { border-bottom: 1px solid var(--rule); }
.plain-list strong { font-weight: 600; }

.sun-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(28px, 5vw, 64px); align-items: start; }
.sun-copy { grid-row: 1 / span 2; }
.sun-copy h2 { margin-bottom: 18px; }
.sun-copy p:not(.eyebrow) { color: var(--ink-soft); }
.sun-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sun-pair-wide { margin-bottom: clamp(26px, 4vw, 44px); }
.sun-table { grid-column: 2; }
.h-table { margin-bottom: 14px; }

.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 1px solid var(--rule-strong); background: var(--sheet); }
.tile { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--rule); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 10px; }
.tile-around { grid-column: span 7; border-right: 1px solid var(--rule); }
.tile-pic { border: 1px solid var(--rule); overflow: hidden; margin-bottom: 18px; }
.tile-pic img { display: block; width: 100%; height: auto; }
.tile-phone { grid-column: span 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 178px); gap: 20px; align-items: center; }
.phone { border: 6px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--ink); }
.phone img { display: block; width: 100%; height: auto; border-radius: 16px; }
.tile-finish { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(18px, 3vw, 36px); align-items: start; border-bottom: 0; }
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.kind { min-width: 0; }
.kind-pic { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-deep); border: 1px solid var(--rule-strong); margin-bottom: 16px; }
.kind-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kind > p { color: var(--ink-soft); margin: 8px 0 0; }
.kind-links { display: flex; flex-direction: column; margin-top: 6px !important; }
.kind-links a { display: inline-flex; align-items: center; min-height: 44px; }
.kind-links a + a { border-top: 1px solid var(--rule); }
.kinds-note { margin: clamp(24px, 3vw, 36px) 0 0; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-soft); }

.compare-wrap { border: 1px solid var(--ink); background: var(--sheet); overflow-x: auto; }
.compare { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; font-size: .93rem; line-height: 1.4; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; border-bottom: 1px solid var(--ink); }
.compare thead th span { color: var(--ink-soft); }
.compare tbody th { font-weight: 500; width: 16%; }
.compare th:first-child { position: sticky; left: 0; background: var(--sheet); box-shadow: 1px 0 0 var(--rule); }
.compare td { color: var(--ink-soft); }
.compare td:nth-child(2) { color: var(--ink); }
.compare td:nth-child(2), .compare thead th:nth-child(2) { background: var(--accent-wash); }

.band { background: var(--ink); color: var(--paper); border-top: 0; }
.band h2 { color: var(--sheet); }
.band-lead { color: #c9bfa9; margin: 10px 0 0; }
.band .plain-list li { border-color: rgba(243, 236, 221, .22); }
.band :focus-visible { outline-color: var(--paper); }

.titleblock { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--sheet); border: 1px solid var(--ink); }
.titleblock > div { padding: clamp(22px, 3.5vw, 40px); }
.titleblock > div + div { border-left: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.titleblock p { margin: 0; }
.price { font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 5.2rem); line-height: 1; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.tiers td { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.tiers tbody th { width: auto; vertical-align: middle; white-space: nowrap; }
.titleblock .tiers { margin: 0; }
.read-banner { margin: 0 0 16px; padding: 10px 14px; background: var(--sheet); border-left: 2px solid var(--accent); }
.read-wait { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 6px; }
.read-result { display: grid; gap: 16px; margin-bottom: 20px; }
.read-result p { margin: 0; }
.read-level { margin: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.read-plan { display: block; width: 100%; height: auto; background: var(--sheet); border: 1px solid var(--rule); }
.rp-wall { stroke: var(--ink); stroke-linecap: square; }
.rp-gap { stroke: var(--sheet); }
.rp-glass { stroke: var(--accent); }
.rp-name, .rp-area { fill: var(--ink); text-anchor: middle; font-family: var(--sans); }
.rp-area { fill: var(--ink-soft); }
.read-rooms { list-style: none; margin: 8px 0 0; padding: 0; font-size: .95rem; }
.read-rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--rule); }
.read-rooms li span:last-child { white-space: nowrap; color: var(--ink-soft); }
@media (max-width: 640px) { .read-level { grid-template-columns: minmax(0, 1fr); } }

.faq-side { position: sticky; top: 24px; align-self: start; }
.faq-side h2 { margin-bottom: 14px; }
.faq-list { min-width: 0; }
.faq details { border-top: 1px solid var(--rule); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 12px 32px 12px 0; font-weight: 500; position: relative; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 6px; font-family: var(--serif); font-size: 1.7rem; color: var(--accent); line-height: 1.3; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink-soft); max-width: 44em; }

/* pages for one kind of search */
.lp-hero { padding: clamp(28px, 4.2vw, 56px) 0 clamp(36px, 5vw, 60px); }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(26px, 4.6vw, 60px); align-items: center; }
.lp-copy { min-width: 0; }
.lp-copy h1 { font-size: clamp(2.5rem, 4.9vw, 3.9rem); margin-bottom: 18px; }
.answer { font-size: 1.05rem; line-height: 1.55; margin: 0 0 22px; padding-left: 16px; border-left: 2px solid var(--accent); }
.h-facts { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: clamp(18px, 2.6vw, 28px); }
.facts { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--ink); font-size: .98rem; line-height: 1.4; }
.facts th, .facts td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.facts tbody tr:last-child > * { border-bottom: 0; }
.facts tbody th { width: 27%; font-weight: 500; }
.facts td { color: var(--ink-soft); }
.facts thead th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; border-bottom: 1px solid var(--ink); }
.facts-note { margin: 12px 0 0; }
.media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4.6vw, 60px); align-items: center; }
.media-text { min-width: 0; }
.media-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.media-text p { color: var(--ink-soft); }
.media-text .facts { margin-top: 18px; font-size: .92rem; }
.code { margin: 0 0 12px; padding: 14px; background: var(--ink); color: var(--paper); font: 13px/1.55 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.related h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.related-list li { border-top: 1px solid var(--ink); padding: 10px 0 0; }
.related-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.related-list span { display: block; color: var(--ink-soft); font-size: .95rem; }

/* footer */
.site-foot { border-top: 1px solid var(--rule); padding: 36px 0 44px; font-size: .9rem; color: var(--ink-soft); margin-top: 40px; }
.band + .site-foot, .related + .site-foot { margin-top: 0; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-foot p { margin: 0 0 4px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot .foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 48px); }
.foot-name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.1; margin-bottom: 8px !important; }
.foot-company { margin-top: 14px !important; }
.foot-h { font-weight: 500; color: var(--ink); margin-bottom: 8px !important; }
.foot-col a { display: flex; align-items: center; min-height: 34px; color: var(--ink-soft); text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 1080px) {
  .site-head .wrap:has(.site-nav-public) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 12px; padding-bottom: 0; }
  .site-nav-public { display: contents; }
  .site-nav-public .nav-acts { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 14px; }
  .site-nav-public .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 16px; overflow-x: auto; scrollbar-width: none; margin: 2px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); border-top: 1px solid var(--rule); }
  .site-nav-public .nav-links::-webkit-scrollbar { display: none; }
}

@media (max-width: 980px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-shot { order: -1; }
}

@media (max-width: 880px) {
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .hero-head { order: 1; }
  .hero-shot { order: 2; }
  .hero-side { order: 3; }
  .sun-grid, .media { grid-template-columns: minmax(0, 1fr); }
  .sun-copy, .sun-table { grid-row: auto; grid-column: auto; }
  .media-pic { order: -1; }
  .tile-around, .tile-phone { grid-column: 1 / -1; border-right: 0; }
  .tile-finish { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .site-foot .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .plate { position: static; width: auto; padding: 10px 0 0; border: 0; background: transparent; }
  .plate-hours button { min-height: 44px; }
  .shot-stage { aspect-ratio: 3 / 2; }
  .tile-phone { grid-template-columns: minmax(0, 1fr) 140px; }
}

@media (max-width: 660px) {
  .steps, .kinds, .related-list { grid-template-columns: minmax(0, 1fr); }
  .step-pic { aspect-ratio: 16 / 10; }
  .related-list li { padding-bottom: 10px; }
}

@media (max-width: 560px) {
  .styles { gap: 6px; }
  .styles figcaption { font-size: .78rem; }
  .sun-pair { gap: 8px; }
  .site-nav-public .btn-sm { min-height: 44px; padding: 6px 10px; }
  .brand { font-size: 1.38rem; gap: 7px; min-height: 44px; }
  .brand svg { width: 20px; height: 20px; }
  .nav-acts { gap: 10px !important; font-size: .94rem; }
  .site-nav-public .nav-links { gap: 8px; font-size: .9rem; }
  .site-nav-public .nav-links a { font-size: .9rem; }
  .tile-phone { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .tile-phone .tile-text { justify-self: stretch; }
  .phone { width: min(230px, 70%); }
  .foot-col a { min-height: 44px; }
  .facts-wide thead { display: none; }
  .facts-wide, .facts-wide tbody, .facts-wide tr, .facts-wide th, .facts-wide td { display: block; width: auto; }
  .facts-wide tbody tr { padding: 11px 14px; border-bottom: 1px solid var(--rule); }
  .facts-wide tbody tr:last-child { border-bottom: 0; }
  .facts-wide tbody th, .facts-wide td { padding: 0; border: 0; }
  .facts-wide td { margin-top: 3px; }
  .facts tbody th { width: 38%; }
}

/* forms and panels */
.page { padding: clamp(28px, 5vw, 56px) 0; }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); overflow-wrap: anywhere; }
.page-head p { margin: 10px 0 0; color: var(--ink-soft); }
.danger-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 4px 2px; color: var(--ink-soft); font-size: .92rem; }
.card { background: var(--sheet); border: 1px solid var(--rule-strong); padding: clamp(18px, 3.5vw, 32px); margin-bottom: 20px; }
.card h2 { font-size: 1.9rem; margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.auth-card { max-width: 440px; margin: 0 auto; }
.h-card { font-size: 2.3rem; margin-bottom: 18px; }
label, .label { display: block; font-weight: 500; font-size: .94rem; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field small { display: block; color: var(--ink-soft); margin-top: 5px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  display: block; width: 100%; min-height: 46px; padding: 10px 12px; font: 400 1rem/1.3 var(--sans); color: var(--ink);
  background: #fffdf8; border: 1px solid var(--rule-strong); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 1px solid var(--accent); outline-offset: 0; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400; font-size: .96rem; margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-error { color: var(--accent-deep); background: var(--accent-wash); border-left: 3px solid var(--accent); padding: 10px 14px; margin: 0 0 16px; font-size: .95rem; }
.form-ok { color: var(--ok); background: rgba(62, 106, 69, .1); border-left: 3px solid var(--ok); padding: 10px 14px; margin: 0 0 16px; font-size: .95rem; }
.form-foot { margin-top: 16px; font-size: .95rem; color: var(--ink-soft); }
.after-summary { margin-top: 18px; }
details > summary.btn { list-style: none; width: fit-content; }
details > summary.btn::-webkit-details-marker { display: none; }

.status { display: inline-block; font-size: .8rem; font-weight: 500; padding: 3px 9px; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--ink-soft); white-space: nowrap; }
.status-review, .status-paid, .status-processing { border-color: var(--accent); color: var(--accent); }
.status-published { border-color: var(--ok); color: var(--ok); }
.status-failed { background: var(--accent); border-color: var(--accent); color: var(--sheet); }

.project-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.project-list li { border-bottom: 1px solid var(--rule); }
.project-list a { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 16px 4px; color: var(--ink); text-decoration: none; }
.project-list a:hover { background: var(--accent-wash); }
.project-list .name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; overflow-wrap: anywhere; }
.project-list .when { font-size: .86rem; color: var(--ink-soft); }

/* wizard */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 24px; padding: 0; border: 1px solid var(--rule-strong); background: var(--sheet); }
.stepper li + li { border-left: 1px solid var(--rule); }
.stepper button { width: 100%; height: 100%; background: none; border: 0; padding: 12px 14px; font: 400 .92rem/1.25 var(--sans); color: var(--ink-soft); text-align: left; cursor: pointer; display: flex; gap: 8px; align-items: baseline; }
.stepper button:disabled { cursor: default; color: var(--ink-faint); }
.stepper .i { font-family: var(--serif); font-size: 1.3rem; line-height: 1; }
.stepper .is-current button { background: var(--ink); color: var(--sheet); }
.stepper .is-done .i { color: var(--accent); }

.kind-choice { border: 0; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kind-choice legend { font-weight: 500; font-size: .94rem; margin-bottom: 8px; padding: 0; }
.kind-option { position: relative; margin: 0; cursor: pointer; }
.kind-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kind-option span { display: flex; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 11px 6px; border: 1px solid var(--rule-strong); background: #fffdf8; font-size: .95rem; }
.kind-option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.kind-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.dropzone { display: block; border: 1.5px dashed var(--rule-strong); padding: clamp(26px, 5vw, 44px) 20px; text-align: center; cursor: pointer; background: #fffdf8; font-weight: 400; margin-bottom: 16px; transition: border-color .15s ease, background-color .15s ease; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: var(--accent-wash); }
.dropzone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Out of sight but still in the keyboard order and the accessibility tree, unlike the hidden attribute. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.dropzone strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 4px; }
.file-list { list-style: none; margin: 0 0 18px; padding: 0; }
.file-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.file-list .fname { overflow-wrap: anywhere; flex: 1 1 auto; min-width: 0; }
.file-list .fsize { color: var(--ink-soft); font-size: .86rem; white-space: nowrap; }
.progress { height: 3px; background: var(--paper-deep); margin-top: 5px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s linear; }

#map { height: 420px; border: 1px solid var(--rule-strong); margin-bottom: 14px; background: var(--paper-deep); }
.geo-form { display: flex; gap: 10px; margin-bottom: 10px; }
.geo-form input { flex: 1 1 auto; min-width: 0; }
.geo-form .btn { flex: none; white-space: nowrap; }
.geo-results { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--rule); }
.geo-results button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 9px 4px; font: 400 .93rem/1.35 var(--sans); color: var(--ink); cursor: pointer; }
.geo-results button:hover { background: var(--accent-wash); }

.summary { margin: 0 0 22px; }
.summary > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.summary dt { color: var(--ink-soft); font-size: .92rem; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0 18px; }
.pay-total b { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.test-note { font-size: .92rem; background: var(--accent-wash); border-left: 3px solid var(--accent); padding: 10px 14px; margin-bottom: 16px; }

.timeline { list-style: none; margin: 8px 0 22px; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 32px; color: var(--ink-faint); }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 7px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--rule-strong); background: var(--sheet); }
.timeline li::after { content: ''; position: absolute; left: 11px; top: 22px; bottom: -3px; width: 1.5px; background: var(--rule); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.timeline li.now { color: var(--ink); font-weight: 500; }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
.timeline small { display: block; color: var(--ink-soft); font-weight: 400; }
@keyframes pulse { 50% { opacity: .35; } }

.share-box { display: flex; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.share-box input { flex: 1 1 auto; min-width: 0; font-size: .92rem; }
#progress-notes:not(:empty) { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.notes-list { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .95rem; }
#plan-tips { margin-bottom: 14px; }

dialog { border: 1px solid var(--ink); background: var(--sheet); color: var(--ink); padding: 26px; max-width: min(460px, calc(100vw - 32px)); width: 100%; }
dialog::backdrop { background: rgba(34, 30, 24, .45); }
dialog h3 { margin-bottom: 10px; }

/* staff */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill { font: 400 .9rem/1 var(--sans); background: transparent; color: var(--ink-soft); border: 1px solid var(--rule-strong); padding: 8px 12px; cursor: pointer; border-radius: 2px; }
.pill[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.staff-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
table.staff { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--sheet); }
table.staff th { text-align: left; font-weight: 500; color: var(--ink-soft); font-size: .82rem; padding: 10px 12px; border-bottom: 1px solid var(--rule-strong); }
table.staff td { padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: break-word; }
#list-card { padding: 0; overflow-x: auto; }
#list-card #none { padding: 16px; margin: 0; }
table.staff tr.row { cursor: pointer; }
table.staff tr.row:hover td { background: var(--accent-wash); }
table.staff tr.selected td { background: var(--accent-wash); }
.detail h2 { font-size: 1.7rem; overflow-wrap: anywhere; }
.detail .summary > div { grid-template-columns: 110px minmax(0, 1fr); }
pre.err { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--accent-wash); padding: 10px 12px; font-size: .85rem; margin: 0 0 14px; }

/* legal */
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.75rem; margin: 2em 0 .5em; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.legal th, .legal td { border: 1px solid var(--rule-strong); padding: 8px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal blockquote { margin: 1em 0; padding: 14px 18px; background: var(--sheet); border: 1px solid var(--rule-strong); font-size: .95rem; }

@media (max-width: 880px) {
  .split, .staff-grid { grid-template-columns: minmax(0, 1fr); }
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .titleblock > div + div { border-left: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav { gap: 14px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .stepper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stepper button { flex-direction: column; gap: 2px; padding: 9px 8px; font-size: .76rem; }
  .summary > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .btn-row .btn { flex: 1 1 auto; }
  #map { height: 320px; }
  .share-box, .geo-form { flex-direction: column; }
  table.staff thead { display: none; }
  table.staff tr { display: block; border-bottom: 1px solid var(--rule-strong); padding: 8px 0; }
  table.staff td { display: block; padding: 3px 10px; border: 0; }
  .project-list a { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.embed-box { display: grid; gap: 8px; margin-top: 16px; justify-items: start; }
.embed-box textarea { width: 100%; font: 12.5px/1.5 ui-monospace, Consolas, monospace; padding: 10px; resize: vertical; box-sizing: border-box; }
