:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0d1828;
  --panel: rgba(12, 23, 38, 0.8);
  --panel-strong: rgba(9, 18, 31, 0.94);
  --line: rgba(163, 188, 214, 0.16);
  --line-strong: rgba(163, 188, 214, 0.32);
  --text: #edf4fb;
  --muted: #9eb1c6;
  --accent: #53d2b2;
  --accent-strong: #d9ff70;
  --accent-alt: #83b6ff;
  --shadow: 0 28px 80px rgba(3, 9, 18, 0.45);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(83, 210, 178, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(131, 182, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #06101d 0%, #0a1420 52%, #07111f 100%);
  color: var(--text);
  font: 400 16px/1.6 'Manrope', sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-backdrop {
  position: absolute;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.page-backdrop-left {
  top: 120px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: rgba(83, 210, 178, 0.16);
}

.page-backdrop-right {
  top: 200px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(131, 182, 255, 0.18);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 12, 20, 0.74);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(217, 255, 112, 0.18), rgba(83, 210, 178, 0.08));
  color: var(--accent-strong);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.mobile-nav-link {
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--text);
}

.desktop-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 17, 31, 0.98);
}

.mobile-nav-inner {
  display: grid;
  gap: 18px;
  padding: 20px 0 24px;
}

.mobile-nav-link {
  font-size: 1.05rem;
}

.mobile-nav-cta {
  width: fit-content;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #04111a;
}

.button-secondary,
.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero-section {
  padding: 62px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.project-card,
.info-card,
.metric-card,
.contact-card,
.contact-shell {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.project-card,
.info-card,
.contact-card,
.contact-shell {
  background: linear-gradient(180deg, rgba(14, 26, 42, 0.9), rgba(10, 19, 31, 0.9));
}

.hero-copy {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.section-kicker,
.card-eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.hero-panel h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-copy p,
.card-copy,
.project-line,
.hero-stack article p,
.info-card p,
.footer-copy {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.hero-metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-metric dt {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-metric dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.hero-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(83, 210, 178, 0.12);
  border: 1px solid rgba(83, 210, 178, 0.24);
  color: var(--accent);
  font-size: 0.87rem;
  font-weight: 700;
}

.hero-stack {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.hero-stack article,
.service-card,
.project-card,
.info-card,
.metric-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.hero-stack article,
.service-card,
.metric-card {
  background: rgba(255, 255, 255, 0.03);
}

.hero-stack h3,
.service-card h3,
.project-card h3,
.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.terminal-card {
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.98), rgba(5, 10, 20, 0.98)),
    rgba(255, 255, 255, 0.02);
}

.terminal-lines {
  display: grid;
  gap: 10px;
  color: #beeed9;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.96rem;
}

.section-block {
  padding: 42px 0 54px;
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: '';
  position: absolute;
  inset: 80px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  margin-bottom: 16px;
}

.services-grid,
.projects-grid,
.metrics-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.service-card {
  border: 1px solid rgba(83, 210, 178, 0.12);
}

.card-meta,
.card-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.card-note {
  font-size: 0.95rem;
}

.project-card {
  min-height: 100%;
}

.project-line {
  margin: 0 0 12px;
}

.project-line strong,
.card-meta strong {
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}

.about-copy {
  padding: 8px 0;
}

.about-points {
  display: grid;
  gap: 18px;
}

.metric-card {
  text-align: left;
}

.metric-value {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.metric-label {
  margin: 0;
  color: var(--muted);
}

.section-contact {
  padding-bottom: 76px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-list a {
  width: fit-content;
  color: var(--accent-strong);
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-md);
}

.contact-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus,
.nav-toggle:focus-visible,
.button:focus-visible,
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.footer-links a:focus-visible,
.contact-list a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.footer-copy {
  max-width: 56ch;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-shell,
  .projects-grid,
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid article:last-child,
  .metrics-grid article:last-child {
    grid-column: span 2;
  }

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

@media (max-width: 840px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

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

  .hero-grid,
  .services-grid,
  .projects-grid,
  .about-grid,
  .metrics-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .projects-grid article:last-child,
  .metrics-grid article:last-child {
    grid-column: auto;
  }

  .hero-copy,
  .hero-panel,
  .contact-shell {
    padding: 24px;
  }

  .hero-section {
    padding-top: 36px;
  }

  .nav-shell {
    min-height: 76px;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Company landing page visual system. These rules intentionally override the
   first iteration so all presentation remains centralized in this file. */
:root {
  --bg: #070b16;
  --bg-soft: #0b1120;
  --panel: rgba(15, 23, 42, 0.7);
  --panel-strong: #0c1425;
  --line: rgba(167, 190, 226, 0.15);
  --line-strong: rgba(180, 203, 237, 0.3);
  --text: #f1f5fc;
  --muted: #9eabc3;
  --accent: #73e6c8;
  --accent-strong: #c7fc87;
  --accent-alt: #8da9ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  --container: 1220px;
}

body {
  background:
    radial-gradient(circle at 18% -8%, rgba(102, 124, 255, 0.22), transparent 31%),
    radial-gradient(circle at 82% 8%, rgba(64, 228, 196, 0.15), transparent 24%),
    #070b16;
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 870px;
  content: '';
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(193, 214, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193, 214, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(#000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(#000 0%, transparent 90%);
}

.page-backdrop-left { top: 200px; left: -180px; background: rgba(90, 102, 255, 0.2); }
.page-backdrop-right { top: 140px; right: -160px; background: rgba(55, 224, 189, 0.17); }

.site-header { background: rgba(7, 11, 22, 0.62); }
.nav-shell { min-height: 80px; }
.brand-mark { border-radius: 14px; color: #0a1621; background: linear-gradient(145deg, var(--accent-strong), var(--accent)); border: 0; box-shadow: 0 12px 28px rgba(114, 231, 201, 0.16); }
.desktop-nav { gap: 25px; }
.nav-link { font-size: 0.9rem; }
.desktop-cta { min-height: 42px; padding-inline: 17px; border-radius: 13px; }
.button { border-radius: 14px; min-height: 52px; }
.button-primary { box-shadow: 0 14px 30px rgba(113, 231, 200, 0.15); }
.button-primary span { margin-left: 7px; font-size: 1.1em; }
.button-ghost { background: rgba(255, 255, 255, 0.035); }

.hero-section { padding: 88px 0 78px; }
.hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr); gap: 52px; align-items: center; }
.hero-copy { padding: 0; border: 0; background: none; box-shadow: none; }
.eyebrow-badge { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 21px; padding: 8px 12px; border: 1px solid rgba(115, 230, 200, 0.22); border-radius: 999px; color: #a6f8e3; background: rgba(48, 209, 172, 0.08); font: 700 0.7rem/1 'Space Grotesk', sans-serif; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(115, 230, 200, 0.12); }
.hero-copy h1 { max-width: 11ch; font-size: clamp(3.35rem, 5.6vw, 6.2rem); line-height: 0.97; }
.hero-copy h1 em { color: var(--accent-strong); font-style: normal; }
.hero-text { max-width: 55ch; margin-top: 26px; font-size: 1.1rem; line-height: 1.75; }
.hero-actions { margin: 32px 0 39px; }
.hero-metrics { max-width: 610px; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hero-metric { padding: 18px 15px 3px 0; border: 0; border-radius: 0; background: none; }
.hero-metric + .hero-metric { padding-left: 15px; border-left: 1px solid var(--line); }
.hero-metric dt { color: var(--accent-strong); font-size: 1.18rem; }
.hero-metric dd { font-size: 0.75rem; line-height: 1.35; }

.hero-panel { position: relative; overflow: hidden; padding: 26px; border-radius: 28px; border-color: rgba(164, 192, 234, 0.2); background: linear-gradient(145deg, rgba(19, 30, 54, 0.92), rgba(8, 14, 28, 0.96)); box-shadow: 0 32px 100px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.07); }
.panel-glow { position: absolute; width: 240px; height: 240px; top: -120px; right: -90px; border-radius: 50%; background: rgba(100, 117, 255, 0.26); filter: blur(44px); }
.hero-panel-top { position: relative; padding: 4px 4px 21px; }
.hero-panel h2 { max-width: 11ch; font-size: clamp(1.9rem, 3vw, 2.55rem); }
.status-pill { gap: 7px; background: rgba(115, 230, 200, 0.09); color: #a6f8e3; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-stack { position: relative; gap: 11px; margin-top: 18px; }
.operation-card { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px; border: 1px solid rgba(183, 204, 238, 0.12); border-radius: 18px; background: rgba(255, 255, 255, 0.035); }
.operation-card--primary { background: linear-gradient(100deg, rgba(115, 230, 200, 0.11), rgba(255, 255, 255, 0.035)); }
.operation-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(199, 252, 135, 0.28); border-radius: 12px; color: var(--accent-strong); background: rgba(199, 252, 135, 0.06); font: 700 0.7rem 'Space Grotesk', sans-serif; }
.operation-card .card-eyebrow { margin-bottom: 5px; font-size: 0.65rem; }
.operation-card h3 { margin: 0 0 4px; font-size: 1rem; }
.operation-card p:last-child { margin: 0; color: var(--muted); font-size: 0.83rem; line-height: 1.48; }
.terminal-card { padding: 17px 18px; border: 1px solid rgba(167, 190, 226, 0.12); border-radius: 18px; }
.terminal-top { display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.terminal-top span { width: 7px; height: 7px; border-radius: 50%; background: #ff6e73; }
.terminal-top span:nth-child(2) { background: #f3cf6f; }
.terminal-top span:nth-child(3) { background: #73e6c8; }
.terminal-top p { margin: 0 0 0 6px; color: #687895; font: 0.68rem 'Space Grotesk', sans-serif; }
.terminal-lines { gap: 8px; font-size: 0.78rem; }
.terminal-lines b { color: var(--accent-strong); font-weight: 700; }

.section-block { padding: 86px 0; }
.section-heading { margin-bottom: 38px; max-width: 1120px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { max-width: 28ch; font-size: clamp(2.45rem, 4vw, 4rem); line-height: 1; }
.section-heading p { max-width: 100ch; font-size: 1.02rem; }
.services-section { position: relative; background: linear-gradient(180deg, transparent, rgba(19, 30, 54, 0.32) 44%, transparent); }
.services-grid { gap: 14px; }
.services-section .section-heading { max-width: 1240px; }
.services-section .section-heading h2 { max-width: 100ch; }
.services-section .section-heading p { max-width: 100ch; }
.service-card { position: relative; min-height: 280px; padding: 28px; overflow: hidden; border-color: rgba(167, 190, 226, 0.14); border-radius: 22px; background: linear-gradient(150deg, rgba(22, 33, 58, 0.7), rgba(10, 17, 32, 0.76)); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.service-card::after { position: absolute; right: -38px; bottom: -52px; width: 145px; height: 145px; content: ''; border: 1px solid rgba(115, 230, 200, 0.18); border-radius: 50%; }
.service-card:nth-child(2)::after { border-color: rgba(141, 169, 255, 0.2); }
.service-card:nth-child(3)::after { border-color: rgba(199, 252, 135, 0.16); }
.service-card:hover { transform: translateY(-5px); border-color: rgba(115, 230, 200, 0.36); background: linear-gradient(150deg, rgba(25, 42, 69, 0.85), rgba(10, 17, 32, 0.9)); }
.service-card .card-eyebrow { color: var(--accent); }
.service-card h3 { max-width: 20ch; font: 700 clamp(1.3rem, 2vw, 1.65rem)/1.15 'Space Grotesk', sans-serif; }
.card-copy { max-width: 46ch; font-size: 0.93rem; line-height: 1.65; }
.card-meta { padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.79rem; }
.card-note { font-size: 0.78rem; }

.section-accent { background: rgba(255, 255, 255, 0.018); }
.section-accent::before { display: none; }
.projects-grid { grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 14px; }
.project-card { position: relative; min-height: 420px; padding: 29px; overflow: hidden; border-radius: 24px; background: linear-gradient(145deg, rgba(19, 30, 53, 0.93), rgba(9, 15, 29, 0.96)); }
.section-accent .section-heading h2 { max-width: 100ch; }
.project-card:first-child { grid-row: span 1; background: linear-gradient(150deg, rgba(31, 66, 78, 0.92), rgba(10, 20, 34, 0.98)); }
.project-card::before { position: absolute; right: 25px; bottom: -33px; color: rgba(255, 255, 255, 0.045); content: 'UL'; font: 800 9rem/1 'Space Grotesk', sans-serif; letter-spacing: -0.15em; }
.project-card .card-eyebrow { color: #9ab2ff; }
.project-card h3 { position: relative; max-width: 17ch; font: 700 1.45rem/1.16 'Space Grotesk', sans-serif; }
.project-line { position: relative; margin-top: 15px; font-size: 0.86rem; line-height: 1.58; }
.project-line strong { display: block; margin-bottom: 2px; color: var(--accent-strong); font: 700 0.65rem 'Space Grotesk', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }

.about-section { padding-top: 106px; }
.about-grid { gap: 84px; align-items: start; }
.about-copy { position: sticky; top: 116px; }
.about-points { gap: 12px; }
.info-card { padding: 27px 28px; border-color: rgba(167, 190, 226, 0.12); border-radius: 20px; background: rgba(255, 255, 255, 0.028); box-shadow: none; }
.info-card:nth-child(2) { margin-left: 42px; }
.info-card:nth-child(3) { margin-left: 18px; }
.info-card h3 { font: 700 1.42rem/1.15 'Space Grotesk', sans-serif; }
.trust-section { padding-top: 54px; }
.trust-section .section-heading { max-width: 1240px; }
.trust-section .section-heading h2 { max-width: 100ch; }
.trust-section .section-heading p { max-width: 100ch; }
.metrics-grid { gap: 1px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--line); }
.metric-card { padding: 28px 24px; border: 0; border-radius: 0; background: #0c1424; box-shadow: none; }
.metric-value { color: var(--accent-strong); font-size: 2rem; }

.contact-shell { position: relative; overflow: hidden; gap: 54px; padding: 48px; border-color: rgba(115, 230, 200, 0.2); background: linear-gradient(120deg, rgba(13, 36, 47, 0.96), rgba(12, 20, 39, 0.98)); }
.contact-copy h2 { max-width: 20ch; }
.contact-shell::before { position: absolute; top: -190px; left: -100px; width: 420px; height: 420px; border-radius: 50%; content: ''; background: rgba(115, 230, 200, 0.08); filter: blur(20px); }
.contact-copy, .contact-card { position: relative; }
.contact-card { border-color: rgba(255, 255, 255, 0.12); background: rgba(7, 13, 27, 0.58); box-shadow: none; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 30px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card:first-child { grid-column: span 2; min-height: 330px; }
  .about-grid { gap: 42px; }
}

@media (max-width: 840px) {
  .hero-section { padding: 55px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-panel { max-width: 650px; }
  .section-block { padding: 68px 0; }
  .about-copy { position: static; }
  .info-card:nth-child(2), .info-card:nth-child(3) { margin-left: 0; }
  .contact-shell { gap: 30px; padding: 30px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 3.15rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-metric:nth-child(4) { padding-left: 15px; border-left: 1px solid var(--line); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: auto; }
  .project-card { min-height: auto; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: 2.5rem; }
  .contact-shell { padding: 24px; }
}

/* Refined landing-page pass to bring the PHP version closer to the stronger
   visual hierarchy of index.html while preserving centralized architecture. */
.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nav-link,
.mobile-nav-link {
  position: relative;
}

.nav-link::after,
.mobile-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.mobile-nav-link:hover::after,
.mobile-nav-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.hero-section {
  padding-top: 96px;
}

.hero-grid {
  gap: 58px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: '';
  position: absolute;
  top: -26px;
  left: -28px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 169, 255, 0.22), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-copy h1 {
  letter-spacing: -0.065em;
}

.hero-text {
  color: #afbdd4;
  max-width: 58ch;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 28px;
}

.proof-card {
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(8, 15, 29, 0.38);
  backdrop-filter: blur(10px);
}

.proof-card span {
  display: block;
  margin-bottom: 8px;
  color: #8ea4c6;
  font: 700 0.66rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.proof-card strong {
  display: block;
  max-width: 20ch;
  font: 700 1rem/1.35 'Space Grotesk', sans-serif;
  color: var(--text);
}

.hero-actions {
  margin-top: 34px;
}

.hero-panel {
  border-radius: 32px;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 169, 255, 0.55), transparent);
}

.signal-section {
  padding-top: 8px;
  padding-bottom: 28px;
}

.signal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
  padding: 28px 32px;
  border: 1px solid rgba(167, 190, 226, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(18, 28, 49, 0.72), rgba(8, 13, 24, 0.76)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.signal-copy h2 {
  margin: 0;
  max-width: 16ch;
  font: 700 clamp(2rem, 3.8vw, 3.4rem)/1.02 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
}

.signal-points {
  display: grid;
  gap: 12px;
}

.signal-point {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.signal-point:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.signal-point span {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(115, 230, 200, 0.09);
}

.signal-point p {
  margin: 0;
  color: #b2c1d8;
  font-size: 1rem;
  line-height: 1.7;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  letter-spacing: -0.06em;
}

.services-grid {
  gap: 18px;
}

.service-card {
  min-height: 316px;
  padding: 30px;
}

.service-card-top,
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-index,
.project-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #dfe9fb;
  background: rgba(255, 255, 255, 0.035);
  font: 700 0.76rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-top: 26px;
}

.card-meta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font: 700 0.68rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects-grid {
  gap: 18px;
}

.project-card {
  min-height: 450px;
  border: 1px solid rgba(169, 193, 230, 0.14);
}

.project-card h3 {
  margin-top: 24px;
  margin-bottom: 18px;
}

.project-card:first-child h3 {
  max-width: 14ch;
  font-size: 1.72rem;
}

.project-line {
  margin-bottom: 14px;
}

.about-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.about-copy p,
.contact-copy p,
.section-heading p {
  color: #a9b7cd;
}

.info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.018));
}

.trust-section .section-heading {
  margin-bottom: 30px;
}

.metric-card {
  position: relative;
}

.metric-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(115, 230, 200, 0.18), transparent);
}

.contact-shell {
  border-radius: 30px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #e7f0ff;
}

.contact-card label {
  font-size: 0.95rem;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  background: rgba(255, 255, 255, 0.045);
}

.site-footer {
  padding-top: 8px;
}

@media (max-width: 1080px) {
  .signal-shell {
    grid-template-columns: 1fr;
  }

  .signal-copy h2 {
    max-width: none;
  }
}

@media (max-width: 840px) {
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .signal-shell {
    padding: 24px;
  }

  .service-card,
  .project-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero-proof {
    gap: 12px;
  }

  .signal-shell {
    padding: 22px 18px;
  }

  .hero-copy::before {
    left: -8px;
    width: 96px;
    height: 96px;
  }
}

/* Dedicated project index: editorial pacing rather than homepage card patterns. */
.projects-masthead {
  padding: clamp(92px, 13vw, 172px) 0 62px;
}

.projects-masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.62fr);
  gap: clamp(36px, 8vw, 130px);
  align-items: end;
}

.projects-masthead h1 {
  max-width: 10ch;
  margin: 12px 0 0;
  font: 700 clamp(3.6rem, 7vw, 7.5rem)/0.91 'Space Grotesk', sans-serif;
  letter-spacing: -0.07em;
}

.projects-masthead-copy {
  padding-bottom: 9px;
}

.projects-masthead-copy p,
.projects-work-heading > p:last-child {
  margin: 0;
  color: #adbbcf;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.text-link,
.case-study-link,
.featured-case-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font: 700 0.78rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  margin-top: 28px;
}

.projects-featured {
  padding: 0 0 clamp(76px, 10vw, 132px);
}

.featured-case {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 66px);
  border: 1px solid rgba(217, 255, 112, 0.25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 15%, rgba(83, 210, 178, 0.2), transparent 26%),
    linear-gradient(135deg, #16253b 0%, #0c1728 58%, #09111e 100%);
  box-shadow: var(--shadow);
}

.featured-case::after {
  content: 'UL';
  position: absolute;
  right: -0.03em;
  bottom: -0.29em;
  color: rgba(217, 255, 112, 0.045);
  font: 700 clamp(13rem, 30vw, 28rem)/0.7 'Space Grotesk', sans-serif;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.featured-case-meta,
.featured-case-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #a7b9d0;
  font: 700 0.72rem/1.2 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-case-main {
  position: relative;
  z-index: 1;
  align-self: center;
}

.featured-case-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  padding: clamp(52px, 8vw, 104px) 0 clamp(44px, 6vw, 78px);
}

.featured-case-domain {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font: 700 clamp(1rem, 1.8vw, 1.3rem)/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.06em;
}

.featured-case h2 {
  max-width: 12ch;
  margin: 0;
  font: 700 clamp(2.2rem, 4.8vw, 5.25rem)/0.96 'Space Grotesk', sans-serif;
  letter-spacing: -0.06em;
}

.featured-case-main > p:last-child {
  max-width: 60ch;
  margin: 26px 0 0;
  color: #becbe0;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.featured-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin-top: 36px;
  border: 1px solid rgba(180, 207, 235, 0.14);
  background: rgba(180, 207, 235, 0.14);
}

.featured-facts div {
  min-height: 88px;
  padding: 14px;
  background: rgba(8, 17, 30, 0.46);
}

.featured-facts span {
  display: block;
  margin-bottom: 9px;
  color: #8fa3bd;
  font: 700 0.6rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-facts strong {
  display: block;
  color: #e7eff9;
  font-size: 0.76rem;
  line-height: 1.35;
}

.featured-preview {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  border: 1px solid rgba(174, 205, 239, 0.24);
  border-radius: 20px;
  background: #f6f8fc;
  box-shadow: 22px 26px 48px rgba(0, 0, 0, 0.24);
  transform: rotate(2.5deg);
}

.featured-preview::after {
  content: '';
  position: absolute;
  right: -18%;
  bottom: -25%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(106, 231, 183, 0.32);
  filter: blur(2px);
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #d9e0ea;
  background: #e9eef5;
}

.preview-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b5c1cf;
}

.preview-browser-bar b {
  margin-left: 9px;
  color: #53647a;
  font: 700 0.65rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
}

.preview-content {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 54px) clamp(26px, 4vw, 46px);
  color: #142237;
}

.preview-kicker {
  margin: 0 0 12px;
  color: #177c68;
  font: 700 0.67rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-title {
  max-width: 12ch;
  margin: 0;
  font: 700 clamp(1.55rem, 2.6vw, 2.3rem)/1.04 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
}

.preview-search {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding: 7px 7px 7px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 9px;
  color: #718198;
  font-size: 0.68rem;
}

.preview-search b {
  padding: 9px 12px;
  border-radius: 6px;
  background: #16283f;
  color: #eaff82;
  font: 700 0.65rem/1 'Space Grotesk', sans-serif;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.preview-stats span {
  display: grid;
  gap: 7px;
  padding: 11px;
  border-radius: 9px;
  background: #eaf0f6;
  color: #526178;
  font: 700 0.61rem/1 'Space Grotesk', sans-serif;
}

.preview-stats i {
  width: 17px;
  height: 5px;
  border-radius: 999px;
  background: #4cc8a8;
}

.featured-case-foot p {
  margin: 0;
}

.projects-work {
  padding: 0 0 clamp(80px, 10vw, 140px);
}

.projects-work-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.case-study-list {
  display: grid;
}

.case-study-card {
  display: grid;
  grid-template-columns: 82px minmax(240px, 0.87fr) minmax(360px, 1.13fr);
  gap: clamp(22px, 4vw, 66px);
  padding: clamp(31px, 4vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.case-study-number {
  color: var(--accent-strong);
  font: 700 0.78rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.1em;
}

.case-study-overview h3 {
  margin: 10px 0 0;
  font: 700 clamp(1.8rem, 3vw, 3.15rem)/0.98 'Space Grotesk', sans-serif;
  letter-spacing: -0.06em;
}

.case-study-title {
  margin: 13px 0 0;
  color: #d7e1ef;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.45;
}

.case-study-summary {
  margin: 18px 0 22px;
  color: var(--muted);
}

.case-study-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 1px;
  border: 1px solid rgba(163, 188, 214, 0.11);
  background: rgba(163, 188, 214, 0.11);
}

.case-study-detail p {
  min-height: 138px;
  margin: 0;
  padding: 20px;
  background: rgba(8, 17, 30, 0.72);
  color: #aab9ce;
  font-size: 0.9rem;
  line-height: 1.6;
}

.case-study-detail strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font: 700 0.66rem/1 'Space Grotesk', sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.projects-inquiry {
  padding: 0 0 72px;
}

.projects-inquiry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.projects-inquiry p {
  max-width: 29ch;
  margin: 0;
  font: 700 clamp(1.4rem, 2.6vw, 2.3rem)/1.15 'Space Grotesk', sans-serif;
  letter-spacing: -0.045em;
}

@media (max-width: 900px) {
  .projects-masthead-grid,
  .projects-work-heading,
  .case-study-card,
  .featured-case-layout {
    grid-template-columns: 1fr;
  }

  .projects-masthead h1 {
    max-width: 11ch;
  }

  .case-study-card {
    gap: 20px;
  }

  .case-study-detail {
    max-width: 720px;
  }

  .featured-preview {
    width: min(100%, 620px);
    min-height: 360px;
    transform: none;
  }
}

@media (max-width: 620px) {
  .projects-masthead {
    padding-top: 70px;
  }

  .projects-masthead h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .featured-case {
    border-radius: 25px;
  }

  .featured-case-layout {
    padding: 56px 0 44px;
  }

  .featured-case h2 {
    max-width: 13ch;
  }

  .featured-facts {
    grid-template-columns: 1fr;
  }

  .featured-facts div {
    min-height: auto;
  }

  .featured-preview {
    min-height: 325px;
  }

  .featured-case-meta,
  .featured-case-foot,
  .projects-inquiry-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-case-foot p {
    line-height: 1.65;
  }

  .case-study-detail {
    grid-template-columns: 1fr;
  }

  .case-study-detail p {
    min-height: auto;
  }
}
