:root {
  --color-primary: #0C323F;
  --color-accent: #00D4D0;
  --color-white: #FFFFFF;
  --color-muted: #3e5a63;
  --color-line: rgba(12, 50, 63, 0.12);
  --color-soft: #f4f7f8;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1080px;
  --header-h: 76px;
  --radius: 2px;
  --ease: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-white);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn-accent::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translateX(0);
  transition: transform var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent:hover::after {
  transform: rotate(45deg) translate(1px, -1px);
}

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

.btn-accent:hover {
  background: #1adbd8;
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--color-line);
}

.site-header.is-open {
  background: var(--color-primary);
}

.nav {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: min-height var(--ease);
}

.site-header.is-scrolled .nav {
  min-height: 68px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: width var(--ease), height var(--ease), box-shadow var(--ease);
}

.site-header.is-scrolled .logo {
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 1px rgba(12, 50, 63, 0.12);
}

.site-header.is-open .logo {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-header.is-scrolled .nav-links a {
  color: var(--color-primary);
}

.site-header.is-open .nav-links a {
  color: var(--color-white);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-white);
  transition: transform var(--ease), opacity var(--ease), background var(--ease);
}

.site-header.is-scrolled .nav-toggle-bar {
  background: var(--color-primary);
}

.site-header.is-open .nav-toggle-bar {
  background: var(--color-white);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 38%, rgba(0, 212, 208, 0.09), transparent 48%),
    radial-gradient(ellipse at 12% 80%, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--color-primary);
  color: var(--color-white);
  min-height: 36.5rem;
  display: flex;
  align-items: center;
  padding: 2.25rem 0 4rem;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 2.25rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.eyebrow,
.hero h1 {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-tagline {
  margin: 0 0 1.1rem;
  font-size: clamp(2.25rem, 5vw, 4.05rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-tagline span {
  color: var(--color-accent);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 33rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  min-height: 22rem;
}

.hero-network {
  width: min(100%, 520px);
  height: auto;
  margin-left: auto;
  display: block;
}

.net-line {
  stroke-dasharray: 5 12;
  animation: net-flow 22s linear infinite;
}

.net-line-slow {
  animation-duration: 32s;
  animation-direction: reverse;
}

.net-chart {
  stroke-dasharray: 8 10;
  animation: net-flow 28s linear infinite;
}

.net-ring-2 {
  animation: net-breathe 8s ease-in-out infinite;
  transform-origin: 270px 230px;
}

.net-node {
  animation: net-pulse 5.5s ease-in-out infinite;
}

.net-node-2 {
  animation-delay: 1.4s;
}

.net-node-3 {
  animation-delay: 2.6s;
}

.net-label-2 {
  animation: net-fade 9s ease-in-out infinite;
}

.net-label-3 {
  animation: net-fade 11s ease-in-out infinite reverse;
}

@keyframes net-flow {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes net-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes net-breathe {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes net-fade {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.about {
  padding: 4.75rem 0 4.25rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 1.25rem 3rem;
  align-items: start;
}

.section-label {
  margin: 0 0 0.55rem;
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-label-on-dark {
  color: var(--color-accent);
}

.about h2,
.section-intro h2,
.why h2,
.director h2,
.final-cta h2,
.contact h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.about h2 {
  max-width: 14ch;
}

.about-copy {
  max-width: 38rem;
}

.about-copy p {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--color-soft);
  padding: 4.5rem 0;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.15rem;
}

.section-support {
  margin: 0;
  color: var(--color-muted);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  padding: 1.35rem 1.15rem 1.35rem 0;
  border-bottom: 1px solid var(--color-line);
  transition: background var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--ease);
}

.service:nth-child(odd) {
  padding-right: 1.85rem;
  border-right: 1px solid var(--color-line);
}

.service:nth-child(even) {
  padding-left: 1.85rem;
}

.service:nth-child(even)::before {
  left: 1.85rem;
}

.service:hover {
  background: rgba(255, 255, 255, 0.72);
}

.service:hover::before {
  width: 2.4rem;
}

.service:hover .service-icon {
  transform: translateY(-2px);
}

.service-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-accent);
  margin-top: 0.15rem;
  transition: transform var(--ease);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.service p {
  margin: 0;
  color: var(--color-muted);
  max-width: 36rem;
  font-size: 0.98rem;
}

.why {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4.75rem 0;
}

.why-intro {
  max-width: 44rem;
}

.why-copy p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.principles {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.principles li {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 212, 208, 0.28);
}

.principle-index {
  margin: 0 0 0.65rem;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.principles h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.principles p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.director {
  padding: 4.75rem 0;
}

.director-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.75rem;
  align-items: start;
}

.director-photo {
  margin: 0;
  background: var(--color-soft);
  min-height: 24rem;
  overflow: hidden;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  aspect-ratio: 4 / 5;
}

.director-name {
  margin: 0 0 0.1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.director-role {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.director-bio p {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
}

.industry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem 1.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.industry-list li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--color-primary);
  font-size: 0.96rem;
}

.industry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 1px;
  background: var(--color-accent);
}

.final-cta {
  background: var(--color-soft);
  padding: 4.25rem 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 38rem;
  margin-inline: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta .btn-ghost {
  color: var(--color-primary);
  border-color: rgba(12, 50, 63, 0.25);
}

.final-cta .btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.closing-note {
  color: var(--color-muted);
  font-style: italic;
}

.contact {
  padding: 4.75rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
}

.contact-person {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-details {
  margin: 2rem 0 0;
}

.contact-details div {
  padding: 1rem 0;
  border-top: 1px solid var(--color-line);
}

.contact-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  margin: 0;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--color-accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.is-success {
  color: var(--color-primary);
}

.form-status.is-error {
  color: #9b2c2c;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  font-size: 1rem;
  color: var(--color-primary);
  background: var(--color-white);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

.field-error {
  margin: 0.4rem 0 0;
  color: #9b2c2c;
  font-size: 0.85rem;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #9b2c2c;
}

.form-status {
  margin: 0.25rem 0 0;
  min-height: 1.4em;
  color: var(--color-muted);
}

.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2.75rem 0 1.25rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.footer-tagline {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-base {
  padding-top: 1.25rem;
}

.footer-base p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (min-width: 800px) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-layout,
  .director-grid,
  .contact-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-bottom: 3.25rem;
  }

  .hero-visual {
    position: absolute;
    right: -10%;
    top: 22%;
    width: min(72vw, 19rem);
    min-height: 0;
    opacity: 0.4;
    pointer-events: none;
  }

  .hero-network {
    width: 100%;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service:nth-child(odd),
  .service:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .service:nth-child(even)::before {
    left: 0;
  }

  .industry-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 1.25rem;
    padding: 0 1.25rem 1.5rem;
    background: var(--color-primary);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  }

  .site-header.is-open .nav-panel {
    max-height: 24rem;
    opacity: 1;
    pointer-events: auto;
    padding: 0.25rem 1.25rem 1.5rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.85rem;
  }

  .nav-cta {
    width: max-content;
  }

  .about,
  .services,
  .why,
  .director,
  .contact {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .final-cta {
    padding: 3.25rem 0;
  }

  .hero-tagline {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .logo {
    width: 44px;
    height: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-visual {
    opacity: 0.55;
  }
}
