/* Buildspace Engineering Solutions
   Based on the Increase "blueprint on vellum" system, re-coloured to the
   Buildspace logo: navy ink, one green signal, red only in the logo. */

:root {
  --ink: #16294a;          /* logo navy: text, linework, primary buttons */
  --ink-2: #2c3f5e;        /* secondary headings, card outlines */
  --abyss: #0e1b30;        /* dark drawing panels */
  --slate: #1e3a42;        /* footer band, from the flyer */
  --graphite: #5f6f82;     /* supporting text */
  --steel: #8b97a5;        /* tertiary text */
  --silver: #c9cfd5;       /* hairlines, input borders */
  --mist: #dfe4e8;         /* card edges */
  --vellum: #eef1f2;       /* page canvas */
  --paper: #ffffff;
  --green: #2e7d3a;        /* logo green: the one signal colour */
  --green-ink: #22612c;    /* green text on light grounds */
  --green-tint: rgba(46, 125, 58, 0.08);
  --logo-red: #d42a20;     /* logo "B." block only, never used elsewhere */

  --sans: "Archivo", "Hind Siliguri", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --shadow-sm: 0 6px 8px rgba(14, 27, 48, 0.04), 0 1px 2px rgba(14, 27, 48, 0.06);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--vellum);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 100;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* ---------- Contact strip ---------- */
.strip {
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.strip .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  padding-block: 6px;
}
.strip a { text-decoration: none; }
.strip a:hover { text-decoration: underline; }
.strip-numbers { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.strip-numbers > span { margin-right: -12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--silver);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px;
}

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-mark { display: flex; align-items: stretch; gap: 0; }
.logo-b {
  background: var(--logo-red); color: #fff;
  font-weight: 800; font-size: 24px; padding: 3px 4px 2px 6px; letter-spacing: -0.02em;
  border-radius: 2px;
}
.logo-word { font-weight: 800; font-size: 26px; letter-spacing: -0.045em; padding-left: 1px; color: var(--ink); }
.logo-sq { width: 18px; background: var(--green); margin-left: 5px; }
.logo-bar { width: 3px; background: var(--green); margin-left: 3px; }
.logo-sub {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; margin-top: 4px; color: var(--ink);
  font-variation-settings: "wdth" 112;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15.5px;
  padding: 8px 10px; border-radius: 6px; color: var(--ink);
}
.nav a:hover { background: var(--vellum); }
.nav a[aria-current="page"] { color: var(--green-ink); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav .btn { margin-left: 10px; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--silver); border-radius: 8px;
  padding: 8px 12px; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer;
}

@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--silver);
    padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 12px; }
  .nav .btn { margin: 12px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  padding: 11px 20px; border-radius: 8px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink);
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.btn-primary:hover { background: var(--abyss); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.nav .btn-primary { color: #fff; padding: 9px 16px; }
.nav .btn-primary:hover { background: var(--abyss); }
.nav .btn-primary[aria-current="page"] { color: #fff; box-shadow: none; border-radius: 8px; padding: 9px 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  color: var(--green-ink); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
  font-variation-settings: "wdth" 92;
}
.h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.035em; font-variation-settings: "wdth" 94; }
.h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.5; color: var(--graphite); max-width: 36em; }
.muted { color: var(--graphite); }
.mono { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-white { background: var(--paper); border-block: 1px solid var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.section-head-center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
.section-head-center .lede { margin-inline: auto; max-width: 34em; }

/* Blueprint grid ground */
.grid-ground {
  background-color: var(--vellum);
  background-image:
    linear-gradient(rgba(22,41,74,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,41,74,.07) 1px, transparent 1px),
    linear-gradient(rgba(22,41,74,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,41,74,.035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--silver); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.sheet {
  background: var(--paper);
  border: 1px solid var(--silver);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sheet-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--mist);
}
.layer-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.layer-btn {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink);
  background: var(--paper); border: 1px solid var(--silver); border-radius: 999px;
  padding: 5px 12px 5px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
}
.layer-btn::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--sw, var(--ink)); }
.layer-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--vellum); }
.layer-btn:hover { border-color: var(--ink-2); }
.sheet-note { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.sheet-body { padding: 8px; }
.sheet-foot {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--mist);
  font-size: 13px; color: var(--graphite);
}
.sheet-foot div { padding: 10px 14px; border-right: 1px solid var(--mist); }
.sheet-foot div:last-child { border-right: 0; }
.sheet-foot b { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; }

/* Drawing */
.drawing { width: 100%; height: auto; }
.drawing .layer { transition: opacity .35s ease; }
.drawing.focus .layer { opacity: .12; }
.drawing.focus .layer.on { opacity: 1; }
.drawing text { font-family: var(--mono); font-size: 11.5px; fill: var(--graphite); letter-spacing: 0; }
.drawing .arch { stroke: var(--ink); fill: none; stroke-width: 1.4; }
.drawing .arch-fine { stroke: var(--ink); fill: none; stroke-width: .7; }
.drawing .struct { stroke: #4a6178; fill: none; stroke-width: 2.2; }
.drawing .struct-fine { stroke: #4a6178; fill: none; stroke-width: .8; stroke-dasharray: 6 4 1 4; }
.drawing .struct-fill { fill: rgba(74,97,120,.12); stroke: #4a6178; stroke-width: 1; }
.drawing .elec { stroke: var(--green); fill: none; stroke-width: 1.6; }
.drawing .elec-fill { fill: var(--green); }
.drawing .dim { stroke: var(--steel); stroke-width: .7; fill: none; }

@media (prefers-reduced-motion: no-preference) {
  .drawing.animate .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 1.6s cubic-bezier(.6,.1,.3,1) forwards; animation-delay: var(--d, 0s); }
  .drawing.animate .fade { opacity: 0; animation: fade .6s ease forwards; animation-delay: var(--d, 1.2s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Credentials row ---------- */
.creds { background: var(--paper); border-bottom: 1px solid var(--silver); }
.creds .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cred { padding: 24px 28px; border-left: 1px solid var(--mist); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred:last-child { padding-right: 0; }
.cred b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.cred span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--graphite); }
@media (max-width: 820px) {
  .creds .wrap { grid-template-columns: 1fr; }
  .cred, .cred:first-child, .cred:last-child { padding: 16px 0; border-left: 0; border-top: 1px solid var(--mist); }
  .cred:first-child { border-top: 0; }
}

/* ---------- Disciplines ---------- */
.disciplines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--silver); border-radius: 12px; background: var(--paper); overflow: hidden; }
.discipline { padding: 28px 28px 32px; border-right: 1px solid var(--mist); display: flex; flex-direction: column; }
.discipline:last-child { border-right: 0; }
.discipline .icon { width: 52px; height: 52px; margin-bottom: 22px; }
.discipline h3 { margin-bottom: 10px; }
.discipline p { color: var(--graphite); font-size: 16px; }
.discipline ul { list-style: none; padding: 0; margin: 4px 0 24px; font-size: 15px; }
.discipline li { padding: 8px 0; border-top: 1px solid var(--mist); }
.discipline .text-link { margin-top: auto; }
@media (max-width: 900px) {
  .disciplines { grid-template-columns: 1fr; }
  .discipline { border-right: 0; border-bottom: 1px solid var(--mist); }
  .discipline:last-child { border-bottom: 0; }
}

.icon-ring { stroke: var(--green); fill: none; stroke-width: 2; }
.icon-line { stroke: var(--green); fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: 14px; background: var(--paper); position: relative; z-index: 1; margin-bottom: 20px;
}
.step::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0; border-top: 1px dashed var(--steel); }
.step:last-child::after { display: none; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--graphite); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 56px; }
  .step::before { position: absolute; left: 0; top: -4px; margin: 0; }
  .step::after { top: 30px; left: 17px; right: auto; bottom: -32px; border-top: 0; border-left: 1px dashed var(--steel); }
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.team-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .team-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid-4 { grid-template-columns: 1fr; } }
.person { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.person .role { font-size: 14px; color: var(--green-ink); font-weight: 600; margin-bottom: 6px; }
.person h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; }
.person .quals { font-size: 15px; color: var(--graphite); margin: 0 0 14px; }
.person .reg { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--mist); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.initials {
  width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--silver); margin-bottom: 18px;
  display: grid; place-items: center; font-weight: 600; font-size: 19px; letter-spacing: -0.02em;
  background: var(--vellum);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--silver); }
.page-hero .crumbs { font-size: 14px; color: var(--graphite); margin-bottom: 20px; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -0.045em; line-height: 1; font-variation-settings: "wdth" 92; margin-bottom: 20px; max-width: 14em; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Two-col content ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 72px; }
.split + .split { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--silver); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.spec { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--silver); }
.spec li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--silver); }
.spec li b { font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.spec li span { color: var(--graphite); font-size: 16px; }
@media (max-width: 600px) { .spec li { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--silver); background: var(--paper); border-radius: 4px; padding: 5px 10px; font-size: 14.5px; }

.panel { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: 24px; }
.panel h3 { margin-bottom: 8px; }

/* Services index */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: 24px; }
.svc h3 { font-size: 19px; margin-bottom: 8px; }
.svc p { margin: 0; color: var(--graphite); font-size: 15.5px; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

.group-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.group-title svg { width: 40px; height: 40px; flex: none; }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.proj { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; overflow: hidden; }
.proj-img { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--mist); display: grid; place-items: center; color: var(--steel); font-size: 14px; }
.proj-body { padding: 18px 20px 20px; }
.proj-body h3 { font-size: 19px; margin-bottom: 6px; }
.proj-body p { margin: 0; color: var(--graphite); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 13px; border-radius: 4px; padding: 2px 8px; border: 1px solid var(--silver); }
.tag-g { border-color: rgba(46,125,58,.35); background: var(--green-tint); color: var(--green-ink); }

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }

.notice {
  border: 1px dashed var(--steel); border-radius: 8px; padding: 14px 16px; font-size: 15px; color: var(--graphite);
  background: var(--paper); margin-bottom: 28px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--silver); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--silver); }
.contact-list .k { font-size: 14px; color: var(--graphite); display: block; margin-bottom: 4px; }
.contact-list a { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; display: block; }
.contact-list a:hover { color: var(--green-ink); }

.form { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--silver); border-radius: 8px; padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.field fieldset { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--silver); border-radius: 8px; padding: 9px 12px; font-size: 15px; font-weight: 400; color: var(--ink); margin: 0; cursor: pointer; }
.checks input { width: auto; accent-color: var(--green); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.form-msg { font-size: 15px; margin-top: 12px; color: var(--green-ink); }
.form-msg.err { color: #9a2a1f; }

/* About */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta h2 { color: #fff; }
.cta p { color: #b9c4d3; margin: 16px 0 0; max-width: 34em; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn-primary:hover { background: var(--vellum); }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.08); }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #c6d3d6; font-size: 15px; }
.site-footer .wrap { padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo-word, .site-footer .logo-sub { color: #fff; }
.foot-tag { margin-top: 18px; max-width: 26em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #93a7ab; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Placeholder copy for the client to replace */
.tbf { color: var(--steel); font-style: italic; font-weight: 400; background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(139,151,165,.12) 6px 12px); padding: 0 4px; border-radius: 3px; }
.cta .tbf { color: #93a3b8; }

/* ---------- Language switch ---------- */
.lang-btn {
  font: inherit; font-family: "Hind Siliguri", var(--sans); font-size: 15px; font-weight: 600;
  color: var(--ink); background: var(--paper); border: 1px solid var(--silver); border-radius: 8px;
  padding: 7px 12px; cursor: pointer; line-height: 1.2; white-space: nowrap;
}
.lang-btn:hover { border-color: var(--ink); background: var(--vellum); }
.lang-btn[lang="en"] { font-family: var(--sans); }
@media (max-width: 960px) {
  .site-header .wrap { gap: 10px; }
  .logo { margin-right: auto; }
  .lang-btn { order: 1; }
  .menu-btn { order: 2; }
}

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15.5px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(14, 27, 48, 0.22), 0 2px 4px rgba(14, 27, 48, 0.12);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { background: var(--green-ink); }
.wa-float:focus-visible { outline-color: var(--ink); }
@media (max-width: 600px) {
  .wa-float { padding: 14px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* keep the footer's last line clear of the button */
.site-footer .foot-base { padding-bottom: 56px; }

/* ---------- Bangla typography ---------- */
/* Bengali script needs room above and below for vowel signs, and no negative tracking. */
:root[lang="bn"] body { letter-spacing: 0; line-height: 1.7; }
:root[lang="bn"] h1, :root[lang="bn"] h2, :root[lang="bn"] h3, :root[lang="bn"] .display,
:root[lang="bn"] .page-hero h1, :root[lang="bn"] .h2, :root[lang="bn"] .h3 { letter-spacing: 0; line-height: 1.3; }
:root[lang="bn"] .display { font-size: clamp(36px, 5vw, 64px); }
:root[lang="bn"] .page-hero h1 { font-size: clamp(32px, 4.4vw, 56px); }
:root[lang="bn"] .logo-sub { letter-spacing: 0.12em; }

/* second footer number lines up under the first, after the "Phone:" label */
.foot-phone-2 { display: inline-block; margin-left: 3.4em; }
:root[lang="bn"] .foot-phone-2 { margin-left: 2.4em; }

/* section links (services.html#arch) land below the sticky header */
.split[id] { scroll-margin-top: 96px; }

/* ---------- Motion ----------
   Slow, soft easing only; nothing loops or pulses. All of it is skipped
   for visitors who ask their device to reduce motion. */
:root { --ease-soft: cubic-bezier(.22, .61, .36, 1); }

@media (prefers-reduced-motion: no-preference) {
  /* page load: hero copy settles in, one line after another */
  .hero-grid > div:first-child > *,
  .page-hero .wrap > *,
  .page-hero-grid > div:first-child > * {
    animation: settle .9s var(--ease-soft) backwards;
  }
  .hero-grid > div:first-child > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
  .hero-grid > div:first-child > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .24s; }
  .page-hero .wrap > :nth-child(4) { animation-delay: .36s; }
  .hero .sheet { animation: settle 1.1s var(--ease-soft) .2s backwards; }

  /* scroll: sections drift up gently the first time they appear (class added by main.js) */
  .reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
  .reveal-ready .reveal.in { opacity: 1; transform: none; }

  /* hover: a small lift, no bounce */
  .discipline, .person, .svc, .proj, .panel { transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft); }
  .person:hover, .svc:hover, .proj:hover, .panel:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 27, 48, .07); }
  .btn, .layer-btn, .lang-btn, .nav a, .text-link, .wa-float, .menu-btn {
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s var(--ease-soft), text-decoration-color .25s ease;
  }
  .btn:hover, .wa-float:hover { transform: translateY(-1px); }

  /* WhatsApp button floats in after the page has settled */
  .wa-float { animation: settle .8s var(--ease-soft) 1.2s backwards; }

  /* mobile menu eases open */
  .nav.open { animation: menu-in .3s var(--ease-soft); }

  /* language switch cross-fade (class toggled by i18n.js) */
  main, .site-header .wrap, .strip, .site-footer, .wa-float span { transition: opacity .18s ease; }
  .lang-fading main, .lang-fading .site-header .wrap, .lang-fading .strip, .lang-fading .site-footer, .lang-fading .wa-float span { opacity: 0; }
}

@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* divider between the two numbers in the top bar */
.strip-numbers a + a { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .45); }

/* ---------- Electrical & fire block (services page) ---------- */
.svc-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--silver); scroll-margin-top: 96px; }
.svc-block:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.photo-row { display: grid; grid-template-columns: 1.35fr 1fr 1.35fr; gap: 16px; margin: 8px 0 32px; align-items: end; }
.photo { margin: 0; background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; overflow: hidden; }
.photo .crop { width: 100%; background-repeat: no-repeat; }
.photo figcaption { padding: 12px 16px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border-top: 1px solid var(--mist); }
@media (max-width: 760px) {
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row .photo:nth-child(2) { grid-row: span 2; }
}
@media (max-width: 480px) {
  .photo-row { grid-template-columns: 1fr; }
  .photo-row .photo:nth-child(2) { grid-row: auto; }
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--mist); border-radius: 10px; padding: 16px 18px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.chk { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.chk circle { fill: var(--green-tint); stroke: var(--green); stroke-width: 1.5; }
.chk path { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Discipline tabs (home) ---------- */
.disc-tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.disc-tab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  font: inherit; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
  background: transparent; border: 1px solid var(--silver); border-radius: 12px;
  padding: 14px 18px; cursor: pointer; position: relative;
}
.disc-tab .icon { width: 40px; height: 40px; flex: none; }
.disc-tab:hover { background: var(--paper); border-color: var(--ink-2); }
.disc-tab[aria-selected="true"] { background: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.disc-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green);
}
.disc-panel { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.disc-panel:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.disc-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 24px; margin-bottom: 24px; }
.disc-panel-head h3 { margin-bottom: 6px; }
.disc-panel-head p { margin: 0; }
.disc-panel .photo-row { margin-top: 0; }
.disc-panel .checklist li { background: var(--vellum); border-color: transparent; }
.checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .disc-tab { flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 15px; padding: 12px 8px; }
  .disc-tab .icon { width: 34px; height: 34px; }
  .disc-tab[aria-selected="true"]::after { left: 12px; right: 12px; }
}
@media (max-width: 560px) { .checklist-2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .disc-tab { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
  .disc-panel:not([hidden]) { animation: settle .5s var(--ease-soft); }
}

/* ---------- Plumbing layer ---------- */
.drawing .plumb { stroke: #1f6fb2; fill: none; stroke-width: 1.6; }
.drawing .plumb-dash { stroke: #1f6fb2; fill: none; stroke-width: 1.6; stroke-dasharray: 6 4; }
.sheet-foot { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .sheet-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sheet-foot div:nth-child(2) { border-right: 0; } .sheet-foot div:nth-child(-n+2) { border-bottom: 1px solid var(--mist); } }

/* ---------- Five discipline tabs ---------- */
.disc-tablist { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.disc-tab { font-size: 16px; gap: 10px; padding: 12px 14px; }
.disc-tab .icon { width: 34px; height: 34px; }
@media (max-width: 1080px) {
  .disc-tablist { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .disc-tab { flex: 0 0 auto; scroll-snap-align: start; flex-direction: row; text-align: left; font-size: 15px; }
}

/* ---------- Services page: jump links, structural cards ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 48px; }
.jump a { text-decoration: none; }
.jump a::before { display: none; }
.type-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.type-card { background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: 24px; }
.type-card h3 { margin-bottom: 6px; }
.type-card .muted { font-size: 15.5px; margin-bottom: 14px; }
.type-card ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.type-card li { padding: 8px 0 8px 18px; border-top: 1px solid var(--mist); position: relative; }
.type-card li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 1px; background: var(--green); }
.scope-title { margin-bottom: 16px; }
@media (max-width: 820px) { .type-cards { grid-template-columns: 1fr; } }

/* ---------- Watermarks: modern building drawings ----------
   main.js places one per section in open space (never on text, cards or photos),
   trying corners and sizes so they stay visible on every screen. */
.page-hero, .section, .svc-block { position: relative; }
.wm {
  position: absolute; z-index: 1; pointer-events: none;
  background: center / contain no-repeat;
  mix-blend-mode: multiply;
}
.wm-d { opacity: .6; }
@media print { .wm { display: none; } }

/* ---------- Projects gallery ---------- */
.gallery-title { margin: 0 0 24px; font-size: clamp(26px, 3vw, 38px); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - 42px) / 4)), 1fr)); gap: 14px; }
/* even tiles so photos read left to right in order; the viewer shows each one uncropped */
.gallery .g-item { margin: 0; }
.gallery .g-item img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.g-item {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--mist);
  border-radius: 10px; overflow: hidden; position: relative; cursor: zoom-in; break-inside: avoid;
}
.g-item img { display: block; width: 100%; height: auto; }
.g-item:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .g-item img { transition: transform .6s var(--ease-soft); }
  .g-item:hover img { transform: scale(1.025); }
}

/* small logo chip on each photo */
.photo-mark {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  display: inline-flex; align-items: stretch; line-height: 1;
  background: rgba(255, 255, 255, .92); border-radius: 5px; padding: 4px 6px 4px 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18); pointer-events: none;
}
.photo-mark .logo-b { font-size: 11px; padding: 2px 2px 1px 3px; }
.photo-mark .logo-word { font-size: 12.5px; }
.photo-mark .logo-sq { width: 8px; margin-left: 3px; }

/* featured homes */
.feat-list { display: grid; gap: 40px; margin-bottom: 64px; }
.feat h3 { margin-bottom: 14px; }
.feat-grid { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-grid .g-item { margin: 0; }
.feat-grid .g-item img { aspect-ratio: 16 / 9; object-fit: cover; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 18, 32, .9); }
.lightbox figure { margin: 0; position: absolute; inset: 56px 64px; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; display: block; }
.lightbox .lb-mark { right: auto; bottom: auto; }
.lb-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; font-size: 24px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #c9d3df; font-size: 14px; margin: 0; }
@media (max-width: 600px) {
  .lightbox figure { inset: 56px 12px 64px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Team photos ---------- */
.avatar { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; object-position: center 30%; margin-bottom: 18px; border: 1px solid var(--mist); background: var(--vellum); }
.team-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.team-grid-5 .person { padding: 18px; }
.team-grid-5 .person h3 { font-size: 19px; }
@media (max-width: 1080px) { .team-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .team-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .team-grid-5 { grid-template-columns: 1fr; } }

/* gallery preview: extra photos stay hidden until "View more" (only when JS is running) */
.gallery.collapsed .is-extra { display: none; }
.more-row { display: flex; justify-content: center; margin-top: 18px; }
.more-row[hidden] { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-grid .group-title .icon { width: 36px; height: 36px; }
.about-grid .h3 { font-size: 19px; }
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } }
.founder { display: flex; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; padding: 20px; }
.founder-photo { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; flex: none; }
@media (max-width: 520px) { .founder { flex-direction: column; align-items: flex-start; } }

/* electrical site photos are portrait: taller tiles, less cropping */
.gallery-title-2 { margin-top: 64px; }
.gallery-tall { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery.gallery-tall .g-item img { aspect-ratio: 3 / 4; object-position: center; }

/* ---------- Home hero headline: calmer, normal width, balanced lines ---------- */
.hero-h1 {
  font-size: clamp(36px, 4.3vw, 58px);
  font-weight: 650;
  font-variation-settings: "wdth" 100;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 11em;
  text-wrap: balance;
}
.hero .hero-motto { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; margin-bottom: 32px; }
.hero-motto span { display: block; }
:root[lang="bn"] .hero-h1 { letter-spacing: 0; line-height: 1.3; }

/* About: building drawings fill the empty left column under each heading (part of the page, never on text) */
.about-fill { display: block; width: min(100%, 300px); margin-top: 28px; background: center bottom / contain no-repeat; opacity: .6; }
.split .about-fill[style*="glasstower"] { width: min(100%, 130px); }
@media (max-width: 860px) { .about-fill { display: none; } }

/* Services: extra items stay hidden until "Show all" (only while JS is running) */
.svc-block.collapsed .checklist .is-extra { display: none; }
.svc-more { margin-top: 16px; }

/* Three-beat headline: one word per line, full stops in the logo green */
.hero-beats { font-size: clamp(44px, 5.4vw, 76px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; max-width: none; margin-bottom: 28px; }
.hero-beats span { display: block; }
.hero-beats b { color: var(--green); font-weight: inherit; }
:root[lang="bn"] .hero-beats { letter-spacing: 0; line-height: 1.25; font-size: clamp(38px, 4.6vw, 64px); }

.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Home hero: Kurigram render, hairlines, header floating over it ---------- */
:root { --frame-pad: clamp(20px, 7.2vw, 140px); --head-h: 88px; --vline: 61%; --hair: rgba(22, 41, 74, .14); }
.hero-frame { padding-inline: var(--frame-pad); }
.hero.hero-photo {
  position: relative; overflow: hidden; background: var(--vellum);
  display: grid; grid-template-rows: auto 1fr auto;
  min-height: max(640px, min(100vh, 980px)); padding: var(--head-h) 0 0;
}
/* the photo runs from the very top to the bottom; long, soft fade on the left, gentle fades top and bottom */
.hero-bg {
  position: absolute; top: 0; bottom: 0; right: 0; width: 63%;
  background: url(../images/featured/kurigram-3.webp) 42% 40% / cover no-repeat;
  --fade: linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 5%, rgba(0,0,0,.3) 11%, rgba(0,0,0,.62) 18%, rgba(0,0,0,.88) 25%, #000 32%);
  -webkit-mask-image: var(--fade), linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to bottom, transparent 0px, transparent calc(var(--head-h) + 6px), rgba(0,0,0,.45) calc(var(--head-h) + 70px), #000 calc(var(--head-h) + 160px));
  -webkit-mask-composite: source-in, source-in;
  mask-image: var(--fade), linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to bottom, transparent 0px, transparent calc(var(--head-h) + 6px), rgba(0,0,0,.45) calc(var(--head-h) + 70px), #000 calc(var(--head-h) + 160px));
  mask-composite: intersect;
}
.hero-top, .hero-main, .hero-bottom { position: relative; z-index: 1; }
.hero-top { border-bottom: 1px solid var(--hair); }
.hero-top .hero-frame { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px 30px; }
.hero-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero-tag { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 8px 12px; }
.hero-vline { position: absolute; z-index: 1; top: var(--head-h); bottom: 0; left: var(--vline); width: 1px; background: rgba(22, 41, 74, .22); }
.hero-gline { position: absolute; height: 1px; background: var(--green); opacity: .8; }
.hero-main { display: flex; align-items: center; }
.hero-main .hero-frame { width: 100%; padding-block: clamp(40px, 6vh, 90px); }
.hero-copy { max-width: min(600px, 40vw); }
.hero-photo .hero-beats { font-size: clamp(48px, 5.2vw, 104px); line-height: .98; margin-bottom: 32px; }
@media (max-width: 1100px) { .hero-photo .hero-beats { font-size: clamp(44px, 9vw, 80px); } }
.hero-photo .hero-motto { font-size: clamp(17px, 1.1vw, 20px); line-height: 1.6; max-width: 31em; margin-bottom: 40px; color: var(--graphite); }

.hero-bottom { border-top: 1px solid var(--hair); min-height: clamp(90px, 14vh, 150px); display: flex; align-items: flex-end; }
.hero-bottom .hero-frame { width: 100%; display: flex; justify-content: flex-end; padding-block: 0 30px; }
.hero-caption { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-right: 200px; }
.hero-dot { position: absolute; top: 0; left: var(--vline); width: 26px; height: 26px; border: 1px solid rgba(22, 41, 74, .3); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--green); opacity: .7; }

/* header: aligned with the hero frame; floats over the photo, white once scrolled */
.home .site-header .wrap { max-width: none; padding-inline: var(--frame-pad); min-height: var(--head-h); }
.home .site-header { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); background: transparent; border-bottom-color: transparent; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.home .site-header.scrolled, .home .site-header:has(.nav.open) { background: var(--paper); border-bottom-color: var(--silver); box-shadow: 0 1px 12px rgba(14, 27, 48, .06); }


@media (max-width: 1100px) { .hero-caption { padding-right: 0; } }
@media (max-width: 960px) { .hero-vline, .hero-gline, .hero-dot { display: none; } .hero-eyebrow { font-size: 11px; } }
@media (max-width: 1100px) {
  :root { --head-h: 72px; }
  .hero.hero-photo { display: block; min-height: 0; padding-top: var(--head-h); }
  .hero-bg { position: relative; width: 100%; height: 320px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 40%); mask-image: linear-gradient(to top, transparent 0%, #000 40%); }
  .hero-top { position: absolute; top: var(--head-h); left: 0; right: 0; border: 0; }
  .hero-top .hero-frame { justify-content: flex-end; padding-block: 16px; }
  .hero-eyebrow { display: none; }
  .hero-copy { max-width: 600px; }
  .hero-bg { height: clamp(300px, 46vw, 460px); }
  .hero-main .hero-frame { padding-block: 0 12px; margin-top: -48px; }
  .hero-bottom { min-height: 0; border-top: 0; }
  .hero-bottom .hero-frame { padding-block: 8px 28px; justify-content: flex-start; }
}
:root[lang="bn"] .hero-eyebrow, :root[lang="bn"] .hero-caption, :root[lang="bn"] .hero-tag { letter-spacing: 0; text-transform: none; font-size: 14px; }

/* header: logo on the left, menu and language button grouped on the right */
.site-header .wrap { justify-content: flex-start; }
.site-header .logo { margin-right: auto; }
.nav { margin-right: 14px; }
@media (max-width: 960px) { .nav { margin-right: 0; } }

/* ---------- Home: Our services, accordion + layered drawing ---------- */
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-title { font-size: clamp(40px, 5vw, 72px); margin-bottom: 22px; }
.svc-left .lede { margin-bottom: 36px; }
.acc { border-top: 1px solid var(--silver); }
.acc-item { border-bottom: 1px solid var(--silver); }
.acc-h { margin: 0; font-size: inherit; }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  font: inherit; color: var(--ink); background: none; border: 0; padding: 22px 4px; cursor: pointer;
}
.acc-sw { width: 11px; height: 11px; flex: none; background: var(--sw); border: 1.5px solid var(--sw); }
.acc-sw[style*="transparent"] { border-color: var(--ink); }
.acc-name { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.acc-sum { margin-left: auto; font-size: 14.5px; color: var(--graphite); text-align: right; }
.acc-plus { position: relative; width: 16px; height: 16px; flex: none; margin-left: 12px; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.6px; background: var(--ink); transform: translateY(-50%); transition: transform .25s ease; }
.acc-plus::after { transform: translateY(-50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-plus::after { transform: translateY(-50%) rotate(0deg); }
.acc-btn:hover .acc-name { color: var(--green-ink); }
.acc-panel { padding: 0 4px 26px 29px; }
.acc-by { margin: 0 0 16px; font-size: 15px; }
.acc-panel .checklist { margin-bottom: 18px; }
.acc-panel .checklist li { background: var(--paper); }
.svc-figure { margin: 0; position: sticky; top: 96px; }
.svc-drawing { border: 1px solid var(--silver); background-color: var(--paper); padding: 8px; }
.svc-note { margin-top: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
:root[lang="bn"] .svc-note { letter-spacing: 0; text-transform: none; font-size: 14px; }
@media (max-width: 960px) {
  .svc-split { grid-template-columns: 1fr; }
  .svc-figure { position: static; }
  .acc-sum { display: none; }
  .acc-plus { margin-left: auto; }
}
@media (max-width: 560px) { .acc-panel { padding-left: 4px; } }

/* Our services: aligned with the hero/logo frame, rounded cards like the rest of the site */
.svc-frame { padding-inline: var(--frame-pad); }
.svc-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.acc { border: 1px solid var(--mist); border-radius: 12px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-item:last-child { border-bottom: 0; }
.acc-item { border-bottom-color: var(--mist); }
.acc-btn { padding: 20px 22px; }
.acc-btn:hover { background: var(--vellum); }
.acc-name { white-space: nowrap; }
.acc-sum { white-space: nowrap; font-size: 14px; }
.acc-sw { border-radius: 3px; }
.acc-panel { padding: 0 22px 24px 47px; }
.acc-panel .checklist li { background: var(--vellum); border-color: transparent; }
.svc-drawing { border: 1px solid var(--mist); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); padding: 12px; }
@media (max-width: 1200px) { .acc-sum { display: none; } .acc-plus { margin-left: auto; } }
@media (max-width: 560px) { .acc-panel { padding-left: 22px; } }

/* Headings site-wide match the home hero: normal width, same weight and tracking */
.page-hero h1, .h2, h2, .display {
  font-variation-settings: "wdth" 100;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.page-hero h1 { line-height: 1.04; }
.h2, h2 { line-height: 1.08; }
:root[lang="bn"] .page-hero h1, :root[lang="bn"] .h2, :root[lang="bn"] h2 { letter-spacing: 0; line-height: 1.3; }

/* One frame for the whole site: same width, side padding and header as the home page */
.wrap { max-width: none; padding-inline: var(--frame-pad); }
.site-header .wrap { min-height: var(--head-h); }
@media (max-width: 860px) { .site-header .wrap { min-height: 72px; } }

/* "Request a consultation" buttons in the logo green (header, hero, call-to-action band).
   Targeted by class, not link, because hosts like Netlify rewrite contact.html to /contact. */
.btn.btn-consult, .nav .btn.btn-consult, .cta .btn.btn-consult, .nav .btn.btn-consult[aria-current="page"] {
  background: var(--green); border-color: var(--green); color: #fff;
}
.btn.btn-consult:hover, .nav .btn.btn-consult:hover, .cta .btn.btn-consult:hover { background: var(--green-ink); border-color: var(--green-ink); color: #fff; }

/* Our services: list sits at the top beside the drawing; panels slide open instead of jumping */
.svc-split { align-items: start; }
.svc-section { overflow-anchor: none; }
.acc-panel { display: grid; grid-template-rows: 0fr; grid-template-columns: minmax(0, 1fr); padding: 0; transition: grid-template-rows .45s var(--ease-soft); }
.acc-inner { width: 100%; }
.acc-panel.open { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; min-height: 0; padding: 0 22px 0 47px; opacity: 0; transition: opacity .3s ease, padding .45s var(--ease-soft); }
.acc-panel.open .acc-inner { opacity: 1; padding-bottom: 24px; }
@media (max-width: 560px) { .acc-inner { padding-left: 22px; } }
@media (prefers-reduced-motion: reduce) { .acc-panel, .acc-inner { transition: none; } }
@media (max-width: 960px) {
  .svc-split { grid-template-columns: minmax(0, 1fr); }
  .svc-figure { position: static; }
}

/* Inner page headers: a project photo on the right, faded in like the home hero */
.page-hero.page-hero-photo { position: relative; overflow: hidden; background: var(--vellum); min-height: clamp(360px, 46vh, 520px); display: flex; align-items: center; }
.page-hero-photo .hero-bg {
  position: absolute; top: 0; bottom: 0; right: 0; width: 56%;
  background: var(--img) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.3) 12%, rgba(0,0,0,.75) 24%, #000 34%), linear-gradient(to top, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.3) 12%, rgba(0,0,0,.75) 24%, #000 34%), linear-gradient(to top, transparent 0%, #000 18%);
  mask-composite: intersect;
}
.page-hero-photo .wrap { position: relative; z-index: 1; width: 100%; }
.page-hero-photo .wrap > * { max-width: min(640px, 44vw); }
@media (max-width: 860px) {
  .page-hero.page-hero-photo { display: block; min-height: 0; padding-top: 0; }
  .page-hero-photo .hero-bg { position: relative; width: 100%; height: 240px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%); mask-image: linear-gradient(to top, transparent 0%, #000 45%); }
  .page-hero-photo .wrap { margin-top: -24px; }
  .page-hero-photo .wrap > * { max-width: none; }
}

/* Inner page photos: a slow, gentle zoom-in when the page opens */
@keyframes photo-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero-photo .hero-bg { transform-origin: 60% 50%; animation: photo-zoom 2.2s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) { .page-hero-photo .hero-bg { animation: none; } }

/* ---------- Inner pages: hero line system ---------- */
.page-hero.page-hero-photo { display: grid; grid-template-rows: auto 1fr; align-items: center; padding-top: 0; }
.page-hero-photo .hero-top { align-self: start; }
.page-hero-photo > .wrap { padding-block: clamp(32px, 5vw, 64px) 0; }
@media (max-width: 1100px) {
  .page-hero.page-hero-photo { display: block; }
  .page-hero-photo .hero-top { top: 0; }
}

/* ---------- Inner pages: alternating full-width bands ---------- */
.section:has(> .wrap > .bands) { padding-bottom: 0; }
.section:has(> .wrap > .bands:first-child) { padding-top: 0; }
.bands > .band {
  margin: 0 calc(-1 * var(--frame-pad)); padding: clamp(56px, 7vw, 100px) var(--frame-pad);
  border-top: 0;
}
.bands > .band:nth-child(even) { background: var(--paper); border-block: 1px solid var(--mist); }
.bands > .band.split { display: grid; }
.bands .gallery-title { margin-top: 0; }
.jump { margin-bottom: 8px; }

/* ---------- One large photo per page ---------- */
.bands > .band.band-photo { padding-block: clamp(40px, 5vw, 72px); }
.photo-band { position: relative; margin: 0; }
.photo-band img { display: block; width: 100%; height: clamp(260px, 38vw, 560px); object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); }
.photo-band .photo-mark { bottom: 50px; right: 14px; }
.photo-band figcaption { margin-top: 12px; font-size: 14px; color: var(--graphite); }

/* ---------- Contact: details on a navy panel ---------- */
.contact-panel { background: var(--ink); color: #dfe6ef; border-radius: 12px; padding: clamp(24px, 3vw, 40px); align-self: start; }
.contact-panel h2 { color: #fff; margin-bottom: 18px; }
.contact-panel .contact-list { border-top-color: rgba(255,255,255,.18); }
.contact-panel .contact-list li { border-bottom-color: rgba(255,255,255,.18); }
.contact-panel .contact-list .k { color: #9fb0c6; }
.contact-panel .contact-list a, .contact-panel address { color: #fff; }
.contact-panel .contact-list a:hover { color: #9fd3a6; }

/* ---------- Services: each discipline beside its own layer of the building drawing ---------- */
.bands > .svc-block.band { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--head-h) + 24px); }
.svc-by { margin: -8px 0 24px; }
.svc-art { margin: 0; }
.svc-art-frame { background-color: var(--paper); border: 1px solid var(--mist); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 10px; overflow: hidden; }
.svc-art .drawing.focus .layer { opacity: .16; }
.svc-art .drawing.focus .layer.on { opacity: 1; }
.svc-main .lede { margin-top: 0; }
.svc-main .type-cards { margin-bottom: 28px; }
.svc-main .svc-more { margin-top: 18px; }
@media (max-width: 960px) {
  .bands > .svc-block.band { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .svc-aside { position: static; }
  .svc-art { max-width: 460px; }
}
@media (prefers-reduced-motion: no-preference) {
  .svc-art .drawing:not(.animate) .draw, .svc-art .drawing:not(.animate) .fade { opacity: 0; }
}

/* Services rebalance: heading across the top, compact drawing beside the list at a similar height */
.bands > .svc-block.band { display: block; }
.svc-head { margin-bottom: 28px; }
.svc-head .svc-by { margin: -8px 0 0; }
.svc-body { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-art { position: sticky; top: calc(var(--head-h) + 24px); max-width: none; }
.svc-art-frame { padding: 6px; }
.svc-art .svc-note { margin-top: 10px; }
@media (max-width: 960px) {
  .svc-body { grid-template-columns: minmax(0, 1fr); }
  .svc-art { position: static; max-width: 460px; }
}
.svc-block:not(#struct) .svc-body { align-items: center; }
.svc-block:not(#struct) .svc-art { position: static; }

/* ---------- Services: discipline index card (jump menu) ---------- */
.section:has(> .wrap > .jump) { padding-top: clamp(36px, 4.5vw, 64px); }
.jump {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 0;
  background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.jump .jump-cell {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 22px 22px 20px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--mist);
}
.jump .jump-cell:first-child { border-left: 0; }
.jump .jump-cell::before { content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sw); }
.jump-cell .icon { grid-row: 1 / 3; width: 40px; height: 40px; }
.jump-name { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.jump-count { font-size: 14px; color: var(--graphite); }
.jump .jump-cell:hover { background: var(--vellum); }
.jump .jump-cell:hover .jump-name { color: var(--green-ink); }
.jump .jump-cell:focus-visible { outline-offset: -3px; }
@media (max-width: 1100px) {
  .jump { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jump .jump-cell { border-top: 1px solid var(--mist); }
  .jump .jump-cell:nth-child(-n+3) { border-top: 0; }
  .jump .jump-cell:nth-child(3n+1) { border-left: 0; }
}
@media (max-width: 600px) {
  .jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jump .jump-cell { padding: 16px; column-gap: 10px; border-left: 1px solid var(--mist); border-top: 1px solid var(--mist); }
  .jump .jump-cell:nth-child(-n+2) { border-top: 0; }
  .jump .jump-cell:nth-child(odd) { border-left: 0; }
  .jump .jump-cell:nth-child(3) { border-top: 1px solid var(--mist); }
  .jump .jump-cell:last-child { grid-column: 1 / -1; }
  .jump-cell .icon { width: 32px; height: 32px; }
  .jump-name { font-size: 15px; }
}


/* Phones & tablets: taller hero photo, short fade, headline overlapping the faded edge */
@media (max-width: 1100px) {
  .hero-photo { --ph: clamp(360px, 60vh, 560px); position: relative; }
  .hero-photo .hero-bg {
    height: var(--ph); background-position: 42% 60%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.5) 10%, #000 22%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.5) 10%, #000 22%);
  }
  .hero-photo .hero-main .hero-frame { margin-top: -36px; }
  .hero-photo .hero-caption {
    position: absolute; z-index: 2; left: var(--frame-pad); top: calc(var(--head-h) + var(--ph) * .62);
    background: rgba(255, 255, 255, .88); padding: 5px 10px; border-radius: 4px; font-size: 11px;
  }
  .hero-photo .hero-bottom, .hero-photo .hero-bottom .hero-frame { position: static; min-height: 0; height: 0; padding: 0; border: 0; overflow: visible; }
}

/* Phones & tablets: the photo runs the full height of the hero, fading to a light wash behind the text */
@media (max-width: 1100px) {
  .hero.hero-photo { position: relative; }
  .hero-photo .hero-bg {
    position: absolute; top: var(--head-h); left: 0; right: 0; bottom: 0; width: auto; height: auto;
    background-position: 38% 0%; background-size: auto 78%; background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(var(--ph) * .62), rgba(0,0,0,.4) calc(var(--ph) * 1.02), rgba(0,0,0,0) 74%);
    mask-image: linear-gradient(to bottom, #000 0, #000 calc(var(--ph) * .62), rgba(0,0,0,.4) calc(var(--ph) * 1.02), rgba(0,0,0,0) 74%);
  }
  .hero-photo .hero-main { position: relative; z-index: 1; padding-top: calc(var(--ph) * .8); }
  .hero-photo .hero-main .hero-frame { margin-top: 0; }
  .hero-photo .hero-motto { color: var(--ink-2); }
  .hero-photo .btn-ghost { background: rgba(255, 255, 255, .85); }
}

/* Phones & tablets (final): photo fully sharp to a clean bottom edge, no fade; text below it */
@media (max-width: 1100px) {
  .hero-photo .hero-bg {
    position: relative; top: auto; left: auto; right: auto; bottom: auto;
    width: 100%; height: var(--ph);
    background-size: cover; background-position: 40% 55%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-photo .hero-main { padding-top: 0; }
  .hero-photo .hero-main .hero-frame { margin-top: 0; padding-top: 32px; }
  .hero-photo .hero-caption { top: calc(var(--head-h) + var(--ph) - 44px); }
  .hero-photo .hero-motto { color: var(--graphite); }
  .hero-photo .btn-ghost { background: none; }
}

/* Phones & tablets: full-screen photo, text on top of it over a navy shade */
@media (max-width: 1100px) {
  .hero.hero-photo { min-height: calc(100svh - 0px); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--head-h) 0 0; }
  .hero-photo .hero-bg {
    position: absolute; top: var(--head-h); left: 0; right: 0; bottom: 0; width: auto; height: auto;
    background-size: cover; background-position: 40% 30%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-photo .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(14,27,48,0) 0%, rgba(14,27,48,0) 28%, rgba(14,27,48,.55) 52%, rgba(14,27,48,.88) 78%, rgba(14,27,48,.94) 100%);
  }
  .hero-photo .hero-main { position: relative; z-index: 1; padding-top: 0; }
  .hero-photo .hero-main .hero-frame { margin-top: 0; padding-block: 0 36px; }
  .hero-photo .hero-beats { color: #fff; }
  .hero-photo .hero-motto { color: rgba(255,255,255,.86); }
  .hero-photo .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); background: none; }
  .hero-photo .btn-ghost:hover { background: rgba(255,255,255,.1); }
  .hero-photo .hero-caption { top: auto; bottom: auto; position: static; display: inline-block; margin: 0 0 18px; background: rgba(255,255,255,.9); }
  .hero-photo .hero-bottom { display: none; }
  .home .site-header { background: var(--paper); }
}
.hero-caption-m { display: none; }
@media (max-width: 1100px) { .hero-caption-m { display: inline-block; } .hero-bottom .hero-caption { display: none; } }
@media (max-width: 1100px) {
  .hero-photo .hero-main .hero-frame { padding-bottom: clamp(72px, 13vh, 130px); }
  .hero-photo .hero-bg::after {
    background: linear-gradient(to bottom, rgba(14,27,48,0) 0%, rgba(14,27,48,0) 18%, rgba(14,27,48,.55) 40%, rgba(14,27,48,.88) 64%, rgba(14,27,48,.94) 100%);
  }
}

/* Inner pages on phones & tablets: photo fills the header, text on it over a navy shade (like the home hero) */
@media (max-width: 1100px) {
  .page-hero.page-hero-photo {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: clamp(460px, 72svh, 640px); padding: 0; border-bottom: 0;
  }
  .page-hero-photo .hero-bg {
    position: absolute; inset: 0; width: auto; height: auto;
    background-size: cover; background-position: center;
    -webkit-mask-image: none; mask-image: none;
  }
  .page-hero-photo .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(14,27,48,0) 0%, rgba(14,27,48,0) 16%, rgba(14,27,48,.55) 40%, rgba(14,27,48,.88) 66%, rgba(14,27,48,.94) 100%);
  }
  .page-hero-photo .hero-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; border: 0; }
  .page-hero-photo .hero-top .hero-frame { justify-content: flex-end; padding-block: 16px; }
  .page-hero-photo .hero-eyebrow { display: none; }
  .page-hero-photo > .wrap { position: relative; z-index: 1; margin-top: 0; padding-block: 0 clamp(56px, 10vh, 100px); }
  .page-hero-photo .wrap > * { max-width: none; }
  .page-hero-photo h1 { color: #fff; }
  .page-hero-photo .lede { color: rgba(255,255,255,.86); }
  .page-hero-photo .crumbs, .page-hero-photo .crumbs a { color: rgba(255,255,255,.8); }
}

/* Plumbing drawings: shown whole on white, never cropped */
.gallery.gallery-drawings .g-item { background: #fff; border: 1px solid var(--mist); }
.gallery.gallery-drawings .g-item img { object-fit: contain; padding: 10px; background: #fff; }

/* About header: tall tower photo, keep the upper floors in view */
.page-hero-photo .hero-bg[style*="about.jpg"] { background-position: center 42%; }
@media (min-width: 1101px) { .page-hero-photo .hero-bg[style*="about.jpg"] { width: 50%; background-size: cover; background-position: center 38%; } }
/* Laptops: not enough room for name + summary on one line, so keep just the name and the + */
@media (max-width: 1440px) {
  .acc-sum { display: none; }
  .acc-plus { margin-left: auto; }
}
.acc-btn { min-width: 0; }
.acc-sum { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* Our services: heading + intro across the top, list and drawing start on the same line */
.svc-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: 32px; }
.svc-intro .svc-title { margin: 0; }
.svc-intro .lede { margin: 0; max-width: 34em; }
.svc-split { align-items: start; }
@media (max-width: 960px) { .svc-intro { grid-template-columns: minmax(0, 1fr); } }

/* Our services list: airy rows on the page background; the open one becomes a white card */
.acc { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; display: grid; gap: 10px; }
.acc-item { border: 1px solid transparent; border-bottom: 1px solid var(--silver); border-radius: 12px; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.acc-item:last-child { border-bottom: 1px solid var(--silver); }
.acc-btn { padding: 22px 18px; border-radius: 12px; }
.acc-btn:hover { background: rgba(255, 255, 255, .55); }
.acc-name { font-size: 21px; }
.acc-item:has(.acc-btn[aria-expanded="true"]) { background: var(--paper); border-color: var(--mist); box-shadow: var(--shadow-sm); }
.acc-item:has(.acc-btn[aria-expanded="true"]) .acc-btn:hover { background: none; }
.acc-inner { padding-left: 43px; padding-right: 18px; }
.acc-panel .checklist li { background: var(--vellum); }
@media (max-width: 560px) { .acc-inner { padding-left: 18px; } }
/* straight divider lines between closed rows; only the open card keeps rounded corners */
.acc-item { border-radius: 0; }
.acc-btn { border-radius: 0; }
.acc-item:has(.acc-btn[aria-expanded="true"]) { border-radius: 12px; }

/* Our services: heading with its intro directly underneath */
.svc-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
