/* Palette from the Navshakti / Empty Canvas reference posts:
   one crimson on handmade cream paper, charcoal for body text. */
:root {
  --red: #8b1414;
  --red-deep: #6e0e0e;
  --paper: #eeebe3;
  --ink: #2b2826;
  --ink-soft: #55504b;
  --cream: #f6e7cf;
  --gold: #f3c98b;

  --f-title: "Open Sans", "Segoe UI", sans-serif;
  --f-type: "Cutive", "Courier New", serif;
  --f-body: "Montserrat", "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--f-body); color: var(--ink); background-color: var(--paper);
  line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::before { /* handmade paper: fibre noise + flecks */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.9 0.04' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.40  0 0 0 0 0.33  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><g fill='%23735c42' opacity='0.35'><ellipse cx='40' cy='60' rx='3' ry='1.6'/><ellipse cx='310' cy='90' rx='1.5' ry='1'/><ellipse cx='200' cy='210' rx='4' ry='2' transform='rotate(30 200 210)'/><ellipse cx='90' cy='330' rx='1.4' ry='1'/><ellipse cx='370' cy='360' rx='2.4' ry='1.2'/><path d='M130 150 l18 3' stroke='%23735c42' stroke-width='0.6'/><path d='M330 250 l14 -4' stroke='%23735c42' stroke-width='0.6'/></g><g fill='%23555' opacity='0.25'><circle cx='160' cy='400' r='1.4'/><circle cx='20' cy='190' r='1'/><circle cx='400' cy='160' r='1.2'/></g></svg>");
  background-size: 300px 300px, 420px 420px;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.red { color: var(--red); }

/* ---------- Shared type ---------- */
.type { font-family: var(--f-type); font-weight: 400; color: var(--red); }
.type-head {
  font-family: var(--f-type); font-weight: 400; color: var(--red); font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.15;
  display: inline-flex; align-items: flex-start; gap: .4em; justify-content: center;
}
.eyebrow { font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; color: var(--ink-soft); }
.lede { color: var(--ink-soft); font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.rule {
  height: 2px; width: min(560px, 80%); margin: 18px auto;
  background: linear-gradient(90deg, transparent, var(--red) 12%, var(--red) 88%, transparent); filter: url(#rough-soft);
}
.by { font-family: var(--f-title); font-weight: 800; letter-spacing: .03em; color: var(--ink); font-size: .78rem; }
.spark {
  display: inline-block; width: .9em; height: .9em; flex: none; transform: translateY(-.35em);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='%238b1414' stroke='%238b1414' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='4' stroke='none'/><path d='M12 3v2M5 7l1.5 1.5M19 7l-1.5 1.5' fill='none'/><path d='M8 19l8 0-4 7z' stroke='none'/><circle cx='29' cy='22' r='3.5' stroke='none'/><path d='M29 14v2M35 18l-1.5 1M36 24h-2' fill='none'/><path d='M20 34l7-8 1 9z' stroke='none'/></g></svg>") no-repeat center / contain;
}

.btn-box {
  display: inline-block; font: 600 1rem var(--f-body); color: var(--ink); text-decoration: none; background: transparent;
  cursor: pointer; padding: .6em 1.5em; border: 1.5px solid var(--red); border-radius: 6px; position: relative;
  transition: color .25s ease, background-color .25s ease, transform .15s ease;
}
.btn-box::after { content: ""; position: absolute; right: -2px; top: 4px; bottom: 4px; width: 2px; background: var(--red); }
@media (hover: hover) { .btn-box:hover { background: var(--red); color: var(--cream); } }
.btn-box:active { transform: scale(.97); }
.btn-box:focus-visible { outline: 2px dashed var(--red); outline-offset: 4px; }
.btn-box.light { color: var(--cream); border-color: var(--cream); }
.btn-box.light::after { background: var(--cream); }
.btn-box.light:hover { background: var(--cream); color: var(--red); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(6px);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(139, 20, 20, .25); }
.brand { display: flex; align-items: center; text-decoration: none; height: 100%; }
.brand-logo { height: 62px; width: auto; }
.foot-logo { height: clamp(64px, 8vw, 88px); width: auto; margin: 0 auto 22px; }
.brand-logo + .brand-text { display: none; } /* the registered logo replaces the text once it loads */
.brand-text { font-family: var(--f-title); font-weight: 800; font-size: 1.1rem; color: var(--red); letter-spacing: .01em; }
.brand-text sup { font-size: .55em; }
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 34px); align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .9rem; position: relative; padding: 4px 0; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--red); color: var(--cream); padding: 8px 16px !important; border-radius: 999px; }
.nav-cta:hover { background: var(--red-deep); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--red); transition: transform .3s ease; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Brush frame ---------- */
.frame { position: relative; max-width: var(--max); margin: 0 auto; text-align: center; }
.frame-border { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.frame-border rect {
  width: calc(100% - 16px); height: calc(100% - 16px);
  fill: none; stroke: var(--red); stroke-width: 12; stroke-linejoin: round; filter: url(#rough);
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.frame.drawn .frame-border rect { animation: draw 1.8s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 12px var(--gutter) 0; }
.hero .frame {
  min-height: calc(100svh - var(--nav-h) - 24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px clamp(20px, 6vw, 80px);
}
.hero-title { font-size: clamp(2.3rem, 6.4vw, 4.8rem); line-height: 1; margin-top: 16px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > * { display: inline-block; transform: translateY(105%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-title .line:nth-child(1) > * { animation-delay: .15s; }
.hero-title .line:nth-child(2) > *:nth-child(1) { animation-delay: .3s; }
.hero-title .line:nth-child(2) > *:nth-child(2) { animation-delay: .45s; }
@keyframes rise { to { transform: none; } }
.hero-title em { font-style: normal; font-family: var(--f-title); font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.hero-sub { max-width: 600px; margin: 0 auto; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-soft); }
.hero .eyebrow, .hero .rule, .hero-sub, .scroll-cue { opacity: 0; animation: fadeIn .8s ease forwards .7s; }
@keyframes fadeIn { to { opacity: 1; } }

/* Scroll cue: six bricks stacking themselves, on a loop */
.scroll-cue {
  margin-top: 44px; display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-type); color: var(--red); text-decoration: none; font-size: 1rem;
}
.bricks { display: grid; grid-template-columns: repeat(3, 18px); gap: 3px; }
.bricks i { height: 9px; background: var(--red); opacity: 0; animation: brick 3s infinite; }
.bricks i:nth-child(1) { animation-delay: 0s; } .bricks i:nth-child(2) { animation-delay: .2s; } .bricks i:nth-child(3) { animation-delay: .4s; }
.bricks i:nth-child(4) { animation-delay: .6s; } .bricks i:nth-child(5) { animation-delay: .8s; } .bricks i:nth-child(6) { animation-delay: 1s; }
.bricks { grid-auto-flow: row; transform: scaleY(-1); } /* first bricks land at the bottom */
@keyframes brick { 0% { opacity: 0; transform: translateY(-8px); } 10%, 75% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

/* ---------- BUILD-AS-YOU-SCROLL ---------- */
.build { height: 560vh; position: relative; margin-top: 40px; }
.build-sticky {
  position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h));
  display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(16px, 4vw, 56px); align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
}
.build-copy { position: relative; height: 62%; min-height: 330px; display: flex; flex-direction: column; }
.phase {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-type); color: var(--red);
  letter-spacing: .08em; font-size: .95rem; margin-bottom: 18px;
}
.phase-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }
.stages { list-style: none; position: relative; flex: 1; }
.stage {
  position: absolute; inset: 0; opacity: 0; transform: translateY(26px); pointer-events: none;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}
.stage.on { opacity: 1; transform: none; pointer-events: auto; }
.stage.past { transform: translateY(-26px); }
.stage-num {
  display: inline-grid; place-content: center; width: 78px; height: 78px; border-radius: 50%; position: relative; isolation: isolate;
  color: #fff; font-family: var(--f-title); font-weight: 800; font-size: 2rem;
}
.stage-num::before, .dot-bg::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); filter: url(#rough-soft); z-index: -1;
}
.stage h2 {
  font-family: var(--f-title); font-weight: 800; color: var(--red); text-transform: uppercase;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1; letter-spacing: -.01em; margin: 16px 0 8px;
}
.stage .by { display: block; margin-bottom: 10px; }
.stage p:not(.by) { color: var(--ink-soft); font-size: 1rem; max-width: 440px; }
.progress { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.progress-bar { flex: 1; max-width: 260px; height: 3px; background: rgba(139, 20, 20, .18); position: relative; overflow: hidden; }
.progress-bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.progress-count { font-family: var(--f-type); color: var(--ink-soft); font-size: .9rem; }
.progress-count b { color: var(--red); font-weight: 400; }

.build-stage { height: 100%; display: flex; align-items: center; justify-content: center; min-width: 0; }
#building { width: 100%; max-height: 92%; overflow: visible; }
#building [data-a] { transform-box: fill-box; }
#building [data-a="rise"] { transform-origin: 50% 100%; }
#building [data-a="span"] { transform-origin: 0 50%; }
#building [data-a="pop"], #building [data-a="stamp"] { transform-origin: 50% 50%; }
.gauge-labels text { font-family: var(--f-type); font-size: 12px; }
.bubble-text text { font-family: var(--f-title); font-weight: 800; font-size: 13px; text-anchor: middle; }
.stamp-text { font-family: var(--f-title); font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.load { transform-box: fill-box; transform-origin: 50% 0; animation: swing 3s ease-in-out infinite; }
@keyframes swing { 50% { transform: rotate(4deg); } }

/* ---------- Client quote ---------- */
.soul { padding: clamp(90px, 14vw, 180px) var(--gutter); text-align: center; max-width: 1100px; margin: 0 auto; }
.soul-kicker { font-weight: 600; letter-spacing: .16em; font-size: .74rem; color: var(--ink-soft); }
.soul-quote {
  font-family: var(--f-title); font-weight: 800; text-transform: uppercase; line-height: 1;
  font-size: clamp(2.4rem, 7.5vw, 6rem); letter-spacing: -.02em; margin: 22px 0 26px;
}
.soul-quote .w { display: inline-block; opacity: .12; transition: opacity .5s ease; }
.soul-quote .w.lit { opacity: 1; }
.soul-foot { font-family: var(--f-type); color: var(--red); font-size: clamp(1rem, 1.8vw, 1.25rem); max-width: 620px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Traditional vs Modular ---------- */
.compare {
  position: relative; aspect-ratio: 900 / 460; max-width: 1000px; margin: 0 auto; --x: 50%;
  border: 2px solid var(--red); border-radius: 8px; overflow: hidden; user-select: none; touch-action: pan-y;
}
.cmp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cmp-mod-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; background: var(--red); transform: translateX(-50%); pointer-events: none;
  box-shadow: 0 0 0 2px var(--paper);
}
.cmp-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red);
  display: grid; place-content: center; color: var(--red); font-size: 1.4rem; font-weight: 700;
}
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-range:focus-visible ~ .cmp-handle span, .compare:hover .cmp-handle span { outline: 2px dashed var(--red); outline-offset: 4px; }
.cmp-label {
  position: absolute; top: 14px; font-family: var(--f-title); font-weight: 800; font-size: .78rem; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 4px; pointer-events: none;
}
.cmp-label-l { left: 14px; background: var(--paper); color: var(--red); border: 1.5px solid var(--red); }
.cmp-label-r { right: 14px; background: var(--red); color: var(--cream); border: 1.5px solid var(--cream); }
.lift { animation: lift 5s ease-in-out infinite; }
@keyframes lift { 0%, 20% { transform: translateY(-30px); } 60%, 100% { transform: translateY(40px); } }

/* ---------- Sectors (red card) ---------- */
.red-card { position: relative; color: var(--cream); isolation: isolate; }
.red-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.red-card-bg rect { fill: var(--red); width: calc(100% - 8px); height: calc(100% - 8px); }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(28px, 4vw, 48px); }
.sectors-head { grid-column: 1 / -1; text-align: center; font-family: var(--f-type); letter-spacing: .14em; color: var(--gold); margin-bottom: 18px; }
.sector { text-align: center; padding: 14px 12px 20px; border-right: 1px solid rgba(246, 231, 207, .35); }
.sector:last-child { border-right: 0; }
.sector svg { width: 64px; height: 64px; fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.sector:hover svg { transform: translateY(-6px) rotate(-4deg); }
.sector h3 { font-family: var(--f-title); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff6ea; margin-top: 10px; font-size: 1.1rem; }
.sector p { font-size: .86rem; opacity: .85; }

/* ---------- Works: horizontal strip ---------- */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: clamp(18px, 3vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.work { scroll-snap-align: start; }
.work-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--red); clip-path: polygon(0.6% 1%, 99% 0, 100% 99%, 1.2% 100%); }
.work-img img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: screen;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease; pointer-events: none;
}
.work:hover .work-img img { transform: scale(1.04); filter: grayscale(0); mix-blend-mode: normal; }
.tags { font-family: var(--f-type); color: var(--red); font-size: .8rem; letter-spacing: .05em; margin-top: 14px; }
.work h3 { font-family: var(--f-title); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; }
.base-line { text-align: center; max-width: 640px; margin: 36px auto 0; color: var(--ink-soft); }

/* ---------- Contact: site pass ---------- */
.pass {
  display: grid; grid-template-columns: 1.25fr 1fr; max-width: 1040px; margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(110, 14, 14, .18));
  transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.pass:hover { transform: rotate(0); }
.pass-main {
  background: var(--red); color: var(--cream); padding: clamp(28px, 4vw, 52px); border-radius: 14px 0 0 14px;
  /* perforation: little paper-coloured bites along the tear line */
  -webkit-mask: radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) 0 0 / 100% 26px;
          mask: radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) 0 0 / 100% 26px;
}
.pass-kicker { font-family: var(--f-type); letter-spacing: .14em; color: var(--gold); font-size: .85rem; }
.pass-title { font-family: var(--f-type); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin: 12px 0 26px; color: #fff6ea; }
.pass-title .spark { filter: brightness(0) invert(1); }
.pass-lines { display: grid; gap: 14px; margin-bottom: 28px; }
.pass-lines div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; border-top: 1px dashed rgba(246, 231, 207, .4); padding-top: 12px; }
.pass-lines dt { font-family: var(--f-title); font-weight: 800; font-size: .76rem; letter-spacing: .08em; color: var(--gold); }
.pass-lines dd { min-width: 0; overflow-wrap: break-word; }
.pass-lines dd a { color: #fff6ea; text-decoration: none; font-weight: 600; }
.pass-lines dd a:hover { text-decoration: underline; }
.pass-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pass-stub { background: #f7f3ea; border-radius: 0 14px 14px 0; padding: clamp(24px, 3.4vw, 44px); border-left: 2px dashed rgba(139, 20, 20, .45); }
.stub-head { font-family: var(--f-type); color: var(--red); font-size: 1.3rem; margin-bottom: 8px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: 500 1rem var(--f-body); color: var(--ink); background: transparent; border: 0;
  border-bottom: 1.5px solid rgba(139, 20, 20, .4); padding: 6px 2px; border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--red); }
.form textarea { resize: vertical; }
.form .btn-box { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: clamp(80px, 10vw, 130px) var(--gutter) 40px; }
.foot-line { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2rem); text-transform: uppercase; line-height: 1.15; }
.foot-meta { margin-top: 14px; font-size: .85rem; color: var(--ink-soft); }
.foot-meta a { color: var(--red); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .build { height: 520vh; }
  .build-sticky { grid-template-columns: 1fr; grid-template-rows: 56% 44%; gap: 0; align-items: stretch; }
  .stages { flex: none; display: grid; }
  .stage { position: relative; inset: auto; grid-area: 1 / 1; }
  .build-stage { order: -1; padding-top: 8px; }
  #building { max-height: 100%; }
  .build-copy { height: auto; min-height: 0; padding-bottom: 16px; }
  .phase { margin-bottom: 8px; font-size: .82rem; }
  .stage-num { width: 52px; height: 52px; font-size: 1.35rem; float: left; margin-right: 14px; }
  .stage h2 { font-size: 1.7rem; margin: 4px 0 4px; }
  .stage .by { font-size: .68rem; }
  .stage p:not(.by) { font-size: .92rem; clear: both; padding-top: 8px; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector:nth-of-type(2) { border-right: 0; }
  .sector:nth-of-type(-n+2) { border-bottom: 1px solid rgba(246, 231, 207, .35); }
  .pass { grid-template-columns: 1fr; transform: none; }
  .pass-main { border-radius: 14px 14px 0 0;
    -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 26px 100%;
            mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 26px 100%; }
  .pass-stub { border-radius: 0 0 14px 14px; border-left: 0; border-top: 2px dashed rgba(139, 20, 20, .45); }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .brand-logo { height: 50px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav {
    display: grid; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 29; background: var(--red);
    padding: 12px var(--gutter) 24px; gap: 4px; transform: translateY(-120%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { color: var(--cream); text-decoration: none; font-family: var(--f-title); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; padding: 8px 0; }
  .frame-border rect { stroke-width: 9; }
  .cmp-label { font-size: .6rem; top: 8px; }
  .cmp-label-l { left: 8px; } .cmp-label-r { right: 8px; }
  .cmp-handle span { width: 40px; height: 40px; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .line > *, .hero .eyebrow, .hero .rule, .hero-sub, .scroll-cue { transform: none; opacity: 1; }
  .frame-border rect { stroke-dashoffset: 0; }
  .soul-quote .w { opacity: 1; }
}

/* =====================================================================
   INTERIORS — pull the cord to fit out the room
   ===================================================================== */
.interiors .eyebrow { margin-bottom: 10px; }
.fitout {
  display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: 20px clamp(20px, 4vw, 56px); align-items: center;
}
.fit-stages { list-style: none; display: grid; }
.fit-stage {
  grid-area: 1 / 1; opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}
.fit-stage.on { opacity: 1; transform: none; pointer-events: auto; }
.fit-num {
  display: inline-grid; place-content: center; width: 60px; height: 60px; border-radius: 50%; position: relative; isolation: isolate;
  color: #fff; font-family: var(--f-title); font-weight: 800; font-size: 1.5rem;
}
.fit-num::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); filter: url(#rough-soft); z-index: -1; }
.fit-stage h3 {
  font-family: var(--f-title); font-weight: 800; color: var(--red); text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1; margin: 14px 0 8px;
}
.fit-stage .by { display: block; margin-bottom: 10px; }
.fit-stage p:not(.by) { color: var(--ink-soft); }
.fit-dots { display: flex; gap: 10px; margin-top: 22px; }
.fit-dots button {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--red); background: transparent; cursor: pointer; padding: 0;
  transition: background-color .25s ease, transform .25s ease;
}
.fit-dots button.on { background: var(--red); transform: scale(1.2); }
.fit-dots button:focus-visible { outline: 2px dashed var(--red); outline-offset: 3px; }

.room-card { position: relative; padding: clamp(12px, 2vw, 22px); padding-right: clamp(48px, 6vw, 70px); }
.room-border { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.room-border rect { width: calc(100% - 10px); height: calc(100% - 10px); fill: #f3efe6; stroke: var(--red); stroke-width: 3; filter: url(#rough-soft); transition: fill .8s ease; }
.room-card:has(.room.s4) .room-border rect { fill: #f6ead3; }
.room { position: relative; width: 100%; display: block; overflow: visible; }
.room .glow { opacity: 0; transition: opacity 1.2s ease; }
.room.s4 .glow { opacity: 1; }
.room .st { opacity: 0; transition: opacity .6s ease; }
.room .st.show { opacity: 1; }
.room .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.5,0,.2,1); }
.room .st.show .dr { stroke-dashoffset: 0; }
.room .conduit { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.dim-text text { font-family: var(--f-type); font-size: 14px; text-anchor: middle; }

/* The cord: drag it down (or click) to switch on the next stage */
.cord {
  position: absolute; top: 0; right: clamp(14px, 2.2vw, 26px); width: 34px; height: 190px;
  background: none; border: 0; cursor: grab; padding: 0; touch-action: none; z-index: 2;
}
.cord:active { cursor: grabbing; }
.cord-string { position: absolute; left: 50%; top: 0; width: 2px; height: calc(150px + var(--pull, 0px)); background: var(--red); transform: translateX(-50%); }
.cord-knob {
  position: absolute; left: 50%; top: calc(148px + var(--pull, 0px)); width: 20px; height: 26px; transform: translateX(-50%);
  background: var(--red); border-radius: 50% 50% 45% 45% / 35% 35% 65% 65%;
  box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .25);
}
.cord-hint {
  position: absolute; left: 50%; top: calc(182px + var(--pull, 0px)); transform: translateX(-50%);
  font-family: var(--f-type); color: var(--red); font-size: .85rem; white-space: nowrap;
}
.cord.idle .cord-knob, .cord.idle .cord-string { animation: nudge 2.8s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 0 8px; } 90% { translate: 0 -2px; } }
.cord:focus-visible .cord-knob { outline: 2px dashed var(--red); outline-offset: 4px; }

.swatches { grid-column: 2; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; }
.sw-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sw-label { font-family: var(--f-type); color: var(--red); margin-right: 4px; }
.sw {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem var(--f-body); color: var(--ink);
  background: transparent; border: 1.5px solid rgba(139, 20, 20, .35); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.sw:hover { border-color: var(--red); }
.sw:active { transform: scale(.96); }
.sw.on { border-color: var(--red); background: rgba(139, 20, 20, .08); }
.sw:focus-visible { outline: 2px dashed var(--red); outline-offset: 3px; }
.sw i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--red); display: block; }
.sw-teak { background: repeating-linear-gradient(100deg, #eeebe3 0 5px, #8b1414 5px 6.5px); }
.sw-marble { background: linear-gradient(135deg, transparent 45%, #8b1414 46%, transparent 49%), linear-gradient(60deg, transparent 60%, rgba(139,20,20,.6) 61%, transparent 63%), #f3efe6; }
.sw-terrazzo { background: radial-gradient(circle at 30% 30%, #8b1414 2px, transparent 2.5px), radial-gradient(circle at 70% 55%, #8b1414 1.6px, transparent 2px), radial-gradient(circle at 40% 75%, #8b1414 2.2px, transparent 2.6px), radial-gradient(circle at 75% 25%, #8b1414 1.2px, transparent 1.6px), #eeebe3; }
.sw-walnut { background: repeating-linear-gradient(90deg, #eeebe3 0 3px, #8b1414 3px 4px); }
.sw-cane { background: repeating-linear-gradient(45deg, transparent 0 3px, #8b1414 3px 3.8px), repeating-linear-gradient(-45deg, #eeebe3 0 3px, #8b1414 3px 3.8px); }
.sw-brass { background: repeating-linear-gradient(90deg, #e7ddcb 0 6px, #b8862f 6px 8px); }

/* Works filter chips */
.filters { display: flex; justify-content: center; gap: 10px; margin: -12px 0 26px; }
.chip {
  font: 600 .88rem var(--f-body); color: var(--red); background: transparent; border: 1.5px solid var(--red);
  border-radius: 999px; padding: 6px 18px; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.chip:hover { background: rgba(139, 20, 20, .08); }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--red); color: var(--cream); }
.chip:focus-visible { outline: 2px dashed var(--red); outline-offset: 3px; }
.work[hidden] { display: none; }
.work.enter { animation: cardIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 860px) {
  .fitout { grid-template-columns: 1fr; }
  .fit-copy { order: 2; }
  .swatches { grid-column: 1; order: 3; }
  .room-card { order: 1; }
  .cord { height: 150px; }
  .cord-string { height: calc(110px + var(--pull, 0px)); }
  .cord-knob { top: calc(108px + var(--pull, 0px)); }
  .cord-hint { top: calc(140px + var(--pull, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .room .dr { stroke-dashoffset: 0; }
}

/* Interiors on phones: bigger room, tidy swatch grid */
@media (max-width: 600px) {
  .room-card { padding: 8px 32px 8px 8px; margin: 0 -6px; }
  .cord { right: 2px; width: 28px; }
  .cord-hint { display: none; }
  .swatches { display: grid; gap: 18px; }
  .sw-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sw-label { grid-column: 1 / -1; font-size: .95rem; }
  .sw { justify-content: flex-start; padding: 4px 8px 4px 4px; font-size: .78rem; }
  .sw i { width: 24px; height: 24px; flex: none; }
}

.room { cursor: pointer; }
@media (max-width: 600px) {
  .hero .eb { display: block; }
  .hero .eyebrow { line-height: 1.9; letter-spacing: .1em; font-size: .7rem; }
  .eb-dot { display: none; }
}

/* Phones: taller comparison (sides cropped), photos wake up in colour when centred */
@media (max-width: 600px) {
  .compare { aspect-ratio: 4 / 3.4; }
  .cmp-mod { background: #8b1414; }
  .cmp-handle span { width: 44px; height: 44px; }
  .work-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease, opacity .8s ease; }
}
@media (hover: none) {
  .work.seen .work-img img { filter: grayscale(0); mix-blend-mode: normal; }
}

/* =====================================================================
   HERO GRAPHICS: blueprint grid, floating tools, crane, building, tape
   ===================================================================== */
.hero .frame > *:not(.frame-border):not(.hero-art) { position: relative; z-index: 1; }
.hero-art { position: absolute; inset: 16px; overflow: hidden; pointer-events: none; z-index: 0; border-radius: 8px; }
.bp-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.bp-grid path { fill: none; stroke: var(--red); stroke-width: 1; opacity: .09; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }

.tool {
  position: absolute; left: var(--x); top: var(--y); width: clamp(34px, 4vw, 56px);
  translate: calc(-50% + var(--px, 0px)) calc(-50% + var(--py, 0px));
  opacity: 0; animation: toolIn .9s ease forwards 1.3s;
  transition: translate .6s cubic-bezier(.2,.8,.2,1);
}
.tool.level { width: clamp(64px, 7vw, 96px); }
.tool svg { display: block; width: 100%; overflow: visible; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  animation: bob 6s ease-in-out infinite; animation-delay: var(--d); }
.tool .f { fill: var(--red); }
@keyframes toolIn { to { opacity: .5; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
.tool .bubble { animation: bubble 3.2s ease-in-out infinite; }
@keyframes bubble { 0%, 100% { transform: translateX(-7px); } 50% { transform: translateX(7px); } }

.hero-crane, .hero-bldg { position: absolute; bottom: 0; overflow: visible; }
.hero-crane { left: 1%; width: clamp(110px, 17vw, 230px); }
.hero-bldg { right: 1%; width: clamp(110px, 18vw, 240px); }
.hero-art .dw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.5,0,.2,1) forwards; animation-delay: .9s; }
.hero-art .dw-f { opacity: 0; animation: fadeIn .6s ease forwards 2.2s; }
.h-hook { transform-box: view-box; transform-origin: 170px 52px; opacity: 0;
  animation: fadeIn .6s ease forwards 2.4s, hookLoop 7s ease-in-out infinite 2.4s; }
@keyframes hookLoop {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(46px) rotate(2deg); }
  45% { transform: translateY(46px) rotate(-2deg); }
  70% { transform: translate(-60px, 0) rotate(1deg); }
}
.wins rect { fill: #eeebe3; stroke-width: 1.4; opacity: 0; animation: fadeIn .5s ease forwards 2.4s, lit 6s steps(1) infinite; }
.wins rect:nth-child(3n+1) { animation-delay: 2.4s, 3s; }
.wins rect:nth-child(3n+2) { animation-delay: 2.5s, 4.4s; }
.wins rect:nth-child(3n) { animation-delay: 2.6s, 5.6s; }
.wins rect:nth-child(4n) { animation-delay: 2.7s, 3.8s; }
@keyframes lit { 0%, 55% { fill: #eeebe3; } 56%, 100% { fill: #f3c98b; } }

/* Measuring tape that unrolls under the headline */
.tape { display: flex; align-items: center; width: min(560px, 86%); margin: 20px auto 22px; height: 40px; }
.tape-case {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--red); position: relative; z-index: 1;
  display: grid; place-content: center; box-shadow: inset -3px -3px 0 rgba(0,0,0,.2);
  animation: caseRoll 1.8s cubic-bezier(.5,0,.2,1) .8s both;
}
.tape-case i { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--cream); border-right-color: transparent; }
@keyframes caseRoll { from { transform: rotate(-540deg); } }
.tape-strip { flex: 1; height: 34px; margin-left: -4px; clip-path: inset(0 100% 0 0); animation: unroll 1.8s cubic-bezier(.5,0,.2,1) .8s forwards; }
@keyframes unroll { to { clip-path: inset(0 0 0 0); } }
.tape-strip .nums text { font: 700 9px var(--f-body); text-anchor: middle; }

/* =====================================================================
   QUESTION STORM: chaos of agencies, pulled into the stamp
   ===================================================================== */
.storm { height: 300vh; position: relative; }
.storm-sticky { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); overflow: hidden; }
.storm-head {
  position: absolute; left: 0; right: 0; top: clamp(18px, 5vh, 48px); z-index: 3; text-align: center; padding: 0 var(--gutter);
  display: grid; font-size: clamp(1.5rem, 3.6vw, 2.8rem); line-height: 1.1; font-weight: 400;
}
.storm-head > span { grid-area: 1 / 1; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.storm-head em { font-style: normal; font-family: var(--f-title); font-weight: 800; }
.storm-a { opacity: 0; transform: translateY(20px); }
.storm.solved .storm-q { opacity: 0; transform: translateY(-20px); }
.storm.solved .storm-a { opacity: 1; transform: none; }

.storm-field { position: absolute; inset: 20% 4% 8%; }
.qq {
  position: absolute; left: var(--x); top: var(--y); white-space: nowrap;
  font: 700 calc(var(--s) * clamp(.72rem, 1.25vw, 1.02rem)) / 1 var(--f-body); color: var(--ink);
  transform: translate(-50%, -50%) rotate(var(--r));
  animation: jitter 3.4s ease-in-out infinite; will-change: translate, scale, opacity;
}
.qq:nth-child(3n) { color: var(--red); }
.qq:nth-child(4n) { font-family: var(--f-title); font-weight: 800; }
.qq:nth-child(2n) { animation-duration: 2.7s; animation-direction: reverse; }
@keyframes jitter { 0%, 100% { rotate: 0deg; } 25% { rotate: 2deg; } 75% { rotate: -2deg; } }
.worried {
  position: absolute; left: 50%; top: 52%; width: clamp(130px, 17vw, 220px); translate: -50% -50%;
  animation: fret .45s ease-in-out infinite alternate;
}
@keyframes fret { from { rotate: -2deg; } to { rotate: 2deg; } }
.worried .sweat { animation: sweat 1.6s ease-in infinite; transform-box: fill-box; }
@keyframes sweat { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

.storm-answer {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px var(--gutter) 40px; text-align: center; pointer-events: none;
}
.hum-stamp {
  position: relative; width: clamp(230px, 34vw, 380px); aspect-ratio: 1; display: grid; place-content: center;
  opacity: var(--t, 0); transform: scale(calc(.3 + .7 * var(--t, 0))) rotate(calc((1 - var(--t, 0)) * -30deg));
}
.hum-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hum-ring circle { fill: var(--red); stroke: var(--red); stroke-width: 4; }
.hum { position: relative; font-family: "Tiro Devanagari Hindi", serif; color: #fff6ea; font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.1; white-space: nowrap; }
.hum-sub { margin-top: 22px; font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.25rem); max-width: 520px;
  opacity: var(--t2, 0); transform: translateY(calc((1 - var(--t2, 0)) * 16px)); }
.storm-cue { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--f-type); color: var(--red);
  font-size: .9rem; animation: cue 1.6s ease-in-out infinite; transition: opacity .4s; }
@keyframes cue { 50% { transform: translateY(5px); opacity: .5; } }
.storm.solved .storm-cue { opacity: 0; animation: none; }

/* =====================================================================
   SERVICES: 18 trades wired to one hub
   ===================================================================== */
.count-18 { font-family: var(--f-title); font-weight: 800; font-size: 1.35em; line-height: .8; }
.svc-board { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; grid-auto-flow: dense; }
.svc-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.svc-wires path { fill: none; stroke: var(--red); stroke-width: 1.3; opacity: .45; stroke-dasharray: 3 7; animation: wire 1.4s linear infinite; transition: opacity .3s, stroke-width .3s; }
.svc-wires path.hot { opacity: 1; stroke-width: 2.6; }
@keyframes wire { to { stroke-dashoffset: -20; } }

.svc-hub {
  grid-column: 3; grid-row: 2 / span 2; align-self: center; justify-self: center; width: 100%; max-width: 240px; aspect-ratio: 1;
  border-radius: 50%; background: var(--red); color: var(--cream); position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px;
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 12px rgba(139, 20, 20, .35);
}
.svc-hub::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--red);
  animation: ping 2.4s cubic-bezier(.2,.6,.3,1) infinite; pointer-events: none;
}
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.svc-hub.pulse { animation: hubPulse .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes hubPulse { 50% { transform: scale(1.06); } }
.hub-hum { font-family: "Tiro Devanagari Hindi", serif; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; color: #fff6ea; }
.hub-line { font-family: var(--f-type); font-size: .85rem; color: var(--gold); margin: 6px 0 10px; }
.hub-call { font-weight: 700; font-size: .9rem; color: #fff6ea; text-decoration: none; border-bottom: 1px dashed rgba(246,231,207,.6); }
.hub-call:hover { border-bottom-style: solid; }

.svc {
  position: relative; z-index: 1; background: #f3efe6; border: 1.5px solid rgba(139, 20, 20, .22); border-radius: 14px;
  padding: 16px 14px 18px; text-align: center;
  opacity: 0; translate: 0 18px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .35s ease, opacity .6s ease, translate .6s cubic-bezier(.2,.8,.2,1);
}
.svc.in { opacity: 1; translate: 0 0; }
.svc:hover, .svc.play { border-color: var(--red); box-shadow: 0 14px 26px -16px rgba(110, 14, 14, .55); }
@media (hover: hover) { .svc:hover { transform: translateY(-4px); } }
.svc-n { position: absolute; top: 8px; left: 12px; font-family: var(--f-type); font-size: .78rem; color: var(--red); opacity: .7; }
.svc svg { width: 84px; height: 84px; display: block; margin: 0 auto 8px; overflow: visible; }
.svc h3 { font-family: var(--f-title); font-weight: 800; font-size: .88rem; line-height: 1.2; text-transform: uppercase; color: var(--red); letter-spacing: .01em; }
.svc p { font-size: .8rem; line-height: 1.45; color: var(--ink-soft); margin-top: 6px; }

/* Icon drawing + motion. Every loop is paused until the tile is hovered or played. */
.ic { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic .f { fill: var(--red); }
.ic * { transform-box: fill-box; transform-origin: 50% 50%; animation-play-state: paused !important; }
.svc:hover .ic *, .svc.play .ic * { animation-play-state: running !important; }
.ic text { stroke: none; }

.a-ink { transform-origin: 0 50%; animation: inkGrow 2.4s ease-in-out infinite; }
.a-pencil { animation: pencil 2.4s ease-in-out infinite; }
@keyframes inkGrow { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes pencil { 0% { transform: translateX(-40px); } 60% { transform: translateX(0); } 80% { transform: translate(2px, -6px); } 100% { transform: translateX(-40px); } }
.a-hook { animation: hookBob 1s ease-in-out infinite alternate; }
@keyframes hookBob { to { transform: translateY(14px); } }
.a-glow { opacity: .15; animation: glowP 1.6s ease-in-out infinite alternate; }
@keyframes glowP { to { opacity: .85; transform: scale(1.25); } }
.a-brace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: brace 2.2s ease-in-out infinite; }
@keyframes brace { 50%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.a-digits { font: 700 8px var(--f-body); fill: var(--cream); }
.a-coin { animation: flip 1.4s ease-in-out infinite; }
.coin-t { font: 800 13px var(--f-title); fill: var(--cream); }
@keyframes flip { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.08); } }
.a-truck { animation: rumble .35s ease-in-out infinite alternate; }
@keyframes rumble { to { transform: translateY(-1.6px); } }
.a-road { transform-box: view-box; transform-origin: 0 0; animation: road .6s linear infinite; }
@keyframes road { to { transform: translateX(-22px); } }
.a-sun { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-tree { transform-origin: 50% 100%; animation: sway 1.2s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.a-ball { transform-box: view-box; transform-origin: 20px 4px; animation: wreck 1.8s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes wreck { 0%, 100% { transform: rotate(-40deg); } 45% { transform: rotate(14deg); } 55% { transform: rotate(10deg); } }
.a-brick { animation: knock 1.8s ease-in infinite; }
@keyframes knock { 0%, 44% { transform: none; opacity: 1; } 70% { transform: translate(14px, 46px) rotate(80deg); opacity: 0; } 71%, 90% { opacity: 0; transform: none; } 100% { opacity: 1; } }
.a-saw { animation: sawing .5s ease-in-out infinite alternate; }
@keyframes sawing { from { transform: translate(-6px, 3px); } to { transform: translate(6px, -3px); } }
.a-dust { animation: dust .5s ease-out infinite; }
@keyframes dust { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(-6px, 8px); opacity: 0; } }
.a-drop { animation: rain 1.2s ease-in infinite; }
.a-drop.d2 { animation-delay: .4s; } .a-drop.d3 { animation-delay: .8s; }
@keyframes rain { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(20px); opacity: 1; } 100% { transform: translate(8px, 16px); opacity: 0; } }
.a-bolt, .a-rays { animation: flicker 1.4s steps(1) infinite; }
.a-bulb { animation: bulbOn 1.4s steps(1) infinite; }
@keyframes flicker { 0%, 20%, 30%, 100% { opacity: 1; } 10%, 25% { opacity: .15; } }
@keyframes bulbOn { 0%, 20%, 30%, 100% { fill: #f3c98b; } 10%, 25% { fill: none; } }
.a-drip { animation: drip 1.3s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; transform: translateY(0) scale(1); } 80% { transform: translateY(14px); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
.a-ripple { animation: ripple 1.3s ease-out infinite; }
@keyframes ripple { 0%, 70% { transform: scaleX(.3); opacity: 0; } 80% { opacity: 1; } 100% { transform: scaleX(1.3); opacity: 0; } }
.a-tile { animation: tileIn 2.2s cubic-bezier(.3,1.4,.5,1) infinite; }
@keyframes tileIn { 0% { transform: translateY(-34px) rotate(-12deg); opacity: 0; } 35%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.a-air path { animation: air 1.4s ease-in-out infinite; }
.a-air path:nth-child(2) { animation-delay: .2s; } .a-air path:nth-child(3) { animation-delay: .4s; }
@keyframes air { 0% { transform: translateY(-4px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.a-cone { opacity: .1; animation: cone 2.4s ease-in-out infinite; }
.a-cone.c2 { animation-delay: .3s; } .a-cone.c3 { animation-delay: .6s; }
@keyframes cone { 0%, 100% { opacity: .1; } 30%, 70% { opacity: .8; } }
.a-sash { animation: slide 2.4s ease-in-out infinite alternate; }
@keyframes slide { 0%, 20% { transform: none; } 80%, 100% { transform: translateX(-26px); } }
.a-trail { transform-origin: 50% 0; animation: trail 2.4s ease-in-out infinite; }
.a-roller { animation: roll 2.4s ease-in-out infinite; }
@keyframes trail { 0% { transform: scaleY(0); } 70%, 90% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes roll { 0% { transform: translateY(0); } 70% { transform: translateY(48px); } 100% { transform: translateY(0); } }
.a-cl { transform-origin: 0 50%; animation: curtain 2.6s ease-in-out infinite alternate; }
.a-cr { transform-origin: 100% 50%; animation: curtain 2.6s ease-in-out infinite alternate; }
@keyframes curtain { 0%, 15% { transform: scaleX(1); } 85%, 100% { transform: scaleX(.3); } }
.a-sunwin { animation: glowP 1.3s ease-in-out infinite alternate; }

.guj { font-family: "Noto Sans Gujarati", sans-serif; color: var(--gold); font-size: 1.05rem; margin: -14px 0 22px; }

/* Responsive for the new sections */
@media (max-width: 1000px) {
  .svc-board { grid-template-columns: repeat(3, 1fr); }
  .svc-hub { grid-column: 2; grid-row: 2 / span 2; max-width: 200px; }
}
@media (max-width: 700px) {
  .svc-board { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-wires { display: none; }
  .svc-hub {
    grid-column: 1 / -1; grid-row: 1; max-width: none; aspect-ratio: auto; border-radius: 18px; padding: 18px 16px;
    flex-direction: row; flex-wrap: wrap; gap: 4px 14px; box-shadow: none;
  }
  .svc-hub::after { border-radius: 22px; inset: -6px; animation-duration: 3s; }
  .hub-line { margin: 0; }
  .svc { padding: 14px 10px; }
  .svc svg { width: 70px; height: 70px; }
  .svc h3 { font-size: .78rem; }
  .svc p { font-size: .74rem; }
  .storm { height: 260vh; }
  .storm-field { inset: 22% 2% 6%; }
  .qq { font-size: calc(var(--s) * .62rem); }
  .worried { width: 120px; }
  .hero-crane { width: 92px; left: -4px; }
  .hero-bldg { width: 96px; right: -4px; }
  .tool { width: 30px; }
  .tool:nth-of-type(3), .tool:nth-of-type(4) { display: none; }
  .tool.level { width: 58px; }
  .tape { width: 92%; margin: 16px auto 18px; }
  .tape-case { width: 32px; height: 32px; }
  .guj { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .dw { stroke-dashoffset: 0; }
  .hero-art .dw-f, .h-hook, .wins rect, .tool { opacity: .5; }
  .tape-strip { clip-path: none; }
  .svc { opacity: 1; translate: none; }
}

/* Phones: hero art tucked below the text, storm questions kept on screen */
@media (max-width: 700px) {
  .hero .frame { padding-bottom: 120px; }
  .tool:not(.level) { display: none; }
  .tool.level { top: auto; bottom: 8px; }
  .hero-crane { width: 78px; }
  .hero-bldg { width: 78px; }
  .qq { left: calc(50% + (var(--x) - 50%) * .7); }
  .qq.sm-hide { display: none; }
}

/* =====================================================================
   MOBILE AUDIT FIXES
   ===================================================================== */
/* Slider: dragged by pointer anywhere on the picture; the range input stays for keyboard users only */
.compare { cursor: ew-resize; touch-action: pan-y; }
.cmp-range { inset: auto; width: 1px; height: 1px; bottom: 0; left: 0; pointer-events: none; }

/* Bigger tap targets without changing the look */
.fit-dots { gap: 2px; margin-left: -9px; }
.fit-dots button { width: 32px; height: 32px; border: 0; background: none; display: grid; place-content: center; transform: none !important; }
.fit-dots button::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--red); box-sizing: border-box; transition: background-color .25s ease, transform .25s ease; }
.fit-dots button.on { background: none; }
.fit-dots button.on::before { background: var(--red); transform: scale(1.2); }
.hub-call, .pass-lines dd a, .foot-meta a { display: inline-block; padding: 8px 0; }
.cord { width: 44px; }

@media (max-width: 700px) {
  .qq { font-size: max(11px, calc(var(--s) * .62rem)); }
  .stage .by, .fit-stage .by { font-size: .74rem; }
  .cmp-label { font-size: .7rem; }
  .lbl-x { display: none; }
  .cord { right: -4px; width: 40px; }
}

/* Phones held sideways: short screens get side-by-side layouts back */
@media (max-height: 520px) and (orientation: landscape) {
  .hero .frame { min-height: auto; padding-top: 40px; padding-bottom: 40px; }
  .hero-crane, .hero-bldg { width: 70px; }
  .build-sticky { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; align-items: center; }
  .build-stage { order: 0; padding-top: 0; }
  .build-copy { height: auto; }
  .stage-num { width: 44px; height: 44px; font-size: 1.1rem; float: left; margin-right: 12px; }
  .stage h2 { font-size: 1.4rem; }
  .stage p:not(.by) { font-size: .85rem; clear: both; }
  .storm-head { font-size: 1.3rem; top: 10px; }
  .storm-field { inset: 18% 2% 4%; }
  .worried { width: 90px; }
  .hum-stamp { width: 180px; }
  .hum { font-size: 2rem; }
  .storm-answer { padding-top: 50px; }
  .hum-sub { margin-top: 10px; font-size: .95rem; }
  .mobile-nav { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
}
.compare:focus-within .cmp-handle span { outline: 2px dashed var(--red); outline-offset: 4px; }

/* No sideways page scroll, ever */
html { overflow-x: clip; }
.sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .sectors { padding: 22px 12px; }
  .sector { padding: 12px 6px 16px; }
  .sector h3 { font-size: .9rem; overflow-wrap: anywhere; }
  .sector svg { width: 52px; height: 52px; }
}
@media (max-width: 860px) { #building { overflow: hidden; } }

/* Short landscape screens */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --nav-h: 56px; }
  .brand-logo { height: 42px; }
  .build-stage { height: 100%; min-height: 0; }
  #building { height: 96%; width: auto; max-width: 100%; max-height: none; }
  .qq { left: calc(50% + (var(--x) - 50%) * .8); font-size: max(11px, calc(var(--s) * .6rem)); }
  .qq.sm-hide { display: none; }
  .storm-cue { display: none; }
  .fitout { grid-template-columns: 1fr 1.3fr; }
  .fit-copy { order: 0; }
  .room-card { order: 0; }
  .swatches { grid-column: 1 / -1; }
}
