:root {
  --walnut: #532200;      /* brand primary */
  --ink: #24140a;         /* text */
  --amber: #e1a140;       /* brand secondary, the tape */
  --ply: #efe4d2;         /* birch-ply face */
  --paper: #ffffff;
  --muted: #5e4a3b;
  --rule: #d9c7ab;
  --green: #0e7a3e;       /* WhatsApp action */

  --display: "Big Shoulders Stencil", "Big Shoulders Stencil Display", "Archivo", "Arial Narrow", sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --tape-h: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  font-stretch: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* ---------- type ---------- */
h1, h2 {
  font-family: var(--display);
  font-stretch: 75%;          /* only affects the Archivo fallback */
  font-weight: 800;
  line-height: .95;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.7rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); }
h3 { font: 700 1.25rem/1.25 var(--text); margin: 0; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 34em; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 44rem; }
.section-head p { color: var(--muted); max-width: 36em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 0; border-radius: 6px;
  font: 700 1.05rem/1 var(--text);
  text-decoration: none; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-call { background: var(--amber); color: var(--ink); }
.btn-call:hover { background: #d18f2c; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #0b6633; }

/* ---------- header + tape measure ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.wordmark { font: 800 1.6rem/1 var(--display); font-stretch: 75%; color: var(--walnut); }
.brand.no-logo img { display: none; }
.brand:not(.no-logo) .wordmark { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.site-header .btn { min-height: 44px; padding: 0 16px; font-size: .98rem; }

.tape {
  position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--tape-h) - 1px);
  height: var(--tape-h);
  pointer-events: none;
  overflow-x: clip;           /* the tape can never make the page wider */
  --p: 150px;
}
.tape-blade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--ink) 0 1.5px, transparent 1.5px) 0 0 / 48px 62% repeat-x,
    linear-gradient(to right, rgba(36,20,10,.7) 0 1px, transparent 1px) 0 0 / 9.6px 32% repeat-x,
    var(--amber);
  box-shadow: 0 1px 0 rgba(36,20,10,.25);
  clip-path: inset(0 calc(100% - var(--p)) 0 0);
  overflow: hidden;
}
.tape-blade span {
  position: absolute; bottom: 0;
  font: 700 9px/1 var(--text); color: var(--ink);
  transform: translateX(3px);
}
.tape-hook {
  position: absolute; top: -3px; left: min(var(--p), calc(100% - 7px));
  width: 7px; height: calc(var(--tape-h) + 6px);
  background: linear-gradient(#6f6f6f, #3d3d3d);
  border-radius: 0 2px 2px 0;
}

/* ---------- hero ---------- */
.hero { padding: calc(var(--section) * .8) 0 var(--section); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hindi { font-size: 1.35rem; font-weight: 600; color: var(--walnut); line-height: 1.3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); }
.rating strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.rating a { font-weight: 600; color: var(--walnut); }

.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage figure { margin: 0; background: var(--ply); border-radius: 4px; overflow: hidden; }
.collage figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.collage figure:not(:first-child) { aspect-ratio: 1 / 1; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage img.is-broken { visibility: hidden; }

/* ---------- services ---------- */
.services { background: var(--ply); padding: var(--section) 0; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.service-list li { display: grid; gap: 8px; align-content: start; }
.service-list .art { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; margin-bottom: 10px; border-bottom: 4px solid var(--walnut); }
.service-list .art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-list p { color: var(--muted); max-width: 30em; }

/* ---------- work ---------- */
.work { padding: var(--section) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 28px; }
.filters button {
  font: 600 .98rem/1 var(--text); color: var(--ink);
  background: transparent; border: 1.5px solid var(--rule); border-radius: 999px;
  padding: 11px 18px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--walnut); border-color: var(--walnut); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery figure[hidden], .gallery figure.is-broken { display: none; }
.gallery button { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--ply); cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 10, 4, .88); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 4px; }
.lb-bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.lb-bar button { font: 600 1rem/1 var(--text); min-height: 44px; padding: 0 18px; border-radius: 6px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }

/* ---------- process ---------- */
.process { padding: 0 0 var(--section); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  grid-row: span 2;
  font: 800 4.2rem/.8 var(--display); font-stretch: 75%; color: var(--walnut);
}
.steps p { color: var(--muted); }

/* ---------- why ---------- */
.why { background: var(--walnut); color: #fff; padding: var(--section) 0; }
.why .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why .section-head { margin: 0; }
.why .section-head p { color: #ecd9bf; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.reasons li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.reasons svg { width: 26px; height: 26px; color: var(--amber); }

/* ---------- branches ---------- */
.branches { padding: var(--section) 0; }
.branch-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.branch { background: var(--ply); border-radius: 4px; padding: 26px 24px 24px; display: grid; gap: 12px; align-content: start; }
.branch address { font-style: normal; color: var(--muted); }
.branch .phone { font: 700 1.25rem/1.2 var(--text); text-decoration: none; color: var(--ink); }
.branch .phone:hover { text-decoration: underline; }
.branch .dir { font-weight: 600; color: var(--walnut); }
.branch .badge { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--walnut); }
.branch .badge svg { width: 16px; height: 16px; color: var(--amber); }

/* ---------- estimate ---------- */
.estimate { background: var(--ply); padding: var(--section) 0; }
.estimate .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.direct { display: grid; gap: 18px; margin-top: 28px; }
.direct a { font-weight: 700; color: var(--walnut); }
.direct .big { font: 800 2rem/1 var(--display); font-stretch: 75%; color: var(--ink); text-decoration: none; }
form { background: var(--paper); border-radius: 6px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1.05rem/1.4 var(--text); color: var(--ink);
  width: 100%; padding: 13px 14px;
  border: 1.5px solid #c8b394; border-radius: 6px; background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--walnut); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.error { color: #b3261e; font-weight: 600; font-size: .95rem; }
.error:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form .btn { width: 100%; }
.form-note { color: var(--muted); font-size: .95rem; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #e7d7bf; padding: 48px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.site-footer .wordmark { color: #fff; display: block; margin-bottom: 8px; }
.site-footer a { color: #fff; }
.site-footer small { font-size: .92rem; }

/* ---------- mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero .wrap, .why .wrap, .estimate .wrap { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .branch-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header .btn { display: none; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 40px; }
  .service-list { grid-template-columns: 1fr; gap: 26px; }
  .service-list li { grid-template-columns: 112px 1fr; column-gap: 16px; row-gap: 4px; }
  .service-list .art { grid-row: span 2; margin-bottom: 0; border-bottom-width: 3px; }
  .service-list h3 { font-size: 1.12rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .reasons { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--rule);
  }
  .mobile-bar .btn { min-height: 50px; padding: 0 10px; }
  body { padding-bottom: 76px; }
}

/* ---------- 404 page ---------- */
.notfound { padding: var(--section) 0; min-height: 60vh; }
.notfound .wrap { display: grid; gap: 22px; justify-items: start; max-width: 760px; }
.notfound .art-404 { width: min(360px, 100%); border-radius: 4px; overflow: hidden; border-bottom: 4px solid var(--walnut); }
.notfound .art-404 img { display: block; width: 100%; height: auto; }
.btn-home { background: var(--walnut); color: #fff; }
.btn-home:hover { background: #3f1a00; }
