/* ==========================================================================
   SAMMYS TECHNOLOGY — SHARED DESIGN SYSTEM
   Plain CSS is intentionally kept readable and commented for active development.
   ========================================================================== */

:root {
  --navy-1000: #020b16;
  --navy-950: #03172f;
  --navy-900: #071d35;
  --navy-800: #0d2a49;
  --blue-600: #0c6ee8;
  --blue-500: #2586f5;
  --cyan: #63e0ff;
  --signal: #ffc928;
  --warm-white: #f4f1ea;
  --mist: #eef3f6;
  --white: #ffffff;
  --ink: #071525;
  --muted: #657383;
  --dark-line: rgba(7, 21, 37, .13);
  --light-line: rgba(255, 255, 255, .16);
  --header-height: 82px;
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --shadow: 0 30px 80px rgba(1, 15, 33, .18);
  --content-width: 1440px;
  --orbit-size: clamp(390px, 39vw, 610px);
  --orbit-radius: calc(var(--orbit-size) * .39);
  --active-accent: #ffc928;
  --active-accent-rgb: 255, 201, 40;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--warm-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
section[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   VOTE POPUP
   ========================================================================== */
.vote-popup { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 22px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.vote-popup.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.vote-popup-backdrop { position: absolute; inset: 0; background: rgba(2,11,22,.78); backdrop-filter: blur(10px); }
.vote-popup-panel { position: relative; z-index: 2; width: min(940px, 100%); max-height: min(860px, 92svh); display: grid; grid-template-columns: minmax(260px, .88fr) 1fr; overflow: hidden; border-radius: 28px; background: #07111c; color: var(--white); box-shadow: 0 34px 90px rgba(0,0,0,.36); border: 1px solid rgba(255,255,255,.14); }
.vote-popup-close { position: absolute; right: 14px; top: 14px; z-index: 4; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(2,11,22,.72); color: var(--white); cursor: pointer; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.vote-popup-media { min-height: 420px; background: #020b16; overflow: hidden; }
.vote-popup-media[hidden] { display: none; }
.vote-popup-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.vote-popup-copy { padding: clamp(28px, 5vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.vote-popup-copy .eyebrow { color: var(--signal); }
.vote-popup-copy h2 { margin: 0; font-size: clamp(34px, 4.6vw, 62px); line-height: .98; letter-spacing: -.05em; }
.vote-popup-copy > p:not(.eyebrow) { margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.65; }
.vote-popup-code { margin-top: 28px; padding: 16px 18px; border-radius: 18px; background: rgba(255,201,40,.12); border: 1px solid rgba(255,201,40,.32); display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 330px; }
.vote-popup-code span { color: rgba(255,255,255,.62); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.vote-popup-code strong { color: var(--signal); font-size: 28px; letter-spacing: .02em; }
.vote-popup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.vote-popup-ussd { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.vote-popup-panel.is-text-only { grid-template-columns: 1fr; width: min(640px, 100%); }

/* ==========================================================================
   FLOATING HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 76px);
  color: var(--white);
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease, min-height .3s ease;
}
.site-header.is-scrolled,
.site-header.is-inner {
  min-height: 70px;
  background: rgba(3, 23, 47, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(0,0,0,.12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo-frame {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-logo-frame img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 13px; letter-spacing: .17em; font-weight: 500; white-space: nowrap; }
.brand-name strong { font-weight: 900; }

.orbit-menu-button {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}
.orbit-menu-icon { position: relative; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.orbit-menu-icon i,
.orbit-menu-icon b { position: absolute; display: block; border-radius: 50%; background: currentColor; }
.orbit-menu-icon i { width: 5px; height: 5px; }
.orbit-menu-icon i:nth-child(1) { left: 6px; top: 16px; }
.orbit-menu-icon i:nth-child(2) { right: 6px; top: 16px; }
.orbit-menu-icon i:nth-child(3) { left: 16px; top: 6px; }
.orbit-menu-icon i:nth-child(4) { left: 16px; bottom: 6px; }
.orbit-menu-icon b { width: 7px; height: 7px; left: 15px; top: 15px; box-shadow: 0 0 15px currentColor; }

/* ========================================================================== 
   FULL SCREEN MENU
   ========================================================================== */
.menu-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  padding: 24px clamp(24px, 6vw, 104px) 40px;
  background: #041326;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
  overflow: auto;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-topline { display: flex; align-items: center; justify-content: space-between; min-height: 62px; position: relative; z-index: 2; }
.menu-kicker { color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; font-weight: 800; }
.menu-close { width: 48px; height: 48px; border: 1px solid var(--light-line); background: transparent; border-radius: 50%; position: relative; cursor: pointer; }
.menu-close span { position: absolute; width: 20px; height: 2px; background: var(--white); left: 13px; top: 22px; }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
.menu-navigation { width: min(820px, 100%); margin: clamp(30px, 5vh, 64px) auto 50px; position: relative; z-index: 2; }
.menu-navigation a { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.menu-navigation em { font-style: normal; color: var(--cyan); font-size: 10px; letter-spacing: .18em; }
.menu-navigation span { font-size: clamp(28px, 4.1vw, 58px); font-weight: 750; letter-spacing: -.045em; transition: transform .25s ease, color .25s ease; }
.menu-navigation a:hover span { transform: translateX(12px); color: var(--signal); }
.menu-footer { width: min(820px, 100%); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.62); font-size: 13px; position: relative; z-index: 2; }
.menu-footer p { margin: 0; }
.menu-backdrop-orbit { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.menu-backdrop-orbit span { position: absolute; border: 1px solid rgba(99,224,255,.08); border-radius: 50%; }
.menu-backdrop-orbit span:nth-child(1) { width: 720px; height: 720px; right: -180px; top: -260px; }
.menu-backdrop-orbit span:nth-child(2) { width: 520px; height: 520px; right: -80px; top: -160px; }
.menu-backdrop-orbit span:nth-child(3) { width: 18px; height: 18px; right: 320px; top: 250px; background: var(--cyan); box-shadow: 0 0 44px var(--cyan); }

/* ========================================================================== 
   HOME HERO
   ========================================================================== */
body[data-service="construction"] { --active-accent: #ffc928; --active-accent-rgb: 255, 201, 40; }
body[data-service="digital"] { --active-accent: #63e0ff; --active-accent-rgb: 99, 224, 255; }
body[data-service="installation"] { --active-accent: #ff7f32; --active-accent-rgb: 255, 127, 50; }
body[data-service="creative"] { --active-accent: #cf75ff; --active-accent-rgb: 207, 117, 255; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 76% 42%, rgba(var(--active-accent-rgb), .11), transparent 29%), linear-gradient(128deg, #020c18, #051c38 56%, #031326);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(20px, 4vw, 80px);
  padding: calc(var(--header-height) + 54px) clamp(22px, 6vw, 104px) 88px;
  transition: background .6s ease;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.95), transparent 72%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; left: -210px; bottom: -190px; background: rgba(12,110,232,.16); }
.hero-glow-two { width: 340px; height: 340px; right: 6%; top: 22%; background: rgba(var(--active-accent-rgb), .07); transition: background .4s ease; }
.hero-content { position: relative; z-index: 3; max-width: 690px; align-self: center; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; font-size: 11px; letter-spacing: .2em; font-weight: 900; color: var(--active-accent); }
.eyebrow.dark { color: var(--blue-600); }
.hero h1 { margin: 0; font-size: clamp(48px, 6.1vw, 86px); line-height: .94; letter-spacing: -.06em; text-transform: uppercase; max-width: 830px; }
.hero h1 span { color: rgba(255,255,255,.62); }
.hero-copy { max-width: 620px; min-height: 86px; margin: 28px 0 18px; color: rgba(255,255,255,.7); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.hero-service-line { display: flex; align-items: center; gap: 14px; min-height: 30px; margin-bottom: 28px; }
.hero-service-line span { color: var(--active-accent); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.hero-service-line strong { font-size: 13px; letter-spacing: .04em; }
.type-target.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--active-accent); margin-left: 4px; vertical-align: -.1em; animation: cursorBlink .6s steps(1) infinite; }
@keyframes cursorBlink { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--active-accent); color: #061220; }
.button-ghost, .button-transparent { border-color: rgba(255,255,255,.24); color: var(--white); background: rgba(255,255,255,.03); }
.button-light { background: var(--white); color: var(--ink); }

/* Interactive orbit */
.orbit-stage { position: relative; z-index: 3; display: grid; place-items: center; min-height: var(--orbit-size); }
.service-orbit { position: relative; width: var(--orbit-size); aspect-ratio: 1; border-radius: 50%; }
.orbit-track { position: absolute; border-radius: 50%; inset: 6%; border: 1px solid rgba(255,255,255,.19); }
.inner-track { inset: 24%; border-color: rgba(99,224,255,.15); }
.orbit-halo { position: absolute; border-radius: 50%; border: 1px solid rgba(var(--active-accent-rgb), .08); pointer-events: none; }
.halo-one { width: calc(var(--orbit-size) + 80px); height: calc(var(--orbit-size) + 80px); }
.halo-two { width: calc(var(--orbit-size) + 170px); height: calc(var(--orbit-size) + 170px); }
.orbit-satellite { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.satellite-one { top: 16%; left: 22%; animation: floatSatellite 5s ease-in-out infinite; }
.satellite-two { bottom: 17%; right: 17%; background: var(--signal); box-shadow: 0 0 20px var(--signal); animation: floatSatellite 6s ease-in-out infinite reverse; }
@keyframes floatSatellite { 50% { transform: translateY(-10px) scale(1.35); } }

.orbit-node {
  position: absolute;
  width: 116px;
  min-height: 112px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  z-index: 4;
  padding: 5px;
}
.node-construction { left: 50%; top: 6%; transform: translate(-50%, -50%); }
.node-digital { right: 6%; top: 50%; transform: translate(50%, -50%); }
.node-installation { left: 50%; bottom: 6%; transform: translate(-50%, 50%); }
.node-creative { left: 6%; top: 50%; transform: translate(-50%, -50%); }
.node-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 29px; background: rgba(3,23,47,.82); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 14px 30px rgba(0,0,0,.24); transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.node-index { font-size: 9px; letter-spacing: .15em; color: rgba(255,255,255,.48); }
.node-label { font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.orbit-node.is-active .node-icon { transform: scale(1.16); border-color: var(--active-accent); background: rgba(var(--active-accent-rgb), .15); box-shadow: 0 0 0 8px rgba(var(--active-accent-rgb), .08), 0 0 38px rgba(var(--active-accent-rgb), .34); }
.orbit-node.is-active .node-label { color: var(--active-accent); }
.service-orbit.is-moving .orbit-node.is-active .node-icon { transform: scale(1); border-color: rgba(255,255,255,.2); background: rgba(3,23,47,.82); box-shadow: 0 14px 30px rgba(0,0,0,.24); }

.orbit-traveller { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; z-index: 3; pointer-events: none; transform: rotate(-90deg) translateX(var(--orbit-radius)) rotate(90deg); }
.orbit-traveller i { display: block; width: 100%; height: 100%; border: 2px solid var(--active-accent); border-radius: 50%; box-shadow: 0 0 28px rgba(var(--active-accent-rgb), .54), inset 0 0 24px rgba(var(--active-accent-rgb), .18); transition: border-color .4s ease, box-shadow .4s ease; }
.orbit-traveller.is-moving i { animation: travellerPulse .72s ease-in-out infinite; }
@keyframes travellerPulse { 50% { transform: scale(1.13); opacity: .65; } }

.orbit-core { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 152px; height: 152px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(3,23,47,.93); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 25px 60px rgba(0,0,0,.34); }
.core-pulse { position: absolute; inset: 11px; border-radius: 50%; border: 1px solid rgba(var(--active-accent-rgb), .2); animation: corePulse 2.7s ease-in-out infinite; }
@keyframes corePulse { 50% { transform: scale(1.08); opacity: .42; } }
.core-logo { font-size: 34px; font-weight: 950; letter-spacing: -.06em; }
.orbit-core small { max-width: 90px; margin-top: 5px; color: rgba(255,255,255,.52); font-size: 8px; line-height: 1.45; letter-spacing: .15em; font-weight: 900; }
.scroll-cue { position: absolute; z-index: 4; left: clamp(22px, 6vw, 104px); bottom: 25px; display: inline-flex; align-items: center; gap: 13px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .18em; font-weight: 900; }
.scroll-cue i { width: 42px; height: 1px; background: rgba(255,255,255,.38); position: relative; }
.scroll-cue i::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); position: absolute; right: 0; top: -3px; }

/* ========================================================================== 
   SHARED SECTIONS AND HEADINGS
   ========================================================================== */
.section { padding: clamp(62px, 7vw, 104px) clamp(22px, 6vw, 104px); }
.section-heading { max-width: var(--content-width); margin: 0 auto 38px; }
.section-heading h2,
.home-about-grid h2,
.cta-copy h2,
.department-process h2,
.department-cta h2,
.partner-panel h2,
.about-contact-cta h2,
.contact-form h2,
.product-feature-section h2,
.product-enquiry-cta h2 {
  margin: 0;
  font-size: clamp(34px, 4.1vw, 60px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.section-heading > p:last-child,
.split-heading > p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 610px; margin: 0; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr); gap: 60px; align-items: end; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ========================================================================== 
   FEATURED PRODUCTS
   ========================================================================== */
.products-section { background: var(--warm-white); }
.product-grid { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-height: 440px; border-radius: var(--radius-md); overflow: hidden; background: var(--white); border: 1px solid var(--dark-line); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card-large { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.product-card-media { min-height: 235px; background: #dfe8ef; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.schoolflow-media { background: linear-gradient(145deg, #e5edf7, #cbd8e8); padding: 28px; }
.schoolflow-media img { object-fit: contain; }
.product-card-copy { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.product-card-copy > span { color: var(--blue-600); text-transform: uppercase; letter-spacing: .17em; font-size: 9px; font-weight: 900; }
.product-card-copy h3 { margin: 12px 0 10px; font-size: 27px; letter-spacing: -.035em; }
.product-card-copy p { color: var(--muted); line-height: 1.65; margin: 0 0 24px; }
.product-card-copy strong { margin-top: auto; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.product-card-copy strong i { font-style: normal; color: var(--blue-600); }

/* ========================================================================== 
   HOME ABOUT + CONTACT CTA
   ========================================================================== */
.home-about-section { background: #e8e3da; }
.home-about-grid { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .75fr; gap: 80px; align-items: start; }
.home-about-copy p { margin: 0 0 24px; color: #52606c; font-size: 18px; line-height: 1.75; }
.text-link { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { color: var(--blue-600); margin-left: 8px; }
.home-contact-cta { position: relative; overflow: hidden; min-height: 540px; display: grid; place-items: center; background: var(--navy-950); color: var(--white); }
.cta-copy { max-width: 850px; text-align: center; position: relative; z-index: 2; }
.cta-copy p:not(.eyebrow) { max-width: 650px; margin: 24px auto 30px; color: rgba(255,255,255,.64); line-height: 1.7; }
.cta-orbit span { position: absolute; border: 1px solid rgba(99,224,255,.09); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.cta-orbit span:nth-child(1) { width: 420px; height: 420px; }
.cta-orbit span:nth-child(2) { width: 650px; height: 650px; }
.cta-orbit span:nth-child(3) { width: 900px; height: 900px; }

/* ========================================================================== 
   SERVICE / DEPARTMENT PAGES
   ========================================================================== */
.theme-construction { --dept: #d68b16; --dept-rgb: 214,139,22; --dept-deep: #3c2a0d; }
.theme-installation { --dept: #e95d1b; --dept-rgb: 233,93,27; --dept-deep: #3a1a0e; }
.theme-creative { --dept: #a45de2; --dept-rgb: 164,93,226; --dept-deep: #281339; }
.theme-digital { --dept: #36c8ff; --dept-rgb: 54,200,255; --dept-deep: #062b45; }

.department-hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + 60px) clamp(22px, 5vw, 82px) 62px;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  background: linear-gradient(125deg, var(--navy-1000), var(--navy-900));
  color: var(--white);
  overflow: hidden;
}
.department-copy { max-width: 630px; }
.department-copy .eyebrow { color: var(--dept); }
.department-emoji { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; background: rgba(var(--dept-rgb), .14); border: 1px solid rgba(var(--dept-rgb), .32); font-size: 34px; margin-bottom: 22px; }
.department-emoji.small { width: 56px; height: 56px; font-size: 27px; margin-inline: auto; }
.department-copy h1 { margin: 0; font-size: clamp(48px, 5.7vw, 82px); line-height: .95; letter-spacing: -.06em; }
.department-copy > p:not(.eyebrow) { margin: 25px 0 30px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.7; }
.department-button { background: var(--dept); color: #07111c; }

.project-mosaic { position: relative; height: min(70vh, 680px); min-height: 530px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(10, 1fr); gap: 12px; }
.mosaic-tile { margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 22px 50px rgba(0,0,0,.26); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.mosaic-tile:hover img { transform: scale(1.045); }
.mosaic-tile-1 { grid-column: 1 / 8; grid-row: 1 / 7; z-index: 2; }
.mosaic-tile-2 { grid-column: 8 / 13; grid-row: 1 / 5; transform: translateY(18px); }
.mosaic-tile-3 { grid-column: 7 / 11; grid-row: 5 / 9; z-index: 3; transform: translate(-16px,-8px); }
.mosaic-tile-4 { grid-column: 1 / 5; grid-row: 7 / 11; transform: translate(18px,-8px); }
.mosaic-tile-5 { grid-column: 5 / 9; grid-row: 7 / 11; z-index: 4; transform: translate(-4px,8px); }
.mosaic-tile-6 { grid-column: 10 / 13; grid-row: 5 / 11; transform: translateX(-8px); }
.mosaic-label { position: absolute; z-index: 6; left: 34px; top: 34px; padding: 11px 16px; border-radius: 999px; background: rgba(3,23,47,.78); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.department-services { background: var(--warm-white); }
.detail-card-grid { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.detail-card { min-height: 220px; padding: 28px; border-radius: var(--radius-md); color: var(--white); background-color: var(--navy-900); background-image: linear-gradient(180deg, rgba(4,15,29,.54), rgba(4,15,29,.9)), var(--card-image); background-size: cover; background-position: var(--card-position, center); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.detail-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -70px; bottom: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--dept-rgb), .28), transparent 68%); }
.detail-card span,
.detail-card h3 { position: relative; z-index: 2; text-shadow: 0 2px 16px rgba(0,0,0,.38); }
.detail-card span { color: var(--dept); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.detail-card h3 { margin: 48px 0 0; max-width: 250px; font-size: 23px; line-height: 1.15; letter-spacing: -.03em; }
.theme-construction .detail-card:nth-child(1) { --card-image: url("../assets/images/inside_html/building_and_construction.jpg"); }
.theme-construction .detail-card:nth-child(2) { --card-image: url("../assets/images/inside_html/biodigester_construction.jpg"); }
.theme-construction .detail-card:nth-child(3) { --card-image: url("../assets/images/inside_html/tiling_and_finishing.jpg"); --card-position: center 34%; }
.theme-construction .detail-card:nth-child(4) { --card-image: url("../assets/images/inside_html/land_surveying.jpeg"); }
.theme-construction .detail-card:nth-child(5) { --card-image: url("../assets/images/inside_html/building_drawing.jpeg"); }
.theme-construction .detail-card:nth-child(6) { --card-image: url("../assets/images/inside_html/3d_epoxy.jpeg"); }
.theme-installation .detail-card:nth-child(1) { --card-image: url("../assets/images/inside_html/technical_fitting.webp"); }
.theme-installation .detail-card:nth-child(2) { --card-image: url("../assets/images/inside_html/cctv_installation.jpg"); }
.theme-installation .detail-card:nth-child(3) { --card-image: url("../assets/images/inside_html/satelote_installation.jpeg"); }
.theme-installation .detail-card:nth-child(4) { --card-image: url("../assets/images/inside_html/technical_fitting.webp"); }
.theme-installation .detail-card:nth-child(5) { --card-image: url("../assets/images/inside_html/Maintenance-Support.webp"); }
.theme-installation .detail-card:nth-child(6) { --card-image: url("../assets/images/inside_html/system_checks_and_upgrade.webp"); }
.theme-creative .detail-card:nth-child(1) { --card-image: url("../assets/images/inside_html/photography_and_photoshoot.jpg"); }
.theme-creative .detail-card:nth-child(2) { --card-image: url("../assets/images/inside_html/graphic_design.jpeg"); }
.theme-creative .detail-card:nth-child(3) { --card-image: url("../assets/images/inside_html/mechandize_printing.jpeg"); }
.theme-creative .detail-card:nth-child(4) { --card-image: url("../assets/images/inside_html/photography_and_photoshoot.jpg"); }
.theme-creative .detail-card:nth-child(5) { --card-image: url("../assets/images/inside_html/vehicle_branding.jpg"); }
.theme-creative .detail-card:nth-child(6) { --card-image: url("../assets/images/inside_html/creative_visual_communication.webp"); }
.theme-digital .detail-card:nth-child(1) { --card-image: url("../assets/images/inside_html/responsive_website.webp"); --card-position: center; }
.theme-digital .detail-card:nth-child(2) { --card-image: url("../assets/images/inside_html/business_managment_system.jpg"); }
.theme-digital .detail-card:nth-child(3) { --card-image: url("../assets/images/inside_html/school_managment_system.jpeg"); --card-position: center; }
.theme-digital .detail-card:nth-child(4) { --card-image: url("../assets/images/inside_html/POS_solutions.jpg"); }
.theme-digital .detail-card:nth-child(5) { --card-image: url("../assets/images/inside_html/web_applications.jpg"); --card-position: center; }
.theme-digital .detail-card:nth-child(6) { --card-image: url("../assets/images/services/digital/server-hosting-management.png"); --card-position: center; }
.theme-digital .detail-card:nth-child(7) { --card-image: url("../assets/images/inside_html/ayromationat_AI.jpeg"); }
.department-process { background: var(--dept-deep); color: var(--white); display: grid; grid-template-columns: .7fr 1fr; gap: 80px; align-items: start; }
.process-intro .eyebrow { color: var(--dept); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); align-items: center; }
.process-list span { color: var(--dept); font-size: 11px; font-weight: 900; }
.process-list p { margin: 0; font-size: 19px; }
.department-cta { text-align: center; background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); color: var(--white); }
.department-cta > div { max-width: 780px; margin: 0 auto; }
.department-cta .eyebrow { color: var(--dept); }
.department-cta p:not(.eyebrow) { color: rgba(255,255,255,.64); line-height: 1.7; margin: 22px 0 28px; }

/* ========================================================================== 
   ABOUT PAGE
   ========================================================================== */
.about-hero { min-height: 84svh; padding: calc(var(--header-height) + 70px) clamp(22px, 6vw, 104px) 80px; display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: center; background: var(--warm-white); }
.about-hero-copy { max-width: 780px; }
.about-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .95; letter-spacing: -.06em; }
.about-hero-copy > p:last-child { color: var(--muted); font-size: 19px; line-height: 1.75; max-width: 680px; }
.about-hero-art { position: relative; width: min(500px, 42vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; display: grid; place-items: center; background: var(--navy-950); color: var(--white); box-shadow: var(--shadow); }
.about-hero-art strong { font-size: 62px; letter-spacing: -.07em; z-index: 3; }
.about-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(99,224,255,.22); }
.orbit-a { inset: 12%; }.orbit-b { inset: 27%; }.orbit-c { inset: -9%; border-color: rgba(12,110,232,.12); }
.about-node { position: absolute; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--white); font-style: normal; font-size: 28px; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.about-node.n1 { top: 2%; left: 50%; transform: translateX(-50%); }.about-node.n2 { right: 2%; top: 50%; transform: translateY(-50%); }.about-node.n3 { bottom: 2%; left: 50%; transform: translateX(-50%); }.about-node.n4 { left: 2%; top: 50%; transform: translateY(-50%); }
.focus-section { background: #e6ebee; }
.focus-grid { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.focus-card { min-height: 300px; padding: 28px; color: var(--white); background-color: var(--navy-900); background-image: linear-gradient(180deg, rgba(4,15,29,.38), rgba(4,15,29,.86)), var(--focus-image); background-size: cover; background-position: var(--focus-position, center); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.focus-card > span { font-size: 32px; position: relative; z-index: 2; }
.focus-card h3 { margin: 55px 0 12px; font-size: 24px; letter-spacing: -.03em; position: relative; z-index: 2; text-shadow: 0 2px 16px rgba(0,0,0,.36); }
.focus-card p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.65; position: relative; z-index: 2; }
.focus-card:nth-child(1) { --focus-image: url("../assets/images/services/Classification/Construction/construction10.jpeg"); }
.focus-card:nth-child(2) { --focus-image: url("../assets/images/services/Classification/Installation/installation33.jpeg"); }
.focus-card:nth-child(3) { --focus-image: url("../assets/images/services/Classification/Creativity/Creativity1.jpeg"); }
.focus-card:nth-child(4) { --focus-image: url("../assets/images/digital-showcase/schoolflow-home.png"); --focus-position: center top; }
.values-strip { max-width: var(--content-width); margin: 22px auto 0; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--dark-line); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.52); }
.values-strip span { padding: 17px; text-align: center; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; border-right: 1px solid var(--dark-line); }
.values-strip span:last-child { border-right: 0; }
.partner-section { background: var(--warm-white); }
.partner-panel { max-width: var(--content-width); margin: 0 auto; min-height: 500px; border-radius: var(--radius-lg); background: var(--navy-950); color: var(--white); padding: clamp(34px,5vw,74px); display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: center; overflow: hidden; position: relative; }
.partner-panel::after { content: ""; position: absolute; width: 560px; height: 560px; right: -240px; top: -230px; border: 1px solid rgba(99,224,255,.15); border-radius: 50%; }
.partner-copy { position: relative; z-index: 2; }
.partner-copy p:not(.eyebrow) { color: rgba(255,255,255,.64); line-height: 1.72; font-size: 17px; }
.partner-logo-box { position: relative; z-index: 2; min-height: 270px; padding: 28px; background: rgba(255,255,255,.94); border-radius: 28px; display: grid; place-items: center; color: var(--ink); }
.partner-logo-box img { max-height: 190px; object-fit: contain; }
.partner-logo-box small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.team-section { background: #081626; color: var(--white); padding-top: 0; }
.team-boundary { margin: 0 clamp(-104px, -6vw, -22px) 72px; min-height: 95px; display: grid; place-items: center; background: var(--signal); color: var(--ink); font-size: 11px; font-weight: 950; letter-spacing: .24em; }
.team-section .section-heading > p { color: rgba(255,255,255,.58); }
.team-grid { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.team-card { background: #0e233a; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.team-photo { aspect-ratio: 4/3; overflow: hidden; background: #16334f; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card > div:last-child { padding: 25px; }
.team-card span { color: var(--cyan); text-transform: uppercase; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.team-card h3 { margin: 11px 0 7px; font-size: 28px; }
.team-card p { margin: 0 0 16px; color: rgba(255,255,255,.74); }
.team-card small { color: rgba(255,255,255,.48); line-height: 1.55; }
.about-contact-cta { background: var(--blue-600); color: var(--white); text-align: center; }
.about-contact-cta > div { max-width: 850px; margin: 0 auto; }
.about-contact-cta .button { margin-top: 28px; }

/* ========================================================================== 
   CONTACT PAGE
   ========================================================================== */
.contact-hero { min-height: 76svh; padding: calc(var(--header-height) + 75px) clamp(22px,6vw,104px) 75px; display: grid; grid-template-columns: 1.1fr .65fr; gap: 70px; align-items: center; background: var(--navy-950); color: var(--white); }
.contact-hero-copy { max-width: 830px; }
.contact-hero h1 { margin: 0; font-size: clamp(48px,6vw,84px); line-height: .96; letter-spacing: -.06em; }
.contact-hero-copy > p:not(.eyebrow) { color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.75; max-width: 720px; }
.contact-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-quick-actions a { padding: 13px 17px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 12px; font-weight: 850; }
.nationwide-card { min-height: 330px; border-radius: 50%; aspect-ratio: 1; background: radial-gradient(circle at 40% 35%, rgba(99,224,255,.23), transparent 35%), #08223b; border: 1px solid rgba(99,224,255,.22); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 28px rgba(99,224,255,.035), 0 0 0 60px rgba(99,224,255,.025); }
.nationwide-card span { font-size: 58px; font-weight: 950; color: var(--cyan); }
.nationwide-card strong { font-size: 18px; max-width: 210px; }
.nationwide-card p { color: rgba(255,255,255,.52); font-size: 11px; }
.contact-main-section { background: var(--warm-white); }
.contact-layout { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: 1fr .65fr; gap: 24px; align-items: start; }
.contact-form { background: var(--white); padding: clamp(28px,4vw,54px); border-radius: var(--radius-lg); border: 1px solid var(--dark-line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-heading { grid-column: 1/-1; margin-bottom: 12px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4) { grid-column: 1/-1; }
.contact-form label span { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #ccd5dc; border-radius: 13px; background: #f8fafb; padding: 14px; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(12,110,232,.1); }
.contact-form button { justify-self: start; }
.form-note { grid-column: 1/-1; color: var(--muted); font-size: 12px; margin: 0; }
.office-panel { background: #e1e7eb; border-radius: var(--radius-lg); padding: clamp(28px,4vw,48px); }
.office-card { background: var(--white); padding: 24px; border-radius: 20px; margin-bottom: 13px; border: 1px solid var(--dark-line); }
.office-card > span { color: var(--blue-600); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.office-card h3 { margin: 15px 0 5px; font-size: 27px; }
.office-card p { margin: 0; color: var(--muted); }
.office-card small { display: block; margin-top: 17px; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; }
.nationwide-note { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--dark-line); }
.nationwide-note p { color: var(--muted); line-height: 1.65; }

/* ========================================================================== 
   PRODUCT DETAIL PAGES
   ========================================================================== */
.product-detail-hero { min-height: 90svh; padding: calc(var(--header-height) + 70px) clamp(22px,6vw,104px) 70px; display: grid; grid-template-columns: .75fr 1.1fr; gap: 70px; align-items: center; background: var(--navy-950); color: var(--white); }
.product-detail-copy h1 { margin: 0; font-size: clamp(52px,6.5vw,94px); line-height: .94; letter-spacing: -.06em; }
.product-detail-copy > p:not(.eyebrow) { color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.7; }
.product-detail-visual { min-height: 490px; border-radius: var(--radius-lg); overflow: hidden; background: #e3ebf3; padding: 28px; display: grid; place-items: center; }
.product-detail-visual img { width: 100%; height: 100%; max-height: 580px; object-fit: contain; }
.product-feature-section { background: var(--warm-white); }
.product-feature-list { max-width: var(--content-width); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.product-feature-list li { min-height: 130px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--dark-line); padding: 28px; font-size: 20px; font-weight: 750; display: flex; align-items: end; }
.product-enquiry-cta { background: var(--blue-600); color: var(--white); text-align: center; }
.product-enquiry-cta > div { max-width: 850px; margin: 0 auto; }
.product-enquiry-cta .button { margin-top: 28px; }

/* ========================================================================== 
   FAQ
   ========================================================================== */
.faq-section { background: var(--warm-white); }
.faq-grid { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--dark-line); border-radius: var(--radius-md); padding: clamp(22px,3vw,32px); }
.faq-item h3 { margin: 0 0 12px; font-size: clamp(19px,2vw,25px); letter-spacing: 0; line-height: 1.2; }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.65; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { min-height: 120px; padding: 28px clamp(22px,6vw,104px); background: var(--navy-1000); color: rgba(255,255,255,.58); display: grid; grid-template-columns: 1fr minmax(220px,360px) auto auto; gap: 24px; align-items: center; font-size: 11px; letter-spacing: .08em; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.site-footer img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; }
.site-footer p { margin: 0; }
.footer-info { line-height: 1.7; }
.footer-info span { color: rgba(255,255,255,.45); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; }
.footer-social a { color: rgba(255,255,255,.74); font-weight: 800; }
.footer-social a:hover { color: var(--white); }

/* ========================================================================== 
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr 480px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card-large { grid-column: span 2; }
  .department-hero { grid-template-columns: .72fr 1fr; }
  .project-mosaic { min-height: 490px; }
  .focus-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; --orbit-size: min(82vw, 490px); }
  .site-header { padding-inline: 20px; }
  .brand-name { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 54px); padding-bottom: 82px; }
  .hero-content { max-width: 760px; }
  .hero h1 { font-size: clamp(45px,10vw,72px); }
  .orbit-stage { min-height: calc(var(--orbit-size) + 42px); margin-top: 24px; }
  .scroll-cue { display: none; }
  .split-heading, .home-about-grid, .department-process, .about-hero, .contact-hero, .contact-layout, .partner-panel, .product-detail-hero { grid-template-columns: 1fr; gap: 38px; }
  .section-heading > p:last-child { max-width: 720px; }
  .department-hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-height) + 65px); }
  .department-copy { max-width: 760px; }
  .project-mosaic { height: 620px; }
  .detail-card-grid, .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-hero-art { width: min(560px,82vw); }
  .values-strip { grid-template-columns: repeat(2,1fr); border-radius: 26px; }
  .values-strip span:nth-child(2) { border-right: 0; }
  .values-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--dark-line); }
  .nationwide-card { width: min(460px,80vw); justify-self: center; }
  .product-detail-visual { min-height: 390px; }
  .faq-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vote-popup-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .vote-popup-media { min-height: 300px; max-height: 48svh; }
}

@media (max-width: 680px) {
  .menu-overlay { padding-inline: 22px; }
  .menu-navigation { margin-top: 28px; }
  .menu-navigation a { grid-template-columns: 38px 1fr; padding: 7px 0; }
  .menu-navigation span { font-size: clamp(25px,8vw,37px); }
  .menu-footer { flex-direction: column; gap: 8px; }
  .orbit-menu-button > span:last-child { display: none; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(41px,12vw,58px); }
  .vote-popup { padding: 12px; }
  .vote-popup-panel { border-radius: 22px; }
  .vote-popup-copy { padding: 26px; }
  .vote-popup-copy h2 { font-size: 35px; }
  .vote-popup-media { min-height: 260px; }
  .vote-popup-actions .button { width: 100%; justify-content: center; }
  .hero-copy { min-height: 120px; font-size: 16px; margin-top: 22px; }
  .hero-service-line { align-items: flex-start; min-height: 45px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .orbit-stage { min-height: calc(var(--orbit-size) + 55px); }
  .service-orbit { margin-inline: auto; }
  .orbit-core { width: 126px; height: 126px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
  .core-logo { font-size: 29px; }
  .orbit-core small { font-size: 7px; max-width: 76px; }
  .orbit-node { width: 90px; min-height: 90px; }
  .node-icon { width: 52px; height: 52px; font-size: 24px; }
  .node-label { font-size: 9px; }
  .node-index { display: none; }
  .orbit-traveller { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .section { padding: 58px 20px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .home-about-grid h2, .cta-copy h2, .department-process h2, .department-cta h2, .partner-panel h2, .about-contact-cta h2, .contact-form h2, .product-feature-section h2, .product-enquiry-cta h2 { font-size: clamp(32px,9vw,46px); }
  .product-grid, .detail-card-grid, .focus-grid, .team-grid, .product-feature-list { grid-template-columns: 1fr; }
  .product-card-large { grid-column: auto; display: flex; }
  .product-card { min-height: 400px; }
  .home-about-grid { gap: 26px; }
  .home-contact-cta { min-height: 500px; }
  .department-hero { padding-inline: 20px; }
  .department-copy h1 { font-size: clamp(44px,12vw,62px); }
  .project-mosaic { min-height: 530px; height: 68vh; gap: 8px; }
  .mosaic-tile { border-radius: 15px; }
  .mosaic-tile-1 { grid-column: 1/9; grid-row: 1/6; }
  .mosaic-tile-2 { grid-column: 9/13; grid-row: 1/5; }
  .mosaic-tile-3 { grid-column: 7/13; grid-row: 5/8; }
  .mosaic-tile-4 { grid-column: 1/6; grid-row: 6/9; }
  .mosaic-tile-5 { grid-column: 5/10; grid-row: 8/11; }
  .mosaic-tile-6 { grid-column: 10/13; grid-row: 8/11; }
  .mosaic-label { left: 15px; top: 15px; }
  .department-process { gap: 25px; }
  .about-hero, .contact-hero, .product-detail-hero { padding-inline: 20px; }
  .about-hero h1, .contact-hero h1, .product-detail-copy h1 { font-size: clamp(44px,12vw,62px); }
  .about-hero-art { width: min(86vw,430px); }
  .about-node { width: 50px; height: 50px; font-size: 22px; }
  .values-strip { grid-template-columns: 1fr; border-radius: 22px; }
  .values-strip span { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .values-strip span:last-child { border-bottom: 0; }
  .partner-panel { padding: 28px; }
  .team-boundary { margin-inline: -20px; text-align: center; padding-inline: 14px; }
  .contact-form { grid-template-columns: 1fr; padding: 25px; }
  .contact-form label, .contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4), .form-heading, .form-note { grid-column: 1; }
  .contact-quick-actions { flex-direction: column; }
  .contact-quick-actions a { text-align: center; }
  .nationwide-card { width: min(78vw,340px); min-height: auto; }
  .product-detail-visual { min-height: 300px; padding: 18px; }
}

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


/* HOMEPAGE DEPARTMENTS + BALANCED MENU: START */

/* --------------------------------------------------------------------------
   Full-screen menu: two independent columns on desktop, one column on mobile.
   -------------------------------------------------------------------------- */
.menu-navigation {
  width: min(1050px, 90vw);
  margin: clamp(36px, 6vh, 70px) auto 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.menu-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.menu-column a {
  width: 100%;
  padding: 10px 0;
}

.menu-navigation span {
  font-size: clamp(28px, 3.7vw, 54px);
}

/* --------------------------------------------------------------------------
   The traveller is a small dot that lands inside the selected emoji node.
   -------------------------------------------------------------------------- */
.orbit-traveller {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  z-index: 6;
}

.orbit-traveller i {
  width: 100%;
  height: 100%;
  display: block;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 50%;
  background: var(--active-accent);
  box-shadow:
    0 0 0 4px rgba(var(--active-accent-rgb), .12),
    0 0 18px rgba(var(--active-accent-rgb), .8);
}

.orbit-traveller.is-moving i {
  animation: travellerDotPulse .7s ease-in-out infinite;
}

@keyframes travellerDotPulse {
  50% {
    transform: scale(1.22);
    box-shadow:
      0 0 0 6px rgba(var(--active-accent-rgb), .08),
      0 0 24px rgba(var(--active-accent-rgb), .95);
  }
}

/* The node centres sit directly on the traveller's 39% radius path. */
.node-construction { top: 11%; }
.node-digital { right: 11%; }
.node-installation { bottom: 11%; }
.node-creative { left: 11%; }

/* --------------------------------------------------------------------------
   Four department introductions now live on the homepage.
   -------------------------------------------------------------------------- */
.home-service-section {
  min-height: 88svh;
  padding-top: clamp(82px, 8vw, 118px);
  padding-bottom: clamp(72px, 7vw, 104px);
  scroll-margin-top: 0;
}

.home-service-section .department-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: .96;
  letter-spacing: -.055em;
}

.home-service-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 88% 15%, rgba(var(--dept-rgb), .12), transparent 28%),
    linear-gradient(125deg, var(--navy-900), var(--navy-1000));
}

.home-service-section .button-transparent {
  border-color: rgba(255,255,255,.28);
}

@media (max-width: 900px) {
  .home-service-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 54px);
  }
}

@media (max-width: 680px) {
  .menu-navigation {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
  }

  .menu-column {
    display: contents;
  }

  .menu-column a {
    padding: 7px 0;
  }

  .orbit-traveller {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
  }

  .home-service-section {
    padding-inline: 20px;
  }

  .home-service-section .department-copy h2 {
    font-size: clamp(40px, 11vw, 58px);
  }
}

/* HOMEPAGE DEPARTMENTS + BALANCED MENU: END */

/* CODED DIGITAL PRODUCT SHOWCASE: START */
/*
   The full Digital page uses miniature interfaces made from HTML/CSS/JS.
   Homepage tiles remain screenshots so the homepage stays light and calm.
*/
.digital-demo-mosaic .mosaic-tile {
  background: #071525;
  isolation: isolate;
}

.demo-tile {
  position: relative;
}

.software-demo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  user-select: none;
}

.demo-window-bar {
  height: clamp(24px, 4.5vh, 40px);
  padding: 0 clamp(9px, 1.1vw, 16px);
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.76);
  background: #111a27;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: clamp(7px, .62vw, 10px);
  position: relative;
  z-index: 5;
}

.demo-window-bar strong { display: inline-flex; align-items: center; gap: 6px; }
.demo-window-bar strong b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: #2586f5;
  font-size: 8px;
}
.demo-window-bar small { margin-left: auto; opacity: .54; }
.demo-window-dots { display: flex; gap: 4px; }
.demo-window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #ff786b; }
.demo-window-dots i:nth-child(2) { background: #ffc928; }
.demo-window-dots i:nth-child(3) { background: #63d696; }

.demo-cursor {
  --cursor-x: 50%;
  --cursor-y: 50%;
  position: absolute;
  z-index: 30;
  left: var(--cursor-x);
  top: var(--cursor-y);
  width: clamp(10px, 1.2vw, 17px);
  height: clamp(10px, 1.2vw, 17px);
  border-radius: 50%;
  background: rgba(255,255,255,.98);
  border: 2px solid currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 28%, transparent), 0 8px 18px rgba(0,0,0,.22);
  transform: translate(-50%,-50%);
  transition: left .62s cubic-bezier(.2,.8,.2,1), top .62s cubic-bezier(.2,.8,.2,1), transform .18s ease, opacity .25s ease;
  pointer-events: none;
}
.demo-cursor.is-tapping { transform: translate(-50%,-50%) scale(.56); }

/* SchoolFlow ---------------------------------------------------------------- */
.schoolflow-demo { color: #dce8f7; background: #0c1728; }
.sf-shell { height: calc(100% - clamp(24px, 4.5vh, 40px)); display: grid; grid-template-columns: clamp(34px, 6.2vw, 70px) 1fr; }
.sf-sidebar { padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: clamp(5px, 1vh, 10px); background: #101c2e; border-right: 1px solid rgba(255,255,255,.06); }
.sf-brand { width: clamp(22px, 3vw, 34px); aspect-ratio: 1; display: grid; place-items: center; background: #fff; color: #2c72d5; border-radius: 5px; font-weight: 900; font-size: clamp(7px, .75vw, 11px); margin-bottom: 4px; }
.sf-nav { width: clamp(20px, 2.6vw, 31px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; color: #8ea0b8; font-size: clamp(7px, .8vw, 11px); }
.sf-nav.is-active { color: #fff; background: #2879e6; box-shadow: 0 8px 18px rgba(40,121,230,.35); }
.sf-workspace { position: relative; min-width: 0; padding: clamp(9px, 1.4vw, 18px); overflow: hidden; background: linear-gradient(180deg,#111d2f,#0c1728); }
.sf-header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: clamp(8px, 1.3vw, 16px); }
.sf-header small { font-size: clamp(5px,.5vw,8px); color: #899bb2; }
.sf-header h3 { margin: 2px 0 0; font-size: clamp(11px,1.35vw,20px); color: #fff; letter-spacing: -.03em; }
.sf-header > span { padding: 5px 8px; border-radius: 5px; background: #fff; color: #435166; font-size: clamp(5px,.48vw,7px); white-space: nowrap; }
.sf-dashboard { width: calc(100% - clamp(78px, 18%, 145px)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(5px,.75vw,10px); }
.sf-dashboard article { min-height: clamp(42px, 7.2vh, 76px); padding: clamp(7px, 1vw, 12px); border-radius: 6px; background: #182639; border: 1px solid rgba(255,255,255,.055); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 7px; align-content: center; }
.sf-dashboard article i { grid-row: 1/3; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: #edf4fc; color: #3c7fcd; font-style: normal; font-size: 7px; }
.sf-dashboard article strong { color: #eef5ff; font-size: clamp(5px,.6vw,9px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-dashboard article small { color: #7c8da4; font-size: clamp(4px,.45vw,7px); }
.sf-day-card { position: absolute; right: clamp(8px,1vw,15px); top: clamp(48px,7vw,84px); width: clamp(70px,17%,130px); min-height: 35%; border-radius: 7px; background: #f7fbff; color: #172033; padding: clamp(7px,1vw,12px); display: flex; flex-direction: column; gap: 4px; box-shadow: 0 15px 32px rgba(0,0,0,.2); }
.sf-day-card small { color: #55769b; font-size: 5px; font-weight: 900; }
.sf-day-card strong { font-size: clamp(7px,.75vw,11px); }
.sf-day-card span { margin-top: auto; font-size: clamp(5px,.5vw,8px); }
.sf-chat { position: absolute; right: 8px; bottom: 8px; width: clamp(100px,29%,185px); height: 56%; padding: 10px; border-radius: 8px; background: #fff; color: #1a2636; box-shadow: 0 18px 42px rgba(0,0,0,.38); }
.sf-chat strong { color: #2c72d5; font-size: 7px; }
.sf-chat p { margin: 12px 0; font-size: clamp(6px,.6vw,9px); }
.sf-chat span { display: block; margin-top: auto; padding: 7px; border: 1px solid #dfe7f0; color: #8490a0; border-radius: 5px; font-size: 6px; }
.sf-demo-cursor { color: #43a7ff; }

/* EA Research Group --------------------------------------------------------- */
.earg-demo { color: #183429; background: #fffaf0; }
.light-bar { color: #355247; background: #ffffff; border-color: #dce8e1; }
.earg-mini-nav { height: clamp(27px,4.2vh,42px); padding: 0 8px; display: flex; align-items: center; gap: clamp(6px,1vw,14px); background: #fff; border-bottom: 1px solid #dfe8e2; font-size: clamp(4px,.48vw,7px); }
.earg-mini-nav strong { margin-right: auto; color: #0f2f24; font-size: clamp(6px,.65vw,9px); }
.earg-mini-nav span { padding: 5px 2px; color: #4d665c; }
.earg-mini-nav span.is-active { color: #1f6b4f; border-bottom: 2px solid #d9a441; }
.earg-mini-stage { height: calc(100% - clamp(51px,8.7vh,82px)); padding: clamp(10px,1.25vw,18px); background: linear-gradient(135deg,#0f2f24 0 56%,#174535 56%); color: #fff; overflow: hidden; }
.earg-mini-stage > p { margin: 0 0 6px; color: #e4bb67; font-size: clamp(5px,.52vw,8px); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.earg-mini-stage h3 { margin: 0; max-width: 85%; font-size: clamp(12px,1.35vw,20px); line-height: 1.05; letter-spacing: -.04em; }
.earg-mini-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: clamp(12px,2vh,23px); }
.earg-mini-cards span { min-height: clamp(38px,7vh,66px); padding: 8px; border-radius: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); font-size: clamp(5px,.52vw,8px); display: flex; align-items: end; }
.earg-demo-cursor { color: #d9a441; }

/* HymnVault ---------------------------------------------------------------- */
.hymn-demo { color: #173524; background: #eaf8ff; }
.hymn-mini-overlay { position: absolute; z-index: 10; inset: 0; display: grid; place-content: center; gap: 7px; text-align: center; color: #f5c354; background: rgba(15,35,24,.9); transition: opacity .4s ease; }
.hymn-mini-overlay.is-hidden { opacity: 0; pointer-events: none; }
.hymn-mini-overlay strong { font-size: clamp(7px,.7vw,10px); line-height: 1.35; }
.hymn-loading-dots { display: flex; justify-content: center; gap: 4px; }
.hymn-loading-dots i { width: 5px; height: 5px; border-radius: 50%; background: #e8a020; animation: miniDotPulse 1.5s ease-in-out infinite; }
.hymn-loading-dots i:nth-child(2) { animation-delay: .25s; background: #b1c637; }
.hymn-loading-dots i:nth-child(3) { animation-delay: .5s; background: #a7f554; }
@keyframes miniDotPulse { 50% { transform: scale(1.5); opacity: .62; } }
.hymn-mini-bar, .hymn-genre-bar { display: flex; align-items: center; gap: 5px; padding: 0 7px; background: #fff; border-bottom: 1px solid rgba(232,160,32,.28); }
.hymn-mini-bar { height: 25%; }
.hymn-genre-bar { height: 19%; transform: translateY(-100%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.hymn-genre-bar.is-visible { transform: translateY(0); opacity: 1; }
.hymn-mini-bar button, .hymn-genre-bar button { border: 1px solid rgba(232,160,32,.36); background: #fff; color: #51442f; border-radius: 999px; padding: 3px 7px; font-size: clamp(4px,.48vw,7px); }
.hymn-mini-bar button.is-active, .hymn-genre-bar button.is-active { background: #e8a020; color: #fff; }
.hymn-mini-bar > span { margin-left: auto; color: #8a8a8a; }
.hymn-list { height: 56%; padding: 6px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.hymn-list article { min-height: 22%; padding: 5px 7px; display: flex; gap: 7px; align-items: center; background: rgba(255,255,255,.75); border: 1px solid rgba(232,160,32,.12); border-radius: 5px; color: #173524; font-size: clamp(4px,.45vw,7px); opacity: 0; transform: translateX(-7px); transition: opacity .28s ease, transform .28s ease, background .25s ease; }
.hymn-list article.is-visible { opacity: 1; transform: none; }
.hymn-list article.is-selected { background: rgba(232,160,32,.22); }
.hymn-list article b { color: #e8a020; }
.hymn-demo-cursor { color: #e8a020; }

/* Modest Braids ------------------------------------------------------------ */
.modest-demo { color: #3b2136; background: #fff7f1; }
.modest-mini-header { height: 20%; padding: 0 9px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edd7e2; background: rgba(255,255,255,.72); }
.modest-mini-header strong { font-size: clamp(5px,.55vw,8px); letter-spacing: .08em; }
.modest-mini-header span { padding: 4px 7px; border-radius: 999px; background: #3b2136; color: #fff; font-size: clamp(4px,.43vw,6px); }
.modest-mini-content { height: 80%; display: grid; grid-template-columns: 44% 56%; }
.modest-mini-image { overflow: hidden; background: #f0d5e3; }
.modest-mini-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease; }
.modest-mini-copy { padding: clamp(7px,1vw,13px); display: flex; flex-direction: column; justify-content: center; }
.modest-mini-copy small { color: #8f426e; font-size: clamp(4px,.43vw,6px); text-transform: uppercase; letter-spacing: .09em; }
.modest-mini-copy h3 { margin: 4px 0; font-family: Georgia,serif; font-size: clamp(9px,1vw,15px); line-height: 1; }
.modest-mini-copy p { margin: 0 0 8px; color: #76616f; font-size: clamp(4px,.45vw,7px); }
.modest-style-dots { display: flex; gap: 5px; margin: 3px 0 8px; }
.modest-style-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d8b1c7; }
.modest-style-dots i.is-active { background: #8f426e; box-shadow: 0 0 0 3px rgba(143,66,110,.12); }
.modest-mini-copy button { align-self: flex-start; padding: 5px 8px; border: 0; border-radius: 999px; background: #3b2136; color: #fff; font-size: clamp(4px,.43vw,6px); }
.modest-booking-card { position: absolute; z-index: 10; inset: 15% 8% 10%; padding: 10px; border-radius: 9px; background: rgba(255,255,255,.97); box-shadow: 0 18px 38px rgba(59,33,54,.28); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.modest-booking-card[hidden] { display: none; }
.modest-booking-card small { color: #8f426e; font-size: 5px; }
.modest-booking-card strong { margin: 6px 0; font-family: Georgia,serif; font-size: clamp(9px,1vw,14px); }
.modest-booking-card span { color: #76616f; font-size: 6px; }
.modest-booking-card i { width: 70%; height: 3px; margin: 10px auto 0; border-radius: 99px; background: linear-gradient(90deg,#8f426e 25%,#ead4df 25%); }
.modest-demo-cursor { color: #8f426e; }

/* Reserved panels ---------------------------------------------------------- */
.reserved-demo { background: linear-gradient(145deg,#061629,#0b3153); }
.reserved-demo > span { position: absolute; border: 1px solid rgba(54,200,255,.16); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.reserved-demo > span:nth-child(1) { width: 38%; aspect-ratio: 1; }
.reserved-demo > span:nth-child(2) { width: 72%; aspect-ratio: 1; }
.reserved-demo > span:nth-child(3) { width: 108%; aspect-ratio: 1; }
.reserved-demo > i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #36c8ff; left: 66%; top: 30%; box-shadow: 0 0 22px #36c8ff; animation: reservedFloat 3.3s ease-in-out infinite; }
.reserved-demo-custom { background: linear-gradient(145deg,#071d35,#08243c); }
@keyframes reservedFloat { 50% { transform: translate(12px,-8px) scale(1.3); } }

/* Homepage screenshots use normal image behaviour, while the full page demos
   remain interactive and sharp at every size. */
.home-service-section.theme-digital .mosaic-tile img { object-position: center; }

@media (max-width: 900px) {
  .digital-demo-mosaic { min-height: 600px; }
}

@media (max-width: 680px) {
  .digital-demo-mosaic { height: 72vh; min-height: 540px; }
  .demo-window-bar small { display: none; }
  .sf-day-card { display: none; }
  .sf-dashboard { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sf-dashboard article:nth-child(n+5) { display: none; }
  .earg-mini-nav span:nth-of-type(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cursor { display: none; }
  .hymn-loading-dots i, .reserved-demo > i { animation: none; }
}
/* CODED DIGITAL PRODUCT SHOWCASE: END */

/* HYMNVAULT FOCUS SHOWCASE: START */
/*
   Only the large panel is animated and coded.
   Supporting tiles present static stills/screenshots from the same product.
*/
.hymnvault-focus-mosaic .mosaic-tile {
  background: #071423;
  isolation: isolate;
}

.hymn-showcase-demo,
.hymn-still {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  color: #173524;
  background: linear-gradient(180deg,#f7fbff 0%,#eaf8ff 48%,#edf9f0 100%);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.hv-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hv-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #f5c354;
  background: rgba(12, 30, 21, 0.92);
  transition: opacity .45s ease, visibility .45s ease;
}
.hv-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.hv-overlay strong { font-size: clamp(13px,1.4vw,20px); line-height: 1.2; letter-spacing: -.03em; }
.hv-overlay small { color: rgba(255,255,255,.74); font-size: clamp(7px,.78vw,11px); }
.hv-overlay.is-static strong { font-size: clamp(9px,.95vw,14px); }

.hv-overlay-dots { display: flex; justify-content: center; gap: 6px; }
.hv-overlay-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e8a020; animation: hvDotPulse 1.5s ease-in-out infinite; }
.hv-overlay-dots i:nth-child(2) { background: #b1c637; animation-delay: .2s; }
.hv-overlay-dots i:nth-child(3) { background: #7ccf4c; animation-delay: .4s; }
@keyframes hvDotPulse { 50% { transform: scale(1.35); opacity: .6; } }

.hv-topbar {
  min-height: clamp(42px, 8.4%, 58px);
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) minmax(130px, 42%);
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(232,160,32,.22);
}
.hv-topbar.faint { opacity: .62; }
.hv-menu-btn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  background: #173524; color: #fff; font-size: 13px; font-weight: 700;
}
.hv-middle {
  min-width: 0;
  color: #173524;
  font-size: clamp(8px,.9vw,13px);
  font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hv-search-box {
  min-width: 0;
  height: 31px;
  padding: 0 9px;
  display: flex; align-items: center; gap: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(232,160,32,.35);
  color: #657269;
}
.hv-search-box.is-filled { color: #173524; }
.hv-prefix, .hv-colon { color: #173524; font-weight: 800; font-size: 10px; }
.hv-search-text {
  flex: 1;
  min-width: 0;
  font-size: clamp(7px,.72vw,10px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hv-search-clear {
  display: grid; place-items: center;
  width: 18px; height: 18px;
  border: 0; border-radius: 50%;
  background: rgba(23,53,36,.08); color: #596357;
  font-size: 10px; opacity: 0; visibility: hidden;
}
.hv-search-clear.is-visible { opacity: 1; visibility: visible; }

.hv-lang-row, .hv-genre-panel {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 10px;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(232,160,32,.16);
}
.hv-lang-row { min-height: 38px; }
.hv-lang-row button,
.hv-genre-panel button,
.hv-sort-popup button {
  border: 1px solid rgba(232,160,32,.34);
  background: #fff;
  color: #5d5037;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: clamp(7px,.72vw,10px);
  font-weight: 600;
}
.hv-lang-row button.is-active,
.hv-genre-panel button.is-active,
.hv-sort-popup button.is-active {
  background: #e8a020;
  color: #fff;
  box-shadow: 0 6px 14px rgba(232,160,32,.22);
}
.hv-genre-panel.is-static { padding-top: 6px; }

.hv-body-grid {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  height: calc(100% - clamp(80px, 17%, 96px));
}
.hv-sort-stack {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(245,251,255,.4));
  border-right: 1px solid rgba(232,160,32,.12);
}
.hv-sort-stack.is-static { padding-inline: 8px; }
.hv-sort-btn {
  width: 36px; min-height: 92px;
  border: 0; border-radius: 16px;
  background: #173524; color: #fff;
  font-size: 14px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 14px 28px rgba(23,53,36,.16);
}
.hv-sort-btn span { font-size: 8px; font-weight: 600; letter-spacing: .02em; }
.hv-sort-popup {
  position: absolute; left: 44px; top: 12px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 34px rgba(23,53,36,.16);
  border: 1px solid rgba(232,160,32,.16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  z-index: 14;
}
.hv-sort-popup.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.hv-sort-stack.is-static .hv-sort-popup { position: static; opacity: 1; visibility: visible; transform: none; margin-bottom: 10px; }

.hv-main-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}
.hv-list-panel {
  padding: 8px 10px 10px;
  display: flex; flex-direction: column; gap: 7px;
  overflow: hidden;
}
.hv-list-panel article {
  display: grid; grid-template-columns: 26px minmax(0,1fr);
  gap: 8px; align-items: center;
  min-height: clamp(38px, 9.5%, 56px);
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(232,160,32,.14);
  color: #173524;
  box-shadow: 0 8px 20px rgba(23,53,36,.04);
}
.hv-list-panel article.is-selected {
  background: rgba(232,160,32,.16);
  border-color: rgba(232,160,32,.34);
}
.hv-list-panel article.is-hidden { display: none; }
.hv-list-panel article b {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #fff7df;
  color: #e8a020;
  font-size: 9px;
}
.hv-list-panel article strong { display: block; font-size: clamp(8px,.86vw,12px); }
.hv-list-panel article small { display: block; margin-top: 2px; color: #657269; font-size: clamp(6px,.66vw,9px); }
.hv-list-panel.static-list article { min-height: 42px; }
.hv-list-panel.static-list.compact article { min-height: 38px; }

.hv-menu-panel {
  position: absolute;
  z-index: 18;
  left: 10px; top: 58px;
  width: min(230px, 42%);
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 40px rgba(23,53,36,.18);
  border: 1px solid rgba(23,53,36,.06);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.hv-menu-panel.is-visible,
.hv-menu-panel.is-static { opacity: 1; visibility: visible; transform: none; }
.hv-menu-panel h3 { margin: 0 0 10px; font-size: clamp(10px, 1.05vw, 14px); color: #173524; letter-spacing: .05em; }
.hv-menu-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hv-menu-panel li {
  min-height: 34px;
  display: grid; grid-template-columns: 18px 1fr auto;
  gap: 8px; align-items: center;
  padding: 6px 8px; border-radius: 12px;
  background: rgba(23,53,36,.04);
}
.hv-menu-panel li b { font-size: 10px; }
.hv-menu-panel li span { font-size: clamp(7px,.74vw,10px); }
.hv-dark-row i {
  width: 32px; height: 18px;
  border-radius: 999px;
  background: #dfe4e3;
  position: relative;
}
.hv-dark-row i u {
  position: absolute; left: 2px; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; display: block;
  transition: transform .28s ease;
}
.hv-dark-row i.is-on { background: #173524; }
.hv-dark-row i.is-on u { transform: translateX(14px); }
.hv-credit { color: #6d776f; }

.hv-lyrics-panel {
  position: absolute;
  z-index: 16;
  right: 0; top: 0; bottom: 0;
  width: min(54%, 360px);
  background: rgba(255,255,255,.98);
  border-left: 1px solid rgba(232,160,32,.14);
  box-shadow: -18px 0 36px rgba(23,53,36,.08);
  opacity: 0; visibility: hidden; transform: translateX(100%);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.hv-lyrics-panel.is-visible,
.hv-lyrics-panel.is-static { opacity: 1; visibility: visible; transform: none; }
.hv-lyrics-header {
  min-height: 48px;
  padding: 10px 12px;
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
  border-bottom: 1px solid rgba(232,160,32,.14);
}
.hv-back-btn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  background: rgba(23,53,36,.08); color: #173524;
}
.hv-lyrics-header small { display: block; color: #727870; font-size: 8px; }
.hv-lyrics-header strong { display: block; margin-top: 2px; font-size: clamp(10px,1.05vw,14px); line-height: 1.1; }
.hv-lyrics-body { padding: 12px; display: grid; gap: 8px; }
.hv-lyrics-body p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(232,160,32,.08);
  color: #173524;
  font-size: clamp(8px,.84vw,12px);
  line-height: 1.4;
}

.hv-stage.is-dark,
.hymn-still.is-dark {
  background: linear-gradient(180deg,#102516 0%,#0d1d12 100%);
}
.hv-stage.is-dark .hv-topbar,
.hv-stage.is-dark .hv-lang-row,
.hv-stage.is-dark .hv-genre-panel,
.hv-stage.is-dark .hv-list-panel article,
.hv-stage.is-dark .hv-menu-panel,
.hv-stage.is-dark .hv-lyrics-panel,
.hv-stage.is-dark .hv-sort-popup,
.hymn-still.is-dark .hv-topbar,
.hymn-still.is-dark .hv-list-panel article,
.hymn-still.is-dark .hv-menu-panel,
.hymn-still.is-dark .hv-lyrics-panel,
.hymn-still.is-dark .hv-sort-popup {
  background-color: #182d20;
  color: #eef9f1;
  border-color: rgba(255,255,255,.08);
}
.hv-stage.is-dark .hv-search-box,
.hv-stage.is-dark .hv-menu-btn,
.hymn-still.is-dark .hv-search-box,
.hymn-still.is-dark .hv-menu-btn { background-color: #234330; color: #fff; border-color: rgba(255,255,255,.08); }
.hv-stage.is-dark .hv-search-text,
.hv-stage.is-dark .hv-middle,
.hv-stage.is-dark .hv-prefix,
.hv-stage.is-dark .hv-colon,
.hv-stage.is-dark .hv-list-panel article small,
.hv-stage.is-dark .hv-lyrics-header small,
.hymn-still.is-dark .hv-search-text,
.hymn-still.is-dark .hv-middle,
.hymn-still.is-dark .hv-prefix,
.hymn-still.is-dark .hv-colon,
.hymn-still.is-dark .hv-list-panel article small,
.hymn-still.is-dark .hv-lyrics-header small { color: #b9cbbd; }
.hv-stage.is-dark .hv-list-panel article.is-selected,
.hymn-still.is-dark .hv-list-panel article.is-selected { background: rgba(232,160,32,.18); }

.demo-pointer {
  --cursor-x: 50%;
  --cursor-y: 50%;
  position: absolute;
  left: var(--cursor-x);
  top: var(--cursor-y);
  z-index: 31;
  width: 18px;
  height: 24px;
  transform: translate(-3px, -2px);
  pointer-events: none;
  transition: left .58s cubic-bezier(.2,.8,.2,1), top .58s cubic-bezier(.2,.8,.2,1), transform .16s ease, opacity .2s ease;
}
.demo-pointer::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  border-top: 0 solid transparent;
  border-bottom: 20px solid #ffffff;
  border-left: 0 solid transparent;
  border-right: 13px solid transparent;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.35));
}
.demo-pointer::after {
  content: '';
  position: absolute;
  left: 3px; top: 4px;
  width: 2px; height: 14px;
  background: #173524;
  transform: rotate(-30deg);
  transform-origin: top left;
}
.demo-pointer.is-tapping { transform: translate(-3px, -2px) scale(.88); }
.hv-demo-pointer { opacity: 0; }

.hymn-still-library,
.hymn-still-search {
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.hymn-still-lyrics { background: linear-gradient(180deg,#fff8ed 0%,#f7fbff 100%); }
.hymn-still-overlay { background: linear-gradient(180deg,#dfeff8 0%,#f7fbff 100%); }
.hv-search-split {
  display: grid;
  grid-template-columns: 60px minmax(0,1fr);
  height: calc(100% - 46px);
}
.hymn-still-portrait {
  display: grid; place-items: center;
  background: linear-gradient(180deg,#0b1727 0%,#102d46 100%);
}
.hv-mini-phone {
  width: 80%;
  max-width: 190px;
  aspect-ratio: 9 / 16;
  padding: 8px;
  border-radius: 30px;
  background: #111820;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.hv-mini-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg,#edf9f0 0%,#eaf8ff 100%);
}
.hv-mini-screen .hv-menu-panel { position: absolute; inset: 10px; width: auto; }
.hv-mini-screen .hv-menu-panel li { min-height: 28px; }
.hv-mini-screen .hv-menu-panel h3 { font-size: 12px; }

@media (max-width: 900px) {
  .hymnvault-focus-mosaic .mosaic-tile-1 { grid-column: 1 / 13; grid-row: 1 / 6; }
  .hymnvault-focus-mosaic .mosaic-tile-2 { grid-column: 1 / 7; }
  .hymnvault-focus-mosaic .mosaic-tile-4 { grid-column: 7 / 13; }
  .hymnvault-focus-mosaic .mosaic-tile-5 { grid-column: 1 / 7; }
  .hymnvault-focus-mosaic .mosaic-tile-6 { grid-column: 7 / 13; }
  .hv-lyrics-panel { width: 58%; }
}

@media (max-width: 680px) {
  .hymnvault-focus-mosaic { min-height: 660px; height: auto; grid-template-rows: repeat(12, minmax(42px, 1fr)); }
  .hymnvault-focus-mosaic .mosaic-tile-1 { grid-column: 1 / 13; grid-row: 1 / 5; }
  .hymnvault-focus-mosaic .mosaic-tile-2 { grid-column: 1 / 7; grid-row: 5 / 8; }
  .hymnvault-focus-mosaic .mosaic-tile-3 { grid-column: 7 / 13; grid-row: 5 / 8; }
  .hymnvault-focus-mosaic .mosaic-tile-4 { grid-column: 1 / 13; grid-row: 8 / 10; }
  .hymnvault-focus-mosaic .mosaic-tile-5 { grid-column: 1 / 7; grid-row: 10 / 13; }
  .hymnvault-focus-mosaic .mosaic-tile-6 { grid-column: 7 / 13; grid-row: 10 / 13; }
  .hv-topbar { grid-template-columns: auto 1fr; }
  .hv-search-box { grid-column: 1 / -1; }
  .hv-body-grid { grid-template-columns: 48px 1fr; }
  .hv-sort-btn { width: 30px; min-height: 80px; }
  .hv-menu-panel { width: min(245px, calc(100% - 20px)); }
  .hv-lyrics-panel { width: 100%; }
  .hv-list-panel article:nth-child(n+5) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-pointer { display: none; }
  .hv-overlay-dots i { animation: none; }
}
/* HYMNVAULT FOCUS SHOWCASE: END */

/* HYMNVAULT CLEANUP PATCH: START */
/* Remove the sort column and let the hymn list use the full coded panel. */
.hymn-showcase-demo .hv-body-grid-no-sort {
  grid-template-columns: minmax(0, 1fr);
}

.hymn-showcase-demo .hv-body-grid-no-sort .hv-main-panel {
  width: 100%;
}

/* Static panel replacing the inaccurate lyrics popup. */
.hymn-still-recent {
  display: grid;
  grid-template-rows: auto 1fr;
}

.hv-simple-heading {
  min-height: 48px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(232,160,32,.16);
}

.hv-simple-heading > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(232,160,32,.13);
  font-size: 13px;
}

.hv-simple-heading small,
.hv-simple-heading strong {
  display: block;
}

.hv-simple-heading small {
  color: #8a7960;
  font-size: 6px;
  letter-spacing: .12em;
}

.hv-simple-heading strong {
  margin-top: 2px;
  color: #173524;
  font-size: clamp(9px,.95vw,13px);
}

/* Search-only screenshot fills its tile without the removed sort area. */
.hymn-still-search {
  display: grid;
  grid-template-rows: auto 1fr;
}

.hv-search-only-list {
  height: 100%;
  align-content: start;
}

/* Keep all copyright/credit rows out of the embedded product preview. */
.hymn-showcase-demo .hv-credit,
.hymn-still .hv-credit {
  display: none !important;
}
/* HYMNVAULT CLEANUP PATCH: END */

/* DIGITAL STATIC IMAGE TILES: START */
/*
   Only mosaic tile 1 is a coded walkthrough.
   Tiles 2–6 are normal replaceable images.
*/
.digital-static-image-tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #071423;
  isolation: isolate;
}

.digital-static-image-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Interface screenshots normally need their upper area preserved. */
.digital-static-image-tile.is-interface-preview img {
  object-position: top center;
}

/* Portrait or narrow designs stay centred without stretching. */
.digital-static-image-tile.is-portrait-preview img {
  object-position: center top;
}

/* Keep the image-only panels calm: no cursor, buttons or generated UI. */
.digital-static-image-tile::before,
.digital-static-image-tile::after {
  content: none;
}

@media (max-width: 680px) {
  .digital-static-image-tile img {
    object-position: center top;
  }
}
/* DIGITAL STATIC IMAGE TILES: END */

/* SAMMYS MOBILE ORBIT + DEPARTMENT SCROLLER PATCH: START */
/*
   Mobile homepage:
   1. Orbit first.
   2. Active department title.
   3. Typed department details.
   4. One Explore button.

   Mobile full department pages:
   The desktop mosaic becomes a horizontal swipe-and-snap gallery.
*/
@media (max-width: 680px) {
  /* ---------------------------------------------------------------
     HOMEPAGE HERO / ORBIT
     --------------------------------------------------------------- */
  .home-page .hero,
  body:not(.service-page) .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding-top: calc(var(--header-height) + 28px) !important;
    padding-bottom: 52px !important;
  }

  .home-page .hero .orbit-stage,
  body:not(.service-page) .hero .orbit-stage {
    order: 1 !important;
    width: 100% !important;
    min-height: calc(var(--orbit-size) + 28px) !important;
    margin: 0 auto !important;
  }

  .home-page .hero .hero-content,
  body:not(.service-page) .hero .hero-content {
    order: 2 !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 8px auto 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* The mobile hero now focuses on the interactive service selector. */
  .home-page .hero .hero-content > .eyebrow,
  .home-page .hero .hero-content > h1,
  body:not(.service-page) .hero .hero-content > .eyebrow,
  body:not(.service-page) .hero .hero-content > h1 {
    display: none !important;
  }

  .home-page .hero .hero-service-line,
  body:not(.service-page) .hero .hero-service-line {
    order: 1 !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 0 !important;
    margin: 4px 0 12px !important;
  }

  /* Remove both the central active number and the numbers beside orbit nodes. */
  .home-page .hero .hero-service-line > span,
  .home-page .hero .node-index,
  body:not(.service-page) .hero .hero-service-line > span,
  body:not(.service-page) .hero .node-index {
    display: none !important;
  }

  .home-page .hero .hero-service-line strong,
  body:not(.service-page) .hero .hero-service-line strong {
    max-width: 94% !important;
    color: var(--active-accent) !important;
    font-size: clamp(17px, 5vw, 22px) !important;
    line-height: 1.25 !important;
    letter-spacing: -.015em !important;
  }

  .home-page .hero .hero-copy,
  body:not(.service-page) .hero .hero-copy {
    order: 2 !important;
    width: 100% !important;
    max-width: 520px !important;
    min-height: 6em !important;
    margin: 0 0 20px !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .home-page .hero .hero-actions,
  body:not(.service-page) .hero .hero-actions {
    order: 3 !important;
    width: min(100%, 340px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 auto !important;
  }

  /* Mobile hero keeps only the Explore service button. */
  .home-page .hero #startProject,
  body:not(.service-page) .hero #startProject {
    display: none !important;
  }

  .home-page .hero #exploreService,
  body:not(.service-page) .hero #exploreService {
    width: 100% !important;
  }

  /* ---------------------------------------------------------------
     FULL DEPARTMENT PAGE HERO BUTTONS
     Keep “See what is included”; remove the first enquiry/project CTA.
     --------------------------------------------------------------- */
  body.service-page .department-copy .hero-actions > .department-button {
    display: none !important;
  }

  body.service-page .department-copy .hero-actions {
    width: 100% !important;
    margin-top: 2px !important;
  }

  body.service-page .department-copy .hero-actions > .button-transparent {
    width: 100% !important;
  }

  /* ---------------------------------------------------------------
     FULL DEPARTMENT PAGE MOBILE GALLERY
     Desktop scattered mosaics become large, swipeable panels.
     --------------------------------------------------------------- */
  body.service-page .department-hero {
    display: block !important;
    overflow: hidden !important;
  }

  body.service-page .department-copy {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 30px !important;
  }

  body.service-page .department-hero .project-mosaic {
    width: calc(100% + 20px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 -20px 0 0 !important;
    padding: 2px 20px 14px 0 !important;
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 0 20px !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--dept) rgba(255,255,255,.12) !important;
  }

  body.service-page .department-hero .project-mosaic::-webkit-scrollbar {
    height: 5px !important;
  }

  body.service-page .department-hero .project-mosaic::-webkit-scrollbar-track {
    background: rgba(255,255,255,.10) !important;
    border-radius: 999px !important;
  }

  body.service-page .department-hero .project-mosaic::-webkit-scrollbar-thumb {
    background: var(--dept) !important;
    border-radius: 999px !important;
  }

  body.service-page .department-hero .project-mosaic > .mosaic-tile {
    position: relative !important;
    flex: 0 0 86vw !important;
    width: 86vw !important;
    max-width: 520px !important;
    height: clamp(330px, 62vh, 500px) !important;
    min-height: 330px !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    transform: none !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    border-radius: 18px !important;
  }

  body.service-page .department-hero .project-mosaic > .mosaic-tile:first-of-type {
    flex-basis: 90vw !important;
    width: 90vw !important;
  }

  body.service-page .department-hero .project-mosaic > .mosaic-tile img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  /* A positioned label would become an unwanted flex item in the scroller. */
  body.service-page .department-hero .project-mosaic > .mosaic-label {
    display: none !important;
  }

  /* Ensure the large HymnVault coded panel fills its mobile slide. */
  body.service-page .department-hero .project-mosaic .software-demo,
  body.service-page .department-hero .project-mosaic .hymn-showcase-demo,
  body.service-page .department-hero .project-mosaic .hv-stage {
    width: 100% !important;
    height: 100% !important;
  }
}
/* SAMMYS MOBILE ORBIT + DEPARTMENT SCROLLER PATCH: END */

/* SAMMYS COMPACT MOBILE INTRO + CTA CLEANUP: START */
/*
   Mobile homepage sequence:
   compact two-column statement -> orbit -> active service -> typed details -> Explore.
   The existing orbit and everything beneath it retain their current behaviour.
*/
@media (max-width: 680px) {
  /* Keep the company name visible beside the logo on phones. */
  .site-header .brand-name {
    display: inline-block !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: clamp(8px, 2.35vw, 10px) !important;
    letter-spacing: .08em !important;
  }

  .site-header .brand {
    gap: 8px !important;
  }

  .site-header .brand-logo-frame {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
  }

  /*
     The hero uses wrapping flex items so the two short statements can sit
     side by side while the orbit and service information remain full width.
  */
  body:not(.service-page) .hero,
  .home-page .hero {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    padding-top: calc(var(--header-height) + 22px) !important;
  }

  /* Let the children participate directly in the hero flex layout. */
  body:not(.service-page) .hero .hero-content,
  .home-page .hero .hero-content {
    display: contents !important;
  }

  /* Left statement: One company / Endless solutions. */
  body:not(.service-page) .hero .hero-content > .eyebrow,
  .home-page .hero .hero-content > .eyebrow {
    display: block !important;
    order: 1 !important;
    flex: 0 0 calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 9px 8px 0 !important;
    align-self: stretch !important;
    color: var(--active-accent) !important;
    border-right: 1px solid rgba(255,255,255,.15) !important;
    font-size: clamp(8px, 2.45vw, 10px) !important;
    line-height: 1.35 !important;
    letter-spacing: .12em !important;
    text-align: left !important;
  }

  /* Right statement: Building today / Solving tomorrow. */
  body:not(.service-page) .hero .hero-content > h1,
  .home-page .hero .hero-content > h1 {
    display: block !important;
    order: 1 !important;
    flex: 0 0 calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6px 0 8px 9px !important;
    align-self: stretch !important;
    font-size: clamp(13px, 3.7vw, 17px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    text-align: right !important;
  }

  body:not(.service-page) .hero .hero-content > h1 span,
  .home-page .hero .hero-content > h1 span {
    color: rgba(255,255,255,.62) !important;
  }

  /* Orbit follows immediately after the compact statement. */
  body:not(.service-page) .hero .orbit-stage,
  .home-page .hero .orbit-stage {
    order: 2 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 7px !important;
  }

  /* Preserve the already-approved content sequence beneath the orbit. */
  body:not(.service-page) .hero .hero-service-line,
  .home-page .hero .hero-service-line {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  body:not(.service-page) .hero .hero-copy,
  .home-page .hero .hero-copy {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  body:not(.service-page) .hero .hero-actions,
  .home-page .hero .hero-actions {
    order: 5 !important;
    flex: 0 0 min(100%, 340px) !important;
  }
}

/*
   The homepage department introductions and the full department heroes now
   keep only their navigation/details button. Enquiry CTAs remain lower down.
*/
.home-service-section .hero-actions > .department-button,
body.service-page .department-copy .hero-actions > .department-button {
  display: none !important;
}
/* SAMMYS COMPACT MOBILE INTRO + CTA CLEANUP: END */

/* SAMMYS MOBILE EXPLORE TAP FIX: START */
@media (max-width: 680px) {
  /*
     The compact mobile hero uses display:contents/flex ordering. Keep the CTA
     above the orbit's positioned layer and make it an unambiguous touch target.
  */
  .home-page .hero .hero-actions,
  body:not(.service-page) .hero .hero-actions {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
  }

  .home-page .hero #exploreService,
  body:not(.service-page) .hero #exploreService {
    position: relative !important;
    z-index: 21 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
}
/* SAMMYS MOBILE EXPLORE TAP FIX: END */

/* SINGLE CEO + PARTNER TEXT FIX: START */

/*
  When Leadership & Team contains only one person,
  centre that card instead of leaving it in the first column
  of the old multi-person grid.
*/
.team-grid:has(> .team-card:only-child) {
  grid-template-columns: minmax(280px, 430px) !important;
  justify-content: center !important;
  justify-items: stretch !important;
}

.team-grid > .team-card:only-child {
  width: 100% !important;
  max-width: 430px !important;
  justify-self: center !important;
}

/*
  Keep the CEO portrait cropped to fill the photograph area,
  but focus on the TOP of the photograph so the face remains visible.
*/
.team-grid > .team-card:only-child .team-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/*
  The caption underneath the Technology & Digital Solutions
  Partner logo must respect the capitalization written in HTML.
*/
.partner-logo-box small {
  text-transform: none !important;
}

/* SINGLE CEO + PARTNER TEXT FIX: END */

/* CEO IMAGE FIT FIX */
.team-grid > .team-card:only-child .team-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}


/* CEO IMAGE COVER POSITION FIX */
.team-grid > .team-card:only-child .team-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;

  /* Slightly lower the image framing so the full head shows */
  object-position: center 35% !important;
}




/* CEO IMAGE COVER POSITION FIX */

.team-grid > .team-card:only-child .team-photo img {

  width: 100% !important;

  height: 100% !important;

  object-fit: cover !important;



  /* Slightly lower the image framing so the full head shows */

  object-position: center 65% !important;

}






/* CEO IMAGE COVER POSITION FIX */

.team-grid > .team-card:only-child .team-photo img {

  width: 100% !important;

  height: 100% !important;

  object-fit: cover !important;



  /* Slightly lower the image framing so the full head shows */

  object-position: center 25% !important;

}




/* CEO IMAGE COVER POSITION FIX */
.team-grid > .team-card:only-child .team-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;

  /* Slightly lower the image framing so the full head shows */
  object-position: center 35% !important;
}

/* CEO FINAL DISPLAY FIX: START */

/* Keep the CEO photograph cropped naturally, but show more of the head. */
.team-grid > .team-card:only-child .team-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
}

/* Respect the capitalization actually written in the HTML. */
.partner-logo-box small {
  text-transform: none !important;
}

/* CEO name: slightly smaller only on mobile. */
@media (max-width: 680px) {
  .team-grid > .team-card:only-child h3 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
}

/* CEO FINAL DISPLAY FIX: END */
