:root {
  --accent: #6945ee;
  --accent-light: #b29aff;
  --ink: #152033;
  --night: #081120;
  --paper: #fbfbf9;
  --soft: #f0f1f3;
  --muted: #5f6875;
  --line: #dfe2e7;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; font-family: 'Montserrat', system-ui, Arial, sans-serif; color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
a, button, input, textarea, select { outline-offset: 5px; }
:focus-visible { outline: 3px solid #8c67f4; }
[hidden] { display: none !important; }
::selection { background: #dcd0ff; color: #182138; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-light { background: var(--paper); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--night); color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -1.5px; line-height: 1.17; font-weight: 600; margin-bottom: 24px; }
h3 { font-weight: 600; letter-spacing: -.4px; }
p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 2.1px; line-height: 1.5; margin: 0 0 22px; color: #7159a2; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink); letter-spacing: -.35px; }
.text-muted { color: #7c828c; }
.text-link { display: inline-flex; gap: 24px; align-items: center; font-size: 12px; font-weight: 600; text-decoration: none; padding: 10px 0; border-bottom: 1px solid #bbb4cc; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { font-size: 20px; }
.btn-primary, .btn-secondary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; border-radius: 999px; font-weight: 600; line-height: 1.4; transition: background .2s, transform .2s, border-color .2s; }
.btn-primary { background: linear-gradient(100deg, #6339e9, #7860f1); border: 1px solid transparent; color: white; padding: 15px 24px; font-size: 13px; box-shadow: 0 8px 24px #6743e922; }
.btn-primary:hover { background: #5830da; transform: translateY(-2px); }
.btn-secondary { padding: 15px 22px; border: 1px solid #ffffff45; color: #fff; font-size: 13px; background: #08112020; }
.btn-secondary:hover, .btn-outline:hover { background: #ffffff16; border-color: #ffffff80; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 14px 20px; z-index: 100; background: white; color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: absolute; top: 25px; left: 0; right: 0; z-index: 50; color: white; }
.header-inner { width: min(1200px, calc(100% - 96px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: white; flex-shrink: 0; }
.logo { height: 34px; width: auto; object-fit: contain; }
.brand-name { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: .1px; white-space: nowrap; }
.nav { display: flex; gap: 27px; align-items: center; padding: 7px 8px 7px 28px; background: #08112068; border: 1px solid #ffffff29; border-radius: 999px; backdrop-filter: blur(12px); }
.nav-link { color: #e6e8ed; text-decoration: none; font-size: 11px; font-weight: 500; padding: 10px 0; position: relative; }
.nav-link::after { content: ''; position: absolute; width: 4px; height: 4px; bottom: 1px; left: calc(50% - 2px); background: var(--accent-light); border-radius: 100%; opacity: 0; }
.nav-link.is-active::after, .nav-link:hover::after { opacity: 1; }
.btn-outline { padding: 11px 19px; border: 1px solid #ffffff45; font-size: 11px; color: #fff; }
.btn-outline.is-active { background: #ffffff18; border-color: var(--accent-light); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 700px; height: 100svh; max-height: 1200px; display: flex; align-items: center; color: #fff; background: url('../../images/Add-on/Main.png') center center / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #020a1cf0 0%, #020c1eb8 27%, #020c1e40 55%, #020c1e0f 78%, #020c1e2e 100%); }
.hero-overlay::after { content: ''; position: absolute; inset: 70% 0 0; background: linear-gradient(transparent, #08112070); }
.hero-content { position: relative; z-index: 2; width: min(1200px, calc(100% - 96px)); min-width: 0; margin: auto; padding: 100px 0 80px; }
.hero .eyebrow { color: #d4d4e0; font-size: 11px; letter-spacing: 3px; }
.hero-title { font-size: clamp(48px, 4.4vw, 72px); line-height: 1.05; margin: 0 0 24px; font-weight: 700; letter-spacing: -1.3px; max-width: 620px; }
.hero-title > span { display: block; overflow-wrap: anywhere; }
.hero-title-specialist { color: #55b3fa; }
.hero-title-experience { color: #4fd1cd; }
.hero-title-precision { color: #a267f4; }
.hero-sub { font-size: 14px; line-height: 1.85; max-width: 475px; color: #e1e5ef; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; align-items: center; margin-top: 28px; }
.hero-bottom { position: absolute; bottom: 32px; left: max(48px, calc((100% - 1200px) / 2)); right: max(48px, calc((100% - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 2; color: #e0e2e8; font-size: 8px; letter-spacing: 2px; }
.hero-bottom a { text-decoration: none; display: flex; align-items: center; gap: 24px; }
.hero-bottom a span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #ffffff50; border-radius: 50%; font-size: 16px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 6px; }
.intro-copy p { margin-bottom: 23px; }
.company-overview { text-align: justify; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 72px; margin-bottom: 46px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 365px; margin-bottom: 3px; }
.section-dark .eyebrow { color: var(--accent-light); }
.section-dark .text-link { color: #e8e1ff; }
.service-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; padding: 26px 24px 25px; border: 1px solid #ffffff22; border-radius: 14px; text-decoration: none; transition: background .2s, border-color .2s; background: #ffffff03; }
.service-card:hover { background: #171e35; border-color: #ae96ff88; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; }
.service-number { color: #8566c8; font-size: 11px; letter-spacing: 2px; }
.card-top > span:last-child { font-size: 23px; color: #b9a2f0; }
.service-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 15px; }
.service-card p { color: #b0bacb; font-size: 12px; line-height: 1.85; margin-bottom: 29px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; color: #c7b8f4; font-size: 10px; font-weight: 500; }
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.logo-card { margin: 0; border: 1px solid var(--line); background: #fff; border-radius: 12px; overflow: hidden; min-width: 0; }
.logo-image { height: 128px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 23px; }
.logo-image img { width: 100%; height: 82px; object-fit: contain; }
.logo-image img[src*="APSENSING"] { transform: scale(1.7); }
.logo-image img[src*="BLUNAV"] { transform: scale(1.45); }
.logo-card figcaption { min-height: 42px; padding: 8px 12px 15px; text-align: center; color: #626a78; font-size: 9px; line-height: 1.5; }
.cta-section { padding: 74px 0; background: #eae5f4; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-inner h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 18px; }
.cta-inner p:last-child { margin: 0; font-size: 12px; }
.cta-inner .btn-primary { flex-shrink: 0; min-width: 150px; }

.page-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 100%, #272548 0, transparent 55%), var(--night); color: #fff; }
.page-hero-inner { position: relative; z-index: 2; padding-top: 183px; padding-bottom: 70px; }
.page-hero .eyebrow { color: #b2a0dc; }
.page-hero h1 { font-size: clamp(36px, 4.7vw, 62px); font-weight: 600; letter-spacing: -2.2px; line-height: 1.12; max-width: 820px; margin-bottom: 26px; }
.page-lead { max-width: 650px; font-size: 14px; color: #c4cbd8; margin: 0; }
.page-hero-copy { min-width: 0; }
.page-hero-photo { background: var(--night); }
.page-hero-photo .page-hero-copy { width: min(48%, 600px); }
.page-hero-scene { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 3 / 1; pointer-events: none; }
.page-hero-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night), transparent 18%); }
.page-hero-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: right center; }
.page-hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #081120f2 0%, #081120dc 32%, #0811208c 49%, #0811201a 65%, transparent 80%), linear-gradient(180deg, #08112055, transparent 30%); }
.page-hero-photo .eyebrow { color: #d2c3f2; }
.page-hero-photo h1 { font-size: clamp(36px, 3.7vw, 52px); letter-spacing: -1.6px; text-shadow: 0 2px 24px #02091635; }
.page-hero-photo .page-lead { color: #e2e6ee; }
.hero-orbit { position: absolute; width: 530px; height: 530px; border: 1px solid #b99cff13; border-radius: 50%; right: -115px; top: 85px; }
.hero-orbit::before, .hero-orbit::after { content: ''; position: absolute; border: 1px solid #b99cff13; border-radius: 50%; inset: 60px; }
.hero-orbit::after { inset: 120px; }
.hero-orbit span { position: absolute; top: 99px; left: 34px; width: 12px; height: 12px; border-radius: 50%; background: #a488e7; box-shadow: 0 0 40px #a488e750; }
.founded-note { display: flex; gap: 22px; align-items: center; padding-top: 34px; margin-top: 36px; border-top: 1px solid var(--line); max-width: 355px; }
.founded-note > span { font-size: 54px; letter-spacing: -3px; color: var(--accent); font-weight: 500; }
.founded-note p { font-size: 11px; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; }
.values-grid article { padding-top: 25px; border-top: 1px solid #c9cbd2; }
.values-grid h3 { font-size: 17px; margin: 31px 0 14px; }
.values-grid p { font-size: 12px; margin-bottom: 0; }
.founder-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 100px; align-items: start; }
.founder-photo { position: relative; background: #e5e5e7; border-radius: 16px; overflow: hidden; }
.founder-photo img { width: 100%; height: auto; object-fit: cover; object-position: center 25%; }
.portrait-caption { padding: 19px 24px; display: flex; flex-direction: column; gap: 9px; color: #fff; background: var(--night); letter-spacing: 1.5px; font-size: 10px; }
.portrait-caption span:last-child { font-size: 8px; color: #b0a1ce; }
.founder-copy h2 { margin-bottom: 20px; }
.founder-copy > p { font-size: 13px; }
.founder-copy .lead { font-size: 21px; }
.credentials { padding: 0; list-style: none; margin: 24px 0; border-top: 1px solid var(--line); }
.credentials li { font-size: 12px; line-height: 1.6; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credentials span { display: block; color: #76608c; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.service-detail { padding: 83px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.service-detail:last-child { border-bottom: none; }
.service-detail h2 { font-size: clamp(28px, 3vw, 38px); }
.service-detail-intro > p { font-size: 13px; }
.service-detail-intro .service-tagline { color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tags span { border: 1px solid #dbd6e4; color: #6c597e; background: #f5f2f8; padding: 7px 10px; border-radius: 100px; font-size: 9px; line-height: 1.3; }
.capability-list { padding-top: 34px; align-self: center; }
.capability { display: flex; gap: 19px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.capability:first-child { padding-top: 0; }
.capability:last-child { border-bottom: none; }
.capability-mark { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #dcd2ef; border-radius: 50%; flex-shrink: 0; color: var(--accent); font-size: 20px; font-weight: 400; }
.capability h3 { font-size: 14px; margin: 5px 0 10px; }
.capability p { font-size: 12px; margin: 0; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-info > p { max-width: 360px; }
.contact-info h2 { font-size: 36px; }
.contact-detail { padding: 25px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: start; gap: 10px; }
.detail-label { color: #76678b; font-size: 9px; letter-spacing: 1.6px; margin-bottom: 3px; }
.contact-detail > a { font-size: 13px; text-decoration: none; overflow-wrap: anywhere; }
.contact-detail > a:hover { color: var(--accent); }
.contact-detail > a > span { margin-left: 8px; }
.contact-detail address { font-style: normal; line-height: 1.85; font-size: 13px; max-width: 290px; color: var(--muted); }
.contact-detail .text-link { font-size: 10px; }
.company-note { margin-top: 26px; }
.company-note > span { font-size: 11px; font-weight: 600; }
.company-note p { margin: 7px 0 0; font-size: 10px; }
.msme-logo { width: 140px; height: auto; margin-top: 16px; }
.enquiry-panel { padding: 38px; background: #f1f1f4; border: 1px solid #e2e1e7; border-radius: var(--radius); align-self: start; }
.enquiry-panel .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
.enquiry-panel h3 { font-size: 23px; margin-bottom: 15px; line-height: 1.35; }
.enquiry-panel > p:not(.eyebrow) { font-size: 12px; }
form { margin-top: 28px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset:disabled { opacity: .55; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; min-width: 0; }
.field label, .email-fallback label { font-size: 11px; font-weight: 600; }
.field label > span { color: var(--accent); }
input, textarea, select { background: #fff; border: 1px solid #d8d8e1; border-radius: 7px; padding: 13px 14px; font-size: 12px; color: var(--ink); width: 100%; min-width: 0; }
textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #7b8190; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
.form-note { font-size: 10px; line-height: 1.7; margin: 0 0 20px; }
form .btn-primary { width: 100%; }
.form-status { margin: 15px 0 0; font-size: 11px; color: #514074; }
.form-status:empty { display: none; }
.email-fallback { border-top: 1px solid #d8d4e2; margin-top: 20px; padding-top: 20px; }
.email-fallback p, .noscript-note { font-size: 11px; overflow-wrap: anywhere; }
.email-fallback textarea { margin: 9px 0 12px; font-size: 11px; }
.btn-copy { background: #fff; color: #563a8c; border: 1px solid #cec2e4; border-radius: 6px; padding: 9px 13px; font-size: 11px; }
.error-actions { display: flex; align-items: center; gap: 30px; }

.site-footer { background: #070e1b; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.2fr .75fr 1fr; gap: 65px; padding-top: 66px; padding-bottom: 56px; }
.footer-intro p { color: #9ba5b7; font-size: 11px; margin: 23px 0 0; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.footer-label { color: #9a8bb8; font-size: 8px; letter-spacing: 1.8px; margin-bottom: 5px; }
.footer-column > a, .footer-column > span { color: #c0c6d2; font-size: 11px; text-decoration: none; overflow-wrap: anywhere; line-height: 1.5; }
.footer-column a:hover { color: #d4c4ff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid #ffffff18; color: #929bad; font-size: 9px; line-height: 1.7; }
.footer-dot { padding: 0 8px; }

@media (min-width: 1700px) {
  .hero-sub { font-size: 16px; max-width: 520px; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .page-hero-scene { top: auto; bottom: 0; height: min(100%, 40vw); }
  .page-hero-scene::after { background: linear-gradient(90deg, var(--night), transparent 18%), linear-gradient(180deg, var(--night), transparent 16%); }
}
@media (max-width: 1100px) {
  .intro-grid, .founder-grid, .service-detail, .contact-grid { gap: 55px; }
  .service-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { padding: 28px; }
  .card-top { margin-bottom: 26px; }
  .service-card h3 { max-width: 260px; }
  .values-grid { gap: 24px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .enquiry-panel { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .founder-grid { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .logo { height: 28px; }
  .container { width: calc(100% - 48px); }
  .section { padding: 72px 0; }
  .header-inner { width: calc(100% - 48px); }
  .site-header { top: 19px; }
  .nav { gap: 18px; padding-left: 20px; }
  .nav-link, .btn-outline { font-size: 10px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 14px; border-radius: 999px; background: #08112080; color: white; border: 1px solid #ffffff40; font-size: 12px; }
  .menu-lines { width: 13px; height: 8px; border-top: 1px solid white; border-bottom: 1px solid white; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--accent-light); background: #352b55; }
  .nav { display: none; position: absolute; left: 24px; right: 24px; top: 59px; max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; border-radius: 16px; background: #0c1628f5; padding: 13px; box-shadow: 0 20px 45px #02061755; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link, .nav .btn-outline { min-height: 44px; flex-shrink: 0; font-size: 13px; text-align: center; padding: 12px; }
  .nav-link::after { bottom: 5px; }
  .hero { min-height: 670px; max-height: none; background-position: 59% center; }
  .hero-content { width: calc(100% - 48px); padding: 130px 0 100px; }
  .hero-title { font-size: clamp(44px, 6.5vw, 55px); }
  .hero-sub { max-width: 450px; }
  .hero-bottom { left: 24px; right: 24px; font-size: 7px; letter-spacing: 1.5px; }
  .hero-bottom > span { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-copy { max-width: 650px; }
  .section-heading { gap: 30px; align-items: start; }
  .section-heading > p { max-width: 280px; font-size: 12px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .page-hero-inner { padding-top: 160px; padding-bottom: 60px; }
  .page-hero h1 { max-width: 650px; letter-spacing: -1.5px; }
  .page-lead { max-width: 540px; }
  .page-hero-photo { --page-hero-scene-height: 300px; }
  .page-hero-photo .page-hero-inner { padding-bottom: calc(var(--page-hero-scene-height) + 32px); }
  .page-hero-photo .page-hero-copy { width: 100%; max-width: 600px; }
  .page-hero-scene { top: auto; bottom: 0; height: var(--page-hero-scene-height); }
  .page-hero-scene::after { background: linear-gradient(180deg, var(--night) 0%, #08112055 12%, transparent 28%); }
  .page-hero-shade { background: none; }
  .service-detail { gap: 35px; padding: 62px 0; }
  .service-detail h2 { font-size: 28px; }
  .founder-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; }
  .founder-copy h2 { font-size: 30px; }
  .founder-copy .lead { font-size: 18px; }
  .contact-grid { gap: 40px; grid-template-columns: minmax(0, 1fr); }
  .contact-info h2 { font-size: 29px; }
  .enquiry-panel { padding: 23px; }
  .enquiry-panel h3 { font-size: 20px; }
  input, textarea, select { font-size: 16px; }
  .footer-top { gap: 32px; grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-intro p br { display: none; }
}
@media (max-width: 600px) {
  .container, .header-inner { width: calc(100% - 40px); }
  .section { padding: 60px 0; }
  h2 { letter-spacing: -1px; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 12px; }
  .nav { left: 20px; right: 20px; }
  .hero { min-height: max(700px, 100svh); height: auto; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, #020a1cf2 0%, #020c1eb8 58%, #020c1e47 100%); }
  .hero-content { width: calc(100% - 40px); padding: 140px 0 110px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 2.2px; }
  .hero-title { font-size: clamp(36px, 9.5vw, 52px); letter-spacing: -1px; }
  .hero-sub { font-size: 13px; line-height: 1.8; max-width: 365px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; max-width: 280px; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { padding: 14px 18px; font-size: 12px; }
  .hero-bottom { bottom: 24px; left: 20px; }
  .hero-bottom a { gap: 18px; }
  .intro-grid { gap: 10px; }
  .lead { font-size: 18px; }
  .intro-copy p { font-size: 13px; }
  .intro-copy .lead { font-size: 18px; }
  .company-overview { text-align: left; }
  .section-heading { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
  .section-heading > p { max-width: 100%; }
  .service-overview { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px; }
  .card-top { margin-bottom: 24px; }
  .service-card h3 { max-width: 100%; font-size: 20px; }
  .service-card p { font-size: 12px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .logo-image { height: 110px; padding: 17px; }
  .logo-image img { height: 76px; }
  .logo-card figcaption { font-size: 8px; padding-inline: 6px; }
  .cta-section { padding: 52px 0; }
  .cta-inner { flex-direction: column; align-items: start; gap: 25px; }
  .cta-inner h2 { font-size: 31px; }
  .page-hero-inner { padding-top: 142px; padding-bottom: 51px; }
  .page-hero h1 { font-size: clamp(34px, 9vw, 50px); max-width: 460px; letter-spacing: -1.5px; }
  .page-hero-photo { --page-hero-scene-height: clamp(260px, 72vw, 290px); }
  .page-hero-photo h1 { font-size: clamp(32px, 8.6vw, 44px); letter-spacing: -1.2px; }
  .page-lead { font-size: 12px; }
  .hero-orbit { right: -320px; opacity: .7; }
  .founded-note { padding-top: 23px; margin-top: 28px; margin-bottom: 24px; }
  .founded-note > span { font-size: 48px; }
  .values-grid { gap: 28px 20px; }
  .values-grid h3 { font-size: 15px; line-height: 1.4; margin-top: 23px; }
  .values-grid p { font-size: 11px; }
  .founder-grid { grid-template-columns: 1fr; gap: 34px; }
  .founder-photo { max-width: 340px; }
  .founder-copy h2 { font-size: 32px; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; padding: 52px 0; }
  .service-detail h2 { font-size: 31px; }
  .capability-list { padding-top: 6px; }
  .capability { gap: 15px; padding: 20px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info h2 { font-size: 34px; }
  .enquiry-panel { padding: 26px 21px; }
  .form-row { grid-template-columns: 1fr; }
  input, textarea, select { font-size: 16px; padding: 12px; }
  .field label { font-size: 12px; }
  .enquiry-panel .eyebrow { font-size: 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 35px; padding-top: 49px; padding-bottom: 37px; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 8px; }
  .error-actions { align-items: start; flex-direction: column; gap: 15px; }
}
@media (max-width: 320px) {
  .container, .header-inner, .hero-content { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .menu-toggle { width: 44px; padding: 10px; flex-shrink: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav { left: 16px; right: 16px; }
  .hero-title { font-size: clamp(20px, 11.25vw, 36px); letter-spacing: -.025em; }
  .hero-bottom { left: 16px; right: 16px; }
  .hero-bottom a { gap: 12px; }
  .hero-bottom a span { flex-shrink: 0; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-grid > *, .section-heading > *, .cta-inner > * { min-width: 0; max-width: 100%; }
  .page-home h2 { font-size: clamp(22px, 10vw, 32px); overflow-wrap: anywhere; }
  .page-home p { overflow-wrap: anywhere; }
  .cta-inner .btn-primary { min-width: min(150px, 100%); }
  .site-footer .brand { min-width: 0; max-width: 100%; flex-wrap: wrap; }
  .site-footer .brand-name { white-space: normal; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.contact-direct { max-width: 760px; }

/* Keep long headings and company details inside unusually narrow viewports. */
@media (max-width: 280px) {
  .page-hero h1, .cta-inner h2 { overflow-wrap: anywhere; }
  .founded-note { flex-wrap: wrap; }
  .values-grid { grid-template-columns: minmax(0, 1fr); }
}
