:root {
  --ink: #1e7cff;
  --paper: #ffffff;
  --text: #0e1a2e;
  --muted: #3d4f63;
  --on-dark-muted: #a8c4e8;
  --hairline: rgba(14, 26, 46, 0.18);
  --sky-deep: #050b2e;
  --sky-mid: #0a1f5c;
  --link: #0d4f9e;

  --color-navy: var(--text);
  --color-navy-deep: var(--sky-deep);
  --color-navy-mid: var(--sky-mid);
  --color-accent: var(--ink);
  --color-accent-text: var(--link);
  --color-accent-soft: #5eb0ff;
  --color-accent-warm: var(--ink);
  --color-bg: var(--paper);
  --color-bg-elevated: var(--paper);
  --color-bg-muted: #eef4fc;
  --color-text: var(--text);
  --color-text-muted: var(--muted);
  --color-text-on-dark: var(--paper);
  --color-text-on-dark-muted: var(--on-dark-muted);
  --color-border: var(--hairline);
  --color-border-strong: rgba(14, 26, 46, 0.35);
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --container: 1120px;
  --header-h: 4.25rem;
  --radius: 3px;
  --ease: 240ms ease;
  --ease-out: 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color var(--ease);
}

a:hover {
  color: var(--sky-deep);
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 var(--space-md);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--link);
}

.section-header {
  max-width: 40rem;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  position: relative;
  padding-bottom: 0.85rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--link), #5eb0ff);
}

.section-lead {
  color: var(--muted);
  font-size: 1.0625rem;
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(
    90deg,
    rgba(5, 11, 29, 0.55) 0%,
    rgba(12, 32, 72, 0.35) 45%,
    rgba(45, 95, 155, 0.22) 100%
  );
  border-bottom: 1px solid transparent;
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}

.site-header.is-scrolled {
  background: linear-gradient(
    90deg,
    rgba(5, 11, 29, 0.94) 0%,
    rgba(10, 28, 68, 0.92) 48%,
    rgba(26, 59, 107, 0.9) 100%
  );
  border-bottom-color: rgba(94, 176, 255, 0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(5, 11, 29, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-decoration: none;
}

.logo:hover {
  color: #ffffff;
}

.logo-mark {
  width: 2rem;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-nav a:hover {
  color: #ffffff;
}

.site-header.is-scrolled .site-nav a {
  color: rgba(230, 240, 255, 0.88);
}

.site-header.is-scrolled .site-nav a:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin-inline: auto;
  background: #ffffff;
  transition: transform var(--ease), opacity var(--ease), background-color var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-text-on-dark);
}

.hero--minimal {
  min-height: min(78vh, 640px);
  padding: calc(var(--header-h) + 3.5rem) 0 5.5rem;
  background: #050b2e;
  color: #ffffff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 46, 0.55) 0%, rgba(5, 11, 46, 0.28) 38%, transparent 62%),
    linear-gradient(180deg, rgba(5, 11, 46, 0.35) 0%, transparent 40%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin-inline: auto;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(5, 11, 46, 0.75), 0 0 32px rgba(5, 11, 46, 0.4);
}

.hero-logo-mark {
  width: clamp(3rem, 8vw, 4.5rem);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.hero-logo-text {
  line-height: 1;
}

.hero--minimal h1 {
  margin-bottom: var(--space-md);
  color: #ffffff;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 28rem;
  text-shadow: 0 2px 16px rgba(5, 11, 46, 0.75), 0 0 32px rgba(5, 11, 46, 0.4);
}

.hero-sub {
  margin: 0;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(230, 238, 255, 0.94);
  text-shadow: 0 2px 16px rgba(5, 11, 46, 0.75), 0 0 32px rgba(5, 11, 46, 0.4);
}

/* Content sections */
.content-section {
  background: var(--paper);
  padding: var(--space-3xl) 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--hairline);
}

.content-section .section-header,
.company-info .section-header {
  margin-inline: auto;
}

.content-body {
  max-width: 40rem;
  margin-inline: auto;
  width: 100%;
}

.activities {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity {
  display: block;
  padding: var(--space-lg) 0;
  border: none;
  background: none;
  box-shadow: none;
  transform: none;
}

.activity + .activity {
  border-top: 1px solid var(--hairline);
}

.activity-index,
.contact-label {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--link);
  display: block;
}

.activity h3 {
  margin: 0 0 var(--space-sm);
  color: var(--text);
  font-size: 1.25rem;
}

.activity > p:not(.activity-index),
.about-body p {
  margin: 0 0 var(--space-md);
  color: var(--muted);
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-body strong {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-details li {
  padding: var(--space-sm) 0;
  border-bottom: none;
}

.contact-details a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: underline;
}

.contact-details a:hover {
  color: var(--sky-deep);
}

/* Company info */
.company-info {
  background: var(--color-bg-muted);
  color: var(--text);
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section-header--compact {
  margin-bottom: var(--space-md);
}

.section-header--compact h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.company-info-body {
  max-width: 40rem;
  margin-inline: auto;
  width: 100%;
}

.company-info-name {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-navy);
}

.company-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-sm) var(--space-lg);
  margin: 0;
}

.company-details div {
  margin: 0;
}

.company-details dt {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.company-details dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text);
}

.company-details .iban {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  word-break: break-all;
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: var(--space-xl) 0;
  background: linear-gradient(
    90deg,
    #050b1d 0%,
    #0a1c44 55%,
    #12325c 100%
  );
  border-top: 1px solid rgba(94, 176, 255, 0.18);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
}

.footer-logo-mark {
  width: 1.5rem;
  height: auto;
  display: block;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero--minimal {
    min-height: auto;
  }
}

@media (max-width: 800px) {
  .hero-photo {
    object-position: 35% center;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) 1.25rem var(--space-md);
    background: linear-gradient(
      180deg,
      rgba(5, 11, 29, 0.98) 0%,
      rgba(10, 28, 68, 0.97) 100%
    );
    border: 1px solid rgba(94, 176, 255, 0.2);
    box-shadow: 0 12px 28px rgba(5, 11, 29, 0.45);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.875rem 0;
    color: rgba(230, 240, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.is-scrolled .site-nav {
    background: linear-gradient(
      180deg,
      rgba(5, 11, 29, 0.98) 0%,
      rgba(10, 28, 68, 0.97) 100%
    );
    border-color: rgba(94, 176, 255, 0.2);
  }

  .site-header.is-scrolled .site-nav a {
    color: rgba(230, 240, 255, 0.9);
  }

  .hero-brand {
    letter-spacing: 0.16em;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .company-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero--minimal {
    min-height: auto;
    padding: calc(var(--header-h) + 2.5rem) 0 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-glow {
    animation: glow-drift 10s ease-in-out infinite alternate;
  }
}

@keyframes glow-drift {
  from {
    opacity: 0.75;
    transform: translateX(0);
  }

  to {
    opacity: 1;
    transform: translateX(3%);
  }
}
