/* Malta Building Materials preview. Swiss industrial print: paper, carbon ink, one red. Square corners everywhere except the preview badge. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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: 'Archivo'; src: url('/fonts/archivo-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Plex Mono'; src: url('/fonts/plex-mono.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --paper: #ECEBE6;
  --paper-2: #E2E0D9;
  --surface: #F6F5F1;
  --ink: #121212;
  --ink-2: #3A3A37;
  --ink-3: #5E5D58;
  --rule: rgba(18, 18, 18, .16);
  --red: #C42318;
  --red-hover: #A51C12;
  --red-wash: rgba(196, 35, 24, .08);
  --on-red: #F6F5F1;
  --block: #BDBAB2;
  --block-edge: #8F8C85;
  --block-core: #7B7871;
  --night-2: #A9A8A2;
  --red-night: #F0553F;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --section: clamp(72px, 10vw, 136px);
  --nav-h: 64px;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --z-badge: 30;
  --z-menu: 35;
  --z-nav: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 108%; letter-spacing: -0.03em; line-height: .95; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 4.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.05; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; }
.tag { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.tag::before { content: '[ '; color: var(--red); }
.tag::after { content: ' ]'; color: var(--red); }
.lede { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- icons ---------- */
.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 0 18px 0 22px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  font-stretch: 105%;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s cubic-bezier(.16, 1, .3, 1), color .25s cubic-bezier(.16, 1, .3, 1), transform .2s cubic-bezier(.16, 1, .3, 1);
}
.btn .icon { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.btn:hover .icon { transform: translate(3px, -3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn--red:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--surface); }
.btn--ghost-light { border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark__glyph { width: 46px; height: 28px; }
.mark__name { font-weight: 850; font-stretch: 112%; font-size: 13px; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; }
.nav__links { display: none; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__links a { position: relative; text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.status { display: none; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
.status__light { width: 9px; height: 9px; background: var(--ink-3); }
.status.is-open .status__light { background: var(--red); }
.nav__cta { display: none; min-height: 44px; }
.nav__menu-btn { display: grid; place-content: center; gap: 6px; width: 48px; height: 44px; border: 2px solid var(--ink); background: var(--ink); cursor: pointer; }
.nav__menu-btn span { display: block; width: 20px; height: 2px; background: var(--paper); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.menu-open .nav__menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px var(--gutter) 40px;
  background: var(--paper);
  opacity: 0;
  transition: opacity .35s cubic-bezier(.16, 1, .3, 1);
}
.menu-open .menu { opacity: 1; }
.menu ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.menu li { border-bottom: 2px solid var(--ink); overflow: hidden; }
.menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; text-decoration: none; font-weight: 800; font-stretch: 110%; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.03em; text-transform: uppercase; transform: translateY(100%); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.menu-open .menu li a { transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: .15s; }
.menu__foot { display: grid; gap: 12px; }
.menu-open, .menu-open body { overflow: hidden; }
@media (min-width: 720px) { .status { display: inline-flex; } }
@media (min-width: 980px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__menu-btn, .menu { display: none; }
}

/* ---------- headline masks ---------- */
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line__in { display: block; }
.js [data-hero-fade] { opacity: 0; transform: translateY(18px); }
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 4.5vw, 64px) 0 0; border-bottom: 2px solid var(--ink); }
.hero__title { font-size: clamp(2.35rem, 6.2vw, 6.4rem); line-height: .9; letter-spacing: -0.04em; margin-top: 20px; }
.hero__title .red { color: var(--red); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: clamp(28px, 3vw, 40px); }
.hero__copy { display: grid; align-content: end; gap: 28px; padding-bottom: clamp(32px, 4vw, 56px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; border: 2px solid var(--ink); border-bottom: 0; background-color: var(--surface); background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 32px 32px; }
.hero__art svg { width: 100%; height: auto; }
@media (min-width: 900px) { .hero__art svg { max-height: calc(100dvh - 400px); min-height: 300px; } }
.hero__art .art-label { font-family: var(--mono); font-size: 18px; letter-spacing: .08em; fill: var(--ink-2); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
}

/* ---------- facts strip (1px gap grid) ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; background: var(--ink); border-bottom: 2px solid var(--ink); }
.fact { display: grid; gap: 10px; align-content: start; padding: 24px var(--gutter); background: var(--paper); }
.fact__k { color: var(--ink-3); }
.fact__v { font-weight: 800; font-stretch: 108%; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
.fact__v a { text-decoration: none; }
.fact__v a:hover { color: var(--red); }
.fact__s { color: var(--ink-2); font-size: 15px; }
.fact--red { background: var(--red); color: var(--on-red); }
.fact--red .fact__k, .fact--red .fact__s { color: var(--on-red); }
.fact--red .fact__v a:hover { color: var(--ink); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fact { padding: 28px 28px 32px; } }

/* ---------- signature wall ---------- */
.wall { border-bottom: 2px solid var(--ink); }
.wall__pin { min-height: 100dvh; display: flex; align-items: center; padding: clamp(56px, 7vw, 88px) 0; }
.wall__inner { display: grid; gap: clamp(24px, 3vw, 40px); }
.wall__head { display: grid; gap: 16px; }
.wall__head h2 { max-width: 14ch; }
.wall__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.wall__meta p { max-width: 44ch; color: var(--ink-2); }
.counter { justify-self: start; display: grid; gap: 4px; padding: 12px 16px; border: 2px solid var(--ink); background: var(--surface); }
.counter__n { font-family: var(--sans); font-weight: 800; font-stretch: 112%; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.counter__n b { color: var(--red); font-weight: inherit; }
.wall__frame { border: 2px solid var(--ink); background: var(--surface); padding: clamp(8px, 1.4vw, 20px) clamp(8px, 1.4vw, 20px) 0; }
.wall__svg { width: 100%; height: auto; overflow: visible; }
.wall__svg .ground { fill: var(--ink); }
.wall__svg .string { stroke: var(--red); stroke-width: 3; }
.wall__svg .pin-post { fill: var(--ink); }
.wall__svg .paint-name { font-family: var(--sans); font-weight: 900; font-stretch: 112%; letter-spacing: -2px; fill: var(--ink); }
.wall__svg .paint-band { fill: var(--red); }
.wall__svg .paint-wash { fill: var(--surface); opacity: .94; }
.wall__svg .paint-hours { font-family: var(--mono); font-weight: 500; letter-spacing: 3px; fill: var(--on-red); }
@media (min-width: 960px) {
  .wall__pin { min-height: calc(100dvh - var(--nav-h)); padding: 28px 0; }
  .wall__inner { gap: 20px; }
  .wall__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .wall__head h2 { max-width: none; font-size: clamp(2rem, 3.6vw, 3.4rem); }
  .wall__svg { max-height: calc(100dvh - var(--nav-h) - 250px); }
}

/* ---------- docket (how to ask) ---------- */
.ask { padding: var(--section) 0; border-bottom: 2px solid var(--ink); }
.ask__grid { display: grid; gap: 40px; }
.ask__intro { display: grid; gap: 24px; align-content: start; }
.ask__intro h2 { max-width: 11ch; }
.docket { border: 2px solid var(--ink); background: var(--surface); }
.docket__top { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--ink); color: var(--paper); }
.docket__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 20px; border-top: 2px solid var(--ink); }
.docket__row:first-of-type { border-top: 0; }
.docket__verb { font-weight: 850; font-stretch: 115%; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .9; letter-spacing: -0.035em; text-transform: uppercase; }
.docket__row p { color: var(--ink-2); max-width: 42ch; }
.docket__fields { display: flex; flex-wrap: wrap; gap: 6px; }
.docket__fields span { padding: 4px 8px; border: 1.5px solid var(--ink); }
.docket__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border-top: 2px solid var(--ink); background: var(--paper-2); }
@media (min-width: 720px) {
  .docket__row { grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 24px; }
  .docket__row .docket__fields { grid-column: 2; }
}
@media (min-width: 1024px) {
  .ask__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
  .ask__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* ---------- hours week ---------- */
.hours { padding: var(--section) 0; border-bottom: 2px solid var(--ink); }
.hours__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.week { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.day { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); transition: background-color .3s, color .3s; }
.day__name abbr { text-decoration: none; }
.day__name { font-weight: 800; font-stretch: 110%; text-transform: uppercase; letter-spacing: -0.01em; }
.day__time { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.day--closed { background-color: var(--paper-2); background-image: repeating-linear-gradient(135deg, transparent 0 10px, var(--rule) 10px 12px); color: var(--ink-3); }
.day.is-today { background: var(--ink); color: var(--paper); }
.day.is-today .day__name::after { content: ' / Today'; color: var(--red-night); font-stretch: 100%; font-weight: 700; font-size: .8em; }
@media (min-width: 900px) {
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .day { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 200px; padding: 18px; }
  .day__name { font-size: 1.6rem; }
  .day.is-today { transform: translateY(-10px); }
  .day.is-today .day__name::after { display: block; content: 'Today'; margin-top: 6px; }
}

/* ---------- red band ---------- */
.band { background: var(--red); color: var(--on-red); border-bottom: 2px solid var(--ink); }
.band__in { display: grid; gap: 28px; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.band__phone { display: block; font-weight: 900; font-stretch: 115%; font-size: clamp(3rem, 12vw, 11rem); line-height: .85; letter-spacing: -0.05em; text-decoration: none; font-variant-numeric: tabular-nums; }
.band__phone:hover { color: var(--ink); }
.band__row { display: grid; gap: 24px; }
.band__row h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); max-width: 16ch; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .band__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 calc(32px + 64px); }
.foot__big { font-weight: 900; font-stretch: 115%; font-size: clamp(2.4rem, 8.6vw, 8.4rem); line-height: .86; letter-spacing: -0.05em; text-transform: uppercase; }
.foot__big span { color: var(--red-night); }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: clamp(40px, 5vw, 64px); background: #3a3a37; border: 2px solid #3a3a37; }
.foot__cols > div { display: grid; gap: 10px; align-content: start; padding: 20px; background: var(--ink); }
.foot__cols h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: var(--night-2); text-transform: uppercase; }
.foot__cols p { color: #DCDBD5; line-height: 1.7; }
.foot__cols a { text-decoration-color: rgba(236, 235, 230, .35); text-underline-offset: 4px; }
.foot__cols a:hover { color: #fff; text-decoration-color: currentColor; }
.foot__base { margin-top: 28px; color: var(--night-2); font-size: 14px; }
@media (min-width: 720px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- inner page header ---------- */
.page-head { padding: clamp(48px, 7vw, 104px) 0 clamp(36px, 5vw, 64px); border-bottom: 2px solid var(--ink); }
.page-head h1 { font-size: clamp(2.3rem, 6vw, 6rem); line-height: .9; letter-spacing: -0.04em; margin-top: 20px; max-width: 16ch; }
.page-head .lede { margin-top: 24px; }

/* ---------- about ---------- */
.ab { padding: var(--section) 0; border-bottom: 2px solid var(--ink); }
.ab__grid { display: grid; gap: 40px; }
.ab__copy { display: grid; gap: 20px; align-content: start; }
.ab__copy h2 { max-width: 14ch; }
.ab__copy p { color: var(--ink-2); max-width: 52ch; }
.pc { border: 2px solid var(--ink); background: var(--surface); }
.pc svg { width: 100%; height: auto; }
.pc__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 2px solid var(--ink); }
.pc .grid-line { stroke: var(--rule); stroke-width: 1; }
.pc .grid-major { stroke: rgba(18, 18, 18, .4); stroke-width: 2; }
.pc .cell-hi { fill: var(--red); }
.pc .code { font-family: var(--sans); font-weight: 900; font-stretch: 112%; letter-spacing: -2px; fill: var(--ink); }
.pc .code-s { font-family: var(--mono); font-size: 14px; letter-spacing: 2px; fill: var(--ink-2); }
@media (min-width: 960px) { .ab__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }

.visit { padding: var(--section) 0; border-bottom: 2px solid var(--ink); }
.visit h2 { max-width: 14ch; margin-bottom: clamp(32px, 4vw, 48px); }
.route { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.route li { display: grid; gap: 12px; align-content: start; padding: 24px 20px 28px; background: var(--paper); }
.route li:nth-child(2) { background: var(--surface); }
.route li:last-child { background: var(--ink); color: var(--paper); }
.route li:last-child p { color: #DCDBD5; }
.route b { font-weight: 850; font-stretch: 112%; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.route p { color: var(--ink-2); max-width: 36ch; }
.route .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 900px) { .route { grid-template-columns: repeat(3, minmax(0, 1fr)); } .route li { padding: 28px 28px 32px; min-height: 240px; } }

.hours-mini { padding: var(--section) 0; border-bottom: 2px solid var(--ink); }
.hours-mini__grid { display: grid; gap: 32px; }
.hours-mini h2 { max-width: 10ch; }
@media (min-width: 900px) { .hours-mini__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } .hours-mini .week { grid-template-columns: minmax(0, 1fr); } .hours-mini .day { flex-direction: row; align-items: center; min-height: 0; padding: 14px 18px; } .hours-mini .day__name { font-size: 1.1rem; } .hours-mini .day.is-today { transform: none; } .hours-mini .day.is-today .day__name::after { display: inline; content: ' / Today'; margin: 0; } }

/* ---------- contact ---------- */
.ct { padding: clamp(40px, 6vw, 80px) 0 var(--section); border-bottom: 2px solid var(--ink); }
.ct__grid { display: grid; gap: 32px; }
.ct__cells { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); align-content: start; }
.ct__cell { display: grid; gap: 12px; padding: 22px 20px 24px; background: var(--paper); }
.ct__cell--ink { background: var(--ink); color: var(--paper); }
.ct__cell--ink .fact__k { color: var(--night-2); }
.ct__big { font-weight: 900; font-stretch: 112%; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .9; letter-spacing: -0.04em; text-decoration: none; font-variant-numeric: tabular-nums; }
a.ct__big:hover { color: var(--red); }
.ct__cell p { color: var(--ink-2); }
.ct__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ct__cell .week { border: 0; }
.ct__cell .day { padding: 10px 0; background: transparent; border-bottom: 1px solid var(--rule); }
.ct__cell .day:last-child { border-bottom: 0; }
.ct__cell .day.is-today { background: transparent; color: var(--red); }
.ct__cell .day.is-today .day__name::after { content: ' / Today'; color: var(--red); filter: none; }
.ct__cell .day--closed { background: transparent; color: var(--ink-3); }
.ct__cell .week { gap: 0; background: transparent; }
.map { position: relative; border: 2px solid var(--ink); background: var(--paper-2); min-height: 360px; display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) contrast(1.05); }
.map__link { position: absolute; left: 0; bottom: 0; }
@media (min-width: 960px) {
  .ct__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .map, .map iframe { min-height: 100%; }
}

/* ---------- quote form ---------- */
.qp { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.qp__grid { display: grid; gap: 32px; }
.q { border: 2px solid var(--ink); background: var(--surface); }
.q__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 2px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.q__bar li { padding: 12px 10px; border-right: 2px solid var(--ink); color: var(--ink-3); background: var(--paper); transition: background-color .3s, color .3s; }
.q__bar li:last-child { border-right: 0; }
.q__bar li.is-done { background: var(--paper-2); color: var(--ink); }
.q__bar li.is-on { background: var(--ink); color: var(--paper); }
.q__body { padding: clamp(20px, 3vw, 36px); }
.q fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 22px; }
.q legend { padding: 0; margin-bottom: 4px; font-weight: 850; font-stretch: 110%; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: .95; letter-spacing: -0.03em; text-transform: uppercase; }
.q legend:focus { outline: none; }
.help { color: var(--ink-3); font-size: 15px; max-width: 56ch; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #FFFFFE;
  color: var(--ink);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6B6A64; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red); outline-offset: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); background: #FFF8F7; }
.field__err { min-height: 0; color: var(--red); font-weight: 600; font-size: 14px; }
.field__err:empty { display: none; }

.rows { display: grid; gap: 14px; }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; padding: 14px; border: 2px solid var(--ink); background: var(--paper); }
.row__item { grid-column: 1 / -1; }
.row__del { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); background: transparent; cursor: pointer; }
.row__del:hover { background: var(--ink); color: var(--paper); }
.row__del:disabled { opacity: .35; cursor: not-allowed; background: transparent; color: var(--ink); }
.row .field__err { grid-column: 1 / -1; }
.row__n { grid-column: 1 / -1; color: var(--ink-3); }
@media (min-width: 720px) {
  .row { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) 50px; }
  .row__item { grid-column: auto; }
  .row__del { position: static; align-self: end; width: 50px; height: 50px; }
}
.add { justify-self: start; }

.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; border: 2px solid var(--ink); background: #FFFFFE; font-weight: 600; transition: background-color .2s, color .2s; }
.choice span::before { content: ''; flex: none; width: 16px; height: 16px; border: 2px solid currentColor; }
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:checked + span::before { background: var(--red); border-color: var(--red); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.group-err { margin-top: -10px; }

.q__nav { display: flex; justify-content: space-between; gap: 12px; padding: 18px clamp(20px, 3vw, 36px); border-top: 2px solid var(--ink); background: var(--paper-2); }
.q__nav .btn[data-next] { margin-left: auto; }

.sum { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.sum__sec { display: grid; gap: 10px; padding: 16px 18px; background: #FFFFFE; }
.sum__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sum__edit { border: 0; background: none; padding: 4px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; color: var(--red); cursor: pointer; }
.sum ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sum li { display: flex; justify-content: space-between; gap: 16px; }
.sum li b { font-weight: 700; }
.sum dl { margin: 0; display: grid; gap: 6px; }
.sum dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
.sum dt { color: var(--ink-3); }
.sum dd { margin: 0; overflow-wrap: anywhere; }

.done { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); }
.done:focus { outline: none; }
.done__stamp { justify-self: start; padding: 8px 12px; border: 3px solid var(--red); color: var(--red); transform: rotate(-2deg); font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.done h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 18ch; }
.done p { color: var(--ink-2); max-width: 56ch; }
.done__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.side { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); align-content: start; }
.side > div { display: grid; gap: 10px; padding: 20px; background: var(--paper); }
.side > div:first-child { background: var(--ink); color: var(--paper); }
.side > div:first-child p { color: #DCDBD5; }
.side p { color: var(--ink-2); font-size: 15px; }
@media (min-width: 1024px) { .qp__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); align-items: start; } .side { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- 404 ---------- */
.nf { padding: clamp(48px, 8vw, 120px) 0 var(--section); }
.nf__grid { display: grid; gap: 40px; align-items: center; }
.nf h1 { font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -0.04em; max-width: 12ch; }
.nf p { margin-top: 20px; color: var(--ink-2); max-width: 40ch; }
.nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nf svg .gap { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 10 8; }
.nf svg .gap-t { font-family: var(--mono); font-size: 18px; letter-spacing: 2px; fill: var(--red); }
@media (min-width: 900px) { .nf__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- preview badge (glass pill: the one rounded element, per the preview contract) ---------- */
.badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: var(--z-badge);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: rgba(246, 245, 241, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, .18), 0 14px 30px -14px rgba(18, 18, 18, .35);
  color: var(--ink-2);
  font-size: 12.5px;
}
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 600; }
.badge__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 999px; background: rgba(18, 18, 18, .08); cursor: pointer; }
.badge__close svg { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }
@media (prefers-reduced-transparency: reduce) { .badge { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .menu li a { transform: none; }
}
