@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --embia-primary: #02488c;
  --embia-primary-700: #013260;
  --embia-primary-800: #01274a;
  --embia-primary-900: #001c34;
  --embia-primary-dark: #03182c;
  --embia-primary-darker: #010d1a;
  --embia-primary-100: #b3d1f0;
  --embia-accent: #e0a725;
  --embia-accent-600: #c4911e;
  --embia-accent-700: #a87b17;
  --embia-text-light: #b6c8d9;
  --embia-text-mute: #c2d2e0;
  --embia-border: #92999f;
  --embia-fg-1: #1f1f1f;
  --embia-fg-4: #545454;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --sensor-red: #b8322a;
  --shadow:
    0 1px 2px 0 rgba(2, 72, 140, 0.08),
    0 4px 12px -2px rgba(2, 72, 140, 0.1),
    0 16px 40px -8px rgba(2, 72, 140, 0.18),
    0 0 18px -4px rgba(224, 167, 37, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--embia-fg-1);
  font-family: "DM Sans", Arial, sans-serif;
  font-feature-settings: "ss01";
  line-height: 1.6;
}

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

a {
  color: var(--embia-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--embia-accent-700);
}

h1,
h2,
h3,
.brand,
.button,
.section-kicker,
th {
  font-family: "Barlow", Arial, sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  color: var(--embia-primary-800);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

h3 {
  color: var(--embia-primary-900);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--embia-accent);
  color: var(--embia-primary-dark);
  font-weight: 700;
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.25rem);
  background: var(--embia-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 96px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.top-nav a,
.language-toggle {
  color: #e8edf2;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
  text-transform: uppercase;
}

.language-toggle {
  cursor: pointer;
  background: transparent;
  border: 0;
}

.top-nav a:hover,
.language-toggle:hover {
  color: var(--embia-accent);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--embia-primary-dark);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 72, 140, 0.24);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 54% 100%);
}

.hero::after,
.site-footer::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: -9px;
  width: 54px;
  height: 48px;
  background: url("assets/triangle-decoration.svg") center / contain no-repeat;
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.eyebrow,
.section-kicker {
  color: var(--embia-accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.hero h1 {
  max-width: 18ch;
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--embia-accent);
}

.hero__lead {
  max-width: 48rem;
  color: var(--embia-text-light);
  font-size: 1.08rem;
  line-height: 1.45;
  margin: 0;
}

.hero__actions,
.english-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--embia-primary);
  border-radius: 0;
  background: var(--embia-primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover {
  background: var(--embia-primary-700);
  border-color: var(--embia-primary-700);
  color: #fff;
}

.button--primary {
  background: var(--embia-accent);
  border-color: var(--embia-accent);
  color: var(--embia-primary-dark);
}

.button--primary:hover {
  background: var(--embia-accent-700);
  border-color: var(--embia-accent-700);
  color: #fff;
}

.button--ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.button--ghost:hover,
.button--light {
  background: #fff;
  border-color: #fff;
  color: var(--embia-primary-dark);
}

.button--light:hover {
  background: var(--embia-primary-100);
  border-color: var(--embia-primary-100);
  color: var(--embia-primary-dark);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(840px, 100%);
  margin: 1.4rem 0 0;
  background: rgba(255, 255, 255, 0.18);
}

.hero__facts div {
  padding: 0.75rem;
  background: rgba(3, 24, 44, 0.72);
}

.hero__facts dt {
  color: var(--embia-text-mute);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 0.2rem 0 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

.content-row {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.notice-band {
  background: var(--embia-primary-900);
  color: #fff;
  border-top: 4px solid var(--embia-accent);
}

.notice-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  padding: 1.65rem 0;
}

.notice-band h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin: 0;
}

.notice-band p {
  color: var(--embia-text-mute);
  margin-bottom: 0;
}

.content-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

section[id] {
  scroll-margin-top: 72px;
}

.content-section--soft {
  background: var(--surface-soft);
}

.content-section--technical {
  background: #eef3f8;
  border-top: 1px solid rgba(2, 72, 140, 0.12);
  border-bottom: 1px solid rgba(2, 72, 140, 0.12);
}

.content-section--deep {
  background: var(--embia-primary-dark);
  color: #fff;
}

.content-section--deep h2,
.content-section--deep h3 {
  color: #fff;
}

.content-section--deep p {
  color: var(--embia-text-mute);
}

.section-kicker {
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}

.section-intro {
  max-width: 72ch;
  color: var(--embia-fg-4);
  font-size: 1.05rem;
}

.card-grid,
.process-grid,
.location-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.7rem;
}

.info-card,
.process-grid article,
.contact-card,
.timeline article {
  background: #fff;
  border: 1px solid var(--embia-border);
  box-shadow: var(--shadow);
}

.info-card,
.process-grid article,
.contact-card {
  padding: 1.35rem;
}

.info-card p,
.process-grid p,
.timeline p,
.contact-card span {
  color: var(--embia-fg-4);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.image-panel {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(2, 72, 140, 0.18);
  box-shadow: var(--shadow);
}

.image-panel img {
  aspect-ratio: 16 / 11;
  width: 100%;
  object-fit: cover;
}

.image-panel figcaption {
  color: var(--embia-fg-4);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
}

.technical-explainers {
  display: grid;
  gap: 3rem;
  margin-top: 2.4rem;
}

.technical-explainer {
  display: grid;
  min-width: 0;
  gap: 1.4rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(2, 72, 140, 0.2);
}

.technical-explainer:first-child {
  padding-top: 0;
  border-top: 0;
}

.technical-explainer__copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.technical-explainer__copy h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  text-transform: none;
}

.technical-explainer__copy p {
  color: var(--embia-fg-4);
}

.technical-explainer__copy p:last-child {
  margin-bottom: 0;
}

.technical-figure {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: clamp(0.65rem, 2vw, 1.3rem);
  background: #fff;
  border: 1px solid rgba(2, 72, 140, 0.2);
  box-shadow: var(--shadow);
}

.technical-figure--pixelation {
  width: min(880px, 100%);
  margin-inline: auto;
}

.technical-figure__scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.technical-figure img {
  width: 100%;
  height: auto;
}

.technical-figure figcaption {
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(2, 72, 140, 0.16);
  color: var(--embia-fg-4);
  font-size: 0.9rem;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  background: var(--embia-primary);
  color: #fff;
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 800;
}

.callout {
  border-left: 4px solid var(--embia-accent);
  padding-left: 1.25rem;
}

.timeline {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline article {
  border: 0;
  box-shadow: none;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
}

.timeline h3 {
  color: #fff;
}

.content-section--deep .timeline p {
  color: rgba(255, 255, 255, 0.82);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--embia-border);
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(146, 153, 159, 0.45);
}

th {
  background: var(--embia-primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

td {
  color: var(--embia-fg-4);
}

.fine-print {
  color: var(--embia-fg-4);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.location-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.location-grid p {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(3, 24, 44, 0.08), rgba(3, 24, 44, 0.02)),
    #fff;
  border: 1px solid rgba(2, 72, 140, 0.18);
  box-shadow: var(--shadow);
  color: var(--embia-primary-900);
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.95fr) minmax(250px, 0.95fr);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}

.contact-card strong {
  color: var(--embia-primary-900);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--embia-primary-darker);
  color: var(--embia-text-mute);
  padding: 2rem 0;
}

.footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-inner img {
  width: 104px;
}

.footer-inner p {
  margin: 0;
}

::selection {
  background: var(--embia-accent);
  color: var(--embia-primary-dark);
}

@media (min-width: 941px) {
  .hero h1 {
    max-width: 9ch;
    font-size: 7rem;
    line-height: 0.9;
    margin-bottom: 1rem;
  }

  html[lang="en"] .hero h1 {
    max-width: 14ch;
  }

  .hero__lead {
    max-width: 55rem;
    font-size: 1.2rem;
    line-height: 1.55;
  }

  .hero__actions {
    margin-top: 1.5rem;
  }

  .hero__facts {
    margin-top: 1.7rem;
  }

  .hero__facts div {
    padding: 1rem;
  }
}

@media (min-width: 941px) and (max-height: 767px) {
  .hero h1,
  html[lang="en"] .hero h1 {
    max-width: 18ch;
    font-size: 5rem;
    margin-bottom: 0.8rem;
  }

  .hero__lead {
    max-width: 48rem;
    font-size: 1.08rem;
    line-height: 1.45;
  }

  .hero__actions {
    margin-top: 1.2rem;
  }

  .hero__facts {
    margin-top: 1.4rem;
  }

  .hero__facts div {
    padding: 0.75rem;
  }
}

@media (max-width: 940px) {
  section[id] {
    scroll-margin-top: 0;
  }

  .hero {
    min-height: min(620px, calc(100svh - 7rem));
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .notice-band__inner,
  .split,
  .split--reverse,
  .technical-explainer__copy,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 800px) {
  .table-wrap {
    overflow: visible;
    box-shadow: none;
  }

  table {
    min-width: 0;
    border: 0;
    background: transparent;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  tbody {
    display: grid;
    gap: 1rem;
  }

  tbody tr {
    display: block;
    border: 1px solid var(--embia-border);
    background: #fff;
    box-shadow: var(--shadow);
  }

  tbody td {
    display: block;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(146, 153, 159, 0.35);
  }

  tbody td:last-child {
    border-bottom: 0;
  }

  tbody td::before {
    content: attr(data-table-label);
    display: block;
    margin-bottom: 0.3rem;
    color: var(--embia-primary-900);
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
  }

  .brand {
    min-width: 0;
    gap: 0.6rem;
    white-space: nowrap;
  }

  .brand img {
    width: 72px;
  }

  .brand span {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
  }

  .top-nav {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    margin-left: auto;
  }

  .top-nav a {
    display: none;
  }

  .language-toggle {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }

  .hero {
    min-height: 0;
  }

  .hero__content {
    padding: 1.5rem 0;
  }

  .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
  }

  .hero__lead {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }

  .hero__facts div {
    padding: 0.55rem;
  }

  .hero__facts dt {
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .hero__facts dd {
    font-size: 0.78rem;
  }

  .card-grid,
  .process-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.9rem;
  }

  .hero__actions .button {
    width: auto;
    min-height: 46px;
    padding: 0.6rem 0.5rem;
    font-size: 0.76rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .brand span {
    display: none;
  }

  .hero__content {
    padding: 1rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero__actions,
  .hero__facts {
    margin-top: 0.65rem;
  }
}
