:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-soft: #f0f4ff;
  --ink: #12182a;
  --muted: #697386;
  --line: #e7ebf3;
  --blue: #145ee8;
  --blue-dark: #111d5c;
  --purple: #6e2df2;
  --purple-dark: #31136f;
  --purple-soft: #f4f1ff;
  --orange: #ff8a1d;
  --orange-soft: #fff3e7;
  --shadow: 0 22px 55px rgba(18, 24, 42, 0.12);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: -35px;
  z-index: 10;
  background: #ffffff;
  box-shadow: 0 10px 35px rgba(18, 24, 42, 0.08);
}

.top-contact {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.top-contact-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  align-items: center;
}

.top-contact-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-contact a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.top-contact a:hover {
  color: var(--orange);
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  vertical-align: middle;
}

.facebook-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-1px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 104px;
  height: 74px;
  align-self: stretch;
  flex: 0 0 auto;
  margin-left: calc((100vw - min(1120px, calc(100vw - 40px))) / -2);
  padding: 10px 18px 10px 10px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 32px rgba(110, 45, 242, 0.26);
  clip-path: polygon(0 0, 86% 0, 100% 100%, 0% 100%);
}

.brand-image {
  display: flex;
  align-items: center;
  width: 190px;
  min-width: 140px;
  height: 58px;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile hamburger toggle and responsive nav */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 180ms ease;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { transform: rotate(45deg); }
.nav-toggle.open span::before { transform: rotate(90deg); top: 0; }
.nav-toggle.open span::after { opacity: 0; }

.nav-links > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0 12px;
  text-decoration: none;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-item > a:hover,
.nav-item > a.active {
  background: transparent;
  color: var(--purple);
  box-shadow: inset 0 -3px 0 var(--orange);
}

.nav-links > a.nav-cta {
  min-height: 0;
  margin-left: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(110, 45, 242, 0.24);
}

.nav-links > a.nav-cta:hover,
.nav-links > a.nav-cta.active {
  box-shadow: 0 10px 24px rgba(110, 45, 242, 0.3);
  color: #ffffff;
}

.nav-item {
  position: relative;
}

.has-dropdown > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 30;
  display: grid;
  width: 248px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(18, 24, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-menu a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 12px 14px;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--orange-soft);
  color: var(--purple-dark);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 88px;
  overflow: visible;
  color: #ffffff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center right;
  background-size: cover;
  background-attachment: fixed;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 30, 92, 0.687) 0%, rgba(50, 19, 111, 0) 46%, rgba(17, 29, 92, 0.1) 100%),
    linear-gradient(0deg, rgba(255, 138, 29, 0.007), transparent 48%),
    linear-gradient(0deg, rgba(17, 30, 92, 0.052), transparent 55%);
  pointer-events: none;
}

/* Sub-hero: used on About, Services, Contact — same look as Home hero but thinner */
.sub-hero {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  isolation: isolate;
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center right;
  background-size: cover;
  background-attachment: fixed;
  pointer-events: none;
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 30, 92, 0.75) 0%, rgba(50, 19, 111, 0.1) 52%, rgba(17, 29, 92, 0.12) 100%),
    linear-gradient(0deg, rgba(17, 30, 92, 0.08), transparent 55%);
  pointer-events: none;
}

.sub-hero .hero-angle {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 64%;
  background:
    linear-gradient(135deg, rgba(110, 45, 242, 0.72), rgba(20, 94, 232, 0.32));
  clip-path: polygon(0 0, 68% 0, 100% 100%, 0% 100%);
}

.sub-hero .hero-angle::after {
  content: "";
  position: absolute;
  inset: 0 0 0 36%;
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, 34% 0, 100% 100%, 56% 100%);
}

.sub-hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 72px;
}

.sub-hero h1 {
  color: #ffffff;
  max-width: 640px;
}

.sub-hero p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.75;
}

.sub-hero .eyebrow {
  color: #bfd8ff;
}

@media (max-width: 880px) {
  .sub-hero { min-height: 340px; }
  .sub-hero::before { background-attachment: scroll; background-position: center; }
}

.hero-angle {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 64%;
  background:
    linear-gradient(135deg, rgba(110, 45, 242, 0.78), rgba(20, 94, 232, 0.38));
  clip-path: polygon(0 0, 68% 0, 100% 100%, 0% 100%);
}

.hero-angle::after {
  content: "";
  position: absolute;
  inset: 0 0 0 36%;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, 34% 0, 100% 100%, 56% 100%);
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero-kicker,
.footer .eyebrow {
  color: #bfd8ff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 3.35rem);
  line-height: 1.04;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
  line-height: 1.15;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero-text {
  max-width: 500px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.centered-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  padding: 12px 18px;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(110, 45, 242, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-dark), var(--purple-dark) 68%, #ff9f3f);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-light {
  background: #ffffff;
  color: var(--blue-dark);
}

@media (max-width: 880px) {
  .topbar-inner { gap: 12px; position: relative; }
  .nav-toggle { display: inline-flex; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
  /* hide the decorative brand-logo on small screens */
  .brand-logo { display: none; }
  .nav-links { display: none; position: absolute; right: 14px; left: 14px; top: calc(100% + 8px); background: var(--surface); border-radius: 12px; padding: 10px; flex-direction: column; gap: 6px; box-shadow: 0 18px 40px rgba(18,24,42,0.06); border: 1px solid var(--line); z-index: 1200; }
  .nav-links.show { display: flex; }
  .nav-links > a, .nav-item > a { min-height: auto; padding: 10px 12px; }
}

.hero-strip {
  position: relative;
  z-index: 8;
  width: min(980px, calc(100% - 40px));
  margin: -54px auto 0;
  transform: translateY(88px);
  background: transparent;
}

.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-strip .container {
  width: 100%;
}

.hero-fact {
  position: relative;
  z-index: 9;
  min-height: 132px;
  padding: 28px 24px;
  border: 1px solid var(--line);

  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -10px auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple));
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(110, 45, 242, 0.3);
}

.hero-icon svg {
  display: block;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-fact strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-fact > span:not(.hero-icon) {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}

.section-tight {
  padding-top: 56px;
}

.section-alt {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(110, 45, 242, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 138, 29, 0.1), transparent 36%),
    #f7f8ff;
  border: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p,
.lede,
.panel p,
.service-card p,
.value-card p,
.contact-method p,
.page-hero p {
  color: var(--muted);
  line-height: 1.75;
}

.lede {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.media-frame img.portrait-photo {
  object-position: center top;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 138, 29, 0.22);
  z-index: 1;
}

.panel-grid,
.services-grid,
.values-grid,
.experience-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.panel,
.service-card,
.value-card,
.contact-method {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(18, 24, 42, 0.06);
}

.mission-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(110, 45, 242, 0.22);
}

.mission-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vision-icon {
  background: linear-gradient(135deg, var(--blue), var(--purple-dark));
}

.panel.featured,
.service-card.featured {
  background: linear-gradient(135deg, var(--blue-dark), var(--purple));
  border-color: transparent;
  color: #ffffff;
}

.panel.featured p,
.panel.featured li,
.panel.featured span,
.panel.featured strong,
.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.86);
}

.panel p,
.service-card p,
.value-card p,
.contact-method p {
  margin: 12px 0 0;
}

.panel ul,
.service-card ul,
.experience-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card ul {
  width: 100%;
  text-align: left;
}

.panel li,
.service-card li,
.experience-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.panel li::before,
.service-card li::before,
.experience-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.featured li::before {
  background: #ffffff;
}

.stat-list {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.18);
}

.stat-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--purple));
}

.stat-list span {
  text-align: right;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.service-card.image-card {
  min-height: 430px;
  justify-content: flex-end;
  overflow: hidden;
  border-color: transparent;
  color: #ffffff;
  text-align: left;
  align-items: flex-start;
}

.service-card.image-card::before,
.service-card.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card.image-card::before {
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 0.28s ease;
}

.service-card.image-card::after {
  background:
    linear-gradient(180deg, rgba(18, 24, 42, 0.12), rgba(12, 20, 48, 0.86) 68%),
    linear-gradient(135deg, rgba(110, 45, 242, 0.52), rgba(255, 138, 29, 0.26));
}

.service-card.image-card:hover::before {
  transform: scale(1.07);
}

.service-card.image-card > * {
  position: relative;
  z-index: 1;
}

.service-card.image-card li,
.service-card.image-card p {
  color: rgba(255, 255, 255, 0.9);
}

.service-card.image-card h3 {
  color: #ffffff;
}

.service-card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(110, 45, 242, 0.2);
}

.service-card.featured .number {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.text-link:hover {
  color: var(--orange);
}

.service-card.featured .text-link {
  color: #ffffff;
}

.service-detail-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 48%, #ffffff 100%);
}

.service-detail-stack {
  display: grid;
  gap: 74px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.82fr);
  gap: 46px;
  align-items: center;
}

.service-detail.image-left {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 0.92fr);
}

.service-detail-copy {
  max-width: 580px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(110, 45, 242, 0.18);
}

.service-detail-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.service-detail-image img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.value-card {
  background: #ffffff;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(110, 45, 242, 0.2);
}

.value-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* legacy page-hero kept for backward compat but sub-hero is preferred */

.about-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.about-facts li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.about-facts li strong {
  color: var(--ink);
}

.experience-card {
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 26px;
}

.director-showcase {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(110, 45, 242, 0.08), transparent 42%),
    #ffffff;
  padding: 26px;
  box-shadow: 0 12px 34px rgba(18, 24, 42, 0.06);
}

.director-photo img {
  height: 380px;
}

.director-showcase h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.director-showcase p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.person-name {
  margin: 8px 0 0;
  color: var(--purple);
  font-weight: 800;
}

.contact-method a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-method a:hover {
  color: var(--orange);
}

.top-contact a.social-link,
.contact-method a.social-link,
.footer a.social-link {
  color: #ffffff;
}

.contact-method a.social-link:hover,
.footer a.social-link:hover {
  color: #ffffff;
}

.contact-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--purple) 72%, var(--orange));
  color: #ffffff;
}

.contact-band .section-head p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(110, 45, 242, 0.12);
}

.contact-form .btn {
  width: fit-content;
  cursor: pointer;
}

.footer {
  padding: 64px 0 28px;
  background:
    linear-gradient(32deg, rgba(255, 138, 29, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(110, 45, 242, 0.22), transparent 42%),
    #0c1430;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(180px, 0.6fr));
  gap: 36px;
  align-items: flex-start;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer a {
  text-decoration: none;
}

.footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.96rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  opacity: 1;
  transform: none;
  visibility: visible;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.footer-bottom a:hover {
  color: var(--orange);
}

@media (max-width: 920px) {
  .topbar {
    top: -78px;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .top-contact-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .brand-logo {
    width: 82px;
    min-height: 58px;
    margin-left: 0;
    clip-path: none;
    border-radius: var(--radius);
    border: 0;
    padding: 8px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    margin-bottom: 0;
  }

  .hero-content {
    padding: 86px 0 62px;
  }

  .hero-strip-inner,
  .section-head,
  .split,
  .panel-grid,
  .services-grid,
  .values-grid,
  .experience-grid,
  .contact-grid,
  .director-showcase,
  .service-detail,
  .service-detail.image-left,
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .service-detail-stack {
    gap: 56px;
  }

  .service-detail.image-left .service-detail-image {
    order: 2;
  }

  .service-detail.image-left .service-detail-copy {
    order: 1;
  }

  .hero-strip {
    margin: 0 auto;
    transform: translateY(0);
    padding: 20px 0;
  }

  .hero-fact {
    min-height: 112px;
  }

  .media-frame img {
    height: 340px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .brand-image {
    width: 150px;
    height: 48px;
  }

  .nav-links > a,
  .nav-item > a {
    min-height: 0;
    padding: 9px 10px;
  }

  .nav-links > a.nav-cta {
    padding: 9px 14px;
  }

  .dropdown-menu {
    left: auto;
    right: 0;
    width: min(248px, calc(100vw - 28px));
  }

  .hero-content {
    padding: 72px 0 52px;
  }

  h1 {
    font-size: 2.18rem;
  }

  .section {
    padding: 58px 0;
  }

  .sub-hero-content {
    padding: 56px 0 56px;
  }

  .panel,
  .service-card,
  .value-card,
  .contact-method,
  .experience-card {
    padding: 22px;
  }

  .service-card.image-card {
    min-height: 390px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .hero-actions,
  .page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before,
  .sub-hero::before {
    animation: heroDrift 18s ease-in-out infinite alternate;
  }

  .hero-angle,
  .sub-hero .hero-angle {
    animation: angleEase 900ms ease-out both;
  }

  .animations-ready .reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 620ms ease,
      transform 620ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease,
      background 220ms ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .animations-ready .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .animations-ready .footer-bottom.reveal-item {
    opacity: 1;
    transform: none;
  }

  .btn,
  .nav-links a,
  .dropdown-menu a,
  .footer a,
  .text-link {
    transition:
      color 180ms ease,
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  .btn:hover,
  .nav-links > a.nav-cta:hover {
    transform: translateY(-2px);
  }

  .hero-fact,
  .service-card,
  .value-card,
  .panel,
  .experience-card,
  .contact-method,
  .director-showcase,
  .service-detail-image,
  .media-frame {
    transition:
      transform 240ms ease,
      box-shadow 240ms ease,
      border-color 240ms ease;
  }

  .hero-fact:hover,
  .service-card:hover,
  .value-card:hover,
  .panel:hover,
  .experience-card:hover,
  .contact-method:hover,
  .director-showcase:hover,
  .service-detail-image:hover,
  .media-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(18, 24, 42, 0.14);
  }

  .media-frame img,
  .service-detail-image img {
    transition: transform 420ms ease;
  }

  .media-frame:hover img,
  .service-detail-image:hover img {
    transform: scale(1.04);
  }

  .hero-icon,
  .mission-icon,
  .value-icon,
  .service-number {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }

  .hero-fact:hover .hero-icon,
  .panel:hover .mission-icon,
  .value-card:hover .value-icon,
  .service-detail:hover .service-number {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 34px rgba(110, 45, 242, 0.28);
  }

  .topbar {
    animation: headerDrop 520ms ease-out both;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes angleEase {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes headerDrop {
  from {
    transform: translateY(-18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
