/* BrickBox Builders — static site styles. Mobile-first, system fonts, no frameworks. */
:root {
  --bg: #15171a;
  --bg2: #1b1e22;
  --surface: #22262b;
  --surface2: #2a2f35;
  --line: #3a4048;
  --text: #f2efe8;
  --muted: #c3bdb1;
  --yellow: #ffc61a;
  --orange: #f2801f;
  --brick: #a5472f;
  --wa: #25d366;
  --ok: #7ddc8e;
  --err: #ff9a8f;
  --radius: 6px;
  --shadow: 4px 4px 0 #000;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #ffe17a; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 4rem); font-weight: 900; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 850; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--yellow); color: #111; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); font-size: .92em; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }

.skip-link {
  position: absolute; left: 12px; top: -200px; z-index: 200;
  background: var(--yellow); color: #111; font-weight: 800; padding: .7em 1em;
  border: 3px solid #000; box-shadow: var(--shadow); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font: 700 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  color: var(--yellow); margin-bottom: .8em;
}

/* ---------- buttons & icons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.15em;
  font: 800 1rem/1.15 var(--font); text-decoration: none; cursor: pointer;
  border: 3px solid #000; border-radius: 4px; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.btn--primary { background: var(--yellow); color: #121212; }
.btn--primary:hover { color: #121212; background: #ffd34d; }
.btn--wa { background: var(--wa); color: #05240f; }
.btn--wa:hover { color: #05240f; background: #44e07f; }
.btn--ghost { background: var(--surface2); color: var(--text); border-color: #000; }
.btn--ghost:hover { color: var(--text); background: #343a41; }
.btn--sm { min-height: 42px; padding: .5em .85em; font-size: .92rem; box-shadow: 3px 3px 0 #000; }
.btn--lg { min-height: 54px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn__sub { font-weight: 600; opacity: .85; }

.ico { display: inline-block; width: 1.15em; height: 1.15em; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ico--wa { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4.1 14.9l-.3-.2-2.8.7.8-2.7-.2-.3A8 8 0 0 1 12 4zm-3.2 4c-.2 0-.6.1-.9.4-.3.3-1.1 1.1-1.1 2.6s1.1 3 1.3 3.2c.2.2 2.2 3.4 5.4 4.6 2.6 1 3.2.8 3.7.8.6-.1 1.8-.8 2.1-1.5.3-.7.3-1.4.2-1.5l-.6-.4-2-.9c-.3-.1-.5-.2-.7.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.3-.5-2.4-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6l.5-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2c-.2-.6-.5-.5-.7-.5h-.6z'/%3E%3C/svg%3E"); }
.ico--mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 2.4V17h16V7.4l-8 5.3zM5.2 7 12 11.5 18.8 7z'/%3E%3C/svg%3E"); }

.hazard { height: 6px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, #141414 10px 20px); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 40; background: rgba(21, 23, 26, .96); }
.site-header__row { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: -.01em; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand__logo { width: 36px; height: 36px; image-rendering: pixelated; }
.brand__name { font-size: 1.08rem; white-space: nowrap; }
.nav { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 0 2px; white-space: nowrap; }
.nav a { display: block; padding: .55em .7em; color: var(--muted); text-decoration: none; font-weight: 650; font-size: .95rem; border-radius: 4px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.site-header__cta { display: none; gap: 8px; flex: none; }
.site-header__cta .btn { white-space: nowrap; }
.site-header__cta .btn--ghost { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 36px 0 56px;
  background:
    radial-gradient(900px 420px at 85% 30%, rgba(255, 198, 26, .10), transparent 60%),
    linear-gradient(180deg, #1a1d21, var(--bg));
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hl { color: var(--yellow); display: block; }
.lead { font-size: clamp(1.08rem, 2.3vw, 1.3rem); color: #e3ded4; max-width: 38em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; color: var(--muted); }
.hero__points li { padding-left: 1.6em; position: relative; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75em; height: .75em; background: var(--yellow); box-shadow: 2px 2px 0 #000; }
.replay { align-items: center; gap: .5em; background: none; border: 2px solid var(--line); color: var(--muted); font: 700 .85rem var(--mono); padding: .5em .8em; border-radius: 4px; cursor: pointer; min-height: 40px; }
.replay:hover { color: var(--text); border-color: var(--muted); }
.hero__art { margin: 0; }
.hero__art img {
  display: block; width: 100%; height: auto; image-rendering: pixelated;
  border: 4px solid #000; box-shadow: 10px 10px 0 #000, 0 0 0 1px #333 inset; background: #0c1230;
}

/* ---------- textures ---------- */
.band-brick { background: linear-gradient(rgba(21, 23, 26, .78), rgba(21, 23, 26, .78)), url("../assets/brick.svg") 0 0 / 48px 24px; }
.band-paving { background: url("../assets/paving.svg") 0 0 / 40px 40px; }
.band-brick-top { position: relative; padding-top: calc(56px + 18px); }
.band-brick-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: url("../assets/brick.svg") 0 0 / 36px 18px; border-bottom: 3px solid #000; }

/* ---------- why stats ---------- */
.why { padding: 34px 0; border-block: 3px solid #000; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stat { background: rgba(18, 20, 23, .94); border: 2px solid #000; box-shadow: var(--shadow); padding: 18px 18px 14px; display: grid; gap: 6px; border-radius: 4px; }
.stat__num { font: 900 2.1rem/1 var(--font); color: var(--yellow); letter-spacing: -.02em; }
.stat__txt { font-weight: 650; }
.stat__src { font-size: .8rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--bg2); border-block: 1px solid #262a30; }
.section__intro { color: #ddd7cc; max-width: 46em; margin-bottom: 1.6em; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.cards--3, .photos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important; }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; position: relative; }
.card p:last-child { margin-bottom: 0; }
.loft__icon { width: 64px; height: 40px; display: block; margin-bottom: 10px; image-rendering: pixelated; }
.loft__fit { color: #ddd7cc; font-size: .95rem; }
.loft--featured { border-color: var(--yellow); box-shadow: 6px 6px 0 #000; }
.loft--featured::before { content: "Classic London loft"; position: absolute; top: -12px; right: 14px; background: var(--yellow); color: #111; font: 800 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; border: 2px solid #000; }
.tag { display: inline-block; font: 700 .78rem/1.3 var(--mono); background: #1d3324; color: #b9ecc3; padding: .35em .6em; border-radius: 3px; margin: .4em 0 0; }
.tag--warn { background: #3d2a17; color: #ffd2a1; }
.card--cta { background: linear-gradient(160deg, #2d2a1a, var(--surface)); border-color: #5a4a12; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.card--cta .btn { align-self: flex-start; margin-top: 8px; }

.mini-services { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.mini-services li { background: var(--surface); border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 0 4px 4px 0; }
.ask { margin-top: 20px; color: var(--muted); }

/* ---------- prices ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 22px; border: 2px solid #000; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.prices { width: 100%; border-collapse: collapse; font-size: .98rem; }
.prices caption { text-align: left; font-weight: 800; padding: 14px 16px 10px; font-size: 1.05rem; background: #262b31; border-bottom: 3px solid var(--yellow); }
.prices th, .prices td { text-align: left; padding: 11px 16px; border-bottom: 1px solid #333940; vertical-align: top; }
.prices thead th { font: 700 .78rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #1f2327; }
.prices tbody th { font-weight: 700; }
.prices td:nth-child(2) { white-space: nowrap; color: #ffe28a; font-weight: 700; }
.prices td:nth-child(2) .muted { white-space: normal; display: block; font-weight: 500; color: var(--muted); }
.prices tbody tr:last-child th, .prices tbody tr:last-child td { border-bottom: 0; }
.notes { background: rgba(18, 20, 23, .92); border: 1px solid #2f343a; border-radius: var(--radius); padding: 18px 18px 8px; font-size: .95rem; color: #ddd7cc; }
.sources summary { cursor: pointer; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.sources ul { margin-top: 0; }
.sources li { margin-bottom: .35em; }

/* ---------- process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); counter-reset: s; }
.step { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--yellow); color: #111; font: 900 1.2rem var(--mono); border: 3px solid #000; box-shadow: 3px 3px 0 #000; margin-bottom: 12px; }
.step p { color: #ddd7cc; font-size: .96rem; margin: 0; }

/* ---------- placeholders (reviews, photos) ---------- */
.placeholder { border: 2px dashed #59606a; background: repeating-linear-gradient(-45deg, #20242a 0 12px, #1d2126 12px 24px); }
.placeholder__label { font: 800 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 12px; }
.placeholder blockquote { margin: 0 0 10px; font-size: 1.1rem; font-style: italic; color: var(--muted); }
.placeholder figcaption { font: 600 .85rem var(--mono); color: #9e988c; }
.photos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-top: 16px; }
.photo-ph { aspect-ratio: 4 / 3; display: grid; place-items: center; border: 2px dashed #59606a; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #1f2328 0 10px, #1b1f23 10px 20px); color: #a39d91; font: 700 .85rem var(--mono); text-align: center; padding: 10px; }
.review-link { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 800; font-size: 1.05rem; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); color: #111; font: 900 1.2rem/1 var(--mono); border: 2px solid #000; }
.faq[open] summary::after { content: "\2212"; }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq__body { padding: 16px 18px 6px; color: #e2ddd3; }
.faq__body li { margin-bottom: .45em; }
.faq__links { font-size: .9rem; color: var(--muted); }

/* ---------- area ---------- */
.area { display: grid; gap: 24px; align-items: start; }
.area__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area__list li { background: var(--surface); border: 2px solid var(--line); padding: .5em .8em; border-radius: 4px; font: 600 .92rem var(--mono); color: var(--muted); }

/* ---------- quote form ---------- */
.quote { background: #121416; }
.quote__grid { display: grid; gap: 28px; }
.quote__direct { display: grid; gap: 12px; margin-top: 18px; }
.quote__direct .btn { justify-content: flex-start; }
.quote__direct .btn span[data-cfg] { overflow-wrap: anywhere; text-align: left; }
.form { background: var(--surface); border: 2px solid #000; box-shadow: 8px 8px 0 #000; border-radius: var(--radius); padding: 20px; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
label { display: block; font-weight: 800; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--text);
  background: #121417; border: 2px solid #59606a; border-radius: 4px; padding: 12px; min-height: 48px;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { border-color: var(--yellow); outline: 3px solid rgba(255, 198, 26, .35); outline-offset: 0; }
[aria-invalid="true"] { border-color: #ff6b5b; }
.field__hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field__err { font-size: .9rem; color: var(--err); margin: 6px 0 0; font-weight: 650; }
.field__err:empty { display: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; }
.form__status:empty { display: none; }
.form__status { margin-top: 16px; padding: 12px 14px; border-radius: 4px; font-weight: 650; }
.form__status p { margin: 0; }
.form__status.is-ok { background: #13301e; border-left: 4px solid var(--ok); }
.form__status.is-err { background: #3a1714; border-left: 4px solid #ff6b5b; }

/* ---------- footer ---------- */
.site-footer { background: #0e1012; color: var(--muted); font-size: .95rem; }
.footer__grid { display: grid; gap: 24px; padding: 36px 0 18px; }
.footer__name { color: var(--text); font-weight: 900; font-size: 1.2rem; margin-bottom: .3em; }
.footer__h { color: var(--text); font-weight: 800; margin-bottom: .4em; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__meta { font: 600 .85rem var(--mono); color: #a39d91; margin-bottom: .4em; }
.footer__small { border-top: 1px solid #23272c; padding: 16px 0 26px; font-size: .85rem; }

/* ---------- sticky contact bar (mobile) ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(14, 16, 18, .97); border-top: 3px solid #000;
  transition: transform .2s ease;
}
.cta-bar__btn { display: flex; align-items: center; justify-content: center; gap: .4em; min-height: 52px; border-radius: 4px; font-weight: 850; font-size: .95rem; white-space: nowrap; text-align: center; text-decoration: none; color: var(--text); background: var(--surface2); border: 2px solid #000; }
.cta-bar__btn:hover { color: var(--text); }
.cta-bar__btn--wa { background: var(--wa); color: #05240f; }
.cta-bar__btn--wa:hover { color: #05240f; }
.cta-bar__btn--quote { background: var(--yellow); color: #111; }
.cta-bar__btn--quote:hover { color: #111; }
.typing .cta-bar { transform: translateY(115%); }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .site-header__cta { display: flex; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .hero__cta .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; backdrop-filter: blur(8px); background: rgba(21, 23, 26, .9); }
  .site-header__row { flex-wrap: nowrap; }
  .nav { order: 0; width: auto; margin-right: auto; }
  .brand { margin-right: 18px; }
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .section { padding: 84px 0; }
  .area { grid-template-columns: 1fr 1fr; }
  .quote__grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cta-bar { display: none; }
  body { padding-bottom: 0; }
  .form { padding: 28px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .nav a { padding: .55em .5em; font-size: .9rem; }
}
@media (min-width: 1280px) {
  .site-header__cta .btn--ghost { display: inline-flex; }
}
@media (max-width: 420px) {
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

@media print {
  .cta-bar, .site-header__cta, .replay, .hazard { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
