/* ============================================================
   AMARAVATI INTERLOCKING BRICKS — style.css
   Palette drawn from the brand logo & brochure
   ============================================================ */

/* ---------- self-hosted variable fonts ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../assets/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --brick:      #c8402a;   /* logo terracotta red   */
  --brick-deep: #9e3120;
  --ember:      #e4572e;
  --ink:        #141517;   /* near-black charcoal   */
  --coal:       #1d1f22;
  --coal-2:     #26282c;
  --bone:       #f4f0ea;   /* warm off-white        */
  --sand:       #e9e2d7;
  --ash:        #9ba0a6;   /* fly-ash grey          */
  --line-d:     rgba(255,255,255,.09);
  --line-l:     rgba(20,21,23,.1);

  --font-d: "Archivo", "Arial Narrow", Impact, sans-serif;
  --font-b: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;

  --pad: clamp(20px, 4vw, 64px);
  --radius: 18px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.22,.9,.28,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-b);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: min(1240px, 100% - 2*var(--pad)); margin-inline: auto; }
.br-d { display: block; }
::selection { background: var(--brick); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: .95em 1.7em; border-radius: 999px;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .35s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn--fill { background: var(--brick); color: #fff; box-shadow: 0 10px 30px -12px rgba(200,64,42,.65); }
.btn--fill:hover { background: var(--ember); transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(228,87,46,.7); }
.btn--line { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn--line:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-3px); }
.btn--ghost { color: var(--bone); opacity: .9; padding: .7em 1em; }
.btn--ghost:hover { color: var(--ember); opacity: 1; }
.btn--sm { font-size: .85rem; padding: .7em 1.3em; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; }
.preloader__bricks { display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; height: 26px; }
.pb { width: 54px; height: 22px; border-radius: 3px; background: var(--brick); transform: translateY(-40px); opacity: 0; }
.pb--2 { background: var(--ash); }
.pb--3 { background: var(--ember); }
.preloader__word {
  font-family: var(--font-d); font-weight: 900; font-stretch: 115%;
  font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .28em; text-indent: .28em;
  color: var(--bone);
}
.preloader__bar {
  width: min(280px, 60vw); height: 2px; margin: 22px auto 12px;
  background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden;
}
.preloader__bar span { display: block; width: 0%; height: 100%; background: var(--ember); }
.preloader__count { font-size: .8rem; letter-spacing: .2em; color: var(--ash); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .45s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(18,19,21,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-d);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: var(--header-h);
  width: min(1400px, 100% - 2*var(--pad)); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__mark { height: 42px; width: auto; }
.header__name { display: flex; flex-direction: column; line-height: 1.1; }
.header__name strong { font-family: var(--font-d); font-weight: 900; font-stretch: 110%; letter-spacing: .12em; font-size: 1.02rem; }
.header__name em { font-style: normal; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ember); }
.header__nav { display: flex; gap: 6px; margin-left: auto; }
.header__nav a {
  position: relative; font-size: .88rem; font-weight: 600; letter-spacing: .04em;
  padding: .55em .9em; border-radius: 8px; color: rgba(244,240,234,.82);
  transition: color .3s;
}
.header__nav a::after {
  content: ""; position: absolute; left: .9em; right: .9em; bottom: .3em; height: 1.5px;
  background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.header__nav a:hover { color: #fff; }
.header__nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 130; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--bone);
  transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0; background: linear-gradient(160deg, #17181a 0%, #211b18 100%);
  clip-path: circle(0% at calc(100% - 32px) 32px);
  transition: clip-path .7s var(--ease-out);
}
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 32px) 32px); }
.menu__nav {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: calc(var(--header-h) + 6vh) var(--pad) 0;
}
.menu__nav a {
  font-family: var(--font-d); font-weight: 900; font-stretch: 105%;
  font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: .02em; line-height: 1.15;
  color: var(--bone); display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.menu__nav a span { font-family: var(--font-b); font-size: .8rem; font-weight: 600; color: var(--ember); letter-spacing: .2em; }
.menu__nav a:hover { color: var(--ember); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .21s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .27s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .33s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .39s; }
.menu__meta {
  position: absolute; bottom: 6vh; left: var(--pad); right: var(--pad);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: .9rem; color: var(--ash);
  opacity: 0; transition: opacity .5s .45s;
}
.menu.is-open .menu__meta { opacity: 1; }
.menu__meta a:hover { color: var(--ember); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg { position: absolute; inset: 0; }
.hero__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 34px;   /* brick-course proportions */
  mask-image: radial-gradient(120% 90% at 50% 10%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 10%, #000 30%, transparent 78%);
}
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 48% at 78% 88%, rgba(200,64,42,.34), transparent 65%),
    radial-gradient(45% 42% at 12% 2%, rgba(228,87,46,.14), transparent 70%);
}
.hero__scene {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  opacity: .34;
}
.hero__scene::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(20,21,23,.35) 45%, rgba(20,21,23,.72) 100%);
}
.hero__scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

.hero__content { position: relative; z-index: 2; padding-block: 4vh 10vh; }
.hero__kicker, .hero__title, .hero__sub, .hero__cta { position: relative; z-index: 2; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sand); opacity: .9; margin-bottom: 2.4vh;
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.hero__title {
  font-family: var(--font-d); font-weight: 900; font-stretch: 118%;
  font-size: clamp(3rem, 10.5vw, 9.2rem);
  line-height: .95; letter-spacing: .005em; text-transform: uppercase;
  color: var(--bone);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title .line--accent > span {
  color: transparent;
  -webkit-text-stroke: 2px var(--ember);
  text-shadow: 0 0 60px rgba(228,87,46,.25);
}
.hero__sub {
  margin-top: 3.2vh; max-width: 56ch;
  font-size: clamp(.98rem, 1.35vw, 1.15rem); color: rgba(244,240,234,.78);
}
.hero__sub strong { color: var(--bone); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4vh; }

.hero__bricks {
  position: absolute; right: -3%; bottom: -6%;
  width: clamp(280px, 34vw, 540px); height: clamp(220px, 26vw, 420px);
  pointer-events: none; z-index: 1;
}
.hb { position: absolute; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); will-change: transform; }
.hb--red { width: 78%; right: 4%; bottom: 22%; z-index: 2; }
.hb--grey { width: 52%; right: 40%; bottom: 2%; opacity: .96; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 var(--pad) 26px;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ash);
}
.hero__scrollcue { display: flex; align-items: center; gap: 12px; }
.hero__scrollcue span { display: block; width: 1px; height: 44px; background: linear-gradient(var(--ember), transparent); animation: cue 2s infinite var(--ease-out); transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__tag { color: rgba(244,240,234,.5); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line-d);
  background: var(--coal);
  overflow: hidden; padding: 18px 0;
  position: relative; z-index: 4;
}
.marquee__track {
  display: flex; align-items: center; gap: 42px; width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-d); font-weight: 800; font-stretch: 112%;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone); white-space: nowrap;
}
.marquee__track span:nth-of-type(even) {
  color: transparent; -webkit-text-stroke: 1.2px rgba(244,240,234,.55);
}
.marquee__track i { color: var(--ember); font-style: normal; font-size: .8em; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--bone); color: var(--ink); padding: clamp(64px, 9vw, 120px) 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.stat { text-align: left; border-left: 2px solid rgba(200,64,42,.35); padding-left: clamp(14px, 2vw, 26px); }
.stat__num {
  font-family: var(--font-d); font-weight: 900; font-stretch: 116%;
  font-size: clamp(3rem, 6.5vw, 5.6rem); line-height: 1; color: var(--ink);
  display: flex; align-items: baseline;
}
.stat__num em { font-style: normal; color: var(--brick); font-size: .55em; margin-left: .06em; }
.stat__label {
  margin-top: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; color: rgba(20,21,23,.62);
}

/* ============================================================
   INTERLOCK STORY
   ============================================================ */
.lock { background: var(--ink); position: relative; }
.lock__pin {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5vh;
  overflow: hidden; padding: var(--header-h) var(--pad) 40px;
}
.lock__words {
  position: relative; height: 1.25em; width: 100%; text-align: center;
  font-family: var(--font-d); font-size: clamp(2.2rem, 6.4vw, 5rem);
}
.lock__word {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(30%);
  font-weight: 900; font-stretch: 118%; text-transform: uppercase;
  font-size: 1em; line-height: 1.1; white-space: nowrap;
  color: var(--bone); opacity: 0;
}
.lock__word.is-active { opacity: 1; transform: translateX(-50%) translateY(0); }
.lock__wall {
  display: grid; gap: 7px;
  width: min(880px, 92vw);
}
.lock__row { display: flex; gap: 7px; justify-content: center; }
.lock__brick {
  height: clamp(24px, 4.4vw, 44px); flex: 1 1 auto; border-radius: 4px;
  background: linear-gradient(180deg, #d05437 0%, var(--brick) 55%, var(--brick-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -3px 6px rgba(0,0,0,.28);
  position: relative; will-change: transform, opacity;
}
.lock__brick::after {   /* interlock studs */
  content: ""; position: absolute; top: -4px; left: 18%; right: 18%; height: 4px;
  background: var(--brick-deep); border-radius: 2px 2px 0 0; opacity: .8;
}
.lock__brick--ash { background: linear-gradient(180deg, #c4c7cb 0%, #a7abb0 55%, #83878c 100%); }
.lock__brick--ash::after { background: #74787d; }
.lock__caption {
  max-width: 52ch; text-align: center; color: var(--ash); font-size: .95rem;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.sec-head { margin-bottom: clamp(40px, 6vw, 76px); }
.sec-head__kicker {
  font-size: .76rem; font-weight: 800; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brick); margin-bottom: 14px;
}
.sec-head__title {
  font-family: var(--font-d); font-weight: 900; font-stretch: 116%;
  font-size: clamp(2.1rem, 5.6vw, 4.4rem); line-height: 1.02; text-transform: uppercase;
  color: var(--ink);
}
.sec-head__title em { font-style: normal; color: var(--brick); }
.sec-head__sub { margin-top: 16px; font-size: 1.02rem; color: rgba(20,21,23,.6); max-width: 60ch; }
.sec-head--light .sec-head__title { color: var(--bone); }
.sec-head--light .sec-head__sub { color: rgba(244,240,234,.6); }
.sec-head--light .sec-head__title em { color: var(--ember); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--bone); color: var(--ink); padding: clamp(80px, 10vw, 150px) 0; }

.pshow {
  display: grid; grid-template-columns: 250px 1fr 320px; gap: clamp(20px, 3vw, 48px);
  align-items: center;
  background: #fff; border: 1px solid var(--line-l); border-radius: calc(var(--radius) + 8px);
  padding: clamp(22px, 3.4vw, 48px);
  box-shadow: 0 30px 80px -40px rgba(20,21,23,.25);
}
.pshow__switch { display: flex; flex-direction: column; gap: 12px; }
.pswitch {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px; border-radius: 14px; border: 1.5px solid var(--line-l);
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.pswitch:hover { transform: translateX(4px); }
.pswitch.is-active { border-color: var(--brick); background: rgba(200,64,42,.05); }
.pswitch__chip { width: 34px; height: 22px; border-radius: 4px; flex: none; box-shadow: inset 0 -4px 6px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.35); }
.pswitch__chip--red { background: linear-gradient(180deg, #d05437, var(--brick-deep)); }
.pswitch__chip--grey { background: linear-gradient(180deg, #c4c7cb, #84888d); }
.pswitch__txt { display: flex; flex-direction: column; line-height: 1.25; }
.pswitch__txt strong { font-size: .98rem; }
.pswitch__txt em { font-style: normal; font-size: .74rem; color: rgba(20,21,23,.55); }

.pshow__stage {
  position: relative; min-height: clamp(260px, 30vw, 420px);
  display: grid; place-items: center;
  perspective: 900px;
}
.pshow__halo {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,64,42,.16) 0%, transparent 62%);
  transition: background .5s;
}
.pshow[data-variant="grey"] .pshow__halo { background: radial-gradient(circle, rgba(130,135,141,.2) 0%, transparent 62%); }
.pshow__ring {
  position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(20,21,23,.16);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pshow__fig { position: relative; width: min(78%, 460px); transform-style: preserve-3d; will-change: transform; }
.pshow__fig img { width: 100%; filter: drop-shadow(0 34px 34px rgba(20,21,23,.3)); transition: opacity .25s; }
.pshow__dims {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.pshow__dims .dim {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(20,21,23,.55);
  background: rgba(255,255,255,.85); border: 1px solid var(--line-l);
  padding: .45em .9em; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.pshow__dims b { color: var(--brick); font-size: .95rem; font-family: var(--font-d); font-weight: 800; }

.pshow__panel { display: flex; flex-direction: column; gap: 16px; }
.pshow__name { font-family: var(--font-d); font-weight: 900; font-stretch: 110%; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; text-transform: uppercase; }
.pshow__finish { color: var(--brick); font-weight: 700; letter-spacing: .08em; margin-top: -8px; }
.pshow__sizes { display: flex; gap: 10px; }
.psize {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; border-radius: 12px; border: 1.5px solid var(--line-l);
  transition: border-color .3s, background .3s, transform .25s var(--ease-out);
}
.psize:hover { transform: translateY(-3px); }
.psize.is-active { border-color: var(--brick); background: rgba(200,64,42,.06); }
.psize strong { font-family: var(--font-d); font-weight: 900; font-size: 1.3rem; }
.psize em { font-style: normal; font-size: .66rem; color: rgba(20,21,23,.55); letter-spacing: .04em; }
.pshow__note { font-size: .78rem; color: rgba(20,21,23,.5); }

/* custom sizes banner */
.custom {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 42px); align-items: center;
  background: var(--ink); color: var(--bone);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(24px, 3.4vw, 44px) clamp(22px, 3.4vw, 52px);
  position: relative; overflow: hidden;
}
.custom::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 90% 50%, rgba(200,64,42,.25), transparent 60%);
}
.custom > * { position: relative; }
.custom__icon { color: var(--ember); }
.custom__icon svg { width: clamp(64px, 7vw, 96px); height: auto; }
.custom__txt h3 { font-family: var(--font-d); font-weight: 900; font-stretch: 114%; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.custom__txt h3 em { font-style: normal; color: var(--ember); }
.custom__txt p { margin-top: 8px; color: rgba(244,240,234,.75); max-width: 58ch; font-size: .95rem; }
.custom__motto { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bone) !important; font-size: .8rem !important; }
.custom__all {
  border-left: 2px solid rgba(228,87,46,.5); padding-left: 22px;
  display: flex; flex-direction: column; gap: 4px; min-width: 180px;
}
.custom__all strong { font-family: var(--font-d); font-weight: 900; font-size: 1.5rem; color: var(--ember); }
.custom__all span { font-size: .85rem; color: rgba(244,240,234,.7); }

/* ============================================================
   WHY
   ============================================================ */
.why { background: var(--coal); padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.why__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.wcard {
  position: relative;
  background: var(--coal-2); border: 1px solid var(--line-d); border-radius: var(--radius);
  padding: 26px 20px 24px;
  transition: transform .4s var(--ease-out), border-color .35s, background .35s;
  overflow: hidden;
}
.wcard::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brick), var(--ember));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.wcard:hover { transform: translateY(-6px); border-color: rgba(228,87,46,.4); background: #2b2422; }
.wcard:hover::after { transform: scaleX(1); }
.wcard__num {
  position: absolute; top: 16px; right: 18px;
  font-family: var(--font-d); font-weight: 900; font-size: 1.5rem;
  color: transparent; -webkit-text-stroke: 1px rgba(244,240,234,.22);
}
.wcard__icon { display: block; width: 44px; height: 44px; color: var(--ember); margin-bottom: 40px; }
.wcard__icon svg { width: 100%; height: 100%; }
.wcard h3 { font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; margin-bottom: 8px; color: var(--bone); }
.wcard p { font-size: .84rem; line-height: 1.55; color: rgba(244,240,234,.62); }

/* ============================================================
   APPLICATIONS (horizontal scroll)
   ============================================================ */
.apps { background: var(--bone); color: var(--ink); position: relative; }
.apps__pin {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) 0 40px;
  overflow: hidden;
}
.apps__pin .sec-head { width: min(1240px, 100% - 2*var(--pad)); margin-inline: auto; }
.apps__viewport { overflow: hidden; }
.apps__track {
  display: flex; gap: 22px; width: max-content;
  padding-inline: max(var(--pad), (100vw - 1240px) / 2);
  will-change: transform;
}
.acard {
  width: clamp(230px, 22vw, 300px); flex: none;
  background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.acard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(20,21,23,.35); }
.acard figure { aspect-ratio: 10 / 7; overflow: hidden; }
.acard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.acard:hover img { transform: scale(1.07); }
.acard h3 { padding: 16px 18px 18px; font-size: .95rem; font-weight: 800; letter-spacing: .01em; }
.apps__progress {
  width: min(1240px, 100% - 2*var(--pad)); margin: 34px auto 0;
  height: 2px; background: rgba(20,21,23,.12); border-radius: 2px; overflow: hidden;
}
.apps__progress span { display: block; height: 100%; width: 0%; background: var(--brick); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--ink); padding: clamp(80px, 10vw, 150px) 0; }
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.timeline__line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: rgba(255,255,255,.1); border-radius: 2px;
}
.timeline__line span { display: block; width: 100%; height: 0%; background: linear-gradient(var(--brick), var(--ember)); }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  position: relative;
}
.step::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
  transform: translate(-50%,-50%) rotate(45deg);
  background: var(--ink); border: 2px solid var(--ember); border-radius: 3px; z-index: 1;
}
.step__media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-d);
  aspect-ratio: 4 / 3; background: var(--coal-2);
  width: min(100%, 400px); justify-self: end;
}
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__body { display: flex; align-items: baseline; gap: 18px; }
.step__body h3 { font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 800; color: var(--bone); }
.step:nth-child(even of .step) .step__media { order: 2; justify-self: start; }
.step:nth-child(even of .step) .step__body { order: 1; justify-content: flex-end; text-align: right; }
.process__note {
  margin-top: clamp(40px, 6vw, 70px); text-align: center; color: var(--ash);
  max-width: 60ch; margin-inline: auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative; background: var(--coal); overflow: hidden;
  padding: clamp(90px, 11vw, 160px) 0 clamp(70px, 9vw, 120px);
}
.contact__glow {
  position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 50% 0%, rgba(200,64,42,.22), transparent 65%);
}
.contact .container { position: relative; }
.contact__head { text-align: center; margin-bottom: clamp(44px, 6vw, 76px); }
.contact__title {
  font-family: var(--font-d); font-weight: 900; font-stretch: 118%;
  font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .98; text-transform: uppercase; color: var(--bone);
}
.contact__title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--ember); }
.contact__sub { margin-top: 18px; color: rgba(244,240,234,.65); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 18px; }
.ccard {
  background: var(--coal-2); border: 1px solid var(--line-d); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 10px;
}
.ccard__label {
  font-size: .72rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 6px;
}
.ccard__label--gap { margin-top: 18px; }
.ccard__big {
  font-family: var(--font-d); font-weight: 900; font-stretch: 110%;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--bone);
  transition: color .3s;
}
.ccard__big:hover { color: var(--ember); }
.ccard__mid { font-weight: 600; font-size: .96rem; color: rgba(244,240,234,.85); word-break: break-all; transition: color .3s; }
.ccard__mid:hover { color: var(--ember); }
.ccard__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ccard--form input, .ccard--form select, .ccard--form textarea {
  font: inherit; color: var(--bone);
  background: rgba(255,255,255,.05); border: 1px solid var(--line-d); border-radius: 10px;
  padding: .8em 1em; width: 100%;
  transition: border-color .3s;
}
.ccard--form ::placeholder { color: rgba(244,240,234,.4); }
.ccard--form :is(input,select,textarea):focus { outline: none; border-color: var(--ember); }
.ccard--form select { appearance: none; }
.ccard--form option { color: var(--ink); }
.ccard--form button { margin-top: 4px; justify-content: center; }
.ccard__hint { font-size: .72rem; color: rgba(244,240,234,.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); border-top: 1px solid var(--line-d); padding: clamp(44px, 6vw, 70px) 0 30px; }
.footer__top {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding-bottom: 34px; border-bottom: 1px solid var(--line-d);
}
.footer__brand { display: inline-block; background: var(--bone); border-radius: 16px; padding: 14px 20px; }
.footer__brand img { height: clamp(72px, 9vw, 110px); width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer__nav a { font-size: .9rem; font-weight: 600; color: rgba(244,240,234,.75); transition: color .3s; }
.footer__nav a:hover { color: var(--ember); }
.footer__mid {
  display: flex; flex-wrap: wrap; gap: 20px 48px;
  padding: 26px 0; font-size: .9rem; color: rgba(244,240,234,.8);
}
.footer__mid span { display: block; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ash); margin-bottom: 4px; }
.footer__mid a:hover { color: var(--ember); }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; border-top: 1px solid var(--line-d);
  font-size: .78rem; color: rgba(244,240,234,.45);
}
.footer__motto { letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }

/* ============================================================
   REVEAL DEFAULTS (JS adds motion; safe without JS)
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(44px); }
.js .hero__title .line > span { transform: translateY(110%); }
.js .hero__kicker, .js .hero__sub, .js .hero__cta { opacity: 0; transform: translateY(26px); }
.js .hb { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero__title .line > span,
  .js .hero__kicker, .js .hero__sub, .js .hero__cta, .js .hb { opacity: 1 !important; transform: none !important; }
  .hero__scrollcue span, .pshow__ring { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .pshow { grid-template-columns: 220px 1fr 280px; }
}

@media (max-width: 1020px) {
  .header__nav { display: none; }
  .header__actions { display: none; }
  .burger { display: block; margin-left: auto; }

  .why__grid { grid-template-columns: repeat(3, 1fr); }

  .pshow { grid-template-columns: 1fr; gap: 8px; }
  .pshow__switch { flex-direction: row; }
  .pswitch { flex: 1; }
  .pshow__panel { align-items: flex-start; }

  .custom { grid-template-columns: auto 1fr; }
  .custom__all { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-d); padding: 18px 0 0; min-width: 0; }

  .contact__grid { grid-template-columns: 1fr 1fr; }
  .ccard--form { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header__mark { height: 34px; }
  .header__name strong { font-size: .9rem; }

  .hero { min-height: 100svh; }
  .hero__content { padding-block: 2vh 36vh; }
  .hero__title { font-size: clamp(2.3rem, 11.8vw, 3.2rem); font-stretch: 106%; }
  .hero__sub { font-size: .95rem; }
  .hero__sub br { display: none; }
  .hero__bricks {
    right: auto; left: 50%; transform: translateX(-50%);
    bottom: 4vh; width: min(80vw, 380px); height: 28vh;
  }
  .hb--red { width: 80%; right: 0; bottom: 28%; }
  .hb--grey { width: 54%; right: 46%; bottom: 4%; }
  .hero__foot { padding-bottom: 14px; }
  .hero__tag { display: none; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 34px 18px; }

  .lock__caption { font-size: .85rem; }

  .why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wcard { padding: 20px 16px 18px; }
  .wcard__icon { margin-bottom: 26px; width: 36px; height: 36px; }

  /* applications become a swipe row on touch/small screens */
  .apps__pin { min-height: 0; padding: 72px 0; }
  .apps__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .apps__viewport::-webkit-scrollbar { display: none; }
  .apps__track { padding-inline: var(--pad); }
  .acard { scroll-snap-align: start; width: 74vw; max-width: 320px; }
  .apps__progress { display: none; }

  .timeline__line { left: 8px; transform: none; }
  .step { grid-template-columns: 1fr; gap: 14px; padding-left: 34px; }
  .step::before { left: 8px; top: 12px; transform: translate(-50%,0) rotate(45deg); }
  .step:nth-child(even of .step) .step__media { order: 0; }
  .step:nth-child(even of .step) .step__body { order: 0; justify-content: flex-start; text-align: left; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
}

@media (max-width: 420px) {
  .stats__grid { gap: 26px 14px; }
  .why__grid { grid-template-columns: 1fr; }
  .pshow__sizes { flex-wrap: wrap; }
  .psize { min-width: 84px; }
}

/* ==================================================================
   v1.2.0 additions
   ================================================================== */

/* 1. Floating buttons: hide accessibility widget, blue call button */
#ea11y-root { display: none !important; }
.fab a.fab__call { background: #1f6feb; }
.fab a.fab__call:hover, .fab a.fab__call:focus-visible { background: #1a5fd0; }

/* 8. Header logo in a rounded box (like the footer) */
.header__brand .header__mark {
  height: 50px; width: auto;
  background: var(--bone); border-radius: 12px; padding: 5px 8px;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.6);
}
@media (max-width: 760px) {
  .header__brand .header__mark { height: 42px; padding: 4px 6px; border-radius: 10px; }
}

/* 9. Hero bricks side by side */
.hero__bricks {
  display: flex; align-items: flex-end; justify-content: center; gap: 3%;
  width: clamp(360px, 44vw, 700px); height: auto;
  right: 0; bottom: 4%;
}
.hero__bricks .hb { position: relative; right: auto; bottom: auto; width: 50%; opacity: 1; }
.hero__bricks .hb--grey { width: 44%; }
@media (min-width: 761px) and (max-width: 1020px) {
  .hero__bricks { width: 40vw; bottom: 2%; }
}
@media (max-width: 760px) {
  .hero__bricks { width: min(92vw, 440px); height: auto; bottom: 5vh; right: auto; left: 50%; transform: translateX(-50%); }
  .hero__bricks .hb--red, .hero__bricks .hb--grey { right: auto; bottom: auto; }
}

/* 2. Marquee with icons */
.marquee__track .mq { display: inline-flex; align-items: center; gap: .55em; }
.marquee__track .mq svg {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: var(--ember); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* 4. 3D brick viewer */
.pshow__stage { perspective: 1100px; cursor: grab; touch-action: pan-y; }
.pshow__stage.is-drag { cursor: grabbing; }
.pshow__fig { transform-style: preserve-3d; }
.pshow__fig img { transform-style: preserve-3d; backface-visibility: hidden; }
.pshow__floor {
  position: absolute; left: 21%; bottom: 13%; width: 58%; height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,21,23,.34), transparent);
  filter: blur(6px); pointer-events: none;
}
.pshow__badge {
  position: absolute; top: 2%; left: 2%; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(20,21,23,.6); background: rgba(255,255,255,.9);
  border: 1px solid var(--line-l); padding: .45em .9em; border-radius: 999px;
}
.pshow__badge svg { width: 14px; height: 14px; fill: none; stroke: var(--brick); stroke-width: 2; }

/* 5. Custom sizes — falling question + separate All Sizes block */
.custom { grid-template-columns: auto 1fr; }
.custom__q {
  display: flex; flex-wrap: wrap; gap: .3em .35em; margin: 14px 0 6px !important; max-width: none !important;
  font-family: var(--font-d); font-weight: 900; font-stretch: 108%;
  font-size: clamp(1.15rem, 2.3vw, 1.75rem) !important; line-height: 1.15;
  color: #fff !important; text-transform: uppercase; letter-spacing: .02em;
}
.custom__q .qw {
  display: inline-block; padding: .28em .55em .24em; border-radius: 6px;
  background: linear-gradient(180deg, #d9603f 0%, var(--brick) 60%, var(--brick-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -3px 6px rgba(0,0,0,.25), 0 10px 20px -10px rgba(0,0,0,.6);
  will-change: transform;
}
.custom__q .qbr { flex-basis: 100%; height: 0; }
.custom__q .qw--alt { background: linear-gradient(180deg, #f4f0ea, #d9d2c6); color: var(--ink); }

.allsizes {
  margin-top: 18px;
  display: grid; grid-template-columns: minmax(200px, .8fr) 2fr; gap: clamp(18px, 3vw, 44px); align-items: center;
  background: #fff; border: 1px solid var(--line-l); border-radius: calc(var(--radius) + 8px);
  padding: clamp(22px, 3.2vw, 40px) clamp(22px, 3.4vw, 52px);
  box-shadow: 0 30px 80px -50px rgba(20,21,23,.3);
}
.allsizes__head strong {
  display: block; font-family: var(--font-d); font-weight: 900; font-stretch: 114%;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; color: var(--brick);
}
.allsizes__head span { display: block; margin-top: 10px; color: rgba(20,21,23,.65); font-size: .98rem; }
.allsizes__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 32px); }
.blk {
  margin: 0; text-align: center; padding: 18px 14px 16px;
  border: 1px solid var(--line-l); border-radius: var(--radius); background: var(--bone);
}
.blk svg { width: 100%; max-width: 250px; height: auto; margin-inline: auto; filter: drop-shadow(0 18px 18px rgba(20,21,23,.22)); }
.blk figcaption { margin-top: 10px; font-weight: 800; font-size: .95rem; letter-spacing: .04em; color: var(--ink); }
.blk figcaption em { display: block; font-style: normal; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(20,21,23,.5); }
@media (max-width: 1020px) {
  .allsizes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .allsizes__blocks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .blk { padding: 12px 8px; }
}

/* 6-7. Address + map */
.ccard__addr { font-weight: 700; font-size: 1.05rem; color: var(--bone); }
.ccard__map { align-self: flex-start; margin-top: 6px; }
.cmap {
  margin-top: 18px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-d); background: var(--coal-2);
  aspect-ratio: 21 / 7; min-height: 260px;
}
.cmap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
@media (max-width: 760px) { .cmap { aspect-ratio: 4 / 3; } }

/* Hero background: brick-wall pattern (running bond) at the same faint opacity */
.hero__grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='68'%3E%3Cg fill='none' stroke='%23fff'%3E%3Cpath stroke-opacity='.045' d='M0 .5h72M0 34.5h72M.5 0v34M36.5 34v34'/%3E%3Cpath stroke-opacity='.03' d='M14 6.5h44M50 40.5h44M-22 40.5h44'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 68px;
}

/* ==================================================================
   v1.3 additions
   ================================================================== */
/* All Sizes: photo blocks */
.blk img { width: 100%; max-width: 260px; height: auto; margin-inline: auto; filter: drop-shadow(0 18px 18px rgba(20,21,23,.25)); }

/* Why: 11th point as a full-width card under the 5 + 5 grid */
.wcard--wide {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 22px;
  padding: 22px 26px;
  border-color: rgba(228,87,46,.35);
  background: linear-gradient(90deg, rgba(200,64,42,.16), var(--coal-2) 60%);
}
.wcard--wide .wcard__icon { margin-bottom: 0; flex: none; }
.wcard--wide h3 { font-size: 1.15rem; margin-bottom: 4px; }
.wcard--wide p { font-size: .9rem; max-width: 70ch; }
@media (max-width: 760px) {
  .wcard--wide { padding: 20px 16px; gap: 14px; }
}

/* v1.4 additions: hero bricks top-right on tablets and desktops */
@media (min-width: 761px) {
  .hero__bricks { top: 0; bottom: auto; right: 0; width: clamp(300px, 34vw, 540px); }
}

/* v1.5 additions */
/* Floating WhatsApp + Call buttons: bottom-right corner */
body .fab { bottom: clamp(14px, 2vw, 28px); }

/* Interlock wall: bricks sit tight, no gaps; each course's top studs
   tuck into the course above (upper rows stack above lower rows). */
.lock__wall { gap: 0; }
.lock__row { gap: 0; position: relative; }
.lock__row:nth-child(1) { z-index: 6; }
.lock__row:nth-child(2) { z-index: 5; }
.lock__row:nth-child(3) { z-index: 4; }
.lock__row:nth-child(4) { z-index: 3; }
.lock__row:nth-child(5) { z-index: 2; }
.lock__row:nth-child(6) { z-index: 1; }
.lock__row:nth-child(7) { z-index: 0; }

/* v1.6 additions: wall-section text (lines swap one by one, as before) */
/* smaller size only so the longer lines fit on one line */
.lock__words { font-size: clamp(1.05rem, 4.2vw, 3.4rem); }
.lock__caption { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: none; }
.lock__caption strong {
  font-family: var(--font-d); font-weight: 800; font-stretch: 110%;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: .02em; color: var(--bone);
}
.lock__caption span { font-size: clamp(.8rem, 1.1vw, .92rem); font-weight: 600; letter-spacing: .08em; color: var(--ash); }
