@import url("assets/local-fonts.css");

/* Active pages use only local font files from /assets. */
:root {
  --bg: #040608;
  --bg-soft: #0d1218;
  --panel: #111820;
  --panel-2: #171f29;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f5f8;
  --muted: rgba(242, 245, 248, 0.7);
  --accent: #d2b070;
  --accent-strong: #ecd0a0;
  --max-width: 1240px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Arial Fallback", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(93, 114, 144, 0.12), transparent 32%),
    linear-gradient(180deg, #050608 0%, #090d13 24%, #06080c 100%);
}

body.nav-open,
body.cookie-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 3000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #040608;
  font-size: 0.85rem;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  overflow: visible;
  background: linear-gradient(180deg, rgba(4, 6, 8, 0.9), rgba(4, 6, 8, 0.45));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-logo-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max-width), calc(100% - 32px));
  height: 0;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.header-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 132px;
  padding-top: 16px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 0;
  overflow: visible;
}

.header-logo-overlay .brand {
  position: absolute;
  top: -6px;
  left: 0;
  pointer-events: auto;
}

.brand-logo {
  width: auto;
  max-width: none;
  height: 132px;
  margin: 0;
  position: relative;
  z-index: 2;
  transform-origin: center top;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.brand-kicker {
  display: none;
}

.header-inner .site-nav {
  grid-column: 2;
}

.site-nav {
  justify-self: center;
}

.site-nav ul,
.mobile-nav ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  display: inline-block;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav a {
  position: relative;
  display: inline-block;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.footer-nav a:hover::after,
.footer-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  grid-column: 3;
}

.header-cta,
.button,
.job-apply,
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.header-cta,
.button.is-primary,
.hero-actions .is-primary,
.job-apply {
  background: linear-gradient(135deg, #c79a53, #f0cf9c);
  color: #10151b;
  border-color: rgba(255, 255, 255, 0);
}

.button.is-secondary,
.hero-actions .is-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.header-cta:hover,
.button:hover,
.job-apply:hover,
.hero-actions a:hover {
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

body.nav-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 120px 24px 32px;
  background: rgba(4, 6, 8, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  display: grid;
  gap: 18px;
  text-align: center;
}

.mobile-nav a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-main {
  padding-top: 112px;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  align-items: center;
}

.page-hero {
  min-height: 58vh;
}

.hero-video,
.hero-media,
.hero-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video video,
.hero-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video::after,
.hero-image-layer::after,
.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.1) 0%, rgba(4, 6, 8, 0.56) 45%, rgba(4, 6, 8, 0.94) 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 126px 0 78px;
}

.page-hero-content {
  text-align: center;
  padding-bottom: 68px;
}

.hero-content {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.legal-hero h1 {
  margin: 0;
  max-width: 1040px;
  margin-inline: auto;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 0.96;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero p,
.page-hero p,
.legal-hero p {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.7vw, 24px);
  line-height: 1.35;
}

.hero h1 {
  max-width: 1120px;
}

.hero p {
  max-width: 860px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  justify-content: center;
}

.section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(21px, 3vw, 33px);
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 700;
}

.section-head p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.section.is-tight {
  padding-top: 56px;
}

.section.hero-follow {
  padding-top: 28px;
}

.dark-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.features-grid,
.cards-grid,
.partners-grid,
.jobs-grid,
.legal-grid {
  display: grid;
  gap: 22px;
}

.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-tile {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: #0f141a;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  transition: background 0.22s ease;
}

.service-tile:hover::before {
  background: rgba(0, 0, 0, 0.02);
}

.service-tile span {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  text-align: center;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 35px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-tile-wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.partners-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(900px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.jobs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.info-card,
.partner-card,
.job-card,
.contact-card,
.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.feature-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.feature-card img {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-card h3,
.info-card h3,
.job-card h3,
.contact-card h3,
.legal-card h3,
.legal-inline-title {
  margin: 0 0 12px;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-inline-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p,
.info-card p,
.job-card p,
.contact-card p,
.legal-card p,
.legal-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.feature-card h3 {
  font-size: 16px;
}

.feature-card p {
  font-size: 14px;
}

.feature-card p + p,
.info-card p + p,
.legal-card p + p {
  margin-top: 12px;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.split-panel.about-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008));
  grid-template-columns: 1.2fr 0.8fr;
}

.split-panel.reverse .split-media {
  order: 2;
}

.split-panel.reverse .split-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  order: 1;
}

.split-media {
  position: relative;
  min-height: 420px;
  height: 100%;
}

.split-media img,
.split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel .split-media video {
  object-position: center center;
}

.about-panel .split-media img {
  object-position: center 35%;
}

.split-panel-airplane .split-media {
  background: #dfe7f8;
}

.split-panel-airplane .split-media img {
  object-fit: contain;
  object-position: center center;
}

.split-panel-transport .split-media img {
  object-position: center top;
}

.split-panel-transport .split-media {
  min-height: 420px;
}

.split-panel-transport .split-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 8, 0.12), rgba(4, 6, 8, 0.38));
}

.split-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 56px 54px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-panel .split-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 42px 40px;
}

.split-copy h3 {
  margin: 0 0 14px;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.split-copy h3.preserve-case-title {
  text-transform: none;
}

.split-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.split-copy p + p {
  margin-top: 18px;
}

.service-stack {
  display: grid;
  gap: 28px;
}

.service-stack .split-panel {
  align-items: stretch;
}

.service-stack .split-media,
.service-stack .split-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  min-height: 100%;
}

.service-divider {
  width: 120px;
  height: 2px;
  margin: 18px 0 24px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.stat {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partners-grid img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  max-width: 100%;
  width: 100%;
  justify-self: center;
}

.partner-card:hover {
  transform: translateY(-4px);
}

.partner-card,
.feature-card,
.info-card,
.job-card {
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.partner-card:hover,
.feature-card:hover,
.info-card:hover,
.job-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.contact-card p + p {
  margin-top: 10px;
}

.contact-card p.contact-copy {
  margin-top: 30px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  padding: 14px 16px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field--checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
}

.field--checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.field--checkbox label {
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--muted);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.map-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.85) contrast(0.9);
  display: none;
}

.map-frame iframe.is-active {
  display: block;
}

.map-consent {
  min-height: 420px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.map-consent p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.jobs-grid {
  gap: 26px;
}

.job-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, rgba(210, 176, 112, 0.08), transparent 36%);
}

.job-tag,
.job-meta,
.legal-subtitle {
  color: rgba(255, 255, 255, 0.64);
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.job-meta span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.legal-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 170px 0 80px;
}

.legal-hero {
  margin-bottom: 30px;
}

.legal-subtitle {
  display: block;
  margin-top: 12px;
}

.legal-card ul {
  margin: 12px 0 0 18px;
  color: var(--muted);
}

.site-footer {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.95), rgba(4, 6, 8, 1));
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 54px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand img {
  width: 132px;
}

.footer-contact-logo {
  display: none;
  width: 88px;
  height: auto;
}

.footer-brand p,
.footer-contact p,
.footer-register p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-nav ul {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.footer-contact,
.footer-register {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.footer-nav a,
.footer-contact p,
.footer-contact a,
.footer-register p {
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-small {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(8, 12, 18, 0.96);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h3 {
  margin: 0 0 10px;
  font-family: "Source Sans Pro", "Cabin", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  place-items: center;
  background: #000;
  transition: opacity 0.9s ease;
}

.intro-overlay.is-active {
  display: grid;
}

.intro-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: min(76vw, 500px);
  aspect-ratio: 1;
  gap: 0;
}

.intro-piece {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/pine-road-logo.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  opacity: 0;
  transition: transform 2.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 1.6s ease;
}

.intro-piece[data-piece="lt"] { background-position: 0 0; transform: translate(-120vw, -120vh); }
.intro-piece[data-piece="rt"] { background-position: 100% 0; transform: translate(120vw, -120vh); }
.intro-piece[data-piece="lb"] { background-position: 0 100%; transform: translate(-120vw, 120vh); }
.intro-piece[data-piece="rb"] { background-position: 100% 100%; transform: translate(120vw, 120vh); }
.intro-piece.is-landed { transform: translate(0, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .features-grid,
  .cards-grid,
  .service-tiles,
  .extra-partners-grid,
  .legal-grid,
  .jobs-grid,
  .stat-band,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout,
  .split-panel,
  .header-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    min-height: 92px;
    padding: 14px 0 10px;
  }

  .header-logo-overlay .brand {
    top: -2px;
  }

  .header-logo-overlay .brand-logo {
    height: 112px;
  }

  .site-nav,
  .header-actions .header-cta {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .mobile-toggle {
    display: inline-block;
  }
}

@media (max-width: 820px) {
  .features-grid,
  .cards-grid,
  .service-tiles,
  .extra-partners-grid,
  .legal-grid,
  .jobs-grid,
  .stat-band,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-stack .split-panel,
  .service-stack .split-panel.reverse {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .service-stack .split-panel .split-media,
  .service-stack .split-panel.reverse .split-media {
    order: 1;
  }

  .service-stack .split-panel .split-copy,
  .service-stack .split-panel.reverse .split-copy {
  min-width: 0;
  overflow-wrap: anywhere;
    order: 2;
  }

  .split-copy,
  .feature-card,
  .info-card,
  .contact-card,
  .job-card,
  .legal-card {
    padding: 22px;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-content,
  .page-hero-content,
  .legal-main {
    padding-top: 132px;
  }

  .hero-content,
  .page-hero-content {
    padding-bottom: 56px;
  }

  .hero h1,
  .page-hero h1,
  .legal-hero h1 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }

  .hero p,
  .page-hero p,
  .legal-hero p {
    font-size: 14px;
    line-height: 1.4;
  }

  .brand {
    gap: 0;
  }

  .header-logo-overlay .brand {
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-logo-overlay .brand-logo {
    width: auto;
    height: 84px;
    max-width: min(42vw, 170px);
    max-height: 84px;
    object-fit: contain;
    margin: 0;
  }

  .mobile-nav {
    padding-top: 110px;
    overflow-y: auto;
  }

  .brand-kicker {
    font-size: 12px;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
  }

  .section {
    padding: 62px 0;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .site-footer .footer-nav ul,
  .site-footer .footer-contact,
  .site-footer .footer-register {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .site-footer .footer-nav,
  .site-footer .footer-contact,
  .site-footer .footer-register,
  .site-footer .footer-register p {
    width: 100%;
    text-align: center;
    justify-items: center;
  }

  .site-footer .footer-contact-name {
    display: none;
  }

  .site-footer .footer-contact-logo {
    display: block;
  }
}

/* Responsive typography and image/text sequence — 2026-10-21 */
.hero h1, .page-hero h1, .legal-hero h1 {
  line-height: 1.15;
  letter-spacing: .015em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-content > .eyebrow { line-height: 1.5; letter-spacing: .12em; }
.hero-content .hero-subtitle { font-size: clamp(16px, 1.6vw, 22px); line-height: 1.55; text-wrap: balance; }
@media (max-width: 1180px) {
  .split-panel.about-panel { grid-template-columns: minmax(0, 1fr); }
  .split-panel .split-media, .split-panel.reverse .split-media { order: 1; }
  .split-panel .split-copy, .split-panel.reverse .split-copy { order: 2; }
}
@media (max-width: 820px) {
  .hero, .page-hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-video, .hero-media, .hero-image-layer {
    position: relative; inset: auto; width: 100%; height: clamp(220px, 62vw, 420px); flex: none;
  }
  .hero::after, .page-hero::after { display: none; }
  .hero-content, .page-hero-content {
    width: 100%; padding: 30px 20px 36px; background: var(--bg-soft);
  }
  .hero h1, .page-hero h1 { font-size: clamp(22px, 5.7vw, 34px); line-height: 1.25; letter-spacing: 0; }
  .hero-title-line { display: block; }
  .hero-content > .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .hero-content .hero-subtitle { margin-top: 20px; font-size: 16px; }
  .split-panel, .split-panel.about-panel { grid-template-columns: minmax(0, 1fr); }
  .split-panel .split-media, .service-stack .split-media {
    height: auto; min-height: 0; aspect-ratio: 4 / 3;
  }
  .split-panel .split-copy, .split-panel.about-panel .split-copy {
    padding: 28px 22px; min-height: 0; overflow-wrap: normal; hyphens: auto;
  }
  .split-copy h3 { font-size: clamp(22px, 5.6vw, 30px); line-height: 1.25; text-wrap: balance; }
  .service-tile, .service-tile-wide {
    min-height: 0; padding-top: 220px; display: block;
    background-size: auto 220px; background-position: center top;
  }
  .service-tile::before { display: none; }
  .service-tile span {
    display: block; padding: 24px 18px; background: var(--bg-soft);
    font-size: clamp(22px, 5.5vw, 30px); line-height: 1.25; text-wrap: balance;
  }
}

/* Keep complete words in headings; allow German syllable breaks in prose. */
h1, h2, h3, .eyebrow, .service-tile span {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}
p, li, label {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.feature-card p, .info-card p, .job-card p, .contact-card p,
.legal-card p, .legal-card li, .cookie-banner p {
  word-break: normal;
  overflow-wrap: break-word;
}
@media (max-width: 1180px) {
  .split-panel, .split-panel.about-panel { grid-template-rows: auto auto; }
  .split-panel .split-copy, .service-stack .split-panel .split-copy {
    height: auto; min-height: 0; overflow-wrap: normal;
  }
  .split-panel .split-media, .service-stack .split-panel .split-media {
    height: auto; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden;
  }
  .split-panel .split-media img, .split-panel .split-media video {
    position: absolute; inset: 0; width: 100%; height: 100%;
  }
}
@media (max-width: 420px) {
  .split-copy h3 { font-size: 20px; }
  .split-panel .split-copy, .split-panel.about-panel .split-copy { padding: 26px 16px; }
  .service-tile span { font-size: 20px; }
  .section-head h2 { font-size: 20px; }
  .hero h1, .page-hero h1 { font-size: clamp(20px, 5.7vw, 24px); }
}

/* Uniform mobile service cards: image, caption, next image. */
@media (max-width: 820px) {
  .service-tiles { gap: 20px; border: 0; }
  .service-tile, .service-tile-wide {
    display: block; padding: 0; min-height: 0;
    border: 1px solid var(--line-strong); border-radius: 18px;
    background-size: 0 0; background-repeat: no-repeat;
  }
  .service-tile::before {
    content: ""; display: block; position: relative; inset: auto;
    width: 100%; aspect-ratio: 16 / 10;
    background-image: inherit; background-size: cover;
    background-position: center; background-repeat: no-repeat;
  }
  .service-tile:hover::before { background-color: transparent; }
  .service-tile span {
    display: flex; align-items: center; justify-content: center;
    min-height: 104px; padding: 20px 16px; font-size: clamp(18px, 4.9vw, 25px);
    line-height: 1.3; text-wrap: balance; overflow-wrap: normal; hyphens: none;
  }
}

/* Privacy notice: non-modal, readable and accessible on small screens. */
.cookie-banner { max-height: 65dvh; overflow-y: auto; }
.cookie-banner p + p { margin-top: 10px; }
.cookie-actions { align-items: center; }
.cookie-actions a, .map-consent > a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.privacy-reopen { display: block; margin: 18px auto 0; padding: 8px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.map-consent { gap: 20px; padding: 32px 24px; }
.map-consent h2 { margin: 0; }
.map-consent .button { max-width: 100%; white-space: normal; padding: 14px 20px; text-align: center; letter-spacing: .05em; line-height: 1.5; }
@media(max-width: 420px) { .cookie-banner { padding: 16px; } .cookie-banner h3 { font-size: 14px; letter-spacing: 0; } .cookie-banner p { font-size: 13px; line-height: 1.55; } .cookie-actions { gap: 14px; } .cookie-actions .button { width: 100%; letter-spacing: .06em; } }

.map-frame [hidden] { display: none !important; }
.map-frame iframe.is-active { height: 440px; min-height: 320px; filter: none; }
.map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px; }
.map-controls a { text-decoration: underline; }
.map-controls p { width: 100%; color: var(--muted); margin: 0; line-height: 1.5; }
.map-controls .button { white-space: normal; height: auto; padding: 14px 18px; line-height: 1.5; text-align: center; letter-spacing: .04em; }
.legal-main .legal-grid { grid-template-columns: minmax(0, 1fr); }
.legal-card h3 { hyphens: auto; overflow-wrap: break-word; }

.map-preview { padding: 28px; }
.map-preview h2 { margin: 0 0 14px; }
.map-preview p { line-height: 1.6; }
.map-preview-button { display:block; width:100%; border:1px solid var(--line-strong); padding:0; border-radius:16px; overflow:hidden; cursor:pointer; background:var(--panel); color:var(--text); text-align:center; }
.map-preview-button img { width:100%; height:auto; aspect-ratio:5/3; object-fit:contain; }
.map-preview-button span { display:block; padding:18px; font-weight:700; font-size:16px; }
.map-preview-button:hover span { background:var(--panel-2); }
.map-attribution { font-size:12px; color:var(--muted); }
.map-attribution a { text-decoration:underline; }
@media(max-width:600px) { .map-preview { padding:18px 12px; } .map-preview-button span { padding:16px 12px; } }

/* Visual audit corrections: typography, contrast and mobile rhythm. */
h1, h2, h3 { min-width: 0; }
p, li, label { hyphenate-limit-chars: 7 3 3; }
.split-copy h3, .legal-hero h1 { hyphens: manual; }
@media (min-width: 821px) {
  .service-tile { align-items: flex-end; }
  .service-tile span { width: 100%; padding: 18px 22px; background: rgba(8, 13, 20, .9); font-size: clamp(22px, 2vw, 29px); line-height: 1.3; }
  .service-tile::before { background: rgba(0, 0, 0, .12); }
  .service-tile:hover::before { background: rgba(0, 0, 0, .2); }
}
@media (max-width: 820px) {
  .section { padding-block: 42px; }
  .split-copy .eyebrow { letter-spacing: .12em; text-wrap: pretty; }
  .feature-card { padding: 24px 20px; }
  .feature-card img { width: 52px; height: 52px; }
  .split-copy p { line-height: 1.75; }
  .contact-card, .job-card, .legal-card { padding: 24px 20px; }
}
@media (max-width: 360px) {
  .legal-hero h1 { font-size: 23px; line-height: 1.25; letter-spacing: 0; }
  .split-copy h3 { font-size: 19px; line-height: 1.3; }
  h2, .job-card h3, .contact-card h3, .service-tile span { hyphens: auto; }
  .legal-card, .contact-card, .job-card { padding: 22px 16px; }
}
