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

:root {
  --blue: #2553a9;
  --blue-light: #3a6fc9;
  --blue-pale: #eef2fa;
  --ink: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f8f8f8;
  --gray-100: #ececec;
  --gray-300: #d0d0d0;
  --gray-500: #7b7b7b;
  --gray-700: #444444;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 60px rgba(10, 10, 10, 0.08);
  --mobile-nav-offset: 76px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

h1, h2, h3, h4, .display {
  font-family: "Syne", sans-serif;
}

button {
  border: 0;
  background: none;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 5%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  padding-block: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(10, 10, 10, 0.05);
}

.nav-brand {
  flex-shrink: 0;
}

.nav-logo-image {
  width: clamp(140px, 14vw, 180px);
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.nav-cta,
.btn-primary,
.btn-outline,
.svc-panel-link,
.form-submit {
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 5% 4rem;
  isolation: isolate;
  overflow: clip;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.blob-1 {
  top: -140px;
  right: -100px;
  width: 36rem;
  height: 36rem;
  background: var(--blue);
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  left: -90px;
  bottom: -120px;
  width: 24rem;
  height: 24rem;
  background: var(--blue);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-28px); }
}

.hero-badge,
.section-label,
.svc-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.8s 0.2s forwards;
}

.hero-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  margin: 1.15rem 0 0;
  max-width: 14ch;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  opacity: 0;
  transform: translateY(28px);
  animation: fade-up 0.9s 0.4s forwards;
}

.line-blue {
  color: var(--blue);
}

.line-amplified {
  display: block;
  font-style: italic;
  color: var(--ink);
  opacity: 1;
}

.hero-sub {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--gray-500);
  font-size: 1.08rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s 0.65s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s 0.85s forwards;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--gray-300);
  color: var(--ink);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-image-strip {
  display: flex;
  gap: 1rem;
  width: min(100%, 1000px);
  height: 13rem;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 1s 1.1s forwards;
}

.hero-img-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-card:nth-child(1),
.hero-img-card:nth-child(3) {
  flex: 1.3;
}

.hero-img-card:nth-child(2) {
  flex: 1;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 5.25rem 0;
}

.section-label {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
}

.section-label::before,
.svc-panel-tag::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  background: currentColor;
}

.section-title {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-section,
.services-section,
.site-footer {
  background: var(--ink);
  color: var(--white);
}

.section-label-alt {
  color: #84a7f0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}

.about-img-stack {
  position: relative;
  min-height: 30rem;
}

.about-img-main,
.about-img-inset {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-img-main {
  position: absolute;
  inset: 0;
}

.about-img-main img,
.about-img-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-main img {
  opacity: 0.86;
}

.about-img-inset {
  position: absolute;
  right: -1.25rem;
  bottom: -1.5rem;
  width: 55%;
  height: 55%;
  border: 4px solid var(--ink);
}

.about-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--white);
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-text h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about-text p {
  margin-top: 1.2rem;
  color: #b0b0b0;
  font-size: 1rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.pill {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  color: #84a7f0;
  border: 1px solid rgba(132, 167, 240, 0.35);
  background: rgba(37, 83, 169, 0.16);
  font-size: 0.84rem;
  font-weight: 500;
}

.stats-section {
  position: relative;
  overflow: clip;
  background: var(--blue);
  color: var(--white);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
}

.stat-number {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-suffix {
  font-size: 0.6em;
  color: rgba(255, 255, 255, 0.55);
}

.stat-label {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.services-section {
  padding-inline: 0;
  padding-block: 5rem;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: end;
  padding-inline: 5%;
  margin-bottom: 3rem;
}

.services-intro .section-label {
  color: #84a7f0;
}

.services-intro p {
  margin: 0;
  color: #9b9b9b;
  font-size: 1rem;
}

.services-accordion {
  display: flex;
  gap: 2px;
  min-height: 32rem;
}

.svc-panel {
  position: relative;
  overflow: hidden;
  flex: 0 0 4.8rem;
  min-width: 0;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: flex 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.svc-panel.active {
  flex: 1;
}

.svc-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.95;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.svc-panel::after {
  content: none;
}

.svc-panel.active::before {
  opacity: 1;
  transform: scale(1.02);
}

.svc-tone-1::before {
  background: var(--blue);
}

.svc-tone-2::before {
  background: #1f4892;
}

.svc-tone-3::before {
  background: #2f63bf;
}

.svc-tone-4::before {
  background: #173b79;
}

.svc-tone-5::before {
  background: #3f74ce;
}

.svc-panel-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.svc-panel.active .svc-panel-trigger {
  pointer-events: none;
}

.svc-panel-tab-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-panel-tab-label span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  font-family: "Syne", sans-serif;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.svc-panel:hover .svc-panel-tab-label span,
.svc-panel-trigger:focus-visible .svc-panel-tab-label span {
  color: rgba(255, 255, 255, 0.76);
}

.svc-panel.active .svc-panel-tab-label {
  display: none;
}

.svc-panel-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 2.4rem 2.4rem 2.5rem 2.6rem;
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.4s ease 0.16s, transform 0.4s ease 0.16s;
}

.svc-panel.active .svc-panel-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.svc-panel-tag {
  color: #dce8ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.svc-panel-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.svc-panel-text {
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.svc-panel-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.svc-panel-link:hover,
.svc-panel-trigger:focus-visible .svc-panel-link {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.contact-section {
  padding: 0;
}

.contact-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 44rem;
}

.contact-left,
.contact-right {
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
}

.contact-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.contact-left .section-label {
  color: #84a7f0;
}

.contact-left-heading {
  margin: 1.4rem 0 0;
  max-width: 11ch;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.contact-left-desc {
  max-width: 25rem;
  margin-top: 1.2rem;
  color: #a1a1a1;
}

.contact-channels {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: padding-left 0.2s ease;
}

.contact-channel:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-channel:hover,
.contact-channel:focus-visible {
  padding-left: 0.45rem;
}

.contact-channel-label {
  width: 5rem;
  flex-shrink: 0;
  color: #6c6c6c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-channel-val {
  flex: 1;
  color: #d3d3d3;
}

.contact-channel-arrow {
  color: #5b5b5b;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-channel:hover .contact-channel-arrow,
.contact-channel:focus-visible .contact-channel-arrow {
  color: #84a7f0;
  transform: translateX(4px);
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gray-50);
}

.contact-right h3 {
  margin: 0 0 2rem;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 83, 169, 0.09);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
  padding: 0.95rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
}

.form-feedback {
  min-height: 1.5rem;
  margin: 0.15rem 0 0;
  color: #1a7a4a;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer {
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  width: min(1200px, 100%);
  margin: 0 auto 2.5rem;
}

.footer-logo-image {
  width: clamp(150px, 15vw, 190px);
  height: auto;
}

.footer-desc {
  max-width: 20rem;
  margin-top: 1rem;
  color: #8d8d8d;
  font-size: 0.92rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  color: #9a9a9a;
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666666;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: #9a9a9a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
  width: min(1200px, 100%);
  margin: 0 auto;
  color: #727272;
  font-size: 0.82rem;
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.92);
}

.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, transform 0.16s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(37, 83, 169, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(37, 83, 169, 0.35);
}

body.cursor-ready .cursor-ring,
body.cursor-ready .cursor-dot {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  transform: translate(-50%, -50%) scale(1.35);
  border-color: rgba(37, 83, 169, 0.95);
  background: rgba(37, 83, 169, 0.08);
}

body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(0.7);
}

@media (pointer: fine) {
  body.cursor-ready,
  body.cursor-ready a,
  body.cursor-ready button,
  body.cursor-ready input,
  body.cursor-ready textarea,
  body.cursor-ready select {
    cursor: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

@media (max-width: 1080px) {
  .services-accordion {
    min-height: 28rem;
  }

  .svc-panel-content {
    padding: 2rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--mobile-nav-offset) + env(safe-area-inset-top, 0px));
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(10, 10, 10, 0.14);
    max-height: calc(100dvh - var(--mobile-nav-offset) - env(safe-area-inset-top, 0px) - 1rem);
    overflow-y: auto;
    z-index: 350;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--mobile-nav-offset) + 2rem) 5% 3.25rem;
  }

  .hero-image-strip {
    display: none;
  }

  .about-grid,
  .services-intro,
  .contact-outer,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .services-intro {
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-accordion {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .svc-panel {
    overflow: hidden;
    border-radius: var(--radius-md);
    flex: none;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transition: background 0.35s ease, border-color 0.35s ease;
  }

  .svc-panel::before {
    opacity: 1;
    transform: none;
  }

  .svc-panel-trigger {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    padding: 1.35rem 1.75rem;
  }

  .svc-panel.active .svc-panel-trigger {
    pointer-events: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .svc-panel-tab-label {
    position: static;
    inset: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 0;
    padding: 0;
  }

  .svc-panel-tab-label span {
    writing-mode: initial;
    text-orientation: mixed;
    transform: none;
    white-space: normal;
    font-size: 0.88rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
  }

  .svc-panel.active .svc-panel-tab-label {
    display: flex;
  }

  .svc-panel-content {
    position: relative;
    inset: auto;
    z-index: 3;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: 0;
    padding: 0 1.75rem;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    justify-content: flex-start;
    gap: 0.85rem;
    overflow-wrap: anywhere;
    transition: max-height 0.38s ease, padding 0.32s ease, opacity 0.24s ease, transform 0.32s ease;
  }

  .svc-panel.active .svc-panel-content {
    max-height: 32rem;
    padding: 1.35rem 1.75rem 1.9rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .svc-panel-title,
  .svc-panel-text {
    max-width: none;
  }

  .contact-outer {
    overflow: clip;
  }

  .contact-left-heading {
    max-width: none;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0.55rem 1rem;
  }

  .container,
  .stats-grid {
    width: min(100%, calc(100% - 1.5rem));
  }

  .hero {
    padding: calc(var(--mobile-nav-offset) + 1.25rem) 1rem 3rem;
  }

  section {
    padding: 3.75rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-img-stack {
    min-height: 22rem;
  }

  .about-img-inset {
    right: 0.4rem;
    bottom: 0.4rem;
    width: 48%;
    height: 48%;
  }

  .services-intro {
    padding-inline: 1.25rem;
    margin-bottom: 2rem;
  }

  .svc-panel-trigger {
    padding: 1.2rem 1.5rem;
  }

  .svc-panel-content {
    padding-inline: 1.5rem;
  }

  .svc-panel-title {
    font-size: 1.55rem;
  }

  .svc-panel-text {
    font-size: 0.92rem;
  }

  .svc-panel.active .svc-panel-content {
    max-height: 36rem;
    padding: 1.2rem 1.5rem 1.6rem;
  }

  .contact-left,
  .contact-right,
  .site-footer {
    padding-inline: 1rem;
  }

  .contact-channel {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contact-channel-label {
    width: 100%;
  }

  .hero-bg-blob {
    filter: blur(65px);
  }
}
