/* Pratik Enterprises v2.2. Brand kit: Foundation Black #000000, Engineer Blue #1A3B8B (on dark #4673DB), Signal Red #C82323 (on dark #E03A3A), Brass Gold #E5B842. Font: Archivo.
   Layout: white pages, one dark hero and one dark safety band, ruled lists, bordered cards.
   Change the palette, radii and shadows in the :root blocks only. */
:root {
  --bg: #FFFFFF;
  --surface: #F5F6F8;
  --ink: #000000;          /* Foundation Black */
  --muted: #55565B;
  --line: #E1E1DE;
  --primary: #1A3B8B;      /* Engineer Blue */
  --blue-fill: #1A3B8B;    /* filled blue surfaces keep the base blue in both themes (white text 10:1) */
  --primary-ink: #FFFFFF;
  --link: #1A3B8B;
  --red: #C82323;          /* Signal Red */
  --gold: #E5B842;         /* Brass Gold */
  --gold-ink: #000000;
  /* "band" = hero, safety, CTA and footer. LIGHT theme = fully white/light bands. Dark theme = near-black bands (overridden below). */
  --band: #F3F5F9;
  --band-2: #FFFFFF;
  --band-ink: #1B1D22;
  --band-strong: #000000;
  --band-text: #3D424C;
  --band-mute: #5A606B;
  --band-line: #D9DCE3;
  --accent-text: #1A3B8B;
  --grid-line: rgba(26, 59, 139, 0.07);
  --frame-thin: rgba(0, 0, 0, 0.2);
  --logo-tile: #FFFFFF;
  --logo-pad: 8px;
  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --shadow-lift: 0 16px 32px -16px rgba(12, 12, 14, 0.4);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0C0E; --surface: #151519; --ink: #F4F4F5; --muted: #A5A5AD; --line: #28282E;
    --primary: #4673DB; --link: #6E92EC; --red: #E03A3A; --gold: #E5B842;
    --band: #0C0C0E; --band-2: #1B1B20; --band-ink: #F4F4F5; --band-strong: #FFFFFF; --band-text: #C9C9CE; --band-mute: #9A9AA2; --band-line: #2B2B31;
    --accent-text: #E5B842; --grid-line: rgba(255, 255, 255, 0.05); --frame-thin: rgba(255, 255, 255, 0.22); --logo-tile: #FFFFFF; --logo-pad: 8px; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0C0E; --surface: #151519; --ink: #F4F4F5; --muted: #A5A5AD; --line: #28282E;
    --primary: #4673DB; --link: #6E92EC; --red: #E03A3A; --gold: #E5B842;
    --band: #0C0C0E; --band-2: #1B1B20; --band-ink: #F4F4F5; --band-strong: #FFFFFF; --band-text: #C9C9CE; --band-mute: #9A9AA2; --band-line: #2B2B31;
    --accent-text: #E5B842; --grid-line: rgba(255, 255, 255, 0.05); --frame-thin: rgba(255, 255, 255, 0.22); --logo-tile: #FFFFFF; --logo-pad: 8px; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, dl { margin: 0; padding: 0; }
li { list-style: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
main:focus { outline: none; }
[id] { scroll-margin-top: 96px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--gold); color: var(--gold-ink); font-weight: 600; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(52px, 7vw, 92px); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: transparent; color: var(--ink); font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--blue-fill); border-color: var(--blue-fill); color: var(--primary-ink); }
.btn.solid:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn.gold:hover { background: #fff; border-color: #fff; color: #000000; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; height: 50px; width: auto; flex: none; }
.brand .lg-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .lg-light { display: none; }
  :root:not([data-theme="light"]) .brand .lg-dark { display: block; }
}
:root[data-theme="dark"] .brand .lg-light { display: none; }
:root[data-theme="dark"] .brand .lg-dark { display: block; }
@media (min-width: 1000px) { .brand img { height: 58px; } }
@media (max-width: 360px) { .brand img { height: 44px; } }
nav { display: flex; gap: 4px 20px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
nav a { text-decoration: none; color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--red); }
.menu-btn { display: none; }
.stripe { display: flex; height: 4px; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--primary); }
.stripe i:nth-child(2) { background: var(--red); }
.stripe i:nth-child(3) { background: var(--gold); }
.stripe i:nth-child(4) { background: var(--ink); }

/* Hero (home) */
.hero { background: var(--band); color: var(--band-ink); padding-block: clamp(44px, 6vw, 80px) 0; border-bottom: 4px solid var(--gold); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -0.02em; color: var(--band-strong); }
.hero h1 span { display: block; }
.hero .lede { margin-top: 22px; max-width: 52ch; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.65; color: var(--band-text); }
.hero .lede strong { color: var(--band-strong); font-weight: 600; }
.hero .cta-row { margin-top: 30px; }
.hero .btn { border-color: var(--band-strong); color: var(--band-strong); }
.hero .btn:hover { background: var(--band-strong); border-color: var(--band-strong); color: var(--band); }
.hero .btn.gold { border-color: var(--gold); color: var(--gold-ink); }
.hero .btn.gold:hover { background: var(--band-strong); border-color: var(--band-strong); color: var(--band); }
.blueprint { border: 1px solid var(--band-line); border-radius: var(--r-md); padding: 18px 18px 12px; background-color: var(--band-2); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 28px 28px; }
.frame { display: block; width: 100%; height: auto; max-height: 420px; color: var(--primary); }
.frame .grid { stroke: currentColor; stroke-width: 2; fill: none; }
.frame .thin { stroke: var(--frame-thin); stroke-width: 1; fill: none; }
.frame .cut { fill: #E5B842; }
.frame .brace { stroke: var(--red); stroke-width: 2; fill: none; }
.frame text { font-family: var(--font-body); font-size: 11px; fill: var(--band-mute); }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--band-line); }
.facts div { padding: 22px 20px 26px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--band-line); }
.facts dt { font-size: 14px; color: var(--band-mute); }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 23px); line-height: 1.25; color: var(--band-strong); }

/* Section headings */
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; }
.sec-head h1::after, .md h1::after, .brief h1::after, .about-body h1::after, .legal h1::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; background: var(--gold); }
.sec-head p { margin-top: 14px; max-width: 64ch; color: var(--muted); }

/* About */
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); }
.about-body h1, .about-body h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; }
.about-body .col { display: grid; gap: 18px; max-width: 66ch; }
.about-body .pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; color: var(--link); }

/* Clients page */
.clients { background: var(--surface); }
.clients-hint { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; display: grid; gap: 14px; align-content: start; padding: 32px 30px 34px; border: 1px solid var(--line); border-top: 5px solid var(--primary); border-radius: var(--r-md); background: var(--bg); }
.svc:nth-child(2) { border-top-color: var(--red); }
.svc:nth-child(3) { border-top-color: var(--gold); }
.svc:nth-child(4) { border-top-color: var(--ink); }
.svc h3 { font-size: clamp(21px, 2.3vw, 26px); }
.svc p { color: var(--muted); max-width: 52ch; }
.svc ul { display: grid; gap: 8px; margin-top: 4px; }
.svc li { position: relative; padding-left: 22px; }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 3px; border-radius: 2px; background: var(--red); }
.svc .promise { color: var(--ink); font-weight: 600; }
a.svc { text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.svc .more { color: var(--link); font-weight: 600; border-bottom: 2px solid var(--gold); width: fit-content; padding-bottom: 1px; }
@media (hover: hover) { a.svc:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(12, 12, 14, 0.35); } }
a.svc:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Safety (dark band) */
.safety { background: var(--band); color: var(--band-ink); }
.safety h1, .safety h2 { color: var(--band-strong); }
.safety .zero { color: var(--accent-text); }
.safety .sec-head p { color: var(--band-mute); }
.norms { display: grid; gap: 14px; margin-bottom: 36px; max-width: 70ch; color: var(--band-text); }
.norms p:first-child { color: var(--band-ink); font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.chips li { padding: 8px 16px; border: 1px solid var(--band-line); border-radius: 99px; color: var(--band-ink); font-size: 15px; font-weight: 500; }
.rules-title { font-size: 22px; margin-bottom: 16px; color: var(--band-strong); }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rule-card { background: var(--band-2); border: 1px solid var(--band-line); border-top: 4px solid var(--gold); border-radius: var(--r-md); padding: 24px 22px 28px; display: grid; gap: 10px; align-content: start; }
.rule-card h3 { font-size: 19px; color: var(--band-strong); }
.rule-card p { color: var(--band-text); font-size: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 9px 16px; border: 1px solid var(--band-line); border-radius: 99px; background: var(--band-2); color: var(--band-ink); font-weight: 500; font-size: 15px; }

/* Mission */
.mission-text { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.32; max-width: 30em; text-wrap: pretty; }
.mission-sub { margin-top: 24px; max-width: 64ch; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 60px); }
.value { display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border: 1px solid var(--line); border-top: 5px solid var(--primary); border-radius: var(--r-md); }
.value:nth-child(2) { border-top-color: var(--red); }
.value:nth-child(3) { border-top-color: var(--gold); }
.value h3 { font-size: 22px; }
.value p { color: var(--muted); }

/* Managing Director */
.md { background: var(--surface); }
.md-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); }
.md h1, .md h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.md .from { margin-top: 20px; color: var(--muted); }
.md-body { display: grid; gap: 18px; max-width: 66ch; }
.md-body .first { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.3; color: var(--link); }
.sign { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.sign b { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.more-row { margin-top: 28px; }
.about-body .more-row, .md-body .more-row { margin-top: 8px; }

/* FAQ */
.qa-list { max-width: 860px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-weight: 600; font-size: 18px; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; font: 500 20px/1 var(--font-display); }
.qa[open] summary::after { content: "\2212"; background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.qa summary:hover { color: var(--link); }
.qa p { padding: 0 48px 24px 4px; color: var(--muted); max-width: 66ch; }

/* Start a project, contact */
.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.brief h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; }
.brief .lead, .apply .lead { margin-top: 18px; color: var(--muted); max-width: 48ch; }
.contact-card { margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 6px 20px; }
.contact-card > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card dt { color: var(--muted); font-size: 15px; }
.contact-card dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.contact-card a { color: var(--link); text-decoration: none; border-bottom: 2px solid var(--gold); }

/* Careers */
.careers-intro { display: grid; gap: 16px; max-width: 70ch; margin-bottom: clamp(32px, 5vw, 56px); }
.careers-intro p { color: var(--muted); }
.roles { display: grid; gap: clamp(24px, 3vw, 36px); }
.role { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); min-width: 0; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--r-md); background: var(--bg); scroll-margin-top: 96px; }
.role:nth-child(3n+2) { border-left-color: var(--red); }
.role:nth-child(3n) { border-left-color: var(--gold); }
.role-head { display: grid; gap: 16px; align-content: start; min-width: 0; }
.role h2 { font-size: clamp(26px, 3vw, 34px); }
.role-intro { color: var(--muted); }
.glance { display: grid; gap: 0; border-top: 1px solid var(--line); }
.glance div { display: grid; grid-template-columns: minmax(0, 9ch) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; font-weight: 600; }
.role .btn { width: fit-content; }
.role-body { min-width: 0; max-width: 62ch; }
.role-body h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.role-body p { margin: 0 0 24px; line-height: 1.7; }
.role-body p:last-child { margin-bottom: 0; }
.after-apply { margin-top: clamp(32px, 5vw, 56px); max-width: 66ch; }
.after-apply h2 { font-size: clamp(22px, 2.4vw, 28px); }
.after-apply p { margin-top: 10px; color: var(--muted); }
.apply { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.apply h2 { font-size: clamp(28px, 3.4vw, 40px); }
.apply .contact-card { margin-top: 20px; }
.note { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* Call-to-action band on inner pages */
.cta-band { background: var(--band); border-top: 1px solid var(--band-line); color: var(--band-strong); padding-block: clamp(40px, 6vw, 64px); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 16em; color: var(--band-strong); }
.cta-band .btn { border-color: var(--band-strong); color: var(--band-strong); }
.cta-band .btn:hover { background: var(--band-strong); color: var(--band); }
.cta-band .btn.solid { background: var(--gold); border-color: var(--gold); color: #000; }
.cta-band .btn.solid:hover { background: var(--band-strong); border-color: var(--band-strong); color: var(--band); }
.home-cta-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(24px, 6vw, 80px); align-items: center; }
.home-cta .cta-row { margin-top: 22px; }
.home-cta p { margin-top: 12px; max-width: 48ch; color: var(--band-text); }
.cta-contact { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--band-line); }
.cta-contact > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--band-line); align-items: baseline; }
.cta-contact dt { color: var(--band-mute); font-size: 15px; }
.cta-contact dd { margin: 0; color: var(--band-strong); font-weight: 500; overflow-wrap: anywhere; }
.cta-contact a { color: var(--band-strong); text-decoration: none; border-bottom: 2px solid var(--gold); }
.hiring { padding-block: 18px; border-top: 1px solid var(--line); }
.hiring-in p { font-size: 15px; color: var(--muted); }
.hiring-in a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Legal and 404 pages */
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.02em; }
.legal h2 { font-size: clamp(20px, 2.4vw, 24px); margin-top: 36px; }
.legal p, .legal ul { margin-top: 12px; color: var(--muted); max-width: 66ch; }
.legal ul { display: grid; gap: 6px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 3px; border-radius: 2px; background: var(--red); }
.legal a { color: var(--link); }
.legal .updated { margin-top: 16px; font-size: 15px; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-ink); }
.site-footer a { color: inherit; }
.site-footer .brand { color: var(--band-ink); }
.f-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 1.2fr 1.8fr; gap: 40px clamp(24px, 4vw, 56px); padding-block: 56px 44px; }
.f-grid > div { min-width: 0; }
.f-blurb { margin-top: 18px; color: var(--band-text); max-width: 34ch; font-size: 16px; }
.f-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.f-list { display: grid; gap: 4px; }
.f-list a { display: inline-block; padding-block: 5px; color: var(--band-text); text-decoration: none; font-size: 16px; }
.f-list a:hover { color: var(--band-strong); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.f-contact { display: grid; gap: 14px; margin: 0; }
.f-contact div { display: grid; gap: 2px; }
.f-contact dt { color: var(--band-mute); font-size: 14px; }
.f-contact dd { margin: 0; color: var(--band-ink); overflow-wrap: anywhere; }
.f-contact dd a { overflow-wrap: anywhere; text-decoration: none; border-bottom: 1px solid var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--band-line); border-radius: 8px; color: var(--band-ink); }
.social a { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
/* Each icon takes its own platform colour on hover and keyboard focus (white mark on the brand colour, as the platforms use it) */
.social a:hover, .social a:focus-visible { color: #FFFFFF; border-color: transparent; transform: translateY(-2px); }
.social a[href*="linkedin.com"]:hover, .social a[href*="linkedin.com"]:focus-visible { background: #0A66C2; }
.social a[href*="instagram.com"]:hover, .social a[href*="instagram.com"]:focus-visible { background: linear-gradient(45deg, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%); }
.social a[href*="wa.me"]:hover, .social a[href*="wa.me"]:focus-visible { background: #25D366; }
.social a[href*="facebook.com"]:hover, .social a[href*="facebook.com"]:focus-visible { background: #1877F2; }
.social a[href*="youtube.com"]:hover, .social a[href*="youtube.com"]:focus-visible { background: #FF0000; }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-bottom { border-top: 1px solid var(--band-line); padding-block: 20px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; color: var(--band-mute); font-size: 14px; }
.f-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.f-bottom a { color: var(--band-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.f-bottom a:hover { color: var(--accent-text); }
.f-bottom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Navbar by device: phone = menu button; tablet and laptop = logo, links and theme button on ONE row (the link text steps up with width) */
@media (min-width: 744px) {
  .top { flex-wrap: nowrap; gap: 12px; padding-block: 12px; }
  .top > nav { flex-basis: auto; order: 2; flex-wrap: nowrap; white-space: nowrap; font-size: 13px; gap: 0 9px; padding-bottom: 0; }
  nav a { padding-block: 6px; }
}
@media (min-width: 800px) { .top > nav { font-size: 14px; gap: 0 12px; } }
@media (min-width: 1000px) { .top { padding-block: 14px; gap: 16px; } .top > nav { gap: 4px 14px; } }
@media (min-width: 1200px) { .top > nav { font-size: 15px; gap: 4px 18px; } }

/* Tablet and below: menu button */
@media (max-width: 743px) {
  .top { padding-block: 10px; }
  .menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .menu-btn i { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
  .menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Menu is a dropdown panel under the header: one column on every device, scrolls inside itself when the screen is short */
  .top { position: static; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14); max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; white-space: normal; }
  nav.open { display: grid; }
  nav a { display: flex; align-items: center; min-height: 52px; padding: 8px 2px; font-size: 17px; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 0; }
  nav a:first-child { border-top: 0; }
  nav a[aria-current="page"] { color: var(--link); }
}
@media (max-width: 960px) {
  .hero-grid, .about-body, .md-grid, .brief, .apply { grid-template-columns: minmax(0, 1fr); }
  .frame { max-height: 300px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--band-line); }
  .facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .role { grid-template-columns: minmax(0, 1fr); }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .svc-grid, .rules { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 26px 22px 28px; }
  .contact-card { padding: 4px 16px; }
  .contact-card > div { grid-template-columns: 72px minmax(0, 1fr); }
  .qa p { padding-right: 8px; }
}
@media (max-width: 560px) { .f-grid { grid-template-columns: minmax(0, 1fr); padding-block: 44px 32px; } }

/* Enquiry form */
.brief-right { display: grid; gap: 32px; min-width: 0; }
.brief-right > ul { border-top: 1px solid var(--line); }
.brief-right > ul > li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.brief-right > ul > li b { font-weight: 600; }
.brief-right > ul > li span { color: var(--muted); }
.enq { display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.enq h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.01em; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-weight: 600; font-size: 15px; }
.opt-note { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--primary); }
.fld input[aria-invalid="true"] { border-color: var(--red); }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.consent a { color: var(--link); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq .btn { justify-self: start; }
.enq .btn[disabled] { opacity: 0.6; cursor: progress; }
.enq-status { margin: 0; min-height: 1.4em; font-weight: 500; }
.enq-status.err { color: var(--red); }
.enq-status.ok { color: var(--link); }
.enq-alt { display: flex; flex-wrap: wrap; gap: 10px; }
.enq-alt a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; padding: 12px 18px; border: 2px solid var(--ink); border-radius: var(--r-sm); color: var(--ink); }
.enq-alt a small { display: none; }
.enq-alt a:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* Phone and email chooser */
a.pop { cursor: pointer; }
.sheet-back { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.55); }
.sheet-back.open { display: flex; }
.sheet { width: min(460px, 100%); max-height: 100%; overflow-y: auto; background: var(--bg); color: var(--ink); border-top: 6px solid var(--gold); padding: 22px max(16px, env(safe-area-inset-left, 0px)) calc(22px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 10px; }
.sheet-sub { margin: 0; color: var(--muted); font-size: 15px; }
.sheet h2 { font-size: 24px; overflow-wrap: anywhere; user-select: all; margin-bottom: 8px; }
.sheet-opts { display: grid; gap: 10px; }
.sheet-opts a, .sheet-close { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px; font: 600 16px/1.2 var(--font-body); text-align: left; text-decoration: none; color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: var(--r-sm); cursor: pointer; }
.sheet-opts a:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.sheet-opts small { font-weight: 400; color: var(--muted); }
.sheet-opts a:hover small { color: var(--gold-ink); }
.sheet-close { justify-content: center; border-color: var(--line); font-weight: 500; color: var(--muted); }
.sheet a:focus-visible, .sheet button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (min-width: 600px) { .sheet-back { align-items: center; padding: 24px; } .sheet { border-radius: var(--r-md); } }

/* Client logos: black and white, colour on hover or tap */
/* Identical tiles at every width; an incomplete last row is centred instead of stretched */
.cl-grid { --cols: 4; --gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.cl-grid > li { min-width: 0; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); display: flex; }
.cl-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; margin: 0; padding: 18px 18px 16px; text-align: center; font: inherit; color: #000000; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; -webkit-tap-highlight-color: transparent; }
.cl-logo { display: block; width: 100%; max-width: 260px; aspect-ratio: 18 / 7; flex: none; }
.cl-logo img, .mq-item img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0.5) contrast(1.1); opacity: 0.88; transition: filter 0.3s ease, opacity 0.3s ease; }
.cl-name { display: flex; align-items: center; justify-content: center; min-height: 2.6em; font-weight: 600; font-size: 14px; line-height: 1.3; color: #4F5762; }
.cl-btn:focus-visible, .mq-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.cl-btn.on, .cl-btn:focus-visible { border-color: var(--gold); box-shadow: var(--shadow-lift); }
.cl-btn.on img, .cl-btn:focus-visible img, .mq-item.on img, .mq-item:focus-visible img { filter: none; opacity: 1; }
@media (hover: hover) {
  .cl-btn:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .cl-btn:hover img, .mq-item:hover img { filter: none; opacity: 1; }
}
@media (max-width: 880px) {
  .cl-grid { --cols: 3; }
  .home-cta-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .cl-grid { --cols: 2; --gap: 12px; } .cl-btn { padding: 14px 12px 12px; } .cl-name { font-size: 13px; } }
@media (max-width: 340px) { .cl-grid { --cols: 1; } }

/* Sliding logo strip under the hero */
.logo-strip { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); padding-block: clamp(26px, 4vw, 40px) clamp(14px, 2vw, 22px); }
.strip-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 10px; }
.strip-head h2 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em; color: var(--ink); }
.strip-tools { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.strip-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 600; text-decoration: none; }
.strip-link span { border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.strip-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: mq-slide 55s linear infinite; }
.mq-set { display: flex; flex: none; margin: 0; padding: 0; }
.mq-set > li { flex: none; margin-right: 28px; }
.mq-item { position: relative; display: block; width: 200px; margin: 0; padding: 6px 0 44px; background: transparent; border: 0; font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mq-item img { width: 200px; height: auto; aspect-ratio: 18 / 7; box-sizing: border-box; padding: var(--logo-pad); position: relative; z-index: 1; }
.mq-item::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; aspect-ratio: 18 / 7; background: var(--logo-tile); border-radius: 8px; }
.mq-cap { position: absolute; left: -24px; right: -24px; bottom: 8px; text-align: center; font-size: 13px; line-height: 1.25; opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; }
.mq-cap b { font-weight: 600; color: var(--ink); }
.mq-item.on .mq-cap, .mq-item:focus-visible .mq-cap { opacity: 1; transform: none; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.paused .marquee-track, .marquee.halt .marquee-track { animation-play-state: paused; }
@media (hover: hover) { .mq-item:hover .mq-cap { opacity: 1; transform: none; } }
@keyframes mq-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .mq-item, .mq-item img { width: 160px; }
  .mq-set > li { margin-right: 20px; }
  .mq-item { padding-bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stick { transition: none; }
  .menu-btn i, a.svc, .cl-btn, .mq-cap, .cl-logo img, .mq-item img { transition: none; }
  .cl-btn:hover, a.svc:hover, .social a:hover { transform: none; }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .mq-set { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .mq-set[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Small helpers */
.alt { background: var(--surface); }
.values.flush { margin-top: 0; }
.legal-cta { margin-top: 24px; }

/* Theme toggle: follows the phone's setting until the visitor picks one */
.top-actions { display: flex; align-items: center; gap: 8px; order: 3; }
.theme-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.theme-btn:hover { background: var(--surface); }
.theme-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* One icon at a time: moon in the light theme (switch to dark), sun in the dark theme (switch to light) */
.theme-btn[aria-pressed="false"] .i-sun, .theme-btn[aria-pressed="true"] .i-moon { display: none; }
nav { order: 2; }
@media (min-width: 744px) { .theme-btn { width: 40px; height: 40px; } }


/* Projects */
.flt-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.flt { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font: 500 15px/1 var(--font-body); cursor: pointer; }
.flt:hover { border-color: var(--ink); }
.flt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.flt-count { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.flt-note { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pj { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); overflow: hidden; }
.pj[hidden] { display: none; }
.pj-top { display: grid; place-items: center; padding: 22px 20px; background: var(--surface); border-bottom: 1px solid var(--line); border-top: 4px solid var(--primary); }
.pj:nth-child(3n+2) .pj-top { border-top-color: var(--red); }
.pj:nth-child(3n) .pj-top { border-top-color: var(--gold); }
.pj-logo { display: block; width: 100%; max-width: 200px; aspect-ratio: 18 / 7; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border-radius: 8px; }
.pj-text { display: grid; place-items: center; padding: 8px 12px; text-align: center; font-weight: 600; font-size: 14px; line-height: 1.3; color: #000; aspect-ratio: auto; min-height: 78px; }
.pj-body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; flex: 1; }
.pj-client { color: var(--muted); font-size: 14px; }
.pj-body h3 { font-size: 21px; }
.pj-loc { font-weight: 600; font-size: 15px; color: var(--link); }
.pj-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink); }
.pj-facts li { position: relative; padding-left: 14px; }
.pj-facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 3px; border-radius: 2px; background: var(--red); }
.pj-body > p:not([class]) { color: var(--muted); font-size: 16px; }
.pj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pj-tags li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--muted); }
.pj-home { margin-bottom: 0; }
@media (max-width: 960px) { .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pj-grid { grid-template-columns: minmax(0, 1fr); } }

/* Developer filter, logo links */
.flt-bar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.flt-bar .flt-row { margin-bottom: 0; flex: 1 1 520px; }
.flt-sel { display: grid; gap: 4px; min-width: 220px; }
.flt-sel label { font-size: 14px; color: var(--muted); font-weight: 600; }
.flt-sel select { min-height: 44px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; }
a.cl-btn, a.mq-item { text-decoration: none; }
.mq-go { display: block; color: var(--link); font-size: 12px; font-weight: 600; }

/* Project photos (optional, with credit) */
.pj-photo { padding: 0; position: relative; }
.pj-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pj-credit { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 12px; line-height: 1.3; text-decoration: none; }
a.pj-credit:hover { text-decoration: underline; }
.pj-badge { position: absolute; left: 12px; bottom: 12px; width: 112px; padding: 4px 8px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28); background-origin: content-box; }
.pj-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent); pointer-events: none; }
.pj-photo > .pj-badge, .pj-photo > .pj-credit { z-index: 1; }

.pj-map { width: fit-content; min-height: 24px; color: var(--link); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); }
.pj-map:hover { border-bottom-color: var(--red); }

/* Auto-sliding site gallery */
.sites { background: var(--surface); }
.slider { position: relative; }
.slides { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(560px, 86%); scroll-snap-align: start; }
.slide figure { margin: 0; }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.slide figcaption { padding-top: 10px; color: var(--muted); font-size: 15px; }
.slide figcaption a { color: var(--link); }
.slider-ctl { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.slider-ctl button { min-width: 44px; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: transparent; color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; }
.slider-ctl button:hover { background: var(--ink); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto; } .sl-play { display: none; } }

/* Areas */
.crumbs { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--link); }
.area h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 36px 0 16px; }
.area .sec-head h1 { font-size: clamp(30px, 4.2vw, 46px); }
.area-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(24px, 5vw, 64px); align-items: start; }
.area-cols h2 { margin-top: 36px; }
.svc-lines { display: grid; gap: 8px; }
.svc-lines li { position: relative; padding-left: 22px; }
.svc-lines li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 3px; border-radius: 2px; background: var(--red); }
.area-note { margin-top: 16px; color: var(--muted); max-width: 60ch; }
.area-note a { color: var(--link); }
.area-map { margin-top: 28px; }
.chips-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-links li a, .chips-links.plain li { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 500; }
.chips-links.plain li { min-height: 36px; color: var(--muted); }
.chips-links li a:hover { border-color: var(--ink); }
.ar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ar a { display: grid; gap: 4px; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--r-md); text-decoration: none; color: inherit; background: var(--bg); }
.ar:nth-child(3n+2) a { border-top-color: var(--red); }
.ar:nth-child(3n) a { border-top-color: var(--gold); }
.ar a:hover { box-shadow: var(--shadow-lift); }
.ar b { font-family: var(--font-display); font-size: 20px; }
.ar span { color: var(--link); font-weight: 600; font-size: 14px; }
.ar em { font-style: normal; color: var(--muted); font-size: 15px; }
.els { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.els li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.els span { color: var(--muted); }
@media (max-width: 960px) { .ar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ar-grid, .els { grid-template-columns: minmax(0, 1fr); } }

.svc-more { margin-top: 40px; font-size: 20px; }
/* Sticky Call / WhatsApp bar: smartphones only (narrow touch screens, or a phone held sideways). Never on tablet or laptop. */
.stick { display: none; }
@media (max-width: 599px), (pointer: coarse) and (max-height: 500px) and (max-width: 950px) {
  .stick { transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.1); }
  .stick a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 8px; border: 2px solid var(--ink); border-radius: var(--r-sm); color: var(--ink); background: transparent; font: 600 15px/1.1 var(--font-body); text-decoration: none; text-align: center; }
  /* Appears only when the visitor has scrolled to the bottom of the page; slides away again when they scroll up */
  .stick.show { transform: none; visibility: visible; transition-delay: 0s; }
  .stick svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .stick a.stick-main { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
  body { padding-bottom: 72px; }
  /* On smartphones the Call / WhatsApp bar slides in at the bottom, so the band keeps only its text */
  .cta-band .cta-row, .home-cta .cta-row { display: none; }
}

/* Navbar call-to-action */
nav a.nav-cta { background: var(--gold); color: var(--gold-ink); font-weight: 600; padding: 8px 16px; border: 0; border-radius: var(--r-sm); }
nav a.nav-cta:hover { filter: brightness(0.95); color: var(--gold-ink); }
nav a.nav-cta[aria-current="page"] { color: var(--gold-ink); border-bottom: 0; }
@media (max-width: 743px) { nav a.nav-cta { justify-content: center; margin-top: 10px; border-top: 0; min-height: 52px; font-size: 17px; } }
@media (min-width: 744px) { .top > nav a.nav-cta { align-self: center; padding: 8px 14px; } }
/* How a project runs */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 20px; background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--r-lg); }
.steps li::before { content: counter(st, decimal-leading-zero); font: 700 14px/1 var(--font-display); letter-spacing: 0.08em; color: var(--red); }
.steps li:nth-child(2) { border-top-color: var(--red); } .steps li:nth-child(3) { border-top-color: var(--gold); } .steps li:nth-child(4) { border-top-color: var(--ink); }
.steps b { font: 600 18px/1.25 var(--font-display); color: var(--ink); }
.steps span { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
/* About: how we work links */
.about-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.about-links a { display: grid; gap: 6px; height: 100%; padding: 20px; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); }
.about-links a:hover, .about-links a:focus-visible { border-color: var(--gold); box-shadow: var(--shadow-lift); }
.about-links b { font: 600 18px/1.25 var(--font-display); }
.about-links span { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .about-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .about-links { grid-template-columns: minmax(0, 1fr); } }

/* The footer is always dark, so it always uses the dark-background logo */

/* ================= Quiet polish: soft elevation, not effects ================= */
:root { --elev-1: 0 1px 2px rgba(10, 20, 50, 0.06), 0 10px 22px -16px rgba(10, 20, 50, 0.28); --elev-2: 0 2px 4px rgba(10, 20, 50, 0.07), 0 18px 32px -16px rgba(10, 20, 50, 0.34); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --elev-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 22px -14px rgba(0, 0, 0, 0.7); --elev-2: 0 2px 4px rgba(0, 0, 0, 0.55), 0 18px 32px -14px rgba(0, 0, 0, 0.8); } }
:root[data-theme="dark"] { --elev-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 22px -14px rgba(0, 0, 0, 0.7); --elev-2: 0 2px 4px rgba(0, 0, 0, 0.55), 0 18px 32px -14px rgba(0, 0, 0, 0.8); }
.svc, .pj, .steps li, .about-links a, .cl-btn, .rule-card, .value, .contact-card { box-shadow: var(--elev-1); }
.blueprint { box-shadow: var(--elev-2); }
.frame { filter: drop-shadow(0 10px 14px rgba(10, 20, 50, 0.12)); }
.btn { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.btn.gold, .btn.solid { box-shadow: 0 8px 16px -10px rgba(10, 20, 50, 0.45); }
header.site { transition: box-shadow 0.2s ease; }
header.site.scrolled { box-shadow: 0 10px 24px -16px rgba(10, 20, 50, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .svc:hover, .pj:hover, .steps li:hover, .about-links a:hover, .cl-btn:hover { transform: translateY(-4px); box-shadow: var(--elev-2); }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: none; }
}
/* Hero text settles in once; content is never hidden (it starts visible if the animation cannot run) */
@keyframes settle { from { opacity: 0.001; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero h1, .hero .lede, .hero .cta-row { animation: settle 0.6s ease-out both; }
.hero .lede { animation-delay: 0.08s; } .hero .cta-row { animation-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede, .hero .cta-row { animation: none; }
  .svc:hover, .pj:hover, .steps li:hover, .about-links a:hover, .cl-btn:hover, .btn:hover { transform: none; }
}

/* ---- All-India positioning, registrations ---- */
.eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-mute); }
.regs { list-style: none; margin: 0; padding: 18px 0 clamp(20px, 3vw, 28px); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; border-top: 1px solid var(--band-line); font-size: 15px; color: var(--band-text); }
.regs li { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.regs svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent-text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.regs a { color: var(--band-strong); text-decoration: none; border-bottom: 2px solid var(--gold); font-weight: 600; }
.regs a:hover { border-bottom-color: var(--red); }

.india-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.india h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; max-width: 14em; }
.india .lead { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.india .cta-row { margin-top: 26px; }
.india-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.india-points li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.india-points b { font: 600 18px/1.3 var(--font-display); }
.india-points span { color: var(--muted); }
@media (max-width: 860px) { .india-in { grid-template-columns: minmax(0, 1fr); } }

.regs-sec .sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 0; }
.cred { display: grid; gap: 8px; align-content: start; min-width: 0; padding: 22px 20px; background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--r-lg); }
.cred:nth-child(2) { border-top-color: var(--red); } .cred:nth-child(3) { border-top-color: var(--gold); }
.cred dt { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cred dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.cred .num { font: 700 clamp(19px, 2.2vw, 23px)/1.25 var(--font-display); letter-spacing: 0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cred .addr { font-weight: 500; }
.cred .sub { color: var(--muted); font-size: 15px; line-height: 1.5; }
.cred .ext { color: var(--link); text-decoration: none; border-bottom: 2px solid var(--gold); font-weight: 600; }
.cred .ext:hover { border-bottom-color: var(--red); }

.f-regs { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-block: 16px; border-top: 1px solid var(--band-line); font-size: 14px; color: var(--band-mute); }
.f-regs b { color: var(--band-ink); font-weight: 600; letter-spacing: 0.02em; }
.f-regs a { color: var(--band-ink); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* two contact emails stacked */
.em-list { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.em-list a { overflow-wrap: anywhere; }

/* service pages: long-form copy */
.svc-copy { max-width: 78ch; }
.svc-copy > h2 { margin-top: 36px; }
.svc-copy p { margin-top: 12px; }
.svc-copy .area-cols { max-width: none; }
.tick { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.tick li { position: relative; padding-left: 24px; }
.tick li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); }
.how { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; counter-reset: how; }
.how li { counter-increment: how; position: relative; padding: 4px 0 4px 52px; }
.how li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.how h3 { font-size: 18px; margin: 0; }
.how p { margin-top: 4px; color: var(--muted); }
.svc-more + .chips-links { margin-top: 16px; }
.kids { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kids a, .kids .kid { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; text-decoration: none; color: inherit; background: var(--card, transparent); transition: transform .2s, border-color .2s; }
.kids a:hover { transform: translateY(-3px); border-color: var(--primary); }
.kids b { font-size: 17px; color: var(--link); }
.kids span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .kids { grid-template-columns: minmax(0, 1fr); } }
.svc h2 a { color: inherit; text-decoration: none; } .svc h2 a:hover { text-decoration: underline; }
.pj-tags a, .svc-lines a { color: inherit; text-decoration: none; }
.pj-tags a:hover, .svc-lines a:hover { text-decoration: underline; color: var(--link); }

/* header hides while scrolling down, returns on scroll up */
header.site { transition: box-shadow 0.2s ease, transform 0.25s ease; }
header.site.is-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { header.site { transition: box-shadow 0.2s ease; } }

/* long-form extras, tables, glossary */
.extra { padding-block: clamp(24px, 4vw, 48px); }
.extra .svc-copy { max-width: 78ch; }
.extra .svc-copy > h2:first-child { margin-top: 0; }
.tbl-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--alt, rgba(0,0,0,.04)); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.gloss { margin: 24px 0 0; display: grid; gap: 0; max-width: 78ch; }
.term { padding: 16px 0; border-bottom: 1px solid var(--line); }
.term dt { font-weight: 700; font-size: 18px; }
.term dd { margin: 6px 0 0; color: var(--muted); }
.term dd a { color: var(--link); }

/* breadcrumbs: keep them out of the header nav rules above */
nav.crumbs { display: block; order: 0; gap: 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); margin-bottom: 18px; }
nav.crumbs a { display: inline; min-height: 0; padding: 0; border: 0; font-size: inherit; font-weight: 500; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
nav.crumbs a:hover { color: var(--ink); }
nav.crumbs span { color: var(--ink); font-weight: 600; }
.vals-h { margin-top: 32px; }
.els li a { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.els li a b { color: var(--link); }
.els li a:hover b { text-decoration: underline; }

/* Navbar: Careers in Signal Red, Employee login in Engineer Blue with a lock, "Start a project" stays gold */
nav a.nav-careers { font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
nav a.nav-careers::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
nav a.nav-careers:hover { border-bottom-color: var(--gold); }
nav a.nav-login { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 600; font-size: 0.92em; border: 1.5px solid var(--link); border-radius: var(--r-sm); padding: 6px 12px; }
nav a.nav-login svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
nav a.nav-login:hover { background: var(--blue-fill); border-color: var(--blue-fill); color: var(--primary-ink); }
nav a.nav-login[aria-current="page"] { border-bottom: 1.5px solid var(--link); }
nav a.nav-login .t-short { display: none; }
@media (min-width: 744px) { .top > nav a.nav-login { align-self: center; } }
@media (max-width: 743px) { nav a.nav-login { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 8px 2px; font-size: 17px; gap: 10px; } nav a.nav-login:hover { background: none; color: var(--link); } nav a.nav-login svg { width: 18px; height: 18px; } }
@media (min-width: 744px) and (max-width: 1023px) { .top > nav a.nav-login { padding: 5px 8px; } .top > nav a.nav-login .t-full { display: none; } .top > nav a.nav-login .t-short { display: inline; } }
@media (min-width: 744px) and (max-width: 899px) { .top > nav { gap: 0 6px; } }
@media (min-width: 744px) and (max-width: 859px) { .top > nav a.nav-cta { padding: 8px 9px; } .top > nav a.nav-fire { padding-inline: 2px; } .top > nav { gap: 0 4px; } }
@media (min-width: 744px) and (max-width: 799px) { .top > nav { font-size: 12.5px; } }

/* ---- Brand motion (Pratik brand kit, sheet PE-01) ----
   Logo colours are tokens, so the animation follows the site theme: a phone set to dark gets the dark version
   (white P, lighter blue and red, gold name on near-black). Same structure as the other theme tokens above. */
:root { --lg-p: #000000; --lg-blue: #1A3B8B; --lg-red: #C82323; --lg-gold: #E5B842; --lg-ent: #1A3B8B; --lg-tag: #555555; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --lg-p: #FFFFFF; --lg-blue: #4673DB; --lg-red: #E03A3A; --lg-gold: #E5B842; --lg-ent: #E5B842; --lg-tag: #A8A8AD; }
}
:root[data-theme="dark"] { --lg-p: #FFFFFF; --lg-blue: #4673DB; --lg-red: #E03A3A; --lg-gold: #E5B842; --lg-ent: #E5B842; --lg-tag: #A8A8AD; }

/* Intro: home page, first visit in a session, about 6 s, tap or Esc to skip. The CSS timer is the fail-safe if scripts never run. */
#pe-intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: var(--bg); cursor: pointer; transition: opacity 0.5s ease, visibility 0s linear 0.5s; animation: intro-failsafe 0.5s ease 8.5s forwards; }
#pe-intro.out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.intro-skip { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: max(16px, env(safe-area-inset-top, 0px)); min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent; color: var(--muted); font: 600 14px/1 var(--font-body); cursor: pointer; }
.intro-skip { z-index: 1; }
.intro-dark .intro-skip { color: #C9C9CE; border-color: #3A3A42; }
.intro-dark .intro-skip:hover, .intro-dark .intro-skip:focus-visible { color: #FFFFFF; border-color: #FFFFFF; }
.intro-skip:hover, .intro-skip:focus-visible { color: var(--ink); border-color: var(--ink); }

/* Scroll progress: the mark's bars as a thin line at the top of the page */
/* progress now lives in the header's existing brand stripe (see .pg-on .stripe) */
.pgbar { display: none; }
/* attached to the pinned header's lower edge */
.pgbar i { display: block; height: 100%; clip-path: inset(0 100% 0 0); background: linear-gradient(90deg, var(--lg-blue), var(--lg-red) 55%, var(--lg-gold)); }

/* Reveal on scroll: rise with the brand easing. Only when scripts run and motion is allowed. */
html.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
html.rv-on .rv.in { opacity: 1; transform: none; }
.sec-head h2::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 14px; background: var(--gold); }
html.rv-on .sec-head.rv h2::after { transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.25s; }
html.rv-on .sec-head.rv.in h2::after { transform: none; }
/* Theme switch: colours ease for a moment instead of snapping */
html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease !important; }
@media (prefers-reduced-motion: reduce) {
  #pe-intro { display: none; }
  .pgbar { display: none; }
  html.rv-on .rv, html.rv-on .sec-head.rv h2::after { opacity: 1; transform: none; transition: none; }
  html.theming, html.theming * { transition: none !important; }
}

/* Brand stripe doubles as the scroll-progress indicator: dim track, full-colour fill. */
.pg-on .stripe { position: relative; }
.pg-on .stripe i { opacity: 0.22; }
.pg-on .stripe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary) 0 25%, var(--red) 25% 50%, var(--gold) 50% 75%, var(--ink) 75%); clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }

/* Emails: never break mid-address; stack label above value on phones so the gold underline stays on one line */
.em-list a, .contact-card a[href^="mailto:"], .cta-contact a[href^="mailto:"], .f-contact a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; font-size: clamp(13px, 4.2vw, 16px); }
@media (max-width: 520px) {
  .contact-card > div, .cta-contact > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* client logos used as backgrounds (sliding strip, project cards) */
.lg-dilip-buildcon{background-image:url(logos-n/dilip-buildcon.webp)}
.lg-godrej{background-image:url(logos-n/godrej.webp)}
.lg-kolte-patil{background-image:url(logos-n/kolte-patil.webp)}
.lg-lodha{background-image:url(logos-n/lodha.webp)}
.lg-mantra{background-image:url(logos-n/mantra.webp)}
.lg-namrata{background-image:url(logos-n/namrata.webp)}
.lg-paranjape{background-image:url(logos-n/paranjape.webp)}
.lg-saheel{background-image:url(logos-n/saheel.webp)}
.lg-siddhashila{background-image:url(logos-n/siddhashila.webp)}
.lg-skyi{background-image:url(logos-n/skyi.webp)}
.lg-vilas-javdekar{background-image:url(logos-n/vilas-javdekar.webp)}
nav a.nav-fire { display: inline-flex; align-items: center; gap: 6px; }
nav a.nav-fire img { width: 18px; height: 18px; flex: none; }
nav a.nav-fire:hover { border-bottom-color: #DA291C; }
@media (min-width: 744px) and (max-width: 1023px) { .top > nav a.nav-fire span { display: none; } .top > nav a.nav-fire { padding: 5px 6px; } }

/* ================= Photo motion (only when scripts run and motion is allowed: html.px-on) ================= */
.pj-photo { overflow: hidden; }
.px-on .pj-img { scale: 1.1; translate: 0 var(--py, 0px); transition: scale 1.2s cubic-bezier(0.16, 1, 0.3, 1); will-change: scale, translate; }
html.rv-on.px-on .pj:not(.in) .pj-img { scale: 1.24; }
.px-on .pj:hover .pj-img, .px-on .pj:focus-within .pj-img { scale: 1.17; transition-duration: 0.9s; }
.px-on .slide { opacity: 0.55; transform: scale(0.965); transition: opacity 0.8s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.px-on .slide.is-active { opacity: 1; transform: none; }
.px-on .sl-ph { display: block; overflow: hidden; border-radius: var(--r-md); }
.px-on .sl-ph img { border-radius: 0; transform: scale(1); transition: transform 8s cubic-bezier(0.2, 0.6, 0.2, 1); }
.px-on .slide.is-active .sl-ph img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .px-on .pj-img, .px-on .slide, .px-on .sl-ph img { transition: none; scale: 1; translate: none; transform: none; opacity: 1; }
}
.svc-grid > .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc#drawing ul { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .svc#drawing ul { columns: 1; } }
.site-footer .brand img { height: 64px; }
@media (max-width: 360px) { .site-footer .brand img { height: 52px; } }
/* Clients whose logos or projects are not on the site yet: name shown as plain text, not clickable */
.mq-static { cursor: default; }
.mq-word, .cl-word { display: grid; place-items: center; width: 100%; text-align: center; font: 800 17px/1.15 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: #5A606B; }
.mq-word { position: relative; z-index: 1; aspect-ratio: 18 / 7; box-sizing: border-box; padding: var(--logo-pad); }
.cl-word { height: 100%; font-size: 15px; }
.cl-btn.cl-static, .cl-btn.cl-static:hover { cursor: default; transform: none; border-color: var(--line); }
/* Careers: roles at a glance, and the questions that appear for the chosen role */
.roles-sum { overflow-x: auto; margin: 0 0 clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.roles-sum table { width: 100%; border-collapse: collapse; min-width: 640px; }
.roles-sum th, .roles-sum td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.roles-sum thead th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.roles-sum tbody th { font-weight: 700; white-space: nowrap; }
.roles-sum tbody th a { color: var(--link); text-decoration: none; border-bottom: 2px solid var(--gold); }
.roles-sum tbody tr:last-child > * { border-bottom: 0; }
.role-q { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 18px 0 2px; border: 0; border-top: 1px solid var(--line); }
.role-q[hidden] { display: none; }
.role-q legend { padding: 0; margin-bottom: 2px; font-weight: 700; font-size: 16px; }
.fld select[aria-invalid="true"] { border-color: var(--red); }
