:root {
  --primary: #000000;
  --secondary: #5f6368;
  --tertiary: #c9362c;
  --coral: #ff8374;
  --rose: #ffd8d0;
  --gold: #f3be45;
  --cream: #fff8f2;
  --neutral: #ffffff;
  --border: #e5e0dc;
  --surface-soft: #fff3ed;
  --max: 1160px;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--primary);
  background: var(--cream);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.56;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201, 54, 44, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 54, 44, .035) 1px, transparent 1px);
  background-size: 112px 112px, 112px 112px;
}

.parallax-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  opacity: .96;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  max-width: 960px;
  font-size: clamp(31px, 4.9vw, 62px);
  font-weight: 780;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 760;
}

h3 {
  font-size: 22px;
  font-weight: 720;
}

.site-header {
  background: rgba(255, 248, 242, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.brand-block {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  position: relative;
  font-size: 15px;
  line-height: 1;
  color: var(--primary);
  background: var(--neutral);
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: var(--tertiary);
}

.logo-mark::before {
  width: 14px;
  height: 1px;
  right: 5px;
  top: 8px;
}

.logo-mark::after {
  width: 1px;
  height: 14px;
  right: 8px;
  top: 5px;
}

.brand {
  font-size: 22px;
  line-height: 1;
  font-weight: 780;
}

.tagline {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.35;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.nav a {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  border-color: var(--primary);
  outline: none;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 14px 18px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.language-switch button {
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.5;
}

.language-switch button[aria-pressed="true"] {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-separator {
  color: var(--border);
  font-size: 13px;
}

.page-hero {
  width: min(100% - 32px, calc(var(--max) + 64px));
  margin: 18px auto 0;
  padding: clamp(56px, 8vw, 92px) clamp(24px, 5vw, 58px);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 54px 0;
  background: linear-gradient(132deg, #a91f1e 0%, var(--tertiary) 54%, #e55d43 100%);
  color: var(--neutral);
  box-shadow: 0 26px 70px rgba(130, 27, 24, .2);
  isolation: isolate;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.page-hero::before {
  width: min(54vw, 620px);
  height: min(54vw, 620px);
  right: -12%;
  top: -24%;
  border-radius: 42% 58% 36% 64%;
  background: rgba(255, 131, 116, .38);
  transform: rotate(-18deg);
}

.page-hero::after {
  width: min(34vw, 380px);
  height: min(34vw, 380px);
  right: 20%;
  bottom: -28%;
  border-radius: 0 58% 0 44%;
  background: rgba(243, 190, 69, .72);
  transform: rotate(23deg);
}

.hero-kicker,
.eyebrow {
  color: var(--tertiary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-hero .hero-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 9999px;
  padding: 5px 12px;
  color: var(--neutral);
  background: rgba(255, 255, 255, .13);
}

.hero-intro {
  max-width: 780px;
  margin-top: 26px;
  color: rgba(255, 255, 255, .92);
  font-size: 20px;
  line-height: 1.55;
}

body[data-title-en^="About"] .page-hero {
  border-radius: 54px 0 54px 0;
  background: linear-gradient(118deg, #7f1d1d 0%, #c9362c 48%, #ff8374 100%);
}

body[data-title-en^="About"] .page-hero::before {
  left: -14%;
  right: auto;
  top: auto;
  bottom: -26%;
  border-radius: 50%;
  background: rgba(243, 190, 69, .55);
}

body[data-title-en^="Services"] .page-hero {
  border: 1px solid rgba(201, 54, 44, .22);
  border-top: 12px solid var(--tertiary);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--primary);
}

body[data-title-en^="Services"] .page-hero .hero-kicker {
  border-color: rgba(201, 54, 44, .26);
  background: var(--surface-soft);
  color: var(--tertiary);
}

body[data-title-en^="Services"] .hero-intro,
body[data-title-en^="Services"] .page-hero h1 {
  color: var(--primary);
}

body[data-title-en^="Services"] .page-hero::before {
  right: -8%;
  top: 12%;
  border-radius: 8px;
  background: rgba(243, 190, 69, .28);
  transform: rotate(11deg);
}

body[data-title-en^="Services"] .page-hero::after {
  left: -10%;
  right: auto;
  bottom: -34%;
  border-radius: 8px;
  background: rgba(255, 131, 116, .2);
  transform: rotate(-16deg);
}

body[data-title-en^="Track"] .page-hero {
  border-radius: 8px 54px 8px 8px;
  background:
    linear-gradient(135deg, rgba(243, 190, 69, .22), transparent 42%),
    linear-gradient(132deg, #111 0%, #2c0f0e 52%, #8f231f 100%);
}

body[data-title-en^="Track"] .page-hero::before {
  width: min(42vw, 500px);
  height: min(42vw, 500px);
  right: -6%;
  top: 8%;
  border-radius: 8px;
  background: rgba(255, 131, 116, .2);
}

body[data-title-en^="Ethics"] .page-hero {
  border: 1px solid rgba(0, 0, 0, .12);
  border-left: 14px solid var(--primary);
  border-radius: 8px;
  background: linear-gradient(140deg, #ffffff 0%, #fff3ed 100%);
  color: var(--primary);
}

body[data-title-en^="Ethics"] .page-hero .hero-kicker {
  border-color: rgba(0, 0, 0, .16);
  background: var(--neutral);
  color: var(--tertiary);
}

body[data-title-en^="Ethics"] .hero-intro,
body[data-title-en^="Ethics"] .page-hero h1 {
  color: var(--primary);
}

body[data-title-en^="Ethics"] .page-hero::before {
  right: 4%;
  top: -30%;
  border-radius: 50%;
  background: rgba(201, 54, 44, .12);
}

body[data-title-en^="Careers"] .page-hero {
  border-radius: 54px 8px 54px 8px;
  background: linear-gradient(128deg, #c9362c 0%, #e55d43 48%, #f3be45 120%);
}

body[data-title-en^="Careers"] .page-hero::before {
  right: -16%;
  top: -10%;
  border-radius: 8px;
  background: rgba(255, 248, 242, .22);
}

body[data-title-en^="Contact"] .page-hero {
  border-radius: 8px 8px 54px 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 0 34%, transparent 34%),
    linear-gradient(132deg, #9f201d 0%, #c9362c 56%, #ff8374 100%);
}

body[data-title-en^="Legal"] .page-hero,
body[data-title-en^="Privacy"] .page-hero,
body[data-title-en^="Cookie"] .page-hero {
  border-radius: 8px;
  background: var(--primary);
  color: var(--neutral);
}

body[data-title-en^="Legal"] .page-hero::after,
body[data-title-en^="Privacy"] .page-hero::after,
body[data-title-en^="Cookie"] .page-hero::after {
  background: rgba(243, 190, 69, .36);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 68px var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  gap: 44px;
  margin-bottom: 36px;
  align-items: start;
}

.lead {
  max-width: 840px;
  color: #242424;
  font-size: 20px;
  line-height: 1.58;
}

.grid-three,
.grid-two {
  display: grid;
  gap: 18px;
}

.grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.statement,
form {
  border-radius: 8px;
  background: var(--neutral);
  box-shadow: 0 18px 50px rgba(88, 35, 26, .08);
}

.card {
  min-height: 245px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.card p,
.statement p,
li {
  color: #242424;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fact {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, .82);
}

.fact span {
  display: block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 5px;
}

.case-study {
  display: grid;
  gap: 14px;
  border-radius: 8px;
  padding: 24px;
  background: var(--neutral);
  box-shadow: 0 18px 50px rgba(88, 35, 26, .08);
}

.case-meta {
  color: var(--tertiary);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.quote {
  border-left: 6px solid var(--gold);
  padding: 20px 24px;
  background: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison ul {
  padding-left: 18px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 10px;
}

.legal-links a {
  color: var(--secondary);
  font-size: 13px;
}

.footer-legal {
  margin-top: 8px;
  max-width: 760px;
}

.statement {
  padding: 30px;
  border-left: 8px solid var(--gold);
}

.statement strong {
  color: var(--primary);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.list-panel {
  display: grid;
  gap: 16px;
}

.list-item {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.cta-band {
  width: min(100% - 32px, var(--max));
  margin: 16px auto 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: var(--neutral);
}

.cta-band p {
  color: rgba(255, 255, 255, .75);
}

.button-link,
button {
  width: fit-content;
  min-height: 42px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 9px 16px;
  background: var(--primary);
  color: var(--neutral);
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.cta-band .button-link {
  border-color: var(--neutral);
  background: var(--neutral);
  color: var(--primary);
}

button:hover,
button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  background: var(--tertiary);
  border-color: var(--tertiary);
  color: var(--neutral);
  outline: none;
}

form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--neutral);
  color: var(--primary);
  font: inherit;
  line-height: 1.45;
}

select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--neutral);
  color: var(--primary);
  font: inherit;
  line-height: 1.45;
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: auto;
  margin-top: 5px;
}

.form-note {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.5;
}

textarea {
  min-height: 178px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 1px solid var(--primary);
}

button:disabled {
  cursor: wait;
  background: var(--secondary);
  border-color: var(--secondary);
}

.status {
  min-height: 24px;
  font-size: 14px;
}

.status.success {
  color: #14532d;
}

.status.error {
  color: var(--tertiary);
}

.footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 38px var(--gutter);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.footer-title {
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
}

.footer p {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.55;
}

.footer-right {
  text-align: right;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  width: min(100% - 32px, 540px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: var(--neutral);
  box-shadow: 0 18px 50px rgba(88, 35, 26, .16);
  font-size: 14px;
}

.cookie-banner.is-visible {
  display: grid;
  gap: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-button {
  background: var(--neutral);
  color: var(--primary);
}

@media (max-width: 900px) {
  .header-inner,
  .section-head,
  .grid-three,
  .grid-two,
  .facts-grid,
  .comparison,
  .split,
  .cta-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .language-switch {
    border-left: 0;
    padding-left: 0;
  }

  .page-hero {
    border-radius: 0 0 34px 0;
  }

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 16px;
  }

  h1 {
    font-size: 29px;
  }

  .header-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .nav {
    gap: 12px 18px;
  }

  .section {
    padding: 52px var(--gutter);
  }

  .hero-intro,
  .lead {
    font-size: 18px;
  }

  .card,
  .statement,
  form,
  .cta-band {
    padding: 20px;
  }

  button,
  .button-link {
    width: 100%;
    text-align: center;
  }
}
