/* ============================================================
   BIJLI HOME AUTOMATION — design tokens
   Ink/signal colors pulled from the existing brand logo.
   Signature motif: a single diagonal "bolt-cut" edge/corner,
   echoing the cut through the "I" in the wordmark — used on
   section seams, cards, and buttons. Used once per surface,
   never stacked.
   ============================================================ */
:root{
  --ink:        #0C0F14;   /* brand navy */
  --ink-soft:   #262B33;   /* secondary dark text */
  --paper:      #F6F3EC;   /* warm stone background */
  --surface:    #ECE6D6;   /* warm card surface */
  --surface-2:  #E2DBC7;   /* deeper warm surface (borders/hover) */
  --signal:     #00A7F2;   /* brand cyan — accent, CTAs, links */
  --signal-deep:#0B84C2;   /* pressed / hover cyan */
  --muted:      #6B6455;   /* warm secondary text */
  --line:       #DBD3BE;   /* hairline border, warm */
  --on-dark:    #EDEAE1;   /* body text on ink backgrounds */
  --on-dark-muted: #9BA2AE;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --cut: 22px; /* signature diagonal-cut size */
  --radius: 4px;
  --max: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 28px; }

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

::selection{ background: var(--signal); color: #fff; }

:focus-visible{
  outline: 2.5px solid var(--signal);
  outline-offset: 3px;
}

h1,h2,h3{
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-deep);
  margin: 0 0 12px;
}
.eyebrow-on-dark{ color: var(--signal); }

.section-title{
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  max-width: 16ch;
}
.section-title.on-dark{ color: #fff; }

/* ============ buttons ============ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.btn-signal{
  background: var(--signal);
  color: #06222f;
}
.btn-signal:hover{ background: var(--signal-deep); transform: translateY(-1px); }
.btn-ghost-on-dark{
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid rgba(237,234,225,0.4);
  clip-path: none;
  padding: 12.5px 24px;
}
.btn-ghost-on-dark:hover{ border-color: var(--signal); color: var(--signal); }
.btn-small{ padding: 10px 20px; font-size: 13.5px; }
.btn-block{ width: 100%; justify-content: center; }

/* ============ header ============ */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,243,236,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 15px; padding-bottom: 26px;
  gap: 24px;
}
.brand-logo{ height: 38px; width: auto; }
.main-nav{ display: flex; gap: 30px; flex: 1; justify-content: center; }
.main-nav a{
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover{ color: var(--signal-deep); }
.nav-toggle{ display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:4px 0; }
.main-nav.is-open{
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 18px 28px; gap: 16px;
}

/* ============ work filter bar ============ */
.work-filter-bar{ display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.filter-btn{
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-btn:hover{ border-color: var(--signal-deep); }
.filter-btn.is-active{ background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============ work project blocks ============ */
.work-list{ padding: 56px 0 40px; }
.project-block{
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.project-block:last-child{ border-bottom: none; }
.project-head h2{ font-size: 26px; margin-bottom: 6px; }
.project-meta{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.project-details{ color: var(--ink-soft); font-size: 16px; max-width: 68ch; margin: 0 0 18px; }
.project-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.project-tags span{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 5px 10px;
  border-radius: var(--radius);
}
.work-photo{ flex: 0 0 280px; height: 190px; scroll-snap-align: start; border-radius: var(--radius); background-size: cover; background-position: center; }

.project-quote{
  display: flex; gap: 14px; align-items: flex-start;
  margin: 24px 0 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 640px;
}
.project-quote p{ font-style: italic; font-size: 15.5px; color: var(--ink-soft); margin: 0 0 8px; }
.project-quote cite{
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ============ service category grid ============ */
.service-cat{ padding: 56px 0; }
.service-cat-alt{ background: var(--surface); }
.service-cat .section-title{ max-width: 24ch; margin: 6px 0 30px; }
.service-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-grid-single{ max-width: 460px; }
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.service-cat-alt .service-card{ background: var(--paper); }
.service-photo{
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.service-body{ padding: 20px 20px 22px; }
.service-card h3{ font-size: 17px; margin: 0 0 8px; }
.service-card p{ color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ============ product sections ============ */
.product-section{ padding: 56px 0 44px; }
.product-section-alt{ background: var(--surface); }
.product-section .wrap > .section-title{ max-width: 22ch; margin-top: 6px; }
.product-section .product-grid{ margin: 32px 0 20px; }
.product-link{
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--signal-deep);
}
.product-link:hover{ color: var(--signal); }

.product-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 760px;
}
.product-card{
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.product-section-alt .product-card{ background: var(--paper); }
.product-photo{ height: 170px; position: relative; }
/* All product photos are now real — no gradient placeholders remain on this page. */
/* Dev: six stand-in gradients for real product photography — swap each
   for an actual shot of the installed device. */
.pp-1{ background-image: url('assets/product-pp1.jpg?v=1'); background-size: cover; background-position: center; }
.pp-2{ background-image: url('assets/product-pp2.jpg?v=1'); background-size: cover; background-position: center; }
.pp-3{ background-image: url('assets/product-pp3.jpg?v=1'); background-size: cover; background-position: center; }
.pp-4{ background-image: url('assets/product-pp4.jpg?v=1'); background-size: cover; background-position: center; }
.pp-5{ background-image: url('assets/product-pp5.jpg?v=1'); background-size: cover; background-position: center; }
.pp-6{ background-image: url('assets/product-pp6.jpg?v=1'); background-size: cover; background-position: center; }
.pp-7{ background-image: url('assets/product-pp7.jpg?v=1'); background-size: cover; background-position: center; }
.pp-8{ background-image: url('assets/product-pp8.jpg?v=1'); background-size: cover; background-position: center; }
.pp-9{ background-image: url('assets/product-pp9.jpg?v=1'); background-size: cover; background-position: center; }
.product-body{ padding: 20px 20px 22px; }
.product-brand{
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-body h3{ font-size: 16.5px; margin: 8px 0 6px; }
.product-body p{ color: var(--muted); font-size: 14px; margin: 0; }

/* ============ about narrative & photos ============ */
.about-narrative{ padding: 44px 0 8px; }
.about-narrative p{ font-size: 18px; color: var(--ink-soft); max-width: none; line-height: 1.7; margin: 0 0 20px; }
.about-narrative p:last-child{ margin-bottom: 0; }

.about-photo-band{ padding: 40px 0; }
.about-photo{
  height: 380px;
  background-image: url('assets/about-photo.jpg?v=1');
  background-size: cover;
  background-position: center 45%;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}

.about-stats{ padding: 40px 0; background: var(--ink); }
.about-stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 16px 0;
}
.about-stats .stat-num{ color: #fff; }
.about-stats .stat-suffix{ color: var(--signal); }
.about-stats .stat-label{ color: var(--on-dark-muted); }

/* ============ mission & vision ============ */
.mission-vision{ background: var(--surface); padding: 64px 0; }
.mv-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mv-card{ background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.mv-text{ font-size: 17px; color: var(--ink-soft); line-height: 1.65; margin: 10px 0 0; }

/* ============ why choose us ============ */
.why-us{ padding: 72px 0; }
.why-us-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-us-list{ list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.why-us-list li{
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.why-us-list li:last-child{ border-bottom: none; padding-bottom: 0; }
.why-us-photo{
  height: 340px;
  background-image: url('assets/why-us-photo.jpg?v=1');
  background-size: cover;
  background-position: center 40%;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.about-tech{ padding: 16px 0 88px; overflow: hidden; }
.about-tech .wrap{ margin-bottom: 30px; }

.logo-marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track{
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-left 28s linear infinite;
}
.logo-marquee:hover .logo-track{ animation-play-state: paused; }
@keyframes marquee-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.logo-tile{
  flex: none;
  width: 176px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.logo-tile-dark{
  background: var(--ink);
  border-color: var(--ink);
}
.logo-tile img{ max-width: 100%; max-height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce){
  .logo-track{ animation: none; }
}

/* ============ legal page prose ============ */
.legal-content{ padding: 20px 0 90px; }
.legal-content h2{
  font-size: 24px;
  margin: 44px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--signal);
}
.legal-content h2:first-child{ margin-top: 0; }
.legal-content h3{ font-size: 17px; margin: 28px 0 10px; }
.legal-content p{ color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; max-width: 74ch; margin: 0 0 14px; }
.legal-content ul{ margin: 0 0 14px; padding-left: 22px; max-width: 74ch; }
.legal-content li{ color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.legal-content a{ color: var(--signal-deep); }
.legal-content a:hover{ color: var(--signal); }
/* ============ ambassador programme ============ */
.amb-hero-cta{
  margin-top: 8px;
  filter: drop-shadow(0 6px 0 var(--signal-deep)) drop-shadow(0 10px 18px rgba(12,15,20,0.4));
  transition: transform .12s ease, filter .12s ease;
}
.amb-hero-cta:hover{
  transform: translateY(-3px);
  filter: drop-shadow(0 9px 0 var(--signal-deep)) drop-shadow(0 15px 26px rgba(12,15,20,0.45));
}
.amb-hero-cta:active{
  transform: translateY(5px);
  filter: drop-shadow(0 1px 0 var(--signal-deep)) drop-shadow(0 2px 4px rgba(12,15,20,0.25));
}

/* ============ ambassador: how it works (tiles) ============ */
.step-tiles{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step-tile{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 24px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.step-num{
  font-family: var(--font-mono);
  color: var(--signal-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-tile h3{ font-size: 18px; margin-bottom: 8px; }
.step-tile p{ color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.5; }

.reward-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 34px 0 28px;
}
.reward-card{
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 34px 24px;
  text-align: center;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.reward-tier{
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}
.reward-amount{
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.reward-desc{ font-size: 14px; color: var(--on-dark-muted); line-height: 1.4; }

.reward-bonus{
  background: var(--paper);
  border: 2px solid var(--signal);
  padding: 22px 26px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.reward-bonus-label{
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal-deep);
}
.reward-bonus p{ color: var(--ink-soft); font-size: 15.5px; margin: 8px 0 0; }
.reward-bonus strong{ color: var(--ink); }

.reward-period{ font-size: 13.5px; color: var(--muted); margin: 0; }

.amb-form{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
  max-width: 640px;
  margin-top: 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.amb-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.amb-field-wide{ grid-column: 1 / -1; }
.amb-form .field label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.amb-form .field input{
  font-family: var(--font-body);
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  min-height: 46px;
  width: 100%;
}
.amb-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 24px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}
.amb-consent input{ margin-top: 3px; flex: none; width: 16px; height: 16px; }

@media (max-width: 600px){
  .amb-form-grid{ grid-template-columns: 1fr; }
}

.page-header{ padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-title{
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  max-width: 18ch;
  margin: 6px 0 18px;
}
.page-lede{ color: var(--muted); font-size: 18px; max-width: 56ch; margin: 0; }

/* ============ service groups ============ */
.service-group{ padding: 68px 0; }
.service-group-alt{ background: var(--surface); }
.service-group-lede{ color: var(--muted); font-size: 16.5px; max-width: 60ch; margin: 0 0 44px; }

.process{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 44px;
}
.process-step{ min-width: 0; }
.process-num{
  font-family: var(--font-mono);
  color: var(--signal-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.process-step h3{ font-size: 18px; margin-bottom: 8px; }
.process-step p{ color: var(--muted); font-size: 14.5px; margin: 0; }
.process-connector{
  height: 1px;
  background: var(--line);
  margin-top: 8px;
  align-self: start;
  width: 100%;
}

/* ============ buttons: outline variant ============ */
.btn-outline{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  clip-path: none;
}
.btn-outline:hover:not(:disabled){ border-color: var(--ink); }
.btn-outline:disabled{ opacity: .4; cursor: not-allowed; }

/* ============ quote wizard ============ */
.wizard{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  max-width: 620px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.wizard-progress{ margin-bottom: 30px; }
.wizard-progress-label{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wizard-progress-bar{
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}
.wizard-progress-fill{
  height: 100%;
  width: 25%;
  background: var(--signal);
  transition: width .25s ease;
}
.wizard-step{ display: none; }
.wizard-step.is-active{ display: block; }
.wizard-step h3{ font-size: 20px; margin-bottom: 20px; }
.wizard-step .field{ margin-bottom: 16px; }
.wizard-step .field input{
  font-family: var(--font-body);
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  min-height: 46px;
  width: 100%;
}
.wizard-note{ color: var(--muted); font-size: 13.5px; margin: 18px 0 0; }
.wizard-actions{
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wizard-actions .btn{ flex: 1; justify-content: center; }
.is-hidden{ display: none !important; }

/* ============ hero ============ */
.hero{
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
}
.hero-media{ position:absolute; inset:0; }
.hero-media-fallback{
  position:absolute; inset:0;
  /* Real hero photo — replace with the video loop per the earlier dev note once footage is ready */
  background-image: url('assets/hero-photo.jpg?v=1');
  background-size: cover;
  background-position: center 40%;
}
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(9,11,15,0.82) 0%, rgba(9,11,15,0.55) 40%, rgba(9,11,15,0.15) 68%, rgba(9,11,15,0.35) 100%),
    linear-gradient(0deg, rgba(12,15,20,0.55) 0%, rgba(12,15,20,0.15) 45%, rgba(12,15,20,0.4) 100%);
}
.hero-inner{ position: relative; z-index: 2; padding-top: 60px; padding-bottom: 90px; }
.hero-title{
  font-size: clamp(40px, 6.4vw, 74px);
  color: #fff;
  font-weight: 700;
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero-sub{
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--on-dark);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; }

/* ============ stats ============ */
.stats{ background: var(--paper); padding: 44px 0 24px; }
.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.stat{ display:flex; flex-direction: column; }
.stat-value{ display: flex; align-items: flex-start; }
.stat-num{
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat-suffix{
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--signal-deep);
  font-weight: 600;
  line-height: 1;
  margin-top: 2px;
}
.stat-label{
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

/* ============ pillars ============ */
.pillars{ padding: 38px 0 68px; }
.pillars .wrap > .section-title{ margin-bottom: 40px; }
.pillar-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card{
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  transition: transform .2s ease, background .2s ease;
}
.pillar-card:hover{ transform: translateY(-3px); }
.pillar-photo{ height: 168px; position: relative; }
/* Real pillar photos in place — swap for a short video loop later, per the earlier dev note in the hero. */
.pillar-photo-1{
  background-image: url('assets/pillar-1.jpg?v=1');
  background-size: cover;
  background-position: center 40%;
}
.pillar-photo-2{
  background-image: url('assets/pillar-2.jpg?v=1');
  background-size: cover;
  background-position: center;
}
.pillar-photo-3{
  background-image: url('assets/pillar-3.jpg?v=1');
  background-size: cover;
  background-position: center 55%;
}
.pillar-body{ padding: 26px 26px 28px; }
.pillar-mark{
  font-family: var(--font-mono);
  color: var(--signal-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.pillar-card h3{ font-size: 21px; margin-bottom: 10px; }
.pillar-card p{ color: var(--muted); font-size: 15.5px; margin: 0; }

/* ============ quick estimate ============ */
.estimate{ background: var(--surface); padding: 64px 0; }
.estimate-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.estimate-copy p{ color: var(--muted); font-size: 16px; max-width: 40ch; }
.estimate-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  display: flex; flex-direction: column; gap: 16px;
}
.field{ display:flex; flex-direction: column; gap: 6px; }
.field label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field select{
  font-family: var(--font-body);
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  min-height: 46px;
}
.estimate-result{
  background: var(--ink);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  margin-top: 4px;
}
.estimate-result-label{
  display:block; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-muted);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px;
}
.estimate-result-value{
  display:block; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--signal);
}
.estimate-result-note{
  display:block; font-size: 11.5px; color: var(--on-dark-muted); margin-top: 6px;
}

/* ============ carousels (projects + testimonials) ============ */
.showcase, .testimonials{ padding: 64px 0 28px; }
.showcase .wrap, .testimonials .wrap{ margin-bottom: 28px; }
.carousel{ position: relative; }
.carousel-track{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 28px 28px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar{ display:none; }

.proj-card-link{
  display: block;
  color: inherit;
  text-decoration: none;
  flex: 0 0 320px;
  scroll-snap-align: start;
  transition: transform .15s ease;
}
.proj-card-link:hover{ transform: translateY(-3px); }
.proj-card-link .proj-card{ flex: none; scroll-snap-align: none; }
.project-block{ scroll-margin-top: 90px; }
.proj-card{
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.proj-photo{ height: 200px; background-size: cover; background-position: center; }
@media (min-width: 1024px){
  .proj-card-link{ flex-basis: 380px; }
  .proj-photo{ height: 240px; }
}
/* Dev: temporary placeholder — same source image copied 4x under clear
   filenames (project-ph1.jpg ... project-ph4.jpg) so this whole group can
   be swapped for 4 real, distinct project photos in one batch later. */
.ph-1{ background-image: url('assets/project-ph1.jpg?v=1'); background-size: cover; background-position: center 20%; }
.ph-2{ background-image: url('assets/project-ph2.jpg?v=1'); background-size: cover; background-position: center 20%; }
.ph-3{ background-image: url('assets/project-ph3.jpg?v=1'); background-size: cover; background-position: center 20%; }
.ph-4{ background-image: url('assets/project-ph4.jpg?v=1'); background-size: cover; background-position: center 20%; }
/* Homepage-only featured carousel photos — kept separate from .ph-1..4
   above (used on the Work page) so updating one doesn't affect the other. */
/* Dev: feat-1 and feat-3 reverted to placeholders — original uploads had
   visible third-party watermarks (FazWaz, Savills), unsafe to keep live.
   Swap back to url('assets/feat-1.jpg?v=1') / feat-3.jpg once real, rights-
   cleared photos exist. */
.feat-1{ background: radial-gradient(ellipse 70% 60% at 30% 100%, rgba(255,196,120,0.30), transparent 65%), linear-gradient(160deg, #2b2620, #100e0b); }
.feat-2{ background-image: url('assets/feat-2.jpg?v=1'); background-size: cover; background-position: center; }
.feat-3{ background: radial-gradient(ellipse 60% 60% at 50% 90%, rgba(184,150,255,0.20), transparent 65%), linear-gradient(160deg, #201a26, #0e0b12); }
.feat-4{ background-image: url('assets/feat-4.jpg?v=1'); background-size: cover; background-position: center; }
.proj-body{ padding: 18px 20px 22px; }
.proj-body h3{ font-size: 17px; margin-bottom: 4px; }
.proj-body p{ margin:0; color: var(--muted); font-size: 14px; }

.quote-card{
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 26px;
  margin: 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.quote-avatar{
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.quote-content{ min-width: 0; }
.quote-card p{
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.quote-card cite{
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.carousel-controls{ display:flex; gap:10px; padding: 0 28px; }
.carousel-btn{
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .15s ease, border-color .15s ease;
}
.carousel-btn:hover{ background: var(--signal); border-color: var(--signal); color: #06222f; }

/* ============ the bijli difference ============ */
.difference{ background: var(--ink); padding: 52px 0; }
.difference-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.difference-list{ list-style: none; margin: 8px 0 0; padding: 0; display:flex; flex-direction:column; gap:14px; }
.difference-list li{
  display: flex; align-items: flex-start; gap: 14px;
  color: var(--on-dark);
  font-size: 16.5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(237,234,225,0.12);
}
.difference-list li:last-child{ border-bottom: none; padding-bottom: 0; }
.diff-mark{
  flex: none;
  width: 10px; height: 10px;
  margin-top: 7px;
  background: var(--signal);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

/* ============ FAQ page sections ============ */
.faq-section{ padding: 52px 0; }
.faq-section-alt{ background: var(--surface); }
.faq-section .faq-list{ margin-top: 20px; max-width: 760px; }

/* ============ FAQ teaser ============ */
.faq-teaser{ padding: 68px 0 96px; }
.faq-list{
  margin-top: 34px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.faq-item{
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--signal-deep);
  transition: transform .15s ease;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 62ch;
}
.faq-teaser-link{
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--signal-deep);
}
.faq-teaser-link:hover{ color: var(--signal); }

/* ============ closing CTA ============ */
.cta-band{ padding: 76px 0; }
.cta-inner{ text-align: center; display:flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-inner h2{
  font-size: clamp(28px, 4vw, 42px);
  max-width: 18ch;
  font-weight: 600;
}

/* ============ footer ============ */
.site-footer{ background: var(--ink); padding: 70px 0 26px; color: var(--on-dark-muted); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(237,234,225,0.12);
}
.footer-logo{ height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p{ font-size: 14px; max-width: 26ch; margin:0; }
.footer-col h4{
  font-family: var(--font-mono);
  color: var(--on-dark);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col{ display:flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 14.5px; }
.footer-col a:hover{ color: var(--signal); }
.footer-bottom{
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============ whatsapp fab ============ */
.whatsapp-fab{
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform .15s ease;
}
.whatsapp-fab:hover{ transform: scale(1.06); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:block; }
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  .pillar-grid{ grid-template-columns: 1fr; }
  .estimate-inner, .difference-inner{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .process{ grid-template-columns: 1fr; gap: 24px; }
  .process-connector{ display: none; }
  .wizard{ padding: 26px; }
  .mv-grid{ grid-template-columns: 1fr; }
  .why-us-grid{ grid-template-columns: 1fr; }
  .why-us-photo{ height: 260px; order: -1; }
}
@media (max-width: 600px){
  .wrap{ padding: 0 20px; }
  .hero{ min-height: 78vh; clip-path: polygon(0 0, 100% 0, 100% 98.5%, 0 100%); }
  .stats-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .btn-small{ display:none; }
}
