:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --ink: #f4f1ec;
  --ink-muted: rgba(244, 241, 236, 0.68);
  --accent: #e10600;
  --accent-deep: #9d0400;
  --line: rgba(244, 241, 236, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:not(.i18n-ready) body {
  opacity: 0;
}

html.i18n-ready body {
  opacity: 1;
  transition: opacity 0.18s ease;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(225, 6, 0, 0.18), transparent 55%),
    radial-gradient(900px 500px at 0% 30%, rgba(225, 6, 0, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0.2em 0 0.35em;
  font-size: clamp(3.8rem, 14vw, 8.5rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  max-width: 14ch;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 var(--space);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.88), transparent);
  backdrop-filter: blur(0px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.lang-switch__btn {
  min-width: 2.2rem;
  min-height: 1.85rem;
  padding: 0 0.45rem;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
}

.lang-switch__btn:hover:not(.is-active) {
  color: #fff;
}

.lang-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.lang-link:hover {
  color: #111;
}

.legal-header .header-right {
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  border-radius: 4px;
  flex-shrink: 0;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__name {
  font-size: 1.15rem;
  color: #fff;
}

.brand__tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
}

.site-nav[hidden] {
  display: none;
}

.site-nav__panel {
  min-height: 100%;
  width: min(100%, 28rem);
  padding: var(--space);
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  animation: panel-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes panel-in {
  from {
    transform: translateX(-8%);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.site-nav__close {
  align-self: flex-start;
  margin-bottom: 2.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.site-nav__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-nav__links a:hover {
  color: #111;
}

.site-nav__meta {
  margin-top: auto;
  padding-top: 3rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.site-nav__meta a {
  color: #fff;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 1.5rem) var(--space) clamp(2rem, 6vw, 4rem);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  right: -15%;
  bottom: -25%;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  background: radial-gradient(circle at center, rgba(225, 6, 0, 0.55), transparent 68%);
  filter: blur(8px);
  animation: glow-pulse 7s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__k {
  position: absolute;
  right: clamp(2%, 5vw, 8%);
  top: 52%;
  translate: 0 -50%;
  font-family: var(--font-display);
  font-size: clamp(10rem, 32vw, 20rem);
  font-weight: 800;
  line-height: 0.85;
  color: #e10600;
  letter-spacing: -0.08em;
  user-select: none;
  text-shadow: 0 0 80px rgba(225, 6, 0, 0.45);
  animation: k-rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes k-rise {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  animation: copy-in 1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 {
  color: #fff;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__lead {
  max-width: 28ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #ff1a12;
  color: #fff;
}

.btn--ghost {
  border-color: rgba(244, 241, 236, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(244, 241, 236, 0.4);
  color: var(--ink);
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--space);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section__label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__intro {
  max-width: 42ch;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.section--about {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.about__grid {
  display: grid;
  gap: 2.5rem;
}

.about__copy {
  max-width: 58ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.about__facts {
  margin: 0;
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.about__facts div {
  display: grid;
  gap: 0.25rem;
}

.about__facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.about__facts dd {
  margin: 0;
  font-size: 1rem;
}

.section--services {
  background:
    linear-gradient(135deg, #e10600 0%, #b10500 55%, #7a0400 100%);
  color: #fff;
}

.section--services .section__label,
.section--services .section__intro {
  color: rgba(255, 255, 255, 0.82);
}

.section--services h2 {
  max-width: 16ch;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.services li {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.services p {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.86);
}

.section--contact {
  border-top: 1px solid var(--line);
}

.contact__block {
  display: grid;
  gap: 1.25rem;
}

.contact__email {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact__email:hover {
  color: var(--accent);
}

.contact__address {
  color: var(--ink-muted);
  max-width: 36ch;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--space);
  background: #070707;
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.site-footer__legal {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-footer__legal p {
  margin: 0 0 0.35rem;
}

.site-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.85rem;
}

.legal-page {
  padding: calc(var(--header-h) + 2rem) var(--space) 4rem;
}

.legal-page__inner {
  width: min(100%, 760px);
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin-bottom: 0.5rem;
}

.legal-page .meta {
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  margin-top: 2.25rem;
  font-size: 1.4rem;
  max-width: none;
}

.legal-page p,
.legal-page li {
  color: var(--ink-muted);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page a {
  color: var(--ink);
}

@media (min-width: 800px) {
  .hero {
    align-items: center;
  }

  .hero__copy {
    max-width: 34rem;
  }

  .hero__k {
    right: 4%;
    font-size: clamp(14rem, 30vw, 22rem);
  }

  .about__grid {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
    gap: 4rem;
  }

  .about__facts {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 2rem;
  }

  .services {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1.4fr;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
