/* =========================================================
   Rachana Designs and Solutions – Website Stylesheet
   Bootstrap 5.3 + custom theme
   ---------------------------------------------------------
   COLOUR THEMES: set <html data-theme="violet|green|sky|lemon">
   in index.html. Violet is the default (matches the logo).
   ========================================================= */

:root,
[data-theme="violet"] {
  --accent: #6a3393;        /* buttons, fills            */
  --accent-dark: #4f2470;   /* hover                     */
  --accent-ink: #6a3393;    /* accent used as text       */
  --accent-soft: #efe7f6;   /* light tint backgrounds    */
  --on-accent: #ffffff;     /* text on accent fills      */
  --accent-2: #c0398e;      /* gradient partner          */
  --hl: #e9d8ff;            /* highlight word on dark bg */
  --paper: #f7f5fa;
  --sand: #eeeaf3;
  --line: #e1dbe9;
  --ink: #1e1a26;
  --ink-2: #2c2736;
}
[data-theme="green"] {
  --accent: #2f7d4f;
  --accent-dark: #22603b;
  --accent-ink: #26683f;
  --accent-soft: #e5f2e9;
  --on-accent: #ffffff;
  --accent-2: #0f8b8d;
  --hl: #b8f0c9;
  --paper: #f5f8f5;
  --sand: #e8efe9;
  --line: #d9e4db;
  --ink: #17211b;
  --ink-2: #24302a;
}
[data-theme="sky"] {
  --accent: #0284c7;
  --accent-dark: #0369a1;
  --accent-ink: #0369a1;
  --accent-soft: #e1f1fb;
  --on-accent: #ffffff;
  --accent-2: #6366f1;
  --hl: #a5dcff;
  --paper: #f4f8fb;
  --sand: #e5eef5;
  --line: #d6e3ee;
  --ink: #142231;
  --ink-2: #1f3042;
}
[data-theme="lemon"] {
  --accent: #f2d930;
  --accent-dark: #e2c50f;
  --accent-ink: #7d6b00;
  --accent-soft: #fbf6cf;
  --on-accent: #1d1b16;
  --accent-2: #9acd32;
  --hl: #f7e64a;
  --paper: #fbfaf3;
  --sand: #f2efdc;
  --line: #e7e2c6;
  --ink: #1d1b16;
  --ink-2: #2b2920;
}

:root {
  --muted: #6b6774;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(20, 18, 30, .28);
  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color .4s ease;
}
img { max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent-dark); }
::selection { background: var(--accent); color: var(--on-accent); }

.section { padding: 110px 0; position: relative; }
.eyebrow {
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-ink);
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.text-center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--hl); }

.section-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
  letter-spacing: -.01em;
}
.section-title.small { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-title em { font-style: italic; color: var(--accent-ink); }
.capabilities .section-title em { color: var(--hl); }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 56px; }
.lead-text { font-size: 1.15rem; color: var(--ink-2); }

.form-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: .3rem .8rem; border-radius: 50px; margin-bottom: 12px;
}
.kicker-light { background: rgba(255, 255, 255, .14); color: #fff; }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 500; letter-spacing: .02em; transition: all .3s ease; }
.btn-lg { padding: .8rem 1.8rem; font-size: 1rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.btn-accent:hover, .btn-accent:focus, .btn-accent:active { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; color: var(--on-accent) !important; transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-outline-light:hover { color: var(--ink); transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #fff; border: 1px solid #25d366; }
.btn-whatsapp:hover { background: #1fb457; color: #fff; transform: translateY(-2px); }
.btn.is-loading { pointer-events: none; opacity: .75; }

/* ---------- Forms (shared) ---------- */
.form-control, .form-select { border-radius: 10px; padding: .72rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--accent) 20%, transparent); }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: #dc3545; }
.form-success {
  text-align: center; padding: 26px 10px;
  animation: popIn .5s both;
}
.form-success i { font-size: 2.6rem; color: var(--accent-ink); display: block; margin-bottom: 8px; }
.form-success h4 { font-family: var(--ff-display); font-size: 1.6rem; margin-bottom: 4px; }
.form-success p { color: var(--muted); margin: 0; }
.dark-bg .form-success p, .proposal-band .form-success p { color: rgba(255, 255, 255, .75); }
.proposal-band .form-success i, .proposal-band .form-success h4 { color: #fff; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-inner img { width: 110px; animation: floatIn 1.2s ease both; }
.loader-name { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; margin-top: 8px; animation: floatIn 1.2s .2s ease both; }
.loader-bar { width: 160px; height: 2px; background: var(--line); margin: 14px auto 0; overflow: hidden; border-radius: 2px; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--accent); animation: loadBar 1.1s ease-in-out infinite; }
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1100;
}

/* ---------- Brand (logo + name) ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; transition: height .35s ease; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.28rem; font-weight: 500; line-height: 1.05;
  color: #fff; letter-spacing: .01em;
  transition: color .35s;
}
.brand-name strong { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .95em; margin-right: 2px; }

/* ---------- Navbar ---------- */
#mainNav { padding: 16px 0; transition: all .35s ease; }
#mainNav .logo-dark { display: none; }
#mainNav .nav-link {
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  padding: .5rem .8rem !important;
  position: relative;
}
#mainNav .nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 2px; height: 1px;
  background: var(--hl); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
#mainNav .nav-link:hover::after, #mainNav .nav-link.active::after { transform: scaleX(1); }
#mainNav .nav-link.active, #mainNav .nav-link:hover { color: #fff; }

#mainNav.scrolled {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .35);
  padding: 8px 0;
}
#mainNav.scrolled .brand img { height: 34px; }
#mainNav.scrolled .logo-dark { display: inline-block; }
#mainNav.scrolled .logo-light { display: none; }
#mainNav.scrolled .brand-name { color: var(--ink); }
#mainNav.scrolled .nav-link { color: var(--ink); }
#mainNav.scrolled .nav-link::after { background: var(--accent); }
#mainNav.scrolled .nav-link.active { color: var(--accent-ink); }

.navbar-toggler { border: 0; padding: 8px; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.toggler-line { width: 26px; height: 2px; background: #fff; transition: all .3s ease; display: block; }
#mainNav.scrolled .toggler-line { background: var(--ink); }
.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 130px 0 90px;
  background: var(--ink);
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.6s ease, transform 7s ease-out;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--ink) 94%, transparent) 0%, color-mix(in srgb, var(--ink) 75%, transparent) 50%, color-mix(in srgb, var(--accent-dark) 45%, transparent) 100%),
    linear-gradient(0deg, rgba(10, 10, 14, .55), transparent 40%);
}
.hero-lines span {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .12), transparent);
}
.hero-lines span:nth-child(1) { left: 25%; }
.hero-lines span:nth-child(2) { left: 50%; }
.hero-lines span:nth-child(3) { left: 75%; }
.hero-lines span::after {
  content: ""; position: absolute; left: -1px; width: 3px; height: 80px; top: -80px;
  background: linear-gradient(transparent, var(--hl));
  animation: lineDrop 6s linear infinite;
}
.hero-lines span:nth-child(2)::after { animation-delay: 2s; }
.hero-lines span:nth-child(3)::after { animation-delay: 4s; }
@keyframes lineDrop { to { top: 110%; } }

.hero-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: 1.3rem;
}
.hero-title em { font-style: italic; }
.hero-title .hl { color: var(--hl); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .82); max-width: 600px; font-weight: 300; margin-bottom: 1.8rem; }

/* six vertical links in hero */
.hero-verticals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.hero-verticals a {
  display: flex; align-items: center; gap: 10px;
  padding: .7rem .9rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: .86rem; line-height: 1.25; font-weight: 500;
  transition: all .3s ease;
}
.hero-verticals a i { font-size: 1.15rem; color: var(--hl); flex: 0 0 auto; transition: color .3s; }
.hero-verticals a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.hero-verticals a:hover i { color: var(--on-accent); }

.hero-anim { opacity: 0; transform: translateY(30px); }
body.loaded .hero-anim { animation: heroUp 1s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroUp { to { opacity: 1; transform: none; } }

.hero-form {
  color: var(--ink);
  border: 3px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  border-radius: 18px; padding: 26px 24px 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  position: relative;
}
.hero-form h2 { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; margin-bottom: 4px; }
.hero-form p { font-size: .92rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.form-note { font-size: .76rem; color: var(--muted); margin-top: 10px; text-align: center; }

.hero-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; transition: all .3s; }
.hero-dots button.active { background: var(--hl); border-color: var(--hl); width: 28px; border-radius: 10px; }

/* ---------- Stats ---------- */
.stats-strip { background: var(--ink); color: #fff; position: relative; z-index: 2; }
.stat { padding: 36px 12px; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--ff-display); font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 600; line-height: 1; color: var(--hl); min-height: 1em; }
.stat-num i { font-size: .85em; }
.stat-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 10px; }

/* ---------- About ---------- */
.about { background: var(--paper); overflow: hidden; }
.about::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/sketch-bg.jpg") center/cover no-repeat;
  opacity: .07; pointer-events: none;
}
.about-visual { position: relative; padding: 0 60px 70px 0; }
.about-img-main { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.about-img-sub {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border-radius: var(--radius); border: 8px solid var(--paper); box-shadow: var(--shadow);
  aspect-ratio: 4/3; object-fit: cover;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.about-badge {
  position: absolute; left: -10px; bottom: 30px;
  background: var(--accent); color: var(--on-accent);
  padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 160px; line-height: 1.25;
  font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
}
.about-badge .big { display: block; font-family: var(--ff-display); font-size: 2.6rem; font-weight: 700; letter-spacing: 0; }
.mini-feature { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: transform .3s, box-shadow .3s; }
.mini-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-feature i { font-size: 1.6rem; color: var(--accent-ink); }
.mini-feature strong { display: block; font-weight: 600; margin-bottom: 2px; }
.mini-feature span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.quote-band {
  margin-top: 90px; position: relative;
  padding: 50px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote-band i { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); font-size: 3rem; color: var(--accent-ink); background: var(--paper); padding: 0 18px; line-height: 1; }
.quote-band p { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; margin: 0; color: var(--ink-2); }

/* ---------- Verticals ---------- */
.verticals { background: var(--sand); }
.vertical-card {
  position: relative; height: 100%;
  padding: 36px 30px 28px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease, color .4s ease;
  isolation: isolate;
  scroll-margin-top: 110px;
}
.vertical-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.vertical-card:hover, .vertical-card.flash { transform: translateY(-8px); box-shadow: var(--shadow); color: #fff; }
.vertical-card:hover::before, .vertical-card.flash::before { transform: translateY(0); }
.vertical-card.flash { outline: 3px solid var(--accent); outline-offset: 4px; }
.v-num { position: absolute; top: 18px; right: 24px; font-family: var(--ff-display); font-size: 3.4rem; font-weight: 700; color: color-mix(in srgb, var(--accent) 16%, transparent); line-height: 1; transition: color .4s; }
.vertical-card:hover .v-num, .vertical-card.flash .v-num { color: color-mix(in srgb, var(--hl) 40%, transparent); }
.v-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.6rem; margin-bottom: 22px; transition: transform .5s, background .4s, color .4s; }
.vertical-card:hover .v-icon, .vertical-card.flash .v-icon { transform: rotateY(360deg); background: var(--accent); color: var(--on-accent); }
.vertical-card h3 { font-family: var(--ff-display); font-size: 1.55rem; font-weight: 600; margin-bottom: .6rem; }
.vertical-card p { color: var(--muted); margin-bottom: 1.2rem; transition: color .4s; flex: 1; }
.vertical-card:hover p, .vertical-card.flash p { color: rgba(255, 255, 255, .75); }
.v-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.v-link { font-size: .9rem; font-weight: 500; letter-spacing: .04em; }
.vertical-card:hover .v-link, .vertical-card.flash .v-link { color: var(--hl); }
.v-link i { transition: transform .3s; display: inline-block; }
.vertical-card:hover .v-link i { transform: translate(3px, -3px); }
.v-btn {
  border: 1px solid var(--accent); background: transparent; color: var(--accent-ink);
  border-radius: 50px; padding: .35rem 1rem; font-size: .85rem; font-weight: 500; transition: all .3s;
}
.vertical-card:hover .v-btn, .vertical-card.flash .v-btn { background: var(--accent); color: var(--on-accent); }

/* ---------- Inline CTA (site visit) ---------- */
.cta-inline { background: var(--sand); padding: 0 0 100px; }
.cta-inline-box {
  background: linear-gradient(120deg, var(--accent-soft), #fff 70%);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-inline-box::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  animation: floatBlob 8s ease-in-out infinite;
}
@keyframes floatBlob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }
.cta-inline-box h2 { font-family: var(--ff-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.cta-inline-box p { color: var(--muted); }
.cta-inline-box form { position: relative; z-index: 1; }

/* ---------- Commercial interiors tabs ---------- */
.interiors { background: var(--paper); }
.interior-tabs { gap: 10px; margin-bottom: 34px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.interior-tabs::-webkit-scrollbar { display: none; }
.interior-tabs .nav-link {
  border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: .65rem 1.3rem; white-space: nowrap; font-weight: 500; transition: all .3s;
}
.interior-tabs .nav-link i { color: var(--accent-ink); margin-right: 6px; transition: color .3s; }
.interior-tabs .nav-link:hover { border-color: var(--accent); }
.interior-tabs .nav-link.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.interior-tabs .nav-link.active i { color: var(--hl); }

.pane-intro h3 { font-family: var(--ff-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.pane-intro p { color: var(--muted); margin-bottom: 26px; }
.point-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.point {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 17px; font-size: .97rem; line-height: 1.5;
  transition: border-color .3s, transform .3s;
}
.point:hover { border-color: var(--accent); transform: translateX(4px); }
.point i { color: var(--accent-ink); font-size: 1.15rem; line-height: 1.3; }
.tab-pane.show .point { animation: popIn .6s both; }
.tab-pane.show .point:nth-child(2) { animation-delay: .06s; }
.tab-pane.show .point:nth-child(3) { animation-delay: .12s; }
.tab-pane.show .point:nth-child(4) { animation-delay: .18s; }
.tab-pane.show .point:nth-child(5) { animation-delay: .24s; }
.tab-pane.show .point:nth-child(6) { animation-delay: .3s; }
.tab-pane.show .point:nth-child(7) { animation-delay: .36s; }
.tab-pane.show .point:nth-child(8) { animation-delay: .42s; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.related-card { background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: var(--shadow); }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1.2s ease; }
.related-card:hover img { transform: scale(1.06); }
.related-body { padding: 24px; }
.related-body h4 { font-family: var(--ff-display); font-size: 1.4rem; margin-bottom: 14px; }
.project-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.project-chips li { font-size: .8rem; padding: .3rem .75rem; border-radius: 50px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Capabilities ---------- */
.capabilities { background: var(--ink); color: #fff; overflow: hidden; }
.capabilities::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/sketch-bg.jpg") center/cover no-repeat;
  opacity: .05; filter: invert(1);
}
.capabilities .container { position: relative; }
.cap-card {
  height: 100%; padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  transition: transform .4s, border-color .4s, background .4s;
}
.cap-card:hover { transform: translateY(-6px); border-color: var(--accent); background: rgba(255, 255, 255, .05); }
.cap-card.featured { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--accent-2) 12%, transparent)); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.cap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cap-head i { font-size: 1.7rem; color: var(--hl); }
.cap-head h3 { font-family: var(--ff-display); font-size: 1.7rem; margin: 0; }
.cap-group { margin-bottom: 18px; }
.cap-group h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hl); margin-bottom: 8px; font-weight: 500; }
.cap-group ul { list-style: none; padding: 0; margin: 0; }
.cap-group li { font-size: .94rem; color: rgba(255, 255, 255, .78); padding: 3px 0 3px 18px; position: relative; }
.cap-group li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--hl); }
.cap-cta {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .25);
}
.cap-cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }

/* ---------- Process timeline ---------- */
.process { background: var(--paper); }
.process-sticky { position: sticky; top: 110px; }
.timeline { position: relative; padding-left: 8px; }
.timeline-line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-line span { display: block; width: 100%; height: 0; background: linear-gradient(var(--accent), var(--accent-2)); transition: height .15s linear; }
.t-step { display: flex; gap: 26px; position: relative; padding-bottom: 30px; }
.t-step:last-child { padding-bottom: 0; }
.t-dot {
  flex: 0 0 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem;
  position: relative; z-index: 1; transition: background .3s, color .3s, transform .3s;
}
.t-step:hover .t-dot { background: var(--accent); color: var(--on-accent); transform: scale(1.1); }
.t-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; flex: 1; transition: box-shadow .3s, transform .3s; }
.t-step:hover .t-body { box-shadow: var(--shadow); transform: translateX(4px); }
.t-body h3 { font-family: var(--ff-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 4px; }
.t-body p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Proposal band ---------- */
.proposal-band {
  padding: 90px 0; color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--accent-dark) 70%, var(--ink)) 100%);
  position: relative; overflow: hidden;
}
.proposal-band::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -160px; bottom: -220px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 35%, transparent), transparent 70%);
}
.proposal-band .container { position: relative; }
.proposal-band h2 { font-family: var(--ff-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.15; }
.proposal-points { list-style: none; padding: 0; margin: 20px 0 0; }
.proposal-points li { padding: 6px 0; color: rgba(255, 255, 255, .85); display: flex; gap: 10px; }
.proposal-points i { color: var(--hl); font-size: 1.15rem; }
.proposal-form .form-control, .proposal-form .form-select {
  background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff;
}
.proposal-form .form-select { background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px 12px; }
.proposal-form .form-control::placeholder { color: rgba(255, 255, 255, .6); }
.proposal-form .form-select option { color: var(--ink); }
.proposal-form .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.proposal-form .form-control:focus, .proposal-form .form-select:focus { background-color: rgba(255, 255, 255, .14); color: #fff; border-color: var(--hl); }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--sand); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.filter-bar button {
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: .45rem 1.15rem; border-radius: 50px; font-size: .9rem; font-weight: 500; transition: all .3s;
}
.filter-bar button:hover { background: rgba(0, 0, 0, .05); }
.filter-bar button.active { background: var(--ink); color: #fff; }
.filter-bar.small button { font-size: .82rem; padding: .35rem .95rem; border-color: var(--line); background: #fff; }
.filter-bar.small button.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; border-radius: 12px; overflow: hidden; display: block; animation: gIn .6s both; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 85%, transparent), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.g-cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff;
  transform: translateY(12px); opacity: 0; transition: all .4s;
  display: flex; justify-content: space-between; align-items: center; font-size: .9rem;
}
.g-cap i { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover::after, .g-item:hover .g-cap { opacity: 1; transform: none; }
@keyframes gIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.gallery-cta {
  margin-top: 50px; padding: 28px 32px; border-radius: 18px; background: var(--paper);
  border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.gallery-cta h3 { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; margin: 0; }
.gallery-cta p { margin: 0; color: var(--muted); }

/* ---------- Project list ---------- */
.project-list { background: var(--paper); }
.search-box { position: relative; }
.search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .form-control { border-radius: 50px; padding: .85rem 1.2rem .85rem 3rem; background: #fff; }
.p-row {
  display: flex; align-items: center; gap: 14px; height: 100%;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 14px 18px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  animation: gIn .45s both;
}
.p-row:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .3); }
.p-name { flex: 1; font-weight: 500; line-height: 1.35; font-size: .95rem; }
.p-name small { display: block; color: var(--muted); font-weight: 400; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.p-year { font-size: .8rem; color: var(--ink); background: var(--accent-soft); padding: .2rem .6rem; border-radius: 50px; white-space: nowrap; }
.no-results { text-align: center; padding: 30px; color: var(--muted); }

/* ---------- Clients marquee (original colours) ---------- */
.clients { padding: 90px 0; background: #fff; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile {
  width: 170px; height: 96px; flex: 0 0 auto;
  display: grid; place-items: center; padding: 14px;
  border: 1px solid #ececec; border-radius: 12px; background: #fff;
  transition: transform .35s, box-shadow .35s;
}
.logo-tile.dark { background: #1e1a26; border-color: #1e1a26; }
.logo-tile img { max-height: 64px; max-width: 100%; object-fit: contain; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Team ---------- */
.team { background: var(--sand); }
.leader-card {
  background: var(--paper); border-radius: var(--radius); padding: 28px 20px; text-align: center; height: 100%;
  border: 1px solid var(--line); transition: transform .35s, box-shadow .35s;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent); font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: 4px; }
.leader-info span { display: block; }
.leader-card span { font-size: .82rem; color: var(--muted); }
.team-table { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.team-table:empty { display: none; }
.tt-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.tt-row:last-child { border-bottom: 0; }
.tt-row span { color: var(--muted); }
.tt-row strong { font-weight: 500; text-align: right; }
.assoc-title { font-family: var(--ff-display); font-size: 1.6rem; margin: 34px 0 16px; }
.assoc-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; height: 100%; transition: transform .35s; }
.assoc-card:hover { transform: translateY(-5px); }
.assoc-card i { font-size: 1.5rem; color: var(--hl); }
.assoc-card h5 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin: 10px 0 12px; color: rgba(255, 255, 255, .65); }
.assoc-card p { margin-bottom: 8px; font-weight: 500; line-height: 1.4; font-size: .95rem; }
.assoc-card small { color: rgba(255, 255, 255, .6); font-weight: 400; }

/* ---------- Big CTA ---------- */
.cta-band {
  padding: 90px 0; color: #fff;
  background: linear-gradient(120deg, var(--accent-dark), var(--accent) 50%, var(--accent-2));
  background-size: 200% 200%;
  animation: gradShift 10s ease infinite;
  position: relative; overflow: hidden;
}
[data-theme="lemon"] .cta-band { color: var(--ink); }
[data-theme="lemon"] .cta-band .kicker-light { background: rgba(0, 0, 0, .08); color: var(--ink); }
[data-theme="lemon"] .cta-band .btn-outline-light { color: var(--ink); border-color: var(--ink); }
.cta-band h2 { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; }
.cta-promises { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cta-promises li { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.cta-actions { display: grid; gap: 12px; }
.cta-band .btn-light { color: var(--ink); font-weight: 600; }
.cta-band .btn-light:hover { transform: translateY(-2px); }
@keyframes gradShift { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item i { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.15rem; }
.contact-item strong { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-item span, .contact-item a { color: var(--ink); line-height: 1.55; }
.contact-item a:hover { color: var(--accent-ink); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 10px; }
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.4); }
.contact-form { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 700; margin-bottom: 18px; }
.contact-form .form-label { font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.contact-form .form-control, .contact-form .form-select { background-color: var(--paper); }

/* ---------- Modal ---------- */
#enquiryModal .modal-content { border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
#enquiryModal .modal-content::before { content: ""; height: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
#enquiryModal .modal-header { border: 0; padding: 24px 26px 4px; align-items: flex-start; }
#enquiryModal .modal-title { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
#enquiryModal .modal-body { padding: 16px 26px 26px; }
#enquiryModal.fade .modal-dialog { transform: translateY(30px) scale(.96); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
#enquiryModal.show .modal-dialog { transform: none; }

/* toast */
#formToast { background: var(--ink); color: #fff; border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 26px; font-size: .95rem; }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { height: 44px; }
.footer h5 { color: #fff; font-family: var(--ff-display); font-size: 1.35rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer a:not(.btn) { color: rgba(255, 255, 255, .7); }
.footer a:not(.btn):hover { color: var(--hl); }
.footer-form .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; border-radius: 50px 0 0 50px; }
.footer-form .form-control::placeholder { color: rgba(255, 255, 255, .55); }
.footer-form .btn { border-radius: 0 50px 50px 0; padding: 0 1.1rem; }
.footer .form-success { padding: 10px 0; text-align: left; }
.footer .form-success i { display: inline; font-size: 1.1rem; color: var(--hl); }
.footer .form-success h4 { display: inline; font-size: 1.1rem; color: #fff; margin-left: 6px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: all .3s; }
.footer .socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: .85rem; }

/* ---------- Floating & sticky bits ---------- */
.float-wa {
  position: fixed; left: 20px; bottom: 20px; z-index: 1000;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7);
}
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2s infinite; }
.float-wa:hover { color: #fff; transform: scale(1.06); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.back-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .35s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--accent); color: var(--on-accent); }

.mobile-bar { display: none; }

/* theme picker (review only) */
.theme-picker { position: fixed; right: 20px; bottom: 80px; z-index: 1001; display: flex; align-items: center; flex-direction: row-reverse; gap: 8px; }
.tp-toggle { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--accent-ink); font-size: 1.25rem; box-shadow: var(--shadow); }
.tp-panel {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 50px; padding: 8px 12px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateX(10px); transition: all .3s;
}
.theme-picker.open .tp-panel { opacity: 1; visibility: visible; transform: none; }
.tp-panel span { font-size: .75rem; color: var(--muted); margin-right: 2px; white-space: nowrap; }
.tp-panel button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--sw); box-shadow: 0 0 0 1px #ddd; padding: 0; transition: transform .2s; }
.tp-panel button:hover { transform: scale(1.15); }
.tp-panel button.active { box-shadow: 0 0 0 2px var(--ink); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-name { font-size: 1.1rem; }
}

@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  #mainNav { background: color-mix(in srgb, var(--ink) 55%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  #mainNav .navbar-collapse {
    background: var(--paper); border-radius: 14px; margin-top: 12px; padding: 12px 16px 18px;
    box-shadow: var(--shadow);
  }
  #mainNav .nav-link { color: var(--ink) !important; padding: .7rem .4rem !important; border-bottom: 1px solid var(--line); }
  #mainNav .nav-link::after { display: none; }
  #mainNav .nav-link.active { color: var(--accent-ink) !important; }
  #mainNav .btn { margin-top: 12px; width: 100%; }
  .hero { padding: 120px 0 80px; }
  .hero-verticals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-sticky { position: static; }
  .about-visual { padding: 0 30px 50px 0; margin-bottom: 10px; }
  .cta-inline { padding-bottom: 80px; }
}

@media (max-width: 767.98px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 36px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 24px 8px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .point-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .g-item.wide { grid-column: span 2; }
  .g-cap { opacity: 1; transform: none; font-size: .78rem; }
  .g-cap i { display: none; }
  .g-item::after { opacity: .7; }
  .tt-row { flex-direction: column; gap: 2px; }
  .tt-row strong { text-align: left; }
  .about-badge { left: 0; bottom: 10px; padding: 12px 16px; }
  .about-badge .big { font-size: 2rem; }
  .quote-band { margin-top: 60px; }
  .timeline-line { left: 27px; }
  .t-step { gap: 16px; }
  .t-dot { flex-basis: 40px; height: 40px; font-size: 1.05rem; }
  .t-body { padding: 16px 18px; }
  .logo-tile { width: 130px; height: 78px; }
  .gallery-cta, .cap-cta { flex-direction: column; align-items: flex-start; }

  /* sticky action bar on phones */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
    background: var(--ink); box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .4);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 4px; color: #fff; font-size: .75rem; border: 0; background: transparent;
  }
  .mobile-bar i { font-size: 1.2rem; }
  .mobile-bar .primary { background: var(--accent); color: var(--on-accent); font-weight: 600; }
  .float-wa { display: none; }
  .back-top { bottom: 78px; right: 14px; }
  .theme-picker { bottom: 134px; right: 14px; }
}

@media (max-width: 575.98px) {
  .brand img { height: 32px; }
  .brand-name { font-size: .98rem; max-width: 170px; }
  .brand-name strong { display: block; }
  .hero-verticals { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-verticals a { font-size: .78rem; padding: .6rem .7rem; gap: 8px; }
  .gallery-grid { grid-auto-rows: 130px; }
}

/* =========================================================
   MOBILE POLISH (phones & small tablets)
   ========================================================= */
@media (max-width: 991.98px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: auto; padding: 108px 0 64px; }
  .hero-dots { display: none; }
  .hero-form { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 767.98px) {
  /* lighter rendering: no heavy blur / continuous effects on phones */
  #mainNav, .hero-verticals a { backdrop-filter: none; -webkit-backdrop-filter: none; }
  #mainNav { background: color-mix(in srgb, var(--ink) 92%, transparent); padding: 10px 0; }
  .hero-lines { display: none; }
  .hero-slide { transform: none !important; transition: opacity 1.2s ease; }
  .about-img-sub, .cta-inline-box::after { animation: none; }
  .cta-band { animation: none; background-size: 100% 100%; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .section-title { font-size: clamp(1.75rem, 7.4vw, 2.2rem); line-height: 1.15; }
  .section-sub { font-size: .98rem; }
  .eyebrow { font-size: .68rem; letter-spacing: .18em; gap: .5rem; }
  .eyebrow::before, .text-center .eyebrow::after { width: 22px; }
  .lead-text { font-size: 1.05rem; }

  /* hero */
  .hero { padding: 96px 0 48px; }
  .hero .eyebrow { font-size: .62rem; letter-spacing: .14em; display: block; }
  .hero .eyebrow::before { display: none; }
  .hero-title { font-size: clamp(2.15rem, 10vw, 2.8rem); margin-bottom: 1rem; }
  .hero-sub { font-size: .98rem; margin-bottom: 1.3rem; }
  .hero-verticals a { background: rgba(255, 255, 255, .1); }
  .hero-form { padding: 22px 18px 18px; border-radius: 16px; }
  .hero-form h2 { font-size: 1.55rem; }

  /* stats */
  .stat-num { font-size: 2.2rem; }
  .stat-label { font-size: .68rem; letter-spacing: .08em; }

  /* about */
  .about-visual { padding: 0 22px 36px 0; }
  .about-img-sub { border-width: 5px; width: 48%; }
  .mini-feature { padding: 14px; }
  .quote-band { margin-top: 48px; padding: 34px 6px 28px; }
  .quote-band p { font-size: 1.22rem; }
  .quote-band i { font-size: 2.4rem; top: -24px; }

  /* verticals */
  .vertical-card { padding: 24px 20px 22px; }
  .v-num { font-size: 2.6rem; top: 14px; right: 18px; }
  .v-icon { width: 52px; height: 52px; font-size: 1.35rem; margin-bottom: 16px; }
  .vertical-card h3 { font-size: 1.4rem; }
  .vertical-card p { margin-bottom: 1rem; }

  /* inline CTA */
  .cta-inline { padding-bottom: 60px; }
  .cta-inline-box { padding: 22px 18px; border-radius: 18px; }
  .cta-inline-box h2 { font-size: 1.6rem; }

  /* commercial tabs: one scrolling row with a soft edge */
  .interior-tabs { margin-left: -18px; margin-right: -18px; padding: 0 18px 6px; gap: 8px; margin-bottom: 24px; }
  .interior-tabs .nav-link { padding: .55rem 1rem; font-size: .88rem; }
  .pane-intro h3 { font-size: 1.55rem; }
  .pane-intro p { margin-bottom: 18px; }
  .point { padding: 13px 14px; font-size: .93rem; }
  .interiors .tab-pane .btn-accent { width: 100%; white-space: normal; }
  .related-body { padding: 18px; }

  /* capabilities */
  .cap-card { padding: 24px 20px; }
  .cap-head h3 { font-size: 1.5rem; }
  .cap-cta { padding: 18px; margin-top: 28px; }
  .cap-cta .btn { width: 100%; }

  /* process */
  .process-sticky .btn { width: 100%; }
  .t-step { padding-bottom: 18px; }
  .t-body h3 { font-size: 1.25rem; }
  .t-body p { font-size: .92rem; }

  /* proposal band */
  .proposal-band { padding: 60px 0; }
  .proposal-band h2 { font-size: 1.7rem; }

  /* filter chips: single swipeable row instead of many wrapped lines */
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none;
                margin-left: -18px; margin-right: -18px; padding: 0 18px 4px; margin-bottom: 22px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button { white-space: nowrap; flex: 0 0 auto; }
  .gallery-cta { margin-top: 32px; padding: 20px; }
  .gallery-cta h3 { font-size: 1.5rem; }
  .gallery-cta .btn { width: 100%; }

  /* project list */
  .search-box .form-control { padding-top: .7rem; padding-bottom: .7rem; }
  .p-row { padding: 12px 14px; }

  /* clients */
  .clients { padding: 56px 0; }

  /* team */
  .leader-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; }
  .leader-card .avatar { width: 56px; height: 56px; font-size: 1.2rem; margin: 0; flex: 0 0 56px; box-shadow: 0 0 0 4px var(--accent-soft); }
  .leader-card h3 { font-size: 1.15rem; margin-bottom: 0; }
  .team .btn-outline-dark { width: 100%; }
  .assoc-title { margin-top: 26px; }

  /* big CTA */
  .cta-band { padding: 60px 0; }
  .cta-band h2 { font-size: 1.8rem; }
  .cta-promises { flex-direction: column; gap: 8px; }

  /* contact */
  .contact-form { padding: 22px 18px; border-radius: 16px; }
  .form-title { font-size: 1.5rem; }
  .contact-form .btn-accent { width: 100%; }
  .map-wrap iframe { height: 200px; }

  /* footer */
  .footer { padding: 56px 0 24px; }
  .footer-bottom { flex-direction: column; text-align: center; margin-top: 28px; }

  /* modal & toast */
  #enquiryModal .modal-dialog { margin: .75rem; }
  #enquiryModal .modal-header { padding: 20px 20px 2px; }
  #enquiryModal .modal-title { font-size: 1.5rem; }
  #enquiryModal .modal-body { padding: 14px 20px 20px; }
  .toast-container { top: 64px !important; left: 0; right: 0; padding: 0 12px !important; }
  .toast { width: 100%; }

  .tp-toggle { width: 40px; height: 40px; font-size: 1.05rem; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* touch screens: no "stuck" hover states after a tap */
@media (hover: none) {
  .vertical-card:not(.flash):hover { transform: none; box-shadow: none; color: inherit; }
  .vertical-card:not(.flash):hover::before { transform: translateY(101%); }
  .vertical-card:not(.flash):hover p { color: var(--muted); }
  .vertical-card:not(.flash):hover .v-icon { transform: none; background: var(--accent-soft); color: var(--accent-ink); }
  .vertical-card:not(.flash):hover .v-btn { background: transparent; color: var(--accent-ink); }
  .vertical-card:not(.flash):hover .v-link { color: var(--accent-ink); }
  .vertical-card:not(.flash):hover .v-num { color: color-mix(in srgb, var(--accent) 16%, transparent); }
  .mini-feature:hover, .leader-card:hover, .cap-card:hover, .assoc-card:hover, .p-row:hover, .logo-tile:hover { transform: none; box-shadow: none; }
  .t-step:hover .t-body, .point:hover { transform: none; box-shadow: none; }
  .g-item:hover img, .related-card:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-anim { opacity: 1; transform: none; }
}
