:root {
  --orange: #f06423;
  --orange-bright: #ff6a1a;
  --ink: #101214;
  --ink-soft: #202327;
  --paper: #f4f3ef;
  --line: #d7d5cf;
  --muted: #686b6d;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; width: 100%; }
svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.7;
}

.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.section { padding: 120px 0; }
.kicker {
  margin: 0 0 26px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kicker--light { color: #ff8a4a; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}
.site-header__logo { justify-self: start; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: inherit; }
.wordmark__mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 30px;
  height: 34px;
  padding: 3px 0;
}
.wordmark__mark i {
  display: block;
  width: 7px;
  height: 23px;
  background: var(--orange);
  transform: skew(-22deg);
}
.wordmark__mark i:nth-child(2) { height: 31px; }
.wordmark__mark i:nth-child(3) { height: 17px; }
.wordmark__name { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name b { font-size: 24px; letter-spacing: 0.1em; }
.wordmark__name small {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.45em;
}
.site-header nav { display: flex; gap: 38px; height: 100%; }
.site-header nav a {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.site-header nav a::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  content: "";
  transition: width 180ms ease;
}
.site-header nav a:hover::after, .site-header nav a.is-active::after { width: 100%; }
.header-cta {
  justify-self: end;
  padding: 13px 17px;
  border: 1px solid rgb(255 255 255 / 45%);
  font-size: 12px;
  font-weight: 700;
}
.header-cta span { margin-left: 9px; color: var(--orange); }

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  align-items: center;
  overflow: hidden;
  background: #1c1f21;
  color: var(--white);
}
.hero__image {
  position: absolute;
  inset: 0;
  background-image: url("/images/hero-home.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 11 12 / 90%) 0%, rgb(8 11 12 / 64%) 48%, rgb(8 11 12 / 22%) 100%),
    linear-gradient(0deg, rgb(8 11 12 / 45%), transparent 45%);
}
.hero__content { position: relative; z-index: 2; padding-top: 72px; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: #d9d9d6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.signal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgb(240 100 35 / 18%);
}
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 6.6vw, 94px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero h1 span { color: var(--orange-bright); }
.hero__content > p {
  max-width: 610px;
  margin: 32px 0 0;
  color: #dadbd9;
  font-size: 18px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 14px; margin-top: 40px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg { width: 19px; height: 19px; }
.button--primary { background: var(--orange); color: var(--white); }
.button--primary:hover { background: #da5318; }
.button--ghost { border-color: rgb(255 255 255 / 50%); color: var(--white); }
.button--ghost:hover { background: rgb(255 255 255 / 10%); }
.button--dark { background: var(--ink); color: var(--white); }
.hero__rail-line {
  position: absolute;
  right: -5%;
  bottom: 83px;
  z-index: 2;
  width: 45%;
  height: 2px;
  transform: rotate(-7deg);
}
.hero__rail-line span {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgb(255 255 255 / 28%);
}
.hero__rail-line span:last-child { top: 18px; }
.hero__index {
  position: absolute;
  right: 40px;
  bottom: 34px;
  z-index: 3;
  color: rgb(255 255 255 / 55%);
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.intro { background: var(--paper); }
.intro__grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 12%; }
.intro h2, .section-heading h2, .impact h2, .cta-band h2 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
}
.intro__copy { padding-top: 34px; }
.intro__copy p {
  margin: 0 0 20px;
  color: #46494b;
  font-size: 17px;
  line-height: 1.75;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.services { background: var(--ink); color: var(--white); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: #a6a8a9;
  font-size: 15px;
  line-height: 1.7;
}
.section-heading--dark { color: var(--ink); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #414347;
  border-left: 1px solid #414347;
}
.service-card {
  min-height: 390px;
  padding: 34px;
  border-right: 1px solid #414347;
  border-bottom: 1px solid #414347;
  transition: background 180ms ease, color 180ms ease;
}
.service-card:hover { background: var(--orange); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-card__top svg { width: 48px; height: 48px; color: var(--orange); }
.service-card:hover .service-card__top svg { color: var(--white); }
.service-card__top span { color: #777a7d; font-family: monospace; font-size: 11px; }
.service-card:hover .service-card__top span { color: rgb(255 255 255 / 70%); }
.service-card h3 { margin: 94px 0 20px; font-size: 24px; letter-spacing: -0.025em; }
.service-card p { margin: 0; color: #acadaf; font-size: 14px; line-height: 1.7; }
.service-card:hover p { color: var(--white); }

.projects-preview { background: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card__media { position: relative; height: 330px; overflow: hidden; background: #dedede; }
.project-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 24%), transparent 45%);
  content: "";
}
.project-card__media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 500ms ease;
}
.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-card__media span {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 15px;
  color: var(--white);
  font-family: monospace;
  font-size: 11px;
}
.project-card__meta {
  margin: 19px 0 9px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.project-card h3 { margin: 0; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; }
.project-card__service { margin: 9px 0 0; color: var(--muted); font-size: 13px; }

.impact { background: var(--ink-soft); color: var(--white); }
.impact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; }
.impact h2 span { color: var(--orange); }
.impact__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.impact__stats div { min-height: 170px; padding: 22px 0 0; border-top: 1px solid #54565a; }
.impact__stats strong, .impact__stats span { display: block; }
.impact__stats strong { color: var(--orange); font-size: 42px; letter-spacing: -0.05em; }
.impact__stats span { margin-top: 16px; color: #acadaf; font-size: 12px; line-height: 1.5; }

.cta-band { background: var(--orange); color: var(--white); }
.cta-band__inner {
  display: flex;
  min-height: 290px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band .kicker { color: #612208; }

.site-footer { padding: 68px 0 26px; background: #090a0b; color: var(--white); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 65px;
}
.site-footer__top > p { margin: 0; color: #a3a5a5; font-size: 20px; line-height: 1.5; }
.site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 34px; font-size: 12px; font-weight: 700; }
.site-footer__links a:hover { color: var(--orange); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #292b2d;
  color: #6e7071;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.page-hero::before, .page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}
.page-hero::before {
  background-position: center;
  background-size: cover;
  filter: saturate(0.7);
}
.page-hero--projects::before {
  background-image: url("/images/project-stuttgart.jpg");
}
.page-hero--contact::before {
  background-image: url("/images/project-stadelhofen.jpg");
  background-position: center 58%;
}
.page-hero::after {
  background:
    linear-gradient(90deg, rgb(9 11 13 / 94%) 0%, rgb(9 11 13 / 73%) 55%, rgb(9 11 13 / 28%) 100%),
    linear-gradient(0deg, rgb(9 11 13 / 55%), transparent 50%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 78px;
}
.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.page-hero h1 span { color: var(--orange); }
.page-hero__inner > p:last-child {
  max-width: 650px;
  margin: 30px 0 0;
  color: #ced0d0;
  font-size: 17px;
  line-height: 1.7;
}
.page-hero__number {
  position: absolute;
  z-index: 3;
  right: 40px;
  bottom: 40px;
  color: rgb(255 255 255 / 36%);
  font-family: monospace;
  font-size: 11px;
}

.portfolio { background: var(--paper); }
.portfolio__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
  margin-bottom: 64px;
}
.portfolio__intro > p:last-child {
  margin: 0;
  color: #535659;
  font-size: 16px;
  line-height: 1.7;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 62px 28px;
}
.portfolio-card__media {
  position: relative;
  height: 390px;
  overflow: hidden;
  background: #d6d6d1;
}
.portfolio-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(0 0 0 / 28%), transparent 42%);
  content: "";
}
.portfolio-card__media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
  transition: transform 500ms ease;
}
.portfolio-card:hover .portfolio-card__media img { transform: scale(1.035); }
.portfolio-card__media > span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-family: monospace;
  font-size: 11px;
}
.portfolio-card__body { padding-top: 20px; }
.portfolio-card__body > p {
  margin: 0 0 11px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.portfolio-card__body h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.portfolio-card__body > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.portfolio-card__body > div span:last-child { text-align: right; }

.capabilities { background: var(--ink); color: var(--white); }
.capabilities__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 10%; }
.capabilities h2 {
  margin: 0;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.03;
}
.capability-list { border-top: 1px solid #414347; }
.capability-list > div {
  display: grid;
  grid-template-columns: 48px 0.8fr 1.4fr;
  gap: 25px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid #414347;
}
.capability-list span { color: var(--orange); font-family: monospace; font-size: 10px; }
.capability-list h3 { margin: 0; font-size: 17px; }
.capability-list p { margin: 0; color: #a7a9aa; font-size: 13px; line-height: 1.6; }

.regional-focus {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #31363a;
}
.regional-focus__image {
  position: absolute;
  inset: 0;
  background-image: url("/images/project-bern-west.png");
  background-position: center;
  background-size: cover;
}
.regional-focus__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(12 14 16 / 54%), transparent 65%);
  content: "";
}
.regional-focus__inner {
  position: relative;
  display: flex;
  min-height: 650px;
  align-items: center;
}
.regional-focus__panel {
  width: min(540px, 100%);
  padding: 52px;
  background: rgb(13 15 17 / 93%);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.regional-focus__panel h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 55px);
  letter-spacing: -0.05em;
  line-height: 1.03;
}
.regional-focus__panel > p:not(.kicker) {
  margin: 25px 0 31px;
  color: #b8babb;
  font-size: 15px;
  line-height: 1.7;
}

.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 11%; }
.contact-aside h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}
.contact-details { margin-top: 50px; border-top: 1px solid var(--line); }
.contact-details > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-details p, .contact-details a { margin: 0; font-size: 14px; font-weight: 700; }
.contact-details a { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.contact-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 15px;
  margin-top: 34px;
  padding: 20px;
  background: #e8e6df;
}
.contact-note > span { color: var(--orange); font-size: 20px; }
.contact-note p { margin: 0; color: #55585a; font-size: 12px; line-height: 1.65; }
.contact-form-wrap {
  padding: 46px;
  background: var(--white);
  box-shadow: 0 25px 70px rgb(26 29 30 / 8%);
}
.contact-form-wrap__label {
  margin: 0 0 37px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.contact-form { display: flex; flex-direction: column; gap: 27px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; }
.contact-form label > span {
  color: #5c5f61;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #bfc1c0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.contact-form input, .contact-form select { height: 42px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange); }
.contact-form__submit { display: flex; align-items: center; gap: 26px; margin-top: 8px; }
.contact-form__submit button { border: 0; cursor: pointer; }
.contact-form__submit p { max-width: 230px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.network-strip { background: var(--orange); color: var(--white); }
.network-strip__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  align-items: center;
  min-height: 150px;
}
.network-strip p { margin: 0; color: #682709; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.network-strip span, .network-strip strong { font-size: 16px; }
.network-strip strong { position: relative; }
.network-strip strong::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--white);
  content: "";
}

@media (max-width: 900px) {
  .container { width: min(100% - 40px, 720px); }
  .section { padding: 84px 0; }
  .site-header__inner { grid-template-columns: auto 1fr; }
  .site-header nav { display: flex; justify-self: end; gap: 24px; }
  .header-cta { display: none; }
  .hero { min-height: 720px; }
  .hero__image { background-position: 62% center; }
  .intro__grid, .impact__grid { grid-template-columns: 1fr; gap: 55px; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-card h3 { margin-top: 55px; }
  .project-card__media { height: 430px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__links { grid-column: 1 / -1; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card__media { height: 430px; }
  .capabilities__grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .network-strip__inner { grid-template-columns: 1fr 1fr; gap: 22px; padding: 35px 0; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header__inner { height: 78px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 11px; }
  .site-header nav a:first-child { display: none; }
  .wordmark__name b { font-size: 19px; }
  .hero { min-height: 730px; }
  .hero__content { padding-top: 50px; }
  .hero h1 { font-size: clamp(45px, 14.3vw, 62px); }
  .hero__content > p { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__index { display: none; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > .text-link { margin-top: 24px; }
  .service-card { padding: 28px; }
  .project-card__media { height: 290px; }
  .impact__stats { grid-template-columns: 1fr; }
  .impact__stats div { min-height: 120px; }
  .cta-band__inner {
    min-height: 350px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__links { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; gap: 12px; }
  .page-hero { min-height: 600px; }
  .page-hero__inner { padding-top: 140px; padding-bottom: 65px; }
  .page-hero h1 { font-size: clamp(47px, 13.5vw, 64px); }
  .page-hero__number { display: none; }
  .portfolio__intro { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-card__media { height: 285px; }
  .portfolio-card__body > div { flex-direction: column; gap: 8px; }
  .portfolio-card__body > div span:last-child { text-align: left; }
  .capability-list > div { grid-template-columns: 35px 1fr; }
  .capability-list p { grid-column: 2; }
  .regional-focus__inner { align-items: end; width: 100%; }
  .regional-focus__panel { width: 100%; padding: 38px 24px; }
  .contact-form-wrap { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 27px; }
  .contact-form__submit { align-items: stretch; flex-direction: column; }
  .contact-form__submit p { max-width: none; }
  .network-strip__inner { grid-template-columns: 1fr 1fr; }
  .network-strip p { grid-column: 1 / -1; }
}

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