/* ==========================================================================
   African Brick Centre — site styles
   ========================================================================== */

:root {
  --brick: #c4161c;
  --brick-dark: #8e0c10;
  --brick-soft: #fbe4e3;
  --clay: #e2453c;
  --sand: #f8f3ec;
  --sand-2: #efe5d7;
  --mortar: #ddd1c1;
  --ink: #161212;
  --ink-2: #3f3735;
  --muted: #7b6e64;
  --white: #ffffff;
  --success: #2f7d4f;
  --danger: #b3261e;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(22, 18, 18, .06), 0 2px 8px rgba(22, 18, 18, .05);
  --shadow: 0 2px 4px rgba(22, 18, 18, .05), 0 12px 32px rgba(22, 18, 18, .09);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;

  /* Textures (SVG tiles) */
  --tex-face-brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23d9cbb8'/%3E%3Crect x='1' y='1' width='58' height='27' rx='1' fill='%23b4502f'/%3E%3Crect x='61' y='1' width='58' height='27' rx='1' fill='%23a44527'/%3E%3Crect x='-29' y='31' width='58' height='27' rx='1' fill='%23c0603a'/%3E%3Crect x='31' y='31' width='58' height='27' rx='1' fill='%239c3f24'/%3E%3Crect x='91' y='31' width='58' height='27' rx='1' fill='%23b0532f'/%3E%3C/svg%3E");
  --tex-cement-brick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23cfcac2'/%3E%3Crect x='1' y='1' width='58' height='27' fill='%23999590'/%3E%3Crect x='61' y='1' width='58' height='27' fill='%238d8984'/%3E%3Crect x='-29' y='31' width='58' height='27' fill='%23a29e98'/%3E%3Crect x='31' y='31' width='58' height='27' fill='%23938f8a'/%3E%3Crect x='91' y='31' width='58' height='27' fill='%239c9893'/%3E%3C/svg%3E");
  --tex-paver: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='%23cfc8bf'/%3E%3Crect x='1' y='1' width='38' height='18' rx='2' fill='%2368635f'/%3E%3Crect x='41' y='1' width='18' height='38' rx='2' fill='%23575350'/%3E%3Crect x='61' y='1' width='18' height='38' rx='2' fill='%23716c67'/%3E%3Crect x='1' y='21' width='18' height='38' rx='2' fill='%235e5a56'/%3E%3Crect x='21' y='21' width='18' height='38' rx='2' fill='%236c6762'/%3E%3Crect x='41' y='41' width='38' height='18' rx='2' fill='%23625d59'/%3E%3Crect x='1' y='61' width='38' height='18' rx='2' fill='%23757069'/%3E%3Crect x='41' y='61' width='38' height='18' rx='2' fill='%23595551'/%3E%3C/svg%3E");
  --tex-cobble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Crect width='90' height='90' fill='%23d6c9b4'/%3E%3Crect x='2' y='2' width='26' height='26' rx='4' fill='%23b49a78'/%3E%3Crect x='32' y='2' width='26' height='26' rx='4' fill='%23c4ab86'/%3E%3Crect x='62' y='2' width='26' height='26' rx='4' fill='%23a88d6a'/%3E%3Crect x='2' y='32' width='41' height='26' rx='4' fill='%23bfa480'/%3E%3Crect x='47' y='32' width='41' height='26' rx='4' fill='%23ae9370'/%3E%3Crect x='2' y='62' width='26' height='26' rx='4' fill='%23a98e6b'/%3E%3Crect x='32' y='62' width='26' height='26' rx='4' fill='%23b89e7b'/%3E%3Crect x='62' y='62' width='26' height='26' rx='4' fill='%23c6ad89'/%3E%3C/svg%3E");
  --tex-block: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Crect width='160' height='80' fill='%23d4cfc8'/%3E%3Crect x='1' y='1' width='78' height='37' fill='%23aaa69f'/%3E%3Crect x='81' y='1' width='78' height='37' fill='%23a09c96'/%3E%3Crect x='-39' y='41' width='78' height='37' fill='%23b2aea7'/%3E%3Crect x='41' y='41' width='78' height='37' fill='%23a6a29b'/%3E%3Crect x='121' y='41' width='78' height='37' fill='%23aca8a1'/%3E%3C/svg%3E");
  --tex-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-stones: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.12' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--white { background: var(--white); }
.section--tint { background: var(--sand-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brick); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 10px; background: var(--brick); border-radius: 2px; box-shadow: 26px 0 0 var(--clay); margin-right: 26px; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brick); --btn-fg: var(--white); --btn-bd: var(--brick);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.1;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { --btn-bg: var(--brick-dark); --btn-bd: var(--brick-dark); color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(196, 22, 28, .25); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--mortar); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--sand); --btn-fg: var(--ink); --btn-bd: var(--sand); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-fg: var(--white); --btn-bd: var(--white); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #d9cec4; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #f1e8df; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar__group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--clay); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 243, 236, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--mortar); box-shadow: 0 4px 20px rgba(22, 18, 18, .06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__img { height: 62px; width: auto; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); }
.site-footer .logo__img { height: 92px; filter: none; }
@media (max-width: 420px) { .site-header .logo__text { display: none; } }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.logo__tag { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.nav__links a:hover { color: var(--ink); background: var(--sand-2); }
.nav__links a[aria-current="page"] { color: var(--brick); }
.nav__cta { margin-left: 10px; }

.quote-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--white); color: var(--brick);
  font-size: .78rem; font-weight: 800;
}
.quote-count:empty, .quote-count[data-count="0"] { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--mortar); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 16px var(--gutter) 24px;
    background: var(--sand); border-bottom: 1px solid var(--mortar);
    box-shadow: 0 20px 40px rgba(22, 18, 18, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav__cta { margin: 8px 0 0; }
  .topbar__hide-sm { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--tex-face-brick); background-size: 132px 66px;
  opacity: .22;
  mask-image: linear-gradient(100deg, transparent 25%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(226, 69, 60, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(196, 22, 28, .25), transparent 60%);
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding-block: clamp(64px, 10vw, 128px);
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem; font-weight: 600; color: #f1e3d8; margin-bottom: 26px;
}
.hero__kicker b { background: var(--brick); color: var(--white); padding: 3px 10px; border-radius: 999px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #ff4b45; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #e2d6cc; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero__fact strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.hero__fact span { font-size: .9rem; color: #c9bbb0; }

.hero-card {
  background: var(--sand); color: var(--ink);
  border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 66px; z-index: -1;
  background: var(--tex-face-brick); background-size: 60px 30px; border-radius: 10px; transform: rotate(6deg);
}
.hero-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.hero-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  background: var(--white); border: 1px solid var(--sand-2); border-radius: 12px; padding: 14px;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--brick-soft); color: var(--brick); font-weight: 800;
}
.steps strong { display: block; font-size: 1rem; }
.steps span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card::before { display: none; }
}

/* ---------- Highlights strip ---------- */
.highlights { background: var(--white); border-bottom: 1px solid var(--sand-2); }
.highlights .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--sand-2); }
.highlight:first-child { border-left: 0; padding-left: 0; }
.highlight__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--brick-soft); color: var(--brick); }
.highlight__icon svg { width: 22px; height: 22px; }
.highlight strong { display: block; font-size: .98rem; line-height: 1.25; }
.highlight span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }
@media (max-width: 960px) {
  .highlights .container { grid-template-columns: repeat(2, 1fr); }
  .highlight { padding: 20px 14px; border-left: 0; border-top: 1px solid var(--sand-2); }
  .highlight:nth-child(-n+2) { border-top: 0; }
  .highlight:first-child { padding-left: 14px; }
}
@media (max-width: 540px) {
  .highlights .container { grid-template-columns: 1fr; }
  .highlight:nth-child(2) { border-top: 1px solid var(--sand-2); }
  .highlight, .highlight:first-child { padding-inline: 0; }
}

/* ---------- Textures ---------- */
.tex { position: relative; background-color: var(--sand-2); }
.tex--face-brick { background-image: var(--tex-face-brick); background-size: 96px 48px; }
.tex--cement-brick { background-image: var(--tex-cement-brick); background-size: 96px 48px; }
.tex--block { background-image: var(--tex-block); background-size: 120px 60px; }
.tex--paver { background-image: var(--tex-paver); background-size: 64px 64px; }
.tex--cobble { background-image: var(--tex-cobble); background-size: 72px 72px; }
.tex--sand { background-color: #d6b58a; background-image: var(--tex-noise); }
.tex--building-sand { background-color: #c49a68; background-image: var(--tex-noise); }
.tex--gravel { background-color: #8f8a83; background-image: var(--tex-stones), var(--tex-noise); }
.tex--cement { background-color: #a8a49e; background-image: var(--tex-noise); }
.tex--cement-bag { background-color: #a8a49e; background-image: linear-gradient(180deg, transparent 30%, rgba(196,22,28,.85) 30%, rgba(196,22,28,.85) 46%, transparent 46%), var(--tex-noise); }
.tex--steel { background-color: #8c8f93; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 6px, transparent 6px 18px), var(--tex-noise); }
.tex--lintel { background-color: #b7b2aa; background-image: linear-gradient(180deg, transparent 38%, #8f8a83 38%, #8f8a83 62%, transparent 62%), var(--tex-noise); }
.tex--ivory { background-image: var(--tex-face-brick); background-size: 96px 48px; filter: sepia(.4) saturate(.45) brightness(1.45) hue-rotate(-8deg); }
.tex--travertine { background-image: var(--tex-face-brick); background-size: 96px 48px; filter: saturate(.8) brightness(1.1) hue-rotate(8deg); }
.tex--nebraska { background-image: var(--tex-face-brick); background-size: 96px 48px; filter: saturate(1.15) brightness(.95); }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--sand-2);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.category-card__media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .category-card__media > * { transform: scale(1.06); }
.category-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.category-card h3 { margin-bottom: 6px; }
.category-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.category-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brick); font-size: .95rem; }
.category-card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.category-card:hover .category-card__link svg { transform: translateX(4px); }
@media (max-width: 960px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .category-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__visual { position: relative; aspect-ratio: 5 / 4; }
.about__wall { position: absolute; inset: 0 18% 14% 0; border-radius: 20px; box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: 0; bottom: 0; width: 56%;
  background: var(--ink); color: var(--white); border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.about__badge span { color: #c9bbb0; font-size: .92rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--brick); margin-top: 2px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { box-shadow: var(--shadow); }
.product-card.is-in-quote { border-color: var(--brick); }
.product-card__media { aspect-ratio: 4 / 3; position: relative; }
.product-card__media > img, .product-card__media > .tex { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__cat {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,.92); color: var(--ink-2);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-card__added {
  position: absolute; right: 12px; top: 12px;
  background: var(--brick); color: var(--white);
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  display: none;
}
.product-card.is-in-quote .product-card__added { display: inline-block; }
.product-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card h3 { font-size: 1.05rem; margin: 0; }
.product-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.product-card__unit { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.product-card__actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; }
.product-card__actions .stepper { width: 100%; }
.product-card__actions .stepper input { flex: 1; }
.product-card__actions .btn { min-height: 44px; padding-inline: 12px; }

/* Quantity stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--mortar); border-radius: 999px; background: var(--white); height: 44px; }
.stepper button {
  width: 36px; height: 100%; border: 0; background: transparent; cursor: pointer;
  font-size: 1.15rem; font-weight: 700; color: var(--ink-2); border-radius: 999px;
}
.stepper button:hover { color: var(--brick); background: var(--sand); }
.stepper input {
  width: 58px; text-align: center; border: 0; background: transparent; font-weight: 700; height: 100%;
  -moz-appearance: textfield; appearance: textfield;
}
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field input[type="number"]::-webkit-outer-spin-button, .field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm { height: 36px; }
.stepper--sm button { width: 30px; }
.stepper--sm input { width: 52px; font-size: .92rem; }

/* ---------- Feature cards (about) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brick-soft); color: var(--brick); margin-bottom: 18px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Products page ---------- */
.jump-nav {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(248, 243, 236, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mortar);
}
.jump-nav .chips { flex-wrap: nowrap; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.jump-nav .chips::-webkit-scrollbar { display: none; }
.jump-nav .chip { white-space: nowrap; text-decoration: none; }
.range { scroll-margin-top: calc(var(--header-h) + 68px); padding-block: clamp(48px, 7vw, 80px); }
.range__head { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; margin-bottom: 28px; }
.range__swatch { width: 96px; height: 96px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.range__swatch > * { width: 100%; height: 100%; object-fit: cover; }
.range__head h2 { margin-bottom: 4px; }
.range__head p { margin: 0; color: var(--ink-2); max-width: 620px; }
.range__count { font-size: .85rem; font-weight: 700; color: var(--muted); background: var(--sand-2); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 640px) {
  .range__head { grid-template-columns: 64px 1fr; gap: 16px; }
  .range__swatch { width: 64px; height: 64px; border-radius: 14px; }
  .range__count { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--brick); color: var(--white); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tex-face-brick); background-size: 120px 60px; opacity: .18; mix-blend-mode: multiply;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--brick-dark) 0%, rgba(196,22,28,.6) 60%, transparent 100%);
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: clamp(48px, 7vw, 80px); flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #f6dcd2; margin: 0; max-width: 560px; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: stretch; }
.rating-card {
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.rating-card__score { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.rating-card p { color: #c9bbb0; margin: 0; font-size: .95rem; }
.stars { display: inline-flex; gap: 2px; color: #f2b544; }
.stars svg { width: 20px; height: 20px; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.review blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brick-soft); color: var(--brick); font-weight: 800; }
.review figcaption strong { display: block; }
.review figcaption span { color: var(--muted); font-size: .82rem; }
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr; } .review-list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); }
.contact-info { display: grid; gap: 14px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 18px; }
.contact-item__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--white); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item div > a, .contact-item div > span { color: var(--ink-2); text-decoration: none; display: block; font-size: .95rem; overflow-wrap: anywhere; }
.contact-item div > a:hover { color: var(--brick); text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand-2); aspect-ratio: 16 / 10; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.card { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .req { color: var(--brick); }
.input, .field :is(input, select, textarea):where(:not([type="radio"], [type="checkbox"])) {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--mortar); border-radius: var(--radius-sm); background: var(--sand);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brick); background: var(--white); box-shadow: 0 0 0 4px rgba(196, 22, 28, .14); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { color: var(--muted); font-size: .82rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.segmented { display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.segmented legend { margin-bottom: 6px; padding: 0; }
.segmented label {
  flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid var(--mortar); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--sand);
  font-weight: 600; color: var(--ink);
}
.segmented input { accent-color: var(--brick); width: 18px; height: 18px; margin: 0; }
.segmented label:has(input:checked) { border-color: var(--brick); background: var(--brick-soft); }

.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; margin-top: 16px; }
.form-status.is-success { display: block; background: #e5f3ea; color: var(--success); }
.form-status.is-error { display: block; background: #fbe7e5; color: var(--danger); }
.form-status a { color: inherit; font-weight: 700; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tex-face-brick); background-size: 120px 60px; opacity: .18;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-hero .container { padding-block: clamp(44px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { color: #e2d6cc; max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .88rem; color: #c9bbb0; margin-bottom: 14px; }
.breadcrumb a { color: #f1e3d8; }

/* ---------- Quote builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
@media (max-width: 1100px) { .builder { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } }

.toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 46px; background: var(--white); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--mortar); background: var(--white); color: var(--ink-2);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); border: 2px dashed var(--mortar); border-radius: var(--radius); }

.quote-panel { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.quote-panel .card { padding: 22px; }
.quote-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.quote-panel__head h2 { font-size: 1.3rem; margin: 0; }
.link-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--brick); }
.quote-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 360px; overflow: auto; }
.quote-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--sand); }
.quote-item__swatch { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; }
.quote-item__swatch > * { width: 100%; height: 100%; object-fit: cover; }
.quote-item__name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.quote-item__meta { font-size: .78rem; color: var(--muted); }
.quote-item__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.quote-item__remove { background: none; border: 0; color: var(--muted); font-size: .78rem; cursor: pointer; padding: 2px; }
.quote-item__remove:hover { color: var(--danger); text-decoration: underline; }
.quote-empty { text-align: center; padding: 28px 12px; color: var(--muted); font-size: .95rem; }
.quote-empty__icon { width: 64px; height: 40px; margin: 0 auto 12px; border-radius: 6px; opacity: .7; }

.quote-summary { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 14px; border-top: 1px dashed var(--mortar); font-size: .92rem; color: var(--ink-2); }

.calc { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px; }
.calc h2 { font-size: 1.15rem; margin-bottom: 4px; }
.calc > p { color: #c9bbb0; font-size: .88rem; margin-bottom: 16px; }
.calc .field label { color: #e2d6cc; }
.calc .field input, .calc .field select { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--white); }
.calc .field select option { color: var(--ink); }
.calc .field input:focus, .calc .field select:focus { background: rgba(255,255,255,.1); border-color: var(--clay); box-shadow: 0 0 0 4px rgba(226,69,60,.25); }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__result { margin: 16px 0; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.calc__result strong { font-size: 1.6rem; display: block; line-height: 1.1; }
.calc__result span { font-size: .82rem; color: #c9bbb0; }

.details-section { margin-top: clamp(48px, 7vw, 72px); scroll-margin-top: calc(var(--header-h) + 16px); }
.details-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .details-layout { grid-template-columns: 1fr; } }
.review-box h3 { font-size: 1.05rem; }
.review-box ol { margin: 0; padding-left: 20px; font-size: .92rem; color: var(--ink-2); display: grid; gap: 6px; }
.review-box ol b { color: var(--ink); }

.success-panel { text-align: center; padding: clamp(32px, 6vw, 56px); }
.success-panel__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #e5f3ea; color: var(--success); }
.success-panel__icon svg { width: 36px; height: 36px; }
.success-panel .ref { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--sand); padding: 6px 14px; border-radius: 8px; font-weight: 700; margin: 6px 0 18px; }

/* Floating mobile quote button */
.quote-fab {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40;
  display: none; box-shadow: 0 12px 30px rgba(22,18,18,.3);
}
@media (max-width: 960px) { .quote-fab.is-visible { display: inline-flex; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--white); padding: 14px 16px 14px 18px; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); font-size: .95rem; max-width: calc(100vw - 32px);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
}
.toast.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.toast a { color: #ff8f86; font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .toast { left: 16px; right: 16px; bottom: 80px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9bbb0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; display: block; height: 14px; background: var(--tex-face-brick); background-size: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 40px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #e2d6cc; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer .logo__tag { color: #a99a8e; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Dark surfaces ---------- */
:root { --ink-deep: #0c0a0a; --ink-raised: #221c1b; --line-dark: rgba(255, 255, 255, .09); }

.topbar { background: var(--ink-deep); border-bottom: 1px solid var(--line-dark); }

.site-header { background: rgba(22, 18, 18, .94); }
.site-header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.site-header .logo, .site-header .logo:hover { color: var(--white); }
.site-header .logo__tag { color: #a99a8e; }
.logo__img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)); }
.nav__links a { color: #e6dcd6; }
.nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav__links a[aria-current="page"] { color: #ff4b45; }
.nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .2); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--white); }
@media (max-width: 960px) {
  .nav { background: var(--ink); border-bottom-color: var(--line-dark); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
}

.highlights { background: var(--ink-deep); border-bottom: 0; color: var(--white); }
.highlights .highlight { border-color: var(--line-dark); }
.highlights .highlight__icon { background: rgba(196, 22, 28, .18); color: #ff4b45; }
.highlights .highlight span { color: #a99a8e; }

.section--dark { background: var(--ink); color: var(--white); position: relative; isolation: isolate; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tex-face-brick); background-size: 120px 60px; opacity: .06;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.section--dark .eyebrow { color: #ff4b45; }
.section--dark .section-head p { color: #c9bbb0; }
.section--dark .review, .section--dark .feature { background: var(--ink-raised); border-color: var(--line-dark); box-shadow: none; }
.section--dark .review blockquote { color: #e6dcd6; }
.section--dark .review figcaption span, .section--dark .feature p { color: #a99a8e; }
.section--dark .review__avatar, .section--dark .feature__icon { background: rgba(196, 22, 28, .18); color: #ff4b45; }
.section--dark .rating-card { background: var(--brick); }
.section--dark .rating-card p { color: #f9d6d4; }

.jump-nav { background: rgba(12, 10, 10, .94); border-bottom-color: var(--line-dark); }
.jump-nav .chip { background: transparent; border-color: rgba(255, 255, 255, .2); color: #e6dcd6; }
.jump-nav .chip:hover { border-color: var(--white); color: var(--white); }

/* ---------- Photos ---------- */
.hero__bg, .page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero::before {
  z-index: -2; opacity: 1; mask-image: none; -webkit-mask-image: none;
  background: linear-gradient(90deg, rgba(12, 10, 10, .95) 0%, rgba(12, 10, 10, .82) 45%, rgba(12, 10, 10, .5) 100%);
}
.page-hero::before {
  opacity: 1; mask-image: none; -webkit-mask-image: none;
  background: linear-gradient(90deg, rgba(12, 10, 10, .93) 0%, rgba(12, 10, 10, .78) 50%, rgba(12, 10, 10, .45) 100%);
}
@media (max-width: 900px) {
  .hero::before, .page-hero::before { background: rgba(12, 10, 10, .82); }
}

img.about__wall { width: 82%; height: 86%; object-fit: cover; }

.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-head--split h2 { margin-bottom: .3em; }
.section-head--split p { margin: 0; }

.gallery__item { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }

.yard-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yard-strip .gallery__item { aspect-ratio: 3 / 4; }
@media (max-width: 800px) { .yard-strip { grid-template-columns: repeat(2, 1fr); } }

.gallery { columns: 3 280px; column-gap: 18px; }
.gallery .gallery__item { margin-bottom: 18px; break-inside: avoid; }
.gallery .gallery__item img { height: auto; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 6, 6, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 56px 72px; }
.lightbox img { max-width: min(1100px, calc(100vw - 144px)); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #e6dcd6; font-size: .95rem; text-align: center; }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox__btn:hover { background: var(--brick); border-color: var(--brick); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox figure { padding: 64px 12px 80px; }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 170px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Coming soon ---------- */
.soon {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  position: relative; isolation: isolate; overflow-x: hidden;
  background: var(--ink); color: var(--white);
}
.soon::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(12, 10, 10, .95) 0%, rgba(12, 10, 10, .82) 50%, rgba(12, 10, 10, .5) 100%);
}
.soon::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 500px at 0% 100%, rgba(196, 22, 28, .3), transparent 60%);
}
.soon__bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.soon .logo, .soon .logo:hover { color: var(--white); }
.soon .logo__tag { color: #a99a8e; }
.soon__header { padding-block: 24px; }
.soon__main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
.soon__main > * { max-width: 760px; }
.soon .eyebrow { color: #ff4b45; }
.soon__lead { color: #e2d6cc; font-size: 1.15rem; margin-bottom: 32px; }
.soon__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.soon__address { display: inline-flex; align-items: flex-start; gap: 8px; color: #c9bbb0; margin: 0; }
.soon__address svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #ff4b45; }
.soon__address a { color: inherit; }
.soon__address a:hover { color: var(--white); }
.soon__footer {
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid var(--line-dark); color: #a99a8e; font-size: .88rem;
}
@media (max-width: 900px) {
  .soon::before { background: rgba(12, 10, 10, .82); }
}
@media (max-width: 480px) {
  .soon__actions .btn { width: 100%; }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
