:root {
  --ink: #111719;
  --ink-2: #1b2528;
  --paper: #f6f2e9;
  --paper-2: #fffaf1;
  --muted: #65716f;
  --line: rgba(17, 23, 25, 0.14);
  --teal: #10a886;
  --teal-dark: #087967;
  --gold: #efb84d;
  --coral: #d7604f;
  --steel: #396b7f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 20, 22, 0.18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 23, 25, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand em {
  color: var(--gold);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
}

.section-band {
  width: 100%;
}

.hero {
  min-height: min(620px, calc(100svh - 138px));
  display: flex;
  align-items: center;
  padding: clamp(38px, 4vw, 56px) 0 clamp(34px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(17, 23, 25, 0.96), rgba(17, 23, 25, 0.86) 52%, rgba(57, 107, 127, 0.62)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 82px),
    var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.2vw, 4.95rem);
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(239, 184, 77, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.services .button-secondary,
.contact-section .button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(-8deg);
}

.hero-visual::before {
  width: 82%;
  height: 70%;
  right: 2%;
  top: 13%;
  background: rgba(16, 168, 134, 0.12);
}

.hero-visual::after {
  width: 58%;
  height: 44%;
  left: 3%;
  bottom: 10%;
  border-color: rgba(239, 184, 77, 0.28);
  transform: rotate(8deg);
}

.hero-visual img {
  width: 100%;
  height: min(44vw, 480px);
  min-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.38));
}

.trust-strip {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.trust-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
}

.trust-inner span {
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 850;
}

.trust-inner span::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(16, 168, 134, 0.12);
}

.services,
.sectors {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-heading {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto clamp(30px, 5vw, 54px);
  text-align: center;
}

.section-heading.narrow {
  width: min(500px, 100%);
  margin: 0;
  text-align: left;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  margin: 18px auto 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.narrow p:not(.eyebrow) {
  margin-left: 0;
}

.service-grid,
.sector-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

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

.service-card,
.sector-panel {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 16px 48px rgba(17, 23, 25, 0.08);
}

.service-card {
  padding: 24px;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--gold);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.sector-panel h3,
.process-list h3 {
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.service-card p,
.sector-panel p,
.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split-section {
  padding: clamp(64px, 8vw, 112px) max(16px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.split-section .section-heading p:not(.eyebrow),
.process-list p {
  color: rgba(255, 255, 255, 0.68);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.process-list li {
  min-height: 118px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.process-list span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 168, 134, 0.18);
  color: var(--gold);
  border: 1px solid rgba(239, 184, 77, 0.28);
  border-radius: var(--radius);
  font-weight: 900;
}

.process-list h3 {
  color: var(--white);
}

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

.sector-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.sector-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(64px, 8vw, 112px);
  padding: clamp(34px, 6vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(239, 184, 77, 0.16)),
    var(--paper-2);
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 720px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-section .button-primary {
  min-width: 220px;
}

.site-footer {
  width: 100%;
  padding: 34px max(16px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.site-footer p {
  margin: 8px 0 0;
  max-width: 520px;
}

.copyright {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    height: 420px;
    min-height: 360px;
  }

  .trust-inner,
  .service-grid,
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }

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

  .copyright {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    min-height: 68px;
  }

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

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #172024;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 48px;
    padding: 0 12px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .section-heading,
  .service-grid,
  .sector-grid,
  .trust-inner,
  .contact-section {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.85rem);
  }

  .trust-inner,
  .service-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .process-list li {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 18px;
  }

  .process-list span {
    width: 44px;
    height: 44px;
    font-size: 0.88rem;
  }

  .contact-section {
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
