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

:root {
  --navy: #132247;
  --navy-card: #1d346e;
  --gold: #e0a96d;
  --white: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #cecece;
  --light: #e0e0e0;
  --line: rgba(255, 255, 255, 0.7);
  --font-outfit: "Outfit", sans-serif;
  --font-geist: "Geist", sans-serif;
  --max: 1440px;
  --u: clamp(0.55, min(100vw, 1440px) / 1440px, 1);
  --pad-x: calc(80px * var(--u));
  --pad-y: calc(120px * var(--u));
  --gap: calc(64px * var(--u));
  --content: calc(1280px * var(--u));
  --nav-h: calc(100px * var(--u));
  --hero-h: calc(800px * var(--u));
  --h1: calc(96px * var(--u));
  --h2: calc(64px * var(--u));
  --h3: calc(48px * var(--u));
  --h4: calc(40px * var(--u));
  --kpi: calc(48px * var(--u));
  --radius-card: calc(16px * var(--u));
  --radius-box: calc(24px * var(--u));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  min-width: 320px;
  font-family: var(--font-geist);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  padding: 8px 12px;
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid var(--navy);
}

.navbar-inner {
  width: min(var(--max), 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24px * var(--u));
}

.brand img {
  width: calc(105px * var(--u));
  height: auto;
}

.nav-links {
  display: flex;
  align-items: flex-start;
  gap: calc(40px * var(--u));
}

.nav-link {
  font-family: var(--font-geist);
  font-weight: 400;
  font-size: calc(13px * var(--u));
  line-height: calc(17px * var(--u));
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12px * var(--u)) calc(24px * var(--u));
  border: 1px solid var(--white);
  border-radius: 100px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: calc(12px * var(--u));
  line-height: calc(15px * var(--u));
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}

.nav-cta--mobile {
  display: none;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: calc(20px * var(--u));
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: calc(12px * var(--u));
  line-height: 1;
  letter-spacing: 1.5px;
}

.lang-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.lang-link.is-active,
.lang-link:hover {
  color: var(--white);
}

.lang-sep {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) {
  top: 12px;
}

.nav-toggle span:nth-child(2) {
  top: 19px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: var(--hero-h);
  min-height: 420px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../public/main_img.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  height: 100%;
  margin: 0 auto;
  padding: calc(160px * var(--u)) var(--pad-x) calc(80px * var(--u));
  display: flex;
  align-items: flex-start;
}

.hero-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-headlines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(28px * var(--u));
}

.hero-headline-1 {
  max-width: calc(701px * var(--u));
  font-family: var(--font-outfit);
  font-weight: 500;
  font-size: var(--h1);
  line-height: 90%;
  letter-spacing: calc(12px * var(--u));
  text-transform: uppercase;
}

.hero-headline-2 {
  max-width: none;
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: var(--h2);
  line-height: 90%;
  letter-spacing: calc(12px * var(--u));
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  margin-top: calc(56px * var(--u));
}

.portfolio-cta {
  display: flex;
  align-items: center;
  gap: calc(16px * var(--u));
}

.portfolio-cta span:first-child {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: calc(14px * var(--u));
  line-height: calc(18px * var(--u));
  letter-spacing: 2px;
  text-transform: uppercase;
}

.circle-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(54px * var(--u));
  height: calc(54px * var(--u));
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.portfolio-cta:hover .circle-button {
  transform: translateY(2px);
}

/* ---------- Shared labels ---------- */

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-indicator {
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

.label-text {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: calc(12px * var(--u));
  line-height: calc(15px * var(--u));
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(16px * var(--u));
  width: 100%;
}

.section-title {
  width: 100%;
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: var(--h4);
  line-height: 115%;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.section-title--left,
.section-header--left .section-title {
  text-align: left;
}

/* ---------- Philosophie ---------- */

.philosophie {
  padding: var(--pad-y) 0;
  background: var(--navy);
}

.philosophie .container {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.philosophie-copy {
  display: flex;
  flex-direction: column;
  gap: calc(40px * var(--u));
  text-align: center;
}

.philosophie-lead {
  font-family: var(--font-geist);
  font-weight: 300;
  font-size: var(--h4);
  line-height: 115%;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.philosophie-punch {
  font-family: var(--font-outfit);
  font-weight: 500;
  font-size: var(--h4);
  line-height: 115%;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Metrics ---------- */

.metrics {
  position: relative;
  isolation: isolate;
  padding: var(--pad-y) 0;
  overflow: hidden;
}

.metrics-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../public/key_metrics.png") center / cover no-repeat;
}

.metrics-inner {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-height: calc(877px * var(--u) - var(--pad-y) * 2);
}

.metrics-grid {
  display: flex;
  align-items: stretch;
  gap: calc(32px * var(--u));
  width: 100%;
}

.kpi-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(24px * var(--u));
  padding: calc(32px * var(--u));
}

.kpi-value {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: var(--kpi);
  line-height: calc(60px * var(--u));
  letter-spacing: -1px;
}

.kpi-label {
  font-family: var(--font-outfit);
  font-weight: 400;
  font-size: calc(20px * var(--u));
  line-height: calc(25px * var(--u));
  letter-spacing: 1.5px;
  text-transform: uppercase;
  max-width: 28ch;
}

.metrics-divider {
  width: 1px;
  align-self: stretch;
  min-height: calc(340px * var(--u));
  background: var(--line);
  flex-shrink: 0;
}

.metrics-foot {
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: var(--h4);
  line-height: 115%;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Portfolio ---------- */

.portfolio {
  padding: var(--pad-y) 0;
  background: var(--navy);
}

.portfolio .container {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.carousel-arrows {
  display: flex;
  gap: 12px;
}

.circle-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(48px * var(--u));
  height: calc(48px * var(--u));
  border-radius: 50%;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.circle-nav--ghost {
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.circle-nav--solid {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.circle-nav:hover {
  transform: scale(1.06);
}

.portfolio-carousel {
  display: flex;
  align-items: stretch;
  gap: calc(24px * var(--u));
  height: calc(420px * var(--u));
  user-select: none;
  touch-action: pan-y;
}

.asset-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid #222;
  flex: 0 1 calc(300px * var(--u));
  min-width: 0;
  height: 100%;
  padding: calc(24px * var(--u));
}

.asset-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.asset-meta {
  position: relative;
  z-index: 1;
  width: 100%;
}

.asset-meta h3 {
  font-family: var(--font-outfit);
  font-weight: 700;
  color: var(--white);
}

.asset-meta p {
  font-family: var(--font-geist);
  font-weight: 400;
  font-size: calc(12px * var(--u));
  line-height: calc(16px * var(--u));
}

.asset-meta--plain h3 {
  font-size: calc(16px * var(--u));
  line-height: calc(20px * var(--u));
  margin-bottom: 4px;
}

.asset-meta--plain p {
  color: var(--light);
}

.asset-meta--panel {
  display: none;
  box-sizing: border-box;
  padding: calc(20px * var(--u));
  gap: calc(12px * var(--u));
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid #222;
  border-radius: calc(12px * var(--u));
}

.asset-meta--panel h3 {
  font-size: calc(20px * var(--u));
  line-height: calc(25px * var(--u));
}

.asset-meta--panel p {
  color: var(--muted);
}

.asset-card.is-active {
  flex: 1 1 calc(640px * var(--u));
  padding: calc(32px * var(--u));
}

.asset-card.is-active .asset-meta--panel {
  display: flex;
  flex-direction: column;
}

.asset-card.is-active .asset-meta--plain {
  display: none;
}

/* ---------- Approach ---------- */

.approach {
  padding: var(--pad-y) 0;
  background: var(--navy);
}

.approach .container {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.approach-split {
  display: flex;
  align-items: center;
  gap: var(--gap);
}

.approach-visual {
  flex: 0 0 calc(560px * var(--u));
  width: calc(560px * var(--u));
  height: calc(480px * var(--u));
  border: 1px solid #222;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.approach-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(480px * var(--u));
  padding: calc(84px * var(--u)) calc(48px * var(--u));
  gap: calc(32px * var(--u));
  background: var(--navy-card);
  border: 1px solid var(--navy);
  border-radius: var(--radius-card);
}

.strategy-item {
  display: flex;
  align-items: center;
  gap: calc(20px * var(--u));
}

.strategy-num {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: calc(32px * var(--u));
  line-height: calc(40px * var(--u));
  color: var(--gold);
  flex-shrink: 0;
}

.strategy-text {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: calc(24px * var(--u));
  line-height: calc(30px * var(--u));
  letter-spacing: 1px;
}

/* ---------- Contact ---------- */

.contact {
  padding: var(--pad-y) 0;
  background: var(--navy);
}

.contact-box {
  display: flex;
  align-items: stretch;
  background: var(--navy-card);
  border: 1px solid var(--navy);
  border-radius: var(--radius-box);
  overflow: hidden;
  min-height: calc(461px * var(--u));
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(64px * var(--u));
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: calc(24px * var(--u));
}

.contact-headline {
  font-family: var(--font-outfit);
  font-weight: 300;
  font-size: var(--h3);
  line-height: 110%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form {
  box-sizing: border-box;
  width: calc(520px * var(--u));
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: calc(32px * var(--u));
  padding: calc(64px * var(--u));
  background: var(--navy);
  border-left: 1px solid var(--navy);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: calc(20px * var(--u));
}

.form-row {
  display: flex;
  gap: calc(16px * var(--u));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.field span {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: calc(12px * var(--u));
  line-height: calc(15px * var(--u));
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  height: calc(48px * var(--u));
  padding: 0 calc(16px * var(--u));
  background: var(--navy);
  border: 1px solid var(--white);
  border-radius: 8px;
  font-family: var(--font-geist);
  font-size: calc(13px * var(--u));
  line-height: calc(17px * var(--u));
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input::placeholder {
  color: var(--muted);
}

.field input:focus {
  border-color: var(--gold);
}

.field input.is-invalid {
  border-color: #e07070;
}

.send-button {
  width: 100%;
  height: calc(48px * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: calc(14px * var(--u));
  line-height: calc(18px * var(--u));
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.send-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.form-status {
  font-family: var(--font-geist);
  font-size: calc(13px * var(--u));
  line-height: 1.4;
  color: var(--gold);
}

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

/* ---------- Footer ---------- */

.footer {
  padding: var(--pad-y) 0 calc(64px * var(--u));
  background: var(--navy);
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: calc(80px * var(--u));
}

.footer-rule {
  width: 100%;
  height: 0;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(40px * var(--u));
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(63px * var(--u));
  max-width: calc(400px * var(--u));
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-geist);
  font-size: calc(13px * var(--u));
  line-height: calc(17px * var(--u));
}

.contact-list a:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: calc(80px * var(--u));
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--u));
}

.footer-col h3 {
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: calc(12px * var(--u));
  line-height: calc(15px * var(--u));
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  font-family: var(--font-geist);
  font-weight: 400;
  font-size: calc(13px * var(--u));
  line-height: calc(17px * var(--u));
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-geist);
  font-size: calc(11px * var(--u));
  line-height: calc(14px * var(--u));
  color: var(--muted-2);
}

/* ---------- Responsive ---------- */

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

  .nav-end > .nav-cta {
    display: none;
  }

  .nav-cta--mobile {
    display: flex;
    align-self: flex-start;
    margin-top: 12px;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px var(--pad-x) 24px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .nav-link {
    padding: 14px 0;
    font-size: 16px;
    line-height: 1.3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-inner.is-open .nav-cta {
    display: none;
  }

  .hero-inner {
    padding-top: calc(96px * var(--u));
    padding-bottom: calc(64px * var(--u));
  }

  .hero-headline-2 {
    white-space: normal;
  }

  .hero-headline-1,
  .hero-headline-2 {
    letter-spacing: calc(6px * var(--u));
  }

  .approach-split {
    flex-direction: column;
    align-items: stretch;
  }

  .approach-visual {
    flex: none;
    width: 100%;
    height: min(calc(420px * var(--u)), 52vw);
  }

  .approach-card {
    min-height: 0;
    padding: calc(48px * var(--u)) calc(32px * var(--u));
  }

  .contact-box {
    flex-direction: column;
  }

  .contact-form {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --pad-y: 72px;
    --gap: 40px;
    --h1: clamp(40px, 12vw, 64px);
    --h2: clamp(28px, 8vw, 40px);
    --h3: clamp(28px, 8vw, 40px);
    --h4: clamp(22px, 6vw, 28px);
    --kpi: clamp(32px, 8vw, 40px);
    --hero-h: min(92vh, 640px);
    --nav-h: 72px;
  }

  .brand img {
    width: 84px;
  }

  .philosophie-copy {
    gap: 24px;
    text-align: left;
  }

  .metrics-inner {
    min-height: 0;
  }

  .metrics-grid {
    flex-direction: column;
    gap: 8px;
  }

  .metrics-divider {
    width: 100%;
    height: 1px;
    min-height: 0;
  }

  .kpi-card {
    padding: 16px 0;
  }

  .portfolio-carousel {
    height: 420px;
  }

  .asset-card {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .asset-card.is-active {
    display: flex;
    flex-basis: 100%;
  }

  .footer .container {
    gap: 40px;
  }

  .footer-top,
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand {
    gap: 24px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 16px;
    --pad-y: 56px;
  }

  .hero-headline-1,
  .hero-headline-2 {
    letter-spacing: 2px;
    line-height: 1.05;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-left,
  .contact-form {
    padding: 32px 20px;
  }

  .strategy-text {
    font-size: 18px;
    line-height: 1.3;
  }

  .approach-card {
    padding: 32px 20px;
  }
}
