/* ==========================================================================
   Badge Plumbers — design system
   Palette: navy / blue / grey  ·  Type: Sora (headings) + Inter (body)
   ========================================================================== */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071629;
  --navy-soft: #13294A;
  --blue: #1565C0;
  --blue-hover: #0F519E;
  --accent: #2196F3;
  --sky: #90CAF9;
  --sky-soft: #DCEBFB;
  --slate: #64748B;
  --slate-text: #4B5A6E;
  --mist: #F1F5F9;
  --line: #E2E8F0;
  --ink: #111827;
  --white: #FFFFFF;
  --wa: #0F7B54;
  --wa-hover: #0B6142;
  --error: #B42318;

  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --shadow-1: 0 1px 2px rgba(11, 31, 58, .05), 0 10px 30px -16px rgba(11, 31, 58, .22);
  --shadow-2: 0 2px 6px rgba(11, 31, 58, .05), 0 30px 60px -28px rgba(11, 31, 58, .42);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
address { font-style: normal; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-2);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  --btn-hover: var(--blue-hover);
  --btn-shadow: rgba(21, 101, 192, .55);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px var(--btn-shadow);
}
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; }
.btn .icon-arrow { transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn-lg { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .94rem; border-radius: 10px; }

.btn-wa { --btn-bg: var(--wa); --btn-hover: var(--wa-hover); --btn-shadow: rgba(15, 123, 84, .55); }
.btn-light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-hover: #E6F1FC; --btn-shadow: rgba(0, 0, 0, .45); }
.btn-ghost {
  --btn-bg: rgba(255, 255, 255, .07);
  --btn-hover: rgba(255, 255, 255, .15);
  --btn-shadow: rgba(0, 0, 0, .4);
  border-color: rgba(255, 255, 255, .28);
}
.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-hover: var(--white);
  --btn-shadow: rgba(11, 31, 58, .25);
  border-color: #C3CFDD;
}
.btn-outline:hover { border-color: var(--blue); }

.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .icon { animation: spin 1s linear infinite; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 22, 41, .84);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 32px -18px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled { height: 66px; }
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -.02em;
}
.brand-tag {
  margin-top: 5px;
  font-size: .74rem;
  color: var(--sky);
  letter-spacing: .01em;
}
.brand img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .8);
  font-size: .97rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--white); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-mobile-extra { display: none; }

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  cursor: pointer;
  place-items: center;
  padding: 0;
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Shared dark surfaces (hero, banners, CTA) ---------- */
.surface-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #C9D6E8;
}
.surface-dark h1, .surface-dark h2, .surface-dark h3 { color: var(--white); }

.blueprint::before {
  content: "";
  position: absolute;
  inset: -44px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(144, 202, 249, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 202, 249, .075) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 68% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 68% 40%, #000 25%, transparent 78%);
  animation: grid-drift 30s linear infinite;
}
.blueprint::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px circle at 78% 28%, rgba(33, 150, 243, .26), transparent 62%),
    radial-gradient(520px circle at 6% 100%, rgba(21, 101, 192, .30), transparent 60%),
    linear-gradient(180deg, transparent 70%, rgba(7, 22, 41, .55));
  animation: glow-shift 16s ease-in-out infinite alternate;
}

/* ---------- Home hero ---------- */
.hero {
  padding: calc(var(--header-h) + clamp(40px, 7vw, 92px)) 0 clamp(64px, 8vw, 110px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(144, 202, 249, .28);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #DCEBFB;
  font-size: .92rem;
  font-weight: 500;
}
.pill-icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(33, 150, 243, .22);
  color: var(--sky);
}
.pill-icon .icon { width: 16px; height: 16px; }

.hero h1 {
  font-size: clamp(2.35rem, 5.1vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 15ch;
}
.hero-lead {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #C9D6E8;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 0;
  color: #9FB3CC;
  font-size: .95rem;
}
.hero-meta .icon { width: 18px; height: 18px; color: var(--sky); }

.hero-visual {
  position: relative;
  margin: 0;
  padding: clamp(14px, 2.2vw, 26px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(144, 202, 249, .18);
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015));
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-visual figcaption {
  margin-top: 10px;
  padding: 0 6px;
  font-size: .86rem;
  color: #8EA4BF;
}

/* Hero load sequence */
[data-hero] {
  opacity: 0;
  transform: translateY(26px);
  animation: rise-in .95s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.hero-visual {
  opacity: 0;
  transform: scale(1.06);
  animation: cinematic-in 1.6s var(--ease-out) .25s forwards;
}

/* Hero schematic */
.schematic { width: 100%; height: auto; overflow: visible; }
.schematic text { font-family: var(--font-body); }
.sc-pipe { fill: none; stroke: rgba(144, 202, 249, .14); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: fade-in 1s var(--ease) .9s forwards; }
.sc-line { fill: none; stroke: #90CAF9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards; animation-delay: calc(600ms + var(--d, 0) * 1ms); }
.sc-shape { fill: rgba(33, 150, 243, .07); stroke: #90CAF9; stroke-width: 2; }
.sc-soft { fill: none; stroke: rgba(144, 202, 249, .32); stroke-width: 1.5; stroke-dasharray: 4 6; }
.sc-fill-navy { fill: #0E2648; stroke: #90CAF9; stroke-width: 2; }
.sc-flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 15; opacity: 0; animation: fade-in .8s var(--ease) 2.3s forwards, flow 1.3s linear 2.3s infinite; }
.sc-flow.cold { stroke: #42A5F5; }
.sc-flow.hot { stroke: #BBDEFB; animation-duration: .8s, 1.1s; }
.sc-flow.drain { stroke: #64B5F6; animation-duration: .8s, 2.2s; }
.sc-element { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; animation: element-glow 3.2s ease-in-out 2.5s infinite; }
.sc-tag rect { fill: rgba(7, 22, 41, .88); stroke: rgba(144, 202, 249, .32); }
.sc-tag text { fill: #DCEBFB; font-size: 12px; font-weight: 500; }
.sc-tag { opacity: 0; animation: fade-in .8s var(--ease) forwards; animation-delay: calc(1900ms + var(--d, 0) * 1ms); }
.sc-drop { fill: #64B5F6; animation: drip 2.6s cubic-bezier(.55, 0, .9, .4) 2.8s infinite; opacity: 0; }
.sc-group { opacity: 0; animation: fade-in .9s var(--ease) forwards; animation-delay: calc(400ms + var(--d, 0) * 1ms); }

/* ---------- Page banner (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(52px, 8vw, 104px)) 0 clamp(60px, 8vw, 104px);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 17ch;
  margin-bottom: 20px;
}
.page-hero-lead { max-width: 58ch; font-size: clamp(1.05rem, 1.4vw, 1.18rem); }
.page-hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(46%, 560px);
  z-index: -1;
  pointer-events: none;
  opacity: .9;
}
.page-hero-art svg { width: 100%; height: 100%; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: .92rem;
  color: #9FB3CC;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5D7391; }
.breadcrumb a { color: #DCEBFB; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(76px, 10vw, 132px); }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.bg-mist { background: var(--mist); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
  font-weight: 700;
  letter-spacing: -.03em;
}
.section-head p, .lead { color: var(--slate-text); font-size: 1.125rem; }
.section-foot { margin-top: clamp(36px, 4vw, 52px); display: flex; justify-content: center; }

.prose p { color: var(--slate-text); }
.prose p.strong { color: var(--ink); font-size: 1.15rem; }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split.is-reversed > :first-child { order: 2; }

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 20% 10%, #FFFFFF 0%, transparent 55%),
    linear-gradient(150deg, #E4EFFB 0%, #F5F9FD 55%, #D7E6F6 100%);
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-2);
  border: 1px solid #DCE6F2;
}
.media-frame.on-mist { background: linear-gradient(150deg, #FFFFFF 0%, #EEF4FB 100%); }
.media-inner { position: absolute; inset: -6% 0; will-change: transform; }
.media-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6% 7%;
  transition: transform 1.2s var(--ease-out);
}
.media-frame:hover .media-inner img { transform: scale(1.045); }

.media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(11, 31, 58, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #C9D6E8;
  font-size: .88rem;
  box-shadow: 0 16px 32px -18px rgba(7, 22, 41, .8);
}
.media-badge strong { font-family: var(--font-head); color: var(--white); font-size: 1.15rem; letter-spacing: -.01em; }

.check-list {
  list-style: none;
  margin: 26px 0 34px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.check-list .icon {
  width: 24px; height: 24px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: #E3F0FD;
  color: var(--blue);
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.service-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.service-card.is-featured { grid-column: span 3; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: #BFD5EE;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 15% 0%, #FFFFFF 0%, transparent 60%),
    linear-gradient(155deg, #E6F0FB 0%, #F4F8FC 60%, #DCE8F6 100%);
  border-bottom: 1px solid #E5ECF4;
}
.service-card.is-featured .card-media { aspect-ratio: 16 / 9; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5% 8%;
  transition: transform .9s var(--ease-out);
}
.service-card:hover .card-media img { transform: scale(1.06); }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.card-body h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.card-body p { flex: 1; color: var(--slate-text); font-size: 1rem; margin-bottom: 20px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-card .link-arrow:focus-visible { outline: none; }
.service-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.service-card:hover .link-arrow .icon { transform: translateX(5px); }

/* ---------- Why choose ---------- */
.why {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 36px); }
.why-intro .btn { margin-top: 12px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-item { padding: 34px 32px 34px 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(odd) { border-right: 1px solid var(--line); }
.why-item:nth-child(even) { padding: 34px 0 34px 32px; }
.why-item h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; }
.why-item p { color: var(--slate-text); font-size: .99rem; }
.icon-tile {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #E1EEFC, #F3F8FE);
  color: var(--blue);
  border: 1px solid #D4E4F6;
  transition: transform .45s var(--ease-out), background-color .35s, color .35s;
}
.icon-tile .icon { width: 24px; height: 24px; }
.why-item:hover .icon-tile, .value-item:hover .icon-tile {
  transform: translateY(-3px) rotate(-5deg);
  background: var(--blue);
  color: var(--white);
}

/* ---------- Service areas ---------- */
.areas {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.area-map {
  position: relative;
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-xl);
  background: radial-gradient(120% 100% at 80% 0%, #17386A 0%, var(--navy) 55%);
  box-shadow: var(--shadow-2);
}
.area-map figcaption { margin-top: 8px; font-size: .86rem; color: #8EA4BF; }
.area-map svg { width: 100%; height: auto; }
.area-map text { font-family: var(--font-head); }
.am-route { fill: none; stroke: rgba(144, 202, 249, .16); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.am-flow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; animation-play-state: paused; }
.is-playing .am-flow, .is-playing .cta-flow { animation-play-state: running; }
.am-node circle:first-child { fill: var(--navy); stroke: var(--sky); stroke-width: 3; }
.am-node circle:last-child { fill: var(--accent); }
.am-label { fill: var(--white); font-size: 17px; font-weight: 600; }
.am-sub { fill: #8EA4BF; font-size: 12px; font-family: var(--font-body); }
.am-base rect { fill: var(--accent); }

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.area-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #BFD5EE; }
.area-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.area-card h3 .icon { color: var(--accent); width: 22px; height: 22px; }
.area-card p { flex: 1; color: var(--slate-text); font-size: .98rem; margin-bottom: 18px; }
.area-card .link-arrow { font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(80px, 10vw, 128px); text-align: center; }
.cta-band h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-band p { max-width: 52ch; margin: 0 auto; font-size: 1.15rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.cta-hours { margin-top: 22px !important; font-size: .95rem !important; color: #8EA4BF; }
.cta-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-art svg { width: 100%; height: 100%; }
.cta-pipe { fill: none; stroke: rgba(144, 202, 249, .10); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.cta-flow { fill: none; stroke: rgba(66, 165, 245, .55); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 18; animation: flow 1.8s linear infinite; animation-play-state: paused; }
.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
}
.orb-1 { width: 420px; height: 420px; left: -120px; top: -140px; background: #1565C0; animation: orb-a 18s ease-in-out infinite alternate; }
.orb-2 { width: 360px; height: 360px; right: -100px; bottom: -160px; background: #2196F3; opacity: .35; animation: orb-b 22s ease-in-out infinite alternate; }

/* ---------- About page ---------- */
.story {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.story-year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(5.5rem, 16vw, 12rem);
  line-height: .85;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
  background: linear-gradient(180deg, rgba(33, 150, 243, .14), rgba(33, 150, 243, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  user-select: none;
}
.story-year-label { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--slate-text); -webkit-text-stroke: 0; }

.mission {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}
.mission h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; color: var(--blue); letter-spacing: 0; margin-bottom: 18px; }
.mission-text {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value-item {
  padding: 34px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color .4s;
}
.value-item:hover { background: #FAFCFF; }
.value-item h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.value-item p { color: var(--slate-text); font-size: .99rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px 0 16px;
  border-radius: 999px;
  border: 1px solid #CFDBE8;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease-out);
}
.chip .icon { width: 20px; height: 20px; color: var(--accent); transition: color .3s; }
.chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.chip:hover .icon { color: var(--sky); }

/* ---------- Services page ---------- */
.service-nav {
  position: sticky;
  top: 66px;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.service-nav ul {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  scrollbar-width: none;
}
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: block;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--slate-text);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.service-nav a:hover { background: var(--mist); color: var(--navy); }
.service-nav a.is-active { background: var(--navy); color: var(--white); }

.service-detail { padding-block: clamp(72px, 9vw, 120px); scroll-margin-top: 140px; }

.service-detail h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; }
.service-detail h3 { font-size: 1.05rem; font-weight: 600; margin: 30px 0 14px; }
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: .99rem; }
.benefits .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.service-actions .link-arrow { margin-left: 8px; }
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: #EAF3FD;
  border: 1px solid #CFE2F7;
  color: var(--navy);
  font-size: .96rem;
}
.note .icon { color: var(--blue); margin-top: 1px; }

/* ---------- Contact page ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-card {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #BFD5EE; }
.contact-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.contact-card .icon-tile { margin: 0; flex: none; }
.contact-card h2 { font-family: var(--font-body); font-size: .92rem; font-weight: 500; color: var(--slate-text); letter-spacing: 0; margin: 2px 0 6px; }
.contact-card p, .contact-card a { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.08rem; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:focus-visible { outline: none; }
.contact-card .meta { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--slate-text); }
.contact-card.is-wa .icon-tile { background: #E5F5EE; border-color: #C7E8D9; color: var(--wa); }
.contact-card.is-wa:hover .icon-tile { background: var(--wa); color: var(--white); }
.contact-card:hover .icon-tile { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.enquiry {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
}
.enquiry-aside { padding: clamp(28px, 4vw, 52px); }
.enquiry-aside h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; }
.enquiry-aside .aside-actions { display: grid; gap: 12px; margin: 30px 0; }
.enquiry-aside .aside-actions .btn { justify-content: flex-start; }
.hours-list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(144, 202, 249, .18); display: grid; gap: 8px; font-size: .97rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; }
.hours-list strong { color: var(--white); font-weight: 600; }

.enquiry-form { padding: clamp(28px, 4vw, 52px); }
.reach { padding: clamp(28px, 4vw, 52px); }
.reach-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.reach-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color .3s, box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.reach-item:hover { border-color: #BFD5EE; box-shadow: var(--shadow-1); transform: translateY(-2px); }
.reach-item.is-wa .icon-tile { background: #E3F5EE; color: var(--wa); }
.reach-copy h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; }
.reach-copy p { margin: 0; color: var(--slate-text); font-size: .95rem; }
.reach-item .btn { white-space: nowrap; }
.reach-context { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(144, 202, 249, .12); color: #DCEBFB; font-size: .95rem; }
@media (max-width: 1100px) {
  .reach-item { grid-template-columns: auto 1fr; }
  .reach-item .btn { grid-column: 1 / -1; width: 100%; }
}
.form-intro { color: var(--slate-text); font-size: .96rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.optional { font-weight: 400; color: var(--slate-text); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid #C6D2E0;
  border-radius: 12px;
  background: #F8FAFC;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231565C0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9FB2C8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, .2);
}
.field [aria-invalid="true"] { border-color: var(--error); background-color: #FFFBFA; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.field-error { margin: 0; color: var(--error); font-size: .9rem; font-weight: 500; }
.field-error:empty { display: none; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--slate-text); cursor: pointer; }
.checkbox input {
  flex: none;
  width: 22px; height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 28px; }
.form-note { margin: 0; font-size: .95rem; color: var(--slate-text); }

.form-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: .98rem;
}
.form-status:empty { display: none; }
.form-status:focus { outline: none; }
.form-status.is-success { background: #ECFDF3; border: 1px solid #ABEFC6; color: #05603A; }
.form-status.is-error { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; }
.form-status strong { display: block; margin-bottom: 4px; }
.form-status .fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Text pages ---------- */
.text-page { max-width: 760px; }
.text-page h2 { font-size: 1.45rem; font-weight: 600; margin-top: 2em; }
.text-page p, .text-page li { color: var(--slate-text); }
.text-page ul { padding-left: 1.2em; }
.text-page li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #AFC0D6;
  padding-top: clamp(64px, 8vw, 96px);
  font-size: .97rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr 1.1fr .85fr 1.4fr;
  gap: clamp(28px, 3.5vw, 48px);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
  margin: 0 0 18px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #D3DEEC; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--sky); }
.footer-contact address { font-style: normal; }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--white);
  transition: background-color .3s, border-color .3s, transform .35s var(--ease-out);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.social-btn .icon { width: 20px; height: 20px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .9rem;
  color: #8EA4BF;
}
.footer-bottom a { color: #D3DEEC; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Real project photos in existing media frames ---------- */
.pj-zoom picture, .qw-link picture, .media-inner picture { display: block; width: 100%; height: 100%; }
.media-frame.is-photo { background: var(--navy-soft); }
.media-frame.is-photo .media-inner img { object-fit: cover; padding: 0; }
.section-foot { flex-wrap: wrap; gap: 12px; }
.svc-proof { margin: 18px 0 0 !important; }

/* ---------- Homepage: Quality Work. Real Results. ---------- */
.qw { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.qw::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(700px circle at 85% 0%, rgba(33, 150, 243, .18), transparent 60%),
              radial-gradient(520px circle at 0% 100%, rgba(21, 101, 192, .22), transparent 60%);
}
.qw-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.qw-head .h2 { margin-bottom: 0; }
.qw-head p { margin: 0; font-size: 1.1rem; color: #B9C9DD; }
.qw-eyebrow, .pj-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
}
.qw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.qw-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--navy-soft);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .8);
  isolation: isolate;
}
.qw-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.qw-grid li:first-child .qw-link { aspect-ratio: auto; height: 100%; }
.qw-grid li:first-child .qw-title { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.qw-link picture, .qw-link img { width: 100%; height: 100%; }
.qw-link img { object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.qw-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 41, 0) 40%, rgba(7, 22, 41, .88) 100%);
  transition: opacity .5s;
}
.qw-over {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 22px 22px 20px;
  transform: translateY(6px);
  transition: transform .6s var(--ease-out);
}
.qw-cat {
  justify-self: start;
  margin-bottom: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 150, 243, .26);
  border: 1px solid rgba(144, 202, 249, .35);
  color: #DCEBFB;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.qw-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.2; }
.qw-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: #B9C9DD; }
.qw-loc .icon { width: 15px; height: 15px; color: var(--sky); }
.qw-link:hover img { transform: scale(1.06); }
.qw-link:hover .qw-over, .qw-link:focus-visible .qw-over { transform: none; }
.qw-link:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.qw-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(36px, 4vw, 52px); }
.qw-foot p { margin: 0; color: #8EA4BF; font-size: .95rem; max-width: 52ch; }

/* ---------- Projects page ---------- */
.pj-h1 { max-width: 20ch !important; }
.pj-h1 .pj-eyebrow { display: block; margin-bottom: 16px; font-family: var(--font-body); }
.pj-hero-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; list-style: none; margin: 34px 0 0; padding: 0; color: #9FB3CC; font-size: .95rem; }
.pj-hero-stats li { display: flex; align-items: baseline; gap: 8px; }
.pj-hero-stats strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--white); letter-spacing: -.02em; }

.pj-section { padding-bottom: clamp(72px, 9vw, 120px); background: var(--mist); }
.pj-filterbar {
  position: sticky;
  top: 66px;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.pj-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  scrollbar-width: none;
}
.pj-filters::-webkit-scrollbar { display: none; }
.pj-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #CFDBE8;
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-text);
  font: 500 .95rem/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pj-filter:hover { border-color: var(--blue); color: var(--navy); }
.pj-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pj-filter-n {
  min-width: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate-text);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
}
.pj-filter[aria-pressed="true"] .pj-filter-n { background: rgba(255, 255, 255, .16); color: var(--white); }
.pj-status { margin: 28px 0 20px; color: var(--slate); font-size: .95rem; }

.pj-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 24px;
}
.pj-card {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s, opacity .35s;
}
.pj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: #BFD5EE; }
.pj-card[hidden] { display: none; }
.pj-card.is-entering { animation: pj-in .55s var(--ease-out) both; }
.pj-card--pair, .pj-card--trio { grid-column: span 6; }
.pj-card--seq { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2.4fr); }
.pj-card--wide { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.pj-media { position: relative; flex: none; overflow: hidden; margin: 0; padding: 0; background: var(--navy-soft); }
.pj-card--single .pj-media, .pj-card--wide .pj-media { aspect-ratio: 1 / 1; }
.pj-card--wide .pj-media { aspect-ratio: auto; min-height: 360px; }
.pj-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.pj-pair .pj-zoom { aspect-ratio: 1 / 1; }
.pj-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.pj-trio .pj-zoom { aspect-ratio: 3 / 4; }
.pj-card--pair .pj-media, .pj-card--trio .pj-media { background: var(--line); }

.pj-zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--navy-soft);
  cursor: zoom-in;
}
.pj-zoom picture, .pj-zoom img { width: 100%; height: 100%; }
.pj-zoom img { object-fit: cover; transition: transform 1s var(--ease-out); }
.pj-zoom:hover img { transform: scale(1.05); }
.pj-zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 0; }
.pj-zoom-icon {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(7, 22, 41, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s, transform .35s var(--ease-out);
}
.pj-zoom-icon svg { width: 20px; height: 20px; }
.pj-zoom:hover .pj-zoom-icon, .pj-zoom:focus-visible .pj-zoom-icon { opacity: 1; transform: none; }
@media (hover: none) { .pj-zoom-icon { opacity: .9; transform: none; width: 32px; height: 32px; } }

.pj-stage {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 22, 41, .8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.3;
}
.pj-stage--before { background: rgba(122, 36, 22, .88); }
.pj-stage--after, .pj-stage--completed { background: rgba(15, 123, 84, .92); }
.pj-stage--during, .pj-stage--work { background: rgba(21, 101, 192, .9); }

.pj-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.pj-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; font-size: .85rem; }
.pj-cat { padding: 4px 10px; border-radius: 999px; background: #E3F0FD; color: var(--blue-hover); font-weight: 600; }
.pj-loc { display: inline-flex; align-items: center; gap: 5px; color: var(--slate-text); }
.pj-loc .icon { width: 15px; height: 15px; color: var(--accent); }
.pj-title { font-size: 1.28rem; font-weight: 600; margin-bottom: 8px; }
.pj-desc { flex: 1; color: var(--slate-text); font-size: .98rem; margin-bottom: 18px; }
.pj-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pj-link { font-size: .95rem; }
.pj-view { min-height: 42px; padding: 0 16px; }
.pj-view-n { font-weight: 500; opacity: .8; }
.pj-count { font-size: .82rem; color: var(--slate); }

/* Before -> during -> after sequence */
.pj-card--seq .pj-body { padding: clamp(24px, 3vw, 36px); justify-content: center; }
.pj-card--seq .pj-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.pj-seq {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: clamp(16px, 2vw, 22px);
  background: var(--mist);
  counter-reset: step;
}
.pj-step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.pj-step .pj-zoom { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
.pj-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% - 40px);
  right: -12px;
  z-index: 2;
  width: 10px; height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}
.pj-step-cap { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--slate-text); }

.pj-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 36px 0 0;
  color: var(--slate-text);
  font-size: .92rem;
}
.pj-note .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }

/* Lightbox */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(4, 12, 24, .94); }
.lightbox[open] { animation: fade-in .3s var(--ease) both; opacity: 0; }
.lb-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) max(16px, env(safe-area-inset-bottom));
}
.lb-top { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.lb-title { flex: 1; margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.lb-count { margin: 0; color: #9FB3CC; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb-figure { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 0; margin: 0; }
.lb-img {
  max-width: min(100%, 1100px);
  max-height: calc(100% - 70px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  touch-action: pan-y;
  user-select: none;
  transition: opacity .25s;
}
.lb-img.is-loading { opacity: .25; }
.lb-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 70ch; text-align: center; color: #C9D6E8; font-size: .97rem; }
.lb-cap .pj-stage { position: static; }
.lb-cap .pj-stage:empty { display: none; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  transition: background-color .25s, transform .3s var(--ease-out);
}
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }
.lb-btn[hidden] { display: none; }
body.lb-open { overflow: hidden; }

@keyframes pj-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .pj-card, .pj-card--wide { grid-column: span 6; }
  .pj-card--wide { display: flex; }
  .pj-card--wide .pj-media { aspect-ratio: 1 / 1; min-height: 0; }
  .pj-card--pair, .pj-card--trio { grid-column: 1 / -1; }
  .pj-card--seq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .site-nav.is-open li:nth-child(5) .nav-link { transition-delay: .2s; }
  .qw-head { grid-template-columns: 1fr; }
  .qw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qw-grid li:first-child { grid-column: auto; grid-row: auto; }
  .qw-grid li:first-child .qw-link { aspect-ratio: 4 / 3; height: auto; }
  .lb-prev, .lb-next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; }
  .lb-prev:hover, .lb-next:hover { transform: none; }
  .lb-img { max-height: calc(100% - 140px); }
  .lb-figure { padding-bottom: 64px; }
}
@media (max-width: 640px) {
  .pj-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pj-card, .pj-card--wide, .pj-card--pair, .pj-card--trio, .pj-card--seq { grid-column: auto; }
  .pj-seq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .pj-step:nth-child(2)::after { display: none; }
  .pj-step:not(:last-child)::after { right: -8px; width: 8px; height: 8px; }
  .pj-body { padding: 20px; }
  .pj-hero-stats strong { font-size: 1.45rem; }
  .qw-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .qw-grid::-webkit-scrollbar { display: none; }
  .qw-tile { scroll-snap-align: start; }
  .qw-foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pj-card.is-entering, .lightbox[open] { animation: none; opacity: 1; }
}

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: #BFD5EE; }
.post-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.post-card-media { display: block; flex: none; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-soft); }
.post-card-media picture, .post-card-media img { display: block; width: 100%; height: 100%; }
.post-card-media img { object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font-size: .85rem; color: var(--slate); }
.post-cat { padding: 4px 10px; border-radius: 999px; background: #E3F0FD; color: var(--blue-hover); font-weight: 600; }
.post-card-title { font-size: 1.22rem; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card-title a:focus-visible { outline: none; }
.post-card-desc { flex: 1; color: var(--slate-text); font-size: .97rem; margin-bottom: 18px; }
.post-card .link-arrow { position: relative; z-index: 2; align-self: flex-start; }

.post-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.post-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 18px; color: #9FB3CC; font-size: .93rem; }
.post-hero-meta .pill { margin: 0; }
.post-title { font-size: clamp(2rem, 4.4vw, 3.3rem) !important; max-width: 22ch !important; }
.post-hero .breadcrumb li:last-child { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.post { padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.post-container { max-width: 780px; }
.post-figure { margin: 0 0 clamp(32px, 4vw, 48px); }
.post-figure picture, .post-figure img { display: block; width: 100%; }
.post-figure img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-1); background: var(--mist); }
.post-figure figcaption { margin-top: 12px; font-size: .9rem; color: var(--slate); }
.post-body { font-size: 1.08rem; line-height: 1.75; color: #1F2A3A; }
.post-body > * + * { margin-top: 1.1em; }
.post-body p { margin: 0; }
.post-body .lead { font-size: 1.2rem; line-height: 1.65; color: var(--ink); }
.post-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; margin: 2em 0 .2em; }
.post-body h3 { font-size: 1.2rem; font-weight: 600; margin: 1.6em 0 .1em; }
.post-body ul, .post-body ol { margin-bottom: 0; padding-left: 1.3em; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--blue); }
.post-body a { font-weight: 500; }
.post-body strong { color: var(--navy); }
.post-cta { margin-top: clamp(40px, 5vw, 56px); padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); }
.post-cta h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; }
.post-cta p { max-width: 56ch; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.svc-guides { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.bg-mist .svc-guides { background: var(--white); }
.service-detail:not(.bg-mist) .svc-guides { background: var(--mist); border-color: transparent; }
.svc-guides h3 { margin: 0 0 10px !important; font-size: .82rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--slate) !important; }
.svc-guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc-guides a { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; line-height: 1.4; }
.svc-guides a .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--blue); transition: transform .35s var(--ease); }
.svc-guides a:hover { color: var(--blue); }
.svc-guides a:hover .icon { transform: translateX(4px); }

.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.faq-item summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--slate-text); }

@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .site-nav.is-open li:nth-child(6) .nav-link { transition-delay: .25s; } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-cta-actions .btn { width: 100%; }
  .post-hero .breadcrumb li:last-child { display: none; }
  .post-body { font-size: 1.03rem; }
}

/* ---------- Floating contact buttons ---------- */
.fab-stack {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.fab-stack.is-hidden, body.nav-open .fab-stack {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
}
.fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(7, 22, 41, .6), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: transform .35s var(--ease-out), background-color .25s;
}
.fab .icon { width: 26px; height: 26px; }
.fab-wa { background: var(--wa); }
.fab-wa:hover { background: var(--wa-hover); }
.fab-call { background: var(--blue); }
.fab-call:hover { background: var(--blue-hover); }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(8px, -50%);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-1);
  transition: opacity .25s, transform .3s var(--ease-out);
}
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="image"] {
  transform: scale(1.04);
  clip-path: inset(10% 10% 10% 10% round var(--r-xl));
  transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out), clip-path 1.3s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round var(--r-xl)); }

/* main.js removes [data-reveal] once an element has finished revealing,
   so each component's own hover transitions take over afterwards. */

/* ---------- Keyframes ---------- */
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes cinematic-in { to { opacity: 1; transform: scale(1); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grid-drift { to { transform: translate3d(44px, 44px, 0); } }
@keyframes glow-shift { to { transform: translate3d(-3%, 2%, 0) scale(1.05); } }
@keyframes element-glow { 0%, 100% { stroke: #2196F3; } 50% { stroke: #90CAF9; } }
@keyframes drip {
  0% { opacity: 0; transform: translateY(0) scale(.6); }
  12% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: translateY(46px); }
  80%, 100% { opacity: 0; transform: translateY(52px); }
}
@keyframes orb-a { to { transform: translate3d(120px, 60px, 0); } }
@keyframes orb-b { to { transform: translate3d(-140px, -40px, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .services-grid .service-card { grid-column: span 3; }
  .services-grid .service-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .services-grid .service-card:last-child .card-media { flex: 0 0 46%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid #E5ECF4; }
  .header-call span { display: none; }
  .header-call { width: 44px; padding: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: calc(var(--header-h) + 28px) var(--gutter) max(28px, env(safe-area-inset-bottom));
    background:
      radial-gradient(500px circle at 100% 0%, rgba(33, 150, 243, .22), transparent 60%),
      var(--navy-deep);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-link {
    padding: 18px 0;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -.02em;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s var(--ease), transform .5s var(--ease-out), color .25s;
  }
  .site-nav.is-open .nav-link { opacity: 1; transform: none; }
  .site-nav.is-open li:nth-child(2) .nav-link { transition-delay: .05s; }
  .site-nav.is-open li:nth-child(3) .nav-link { transition-delay: .1s; }
  .site-nav.is-open li:nth-child(4) .nav-link { transition-delay: .15s; }
  .nav-link::after { left: 0; right: auto; width: 36px; bottom: 10px; }
  .nav-mobile-extra { display: grid; gap: 12px; margin-top: 32px; }
  .nav-mobile-extra p { margin: 8px 0 0; color: #8EA4BF; font-size: .95rem; }

  .hero { min-height: 0; }
  .hero-grid, .split, .why, .areas, .enquiry, .story { grid-template-columns: 1fr; }
  .split.is-reversed > :first-child { order: 0; }
  .hero-visual { max-width: 620px; }
  .why-intro { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .page-hero-art { opacity: .35; width: 70%; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card,
  .services-grid .service-card.is-featured,
  .services-grid .service-card:last-child { grid-column: auto; flex-direction: column; }
  .services-grid .service-card:last-child .card-media { flex: none; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid #E5ECF4; }
  .why-grid, .area-grid, .contact-cards, .form-grid, .benefits, .values-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(even) { padding: 28px 0; border-right: 0 !important; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .service-actions .btn { flex: 1 1 100%; }
  .service-actions .link-arrow { margin: 6px 0 0; }
  .form-footer .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 84px; }
  .fab { width: 52px; height: 52px; border-radius: 16px; }
  .fab .icon { width: 24px; height: 24px; }
  .fab-label { display: none; }
  .page-hero-art { display: none; }
  .media-badge { left: 14px; bottom: 14px; padding: 10px 14px; }
  .brand-tag { display: none; }
}

@media (max-width: 480px) {
  .sc-tag { display: none; }
}

@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.18rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .sc-flow, .am-flow, .cta-flow, .sc-drop { display: none; }
  .blueprint::before, .blueprint::after, .orb { animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .fab-stack, .cta-art, .orb, .service-nav { display: none !important; }
  .surface-dark { background: #fff; color: #000; }
  .surface-dark h1, .surface-dark h2 { color: #000; }
}
