:root {
  color-scheme: light;
  --paper: #f3f4f1;
  --paper-2: #e7ebe8;
  --white: #ffffff;
  --ink: #132f3c;
  --ink-2: #193e50;
  --muted: #6e7a7d;
  --line: rgba(19, 47, 60, 0.16);
  --line-strong: rgba(19, 47, 60, 0.28);
  --red: #de4a53;
  --red-dark: #b73942;
  --steel: #9aa2a2;
  --radius: 18px;
  --heading-weight: 700;
  --wrap: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(19, 47, 60, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 47, 60, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f7f8f4 0%, #eef1ee 44%, #f4f4f0 100%);
  background-size: 72px 72px, 72px 72px, auto;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

img[data-parallax],
.hero-note[data-parallax] {
  --parallax-y: 0px;
  --parallax-rotate: 0deg;
  --base-rotate: 0deg;
  --float-y: 0px;
  --float-rotate: 0deg;
  --hover-y: 0px;
  --hover-rotate: 0deg;
  --parallax-scale: 1;
  --hover-scale: 1;
  transform: translate3d(0, calc(var(--parallax-y) + var(--float-y) + var(--hover-y)), 0) rotate(calc(var(--base-rotate) + var(--float-rotate) + var(--hover-rotate) + var(--parallax-rotate))) scale(var(--parallax-scale)) scale(var(--hover-scale));
  will-change: transform;
}

@property --float-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --float-rotate {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes hero-levitate {
  0%,
  100% {
    --float-y: 0px;
    --float-rotate: 0deg;
  }

  50% {
    --float-y: -16px;
    --float-rotate: 1.4deg;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 184px 0 76px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 22%, rgba(222, 74, 83, 0.16), transparent 22rem),
    radial-gradient(circle at 8% 92%, rgba(25, 62, 80, 0.1), transparent 28rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 740;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 72px;
  line-height: 0.96;
  font-weight: var(--heading-weight);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 4.1vw, 54px);
  line-height: 1.04;
}

.hero__lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-careers {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 120px;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.hero-careers > img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.hero-careers h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: var(--heading-weight);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-careers p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
}

.hero-careers .button {
  white-space: nowrap;
}

.button {
  flex-shrink: 0;
  margin-left: 0;
  white-space: normal;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button--primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 18px 44px rgba(222, 74, 83, 0.24);
}

.button--primary:hover {
  color: #fff;
  background: var(--red-dark);
  box-shadow: 0 18px 44px rgba(183, 57, 66, 0.28);
}

.button--secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.54);
}

.button--secondary:hover {
  background: #fff;
  border-color: rgba(19, 47, 60, 0.4);
}

.hero__stage {
  position: relative;
  min-height: 590px;
}

.hero-photo {
  position: absolute;
  right: 18px;
  bottom: 36px;
  width: min(82%, 470px);
  aspect-ratio: 1;
  height: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 34px 80px rgba(19, 47, 60, 0.22);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.03);
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 78px;
  width: 286px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 14, 16, 0.12), rgba(10, 14, 16, 0.46)) padding-box,
    linear-gradient(145deg, #687176 0%, #252b2f 25%, #101518 48%, #667075 68%, #d2d7d9 82%, #30373b 100%) padding-box,
    linear-gradient(135deg, #ffffff, #cdd2d4 22%, #828b90 47%, #f4f6f6 70%, #495155) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 24px 58px rgba(19, 38, 46, 0.3);
  overflow: hidden;
  isolation: isolate;
  animation: hero-levitate 8.1s ease-in-out -1.4s infinite;
}

.hero-note::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.2), transparent 24%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 13px);
}

.hero-note::after {
  content: "";
  position: absolute;
  inset: -80% -36%;
  z-index: -1;
  background: linear-gradient(105deg, transparent 39%, rgba(255, 255, 255, 0.64) 48%, rgba(255, 255, 255, 0.14) 54%, transparent 64%);
  transform: translateX(-78%) rotate(7deg);
  animation: hero-note-sheen 6.2s cubic-bezier(0.64, 0, 0.24, 1) infinite;
  pointer-events: none;
}

.hero-note strong {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.hero-note span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.42;
}

@keyframes hero-note-sheen {
  0%,
  38% {
    transform: translateX(-78%) rotate(7deg);
    opacity: 0;
  }

  49% {
    opacity: 0.78;
  }

  64%,
  100% {
    transform: translateX(78%) rotate(7deg);
    opacity: 0;
  }
}

.shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 44px rgba(19, 47, 60, 0.18));
}

.shape--hero-1 {
  width: 456px;
  top: -98px;
  left: -192px;
  z-index: 2;
  --base-rotate: -7deg;
  animation: hero-levitate 7.6s ease-in-out infinite;
}

.shape--hero-2 {
  width: 294px;
  right: -148px;
  top: 72px;
  z-index: 3;
  animation: hero-levitate 8.4s ease-in-out -2.2s infinite;
}

img.shape--hero-2 {
  --base-rotate: -15deg;
}

.shape--hero-3 {
  width: 262px;
  right: auto;
  bottom: -142px;
  left: 350px;
  z-index: 4;
  --base-rotate: -18deg;
  animation: hero-levitate 7.1s ease-in-out -4.1s infinite;
}

.metrics-section {
  position: relative;
  padding: 0 0 88px;
  overflow: clip;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
}

.hero-metrics div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.56);
}

.hero-metrics strong {
  font-size: 31px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  line-height: 1.4;
}

.section {
  position: relative;
  padding: 90px 0;
  overflow: clip;
}

.section h2 {
  font-size: 48px;
  line-height: 1.04;
}

.process__grid{
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 54px;
  align-items: start;
}

.process__title{
  position: relative;
  min-height: 420px;
}

.kingdoms {
  position: relative;
  color: #fff;
  background: #071c25;
  isolation: isolate;
  overflow: clip;
}

.chat-rules span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid currentColor;
  border-radius: 12px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.72);
}

.kingdoms::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px 0;
  background:
    linear-gradient(180deg, rgba(4, 16, 22, 0.24), rgba(4, 16, 22, 0.58)),
    url("/ralmet-site/assets/knight-shapes/kingdoms/kingdom-aerial-bg-v1.jpg") center / cover no-repeat;
  pointer-events: none;
}

.kingdoms::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(3, 14, 20, 0.05), rgba(3, 14, 20, 0.54) 76%),
    radial-gradient(circle at 50% 30%, rgba(222, 74, 83, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(3, 14, 20, 0.58) 0%, rgba(3, 14, 20, 0.1) 34%, rgba(3, 14, 20, 0.72) 100%);
  pointer-events: none;
}

.kingdoms__sticky {
  position: relative;
  z-index: 1;
  padding: 104px 0 96px;
}

.kingdoms__layout {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.kingdoms__intro {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

.kingdoms .label {
  color: rgba(255, 255, 255, 0.58);
}

.kingdoms h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 0.94;
  font-weight: var(--heading-weight);
}

.kingdoms__lead {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1.42;
}

.kingdoms__viewport {
  position: relative;
  width: min(100%, 1280px);
  height: clamp(520px, 62vw, 720px);
  overflow: visible;
}

.kingdoms__viewport::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 14% 6% 2%;
  background:
    radial-gradient(ellipse at 50% 66%, rgba(2, 9, 13, 0.64), transparent 64%),
    radial-gradient(ellipse at 50% 48%, rgba(222, 74, 83, 0.1), transparent 54%);
  filter: blur(34px);
  pointer-events: none;
}

.kingdoms__camera {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(1280px, 112vw);
  aspect-ratio: 3 / 2;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
}

.kingdoms__island {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

.kingdom-hotspot {
  position: absolute;
  z-index: 5;
  left: var(--x);
  top: var(--y);
  width: 54px;
  height: 54px;
  border: 0;
  padding: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
  font: inherit;
  max-width: none;
  transform:
    translate(-50%, -50%)
    translate3d(0, 0, 0);
  transform-origin: center;
  transition: transform 180ms ease;
  will-change: transform;
  user-select: none;
  touch-action: manipulation;
}

.kingdom-hotspot::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgba(222, 74, 83, 0.2);
  box-shadow: 0 0 0 1px rgba(222, 74, 83, 0.18);
  animation: kingdom-hotspot-pulse 3.2s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

.kingdom-hotspot:hover,
.kingdom-hotspot:focus-visible {
  z-index: 40;
  transform:
    translate(-50%, -50%)
    translate3d(0, -8px, 0);
}

.kingdom-hotspot:focus-visible {
  outline: 0;
}

.kingdom-hotspot__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.82), rgba(193, 188, 177, 0.58) 20%, rgba(63, 70, 72, 0.96) 52%, rgba(14, 21, 25, 0.98) 100%);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -10px 18px rgba(0, 0, 0, 0.34);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.kingdom-hotspot__tooltip {
  position: absolute;
  z-index: 2;
  left: var(--tip-x, 34px);
  top: var(--tip-y, 34px);
  display: grid;
  gap: 6px;
  width: 248px;
  padding: 15px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(5, 18, 24, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(1.15);
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translate3d(var(--tip-shift-x, 8px), 8px, 0);
  pointer-events: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

.kingdom-hotspot:hover .kingdom-hotspot__tooltip,
.kingdom-hotspot:focus-visible .kingdom-hotspot__tooltip {
  opacity: 1;
  transform: translate3d(var(--tip-shift-x, 8px), 0, 0);
}

.kingdom-hotspot__tooltip span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 840;
  letter-spacing: 0.06em;
}

.kingdom-hotspot__tooltip strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.05;
}

.kingdom-hotspot__tooltip em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.3;
  font-style: normal;
}

.kingdom-hotspot--laser {
  --x: 25%;
  --y: 24%;
  --pulse-delay: 0s;
}

.kingdom-hotspot--bending {
  --x: 52%;
  --y: 25%;
  --pulse-delay: 0.24s;
}

.kingdom-hotspot--welding {
  --x: 24%;
  --y: 69%;
  --tip-y: -116px;
  --pulse-delay: 0.48s;
}

.kingdom-hotspot--coating {
  --x: 77%;
  --y: 30%;
  --tip-x: -260px;
  --tip-y: -4px;
  --tip-shift-x: -8px;
  --pulse-delay: 0.72s;
}

.kingdom-hotspot--assembly {
  --x: 72%;
  --y: 68%;
  --tip-x: -260px;
  --tip-y: -116px;
  --tip-shift-x: -8px;
  --pulse-delay: 0.96s;
}

@keyframes kingdom-hotspot-pulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.82);
  }

  52% {
    opacity: 0;
    transform: scale(1.9);
  }
}

.projects {
  background: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.steps li::before {
  content: none;
}

.step-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(183, 57, 66, 0.32);
  border-radius: 14px;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(222, 74, 83, 0.16);
}

.step-icon__image {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(19, 47, 60, 0.22));
}

.step-body {
  display: grid;
  gap: 10px;
}

.steps strong {
  font-size: 23px;
}

.steps p {
  margin: 0;
  color: rgba(19, 47, 60, 0.68);
  font-size: 17px;
  line-height: 1.48;
}

.shape--process {
  position: relative;
  display: block;
  width: min(330px, 85%);
  margin: 52px 0 0;
  transform: rotate(-14deg);
}

.process__title {
  min-height: 0;
}

.projects {
  position: relative;
}

.section-anchor {
  position: absolute;
  top: 0;
}

.career-board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.career-board__head strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.career-board__head span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.career-vacancies {
  display: grid;
  gap: 10px;
}

.career-vacancy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.career-vacancy strong {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1.12;
}

.career-vacancy span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.career-vacancy p {
  grid-column: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 720;
}

.career-vacancy--empty {
  grid-template-columns: 1fr;
}

.career-vacancy--empty p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 620;
  line-height: 1.4;
}

.career-vacancy button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 780;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.career-vacancy button {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 12px 15px;
}

.career-vacancy button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.request-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f6f7f3;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: rgba(19, 47, 60, 0.76);
  font-weight: 720;
}

.request-form input,
.request-form textarea,
.chat-input input {
  width: 100%;
  border: 1px solid rgba(19, 47, 60, 0.16);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}

.request-form input {
  min-height: 52px;
  padding: 0 14px;
}

.request-form textarea {
  min-height: 156px;
  resize: vertical;
  padding: 14px;
}

.request-form input:focus,
.request-form textarea:focus,
.chat-input input:focus {
  border-color: rgba(222, 74, 83, 0.82);
  box-shadow: 0 0 0 4px rgba(222, 74, 83, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.chat-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.chat-widget {
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #f8f8f4;
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

.chat-widget__messages {
  height: 555px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f1f2ee;
}

.message {
  width: fit-content;
  max-width: min(82%, 560px);
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.message--bot {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(19, 47, 60, 0.12);
  border-bottom-left-radius: 6px;
}

.message--user {
  align-self: flex-end;
  color: #fff;
  background: var(--ink);
  border-bottom-right-radius: 6px;
}

.message--thinking {
  min-width: 60px;
}

.message--with-actions {
  display: grid;
  width: min(92%, 560px);
  max-width: 560px;
  gap: 12px;
}

.message--thinking span {
  display: inline-flex;
  width: 34px;
  height: 12px;
  color: var(--ink);
  background:
    radial-gradient(circle at 4px 6px, currentColor 3px, transparent 4px),
    radial-gradient(circle at 17px 6px, currentColor 3px, transparent 4px),
    radial-gradient(circle at 30px 6px, currentColor 3px, transparent 4px);
  animation: pulse-dots 1s ease-in-out infinite;
}

.message--actions {
  width: min(92%, 560px);
  max-width: 560px;
  padding: 0;
  border: 0;
  background: transparent;
}

.chat-action-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(19, 47, 60, 0.13);
  border-radius: 14px;
  background: #fff;
  white-space: normal;
}

.message--with-actions .chat-action-card {
  background: #f6f7f3;
}

.chat-action-card strong {
  font-size: 16px;
  line-height: 1.2;
}

.chat-action-card span {
  color: rgba(19, 47, 60, 0.68);
  font-size: 14px;
  line-height: 1.4;
}

.chat-action-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-action-card__buttons button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  transition: background 170ms ease, transform 170ms ease, opacity 170ms ease;
}

.chat-action-card__buttons button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.career-options button,
.career-slot-day button {
  min-height: 42px;
  border: 1px solid rgba(19, 47, 60, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  transition: border-color 170ms ease, background 170ms ease, color 170ms ease, transform 170ms ease, opacity 170ms ease;
}

.career-options button:hover,
.career-slot-day button:hover {
  border-color: rgba(19, 47, 60, 0.28);
  background: #eef1ee;
  transform: translateY(-1px);
}

.career-options button.is-selected {
  border-color: rgba(19, 47, 60, 0.72);
  color: #fff;
  background: var(--ink);
}

.career-slot-day button.is-selected {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.career-slot-day button:disabled {
  cursor: progress;
  opacity: 0.62;
  transform: none;
}

.quick-questions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 20px;
  border-top: 1px solid rgba(19, 47, 60, 0.12);
  background: #fff;
  scrollbar-color: rgba(19, 47, 60, 0.28) transparent;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.quick-questions::-webkit-scrollbar {
  height: 6px;
}

.quick-questions::-webkit-scrollbar-track {
  background: transparent;
}

.quick-questions::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(19, 47, 60, 0.22);
}

.quick-questions button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(19, 47, 60, 0.16);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  white-space: nowrap;
}

.quick-questions button:hover {
  background: #eef1ee;
}

.chat-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 10px;
  padding: 0 20px 20px;
  background: #fff;
}

.chat-input input {
  min-height: 56px;
  padding: 0 14px;
  background: #f6f7f3;
}

.chat-input button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  line-height: 0;
  transition: transform 170ms ease, background 170ms ease;
}

.chat-input button:hover {
  color: #fff;
  background: var(--red-dark);
  transform: translateY(-2px);
}

.chat-input button:disabled {
  cursor: progress;
  opacity: 0.66;
  transform: none;
}

.is-career-modal-open {
  overflow: hidden;
}

.career-modal[hidden] {
  display: none;
}

.career-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.career-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 23, 29, 0.66);
  backdrop-filter: blur(10px);
}

.career-modal__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 650px) 48px;
  gap: 16px;
  align-items: start;
  width: min(100%, 714px);
  max-height: min(760px, calc(100dvh - 44px));
}

.career-modal__dialog {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-height: inherit;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.career-modal__close {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.career-modal__close { display: grid; place-items: center; padding: 0; }

.career-modal__close:hover {
  border-color: rgba(19, 47, 60, 0.18);
  background: #f8faf7;
  transform: translateY(-1px);
}

.career-modal__body {
  padding: 34px;
}

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

.career-modal-panel .label {
  margin: 0;
  color: var(--red-dark);
}

.career-modal-panel h2 {
  margin: 0;
  max-width: 560px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.career-modal-panel p {
  margin: 0;
  color: rgba(19, 47, 60, 0.68);
  font-size: 16px;
  line-height: 1.5;
}

.career-illustration {
  width: 118px;
  height: 118px;
  justify-self: center;
  object-fit: contain;
}

.career-modal-panel--intro,
.career-result {
  padding-top: 10px;
}

.career-form,
.career-booking-fields {
  display: grid;
  gap: 12px;
}

.career-name-grid,
.career-date-grid,
.career-field-grid {
  display: grid;
  gap: 12px;
}

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

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

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

.career-form label,
.career-booking-fields label {
  display: grid;
  gap: 7px;
  color: rgba(19, 47, 60, 0.76);
  font-size: 13px;
  font-weight: 780;
}

.career-form input,
.career-form select,
.career-form textarea,
.career-booking-fields input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(19, 47, 60, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #f6f7f3;
  font: inherit;
  font-size: 16px;
}

.career-form select {
  appearance: none;
  padding-right: 42px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(19, 47, 60, 0.58) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(19, 47, 60, 0.58) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
    #f6f7f3;
}

.career-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
  line-height: 1.45;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus,
.career-booking-fields input:focus {
  border-color: rgba(19, 47, 60, 0.34);
  outline: 3px solid rgba(222, 74, 83, 0.14);
}

.career-form label.has-error,
.career-booking-fields label.has-error {
  color: var(--red-dark);
}

.career-form input.is-invalid,
.career-form select.is-invalid,
.career-form textarea.is-invalid,
.career-booking-fields input.is-invalid {
  border-color: var(--red);
  background-color: #fff5f5;
  box-shadow: 0 0 0 3px rgba(222, 74, 83, 0.12);
}

.career-form select.is-invalid {
  background:
    linear-gradient(45deg, transparent 50%, rgba(183, 57, 66, 0.84) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(183, 57, 66, 0.84) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
    #fff5f5;
}

.career-field-error {
  display: block;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.25;
}

.career-file-upload {
  position: relative;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px !important;
  align-items: center;
  min-height: 86px;
  border: 1px dashed rgba(19, 47, 60, 0.22);
  border-radius: 16px;
  padding: 14px;
  color: var(--ink) !important;
  background: #f8faf7;
  cursor: pointer;
  transition: border-color 170ms ease, background 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.career-file-upload:hover,
.career-file-upload:focus-within {
  border-color: rgba(222, 74, 83, 0.58);
  background: #fff7f7;
  box-shadow: 0 16px 34px rgba(222, 74, 83, 0.08);
  transform: translateY(-1px);
}

.career-file-upload.has-file {
  border-style: solid;
  border-color: rgba(19, 47, 60, 0.28);
  background: #f4f7f2;
}

.career-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.career-file-upload__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(222, 74, 83, 0.12);
}

.career-file-upload__icon .soto-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.career-file-upload__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.career-file-upload__body strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
  line-height: 1.15;
}

.career-file-upload__body span,
.career-file-upload__body em {
  color: rgba(19, 47, 60, 0.58);
  font-size: 13px;
  font-style: normal;
  font-weight: 560;
  line-height: 1.25;
}

.career-file-upload__side {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 130px;
}

.career-file-upload__action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
}

.career-file-upload__filename {
  max-width: 180px;
  overflow: hidden;
  color: rgba(19, 47, 60, 0.54);
  font-size: 12px;
  font-weight: 640;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.career-file-upload.has-file .career-file-upload__filename {
  color: var(--ink);
}

.career-consent {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px !important;
  min-height: 48px;
  border: 1px solid rgba(19, 47, 60, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8faf7;
}

.career-consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
}

.career-consent.has-error {
  border-color: var(--red);
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(222, 74, 83, 0.12);
}

.career-consent .career-field-error {
  grid-column: 1 / -1;
}

.career-progress {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  align-items: center;
  width: 100%;
}

.career-progress span {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  color: rgba(19, 47, 60, 0.44);
}

.career-progress i {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(19, 47, 60, 0.12);
}

.career-progress span.is-done,
.career-progress span.is-active {
  color: var(--ink);
}

.career-progress span.is-done i {
  background: rgba(19, 47, 60, 0.45);
}

.career-progress span.is-active i {
  background: var(--red);
}

.career-question-hint {
  margin-top: -6px !important;
  color: rgba(19, 47, 60, 0.58) !important;
  font-size: 14px !important;
}

.career-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.career-save-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  width: min(100%, 760px);
  margin-top: 4px;
}

.career-save-action {
  min-height: 72px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(19, 47, 60, 0.13);
  border-radius: 16px;
  color: var(--ink);
  background: #f5f7f4;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.career-save-action:hover {
  color: var(--ink);
  border-color: rgba(19, 47, 60, 0.24);
  background: #eef2ee;
  transform: translateY(-2px);
}

.career-save-action:focus-visible {
  outline: 3px solid rgba(222, 74, 83, 0.18);
  outline-offset: 2px;
}

.career-save-action--primary {
  grid-column: 1 / -1;
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 18px 44px rgba(222, 74, 83, 0.22);
}

.career-save-action--primary:hover {
  color: #fff;
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 18px 44px rgba(183, 57, 66, 0.26);
}

.career-save-action--wide {
  grid-column: 1 / -1;
}

.career-save-action__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: currentColor;
  background: rgba(19, 47, 60, 0.06);
}

.career-save-action__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.career-save-action__title {
  display: block;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.15;
}

.career-save-action__hint {
  display: block;
  color: rgba(19, 47, 60, 0.58);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.25;
}

.career-save-action--primary .career-save-action__icon {
  background: rgba(255, 255, 255, 0.16);
}

.career-save-action--primary .career-save-action__hint {
  color: rgba(255, 255, 255, 0.78);
}

.career-result-close {
  width: fit-content;
}

.career-step-actions .button--secondary {
  color: var(--ink);
  background: #eef1ee;
}

.career-step-actions .button--secondary:hover {
  color: var(--ink);
  background: #dfe5e1;
}

.career-step-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.career-ai-message {
  border: 1px solid rgba(19, 47, 60, 0.12);
  border-radius: 14px;
  padding: 16px;
  color: var(--ink);
  background: #f6f7f3;
  font-size: 17px;
  line-height: 1.45;
}

.career-form__note {
  min-height: 20px;
  color: var(--red-dark);
  font-size: 13px;
  line-height: 1.35;
}

.career-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.career-booking-help {
  max-width: 560px;
  margin: -4px 0 0;
  color: rgba(19, 47, 60, 0.64);
  font-size: 14px;
  line-height: 1.45;
}

.career-booking-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.career-booking-actions .button:disabled:hover {
  background: var(--red);
  transform: none;
}

.career-booking-actions--final {
  justify-content: stretch;
}

.career-booking-actions--final .button {
  width: 100%;
}

.career-selfie-panel {
  gap: 16px;
}

.career-selfie {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.career-selfie__view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(19, 47, 60, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(19, 47, 60, 0.08), rgba(222, 74, 83, 0.08)),
    #f6f7f3;
}

.career-selfie__view video,
.career-selfie__view img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.career-selfie__view video {
  transform: scaleX(-1);
}

.career-selfie__placeholder {
  display: grid;
  gap: 8px;
  max-width: 240px;
  padding: 22px;
  text-align: center;
}

.career-selfie__placeholder strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 840;
  line-height: 1.1;
}

.career-selfie__placeholder span {
  color: rgba(19, 47, 60, 0.62);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.35;
}

.career-selfie__controls {
  display: grid;
  gap: 10px;
  align-content: start;
}

.career-file-upload--photo {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 112px;
}

.career-file-upload--photo .career-file-upload__side {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  min-width: 0;
}

.career-file-upload--photo .career-file-upload__filename {
  max-width: 100%;
}

.career-selfie-skip {
  justify-self: center;
  border: 0;
  padding: 4px 6px;
  color: rgba(19, 47, 60, 0.44);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  cursor: pointer;
  text-decoration: none;
}

.career-selfie-skip:hover {
  color: rgba(19, 47, 60, 0.72);
}

.career-form__note.is-error {
  color: var(--red-dark);
}

.career-options {
  display: grid;
  gap: 10px;
}

.career-options button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 50px;
  width: 100%;
  padding: 0 16px;
  text-align: left;
}

.career-options--multi button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.career-options--multi button > span:last-child {
  min-width: 0;
}

.career-option-check {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(19, 47, 60, 0.24);
  border-radius: 5px;
  background: #fff;
  transition: border-color 170ms ease, background 170ms ease;
}

.career-options--multi button.is-selected .career-option-check {
  border-color: #fff;
  background: #fff;
}

.career-option-check .soto-icon { width: 14px; height: 14px; margin: 1px; color: var(--ink); visibility: hidden; }
.career-options--multi button.is-selected .career-option-check .soto-icon { visibility: visible; }

.career-processing {
  justify-items: center;
  text-align: center;
}

.career-processing img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.career-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.career-slot-calendar {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.career-slot-calendar > span,
.career-slot-calendar > p {
  color: rgba(19, 47, 60, 0.64);
  font-size: 15px;
}

.career-slot-day {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(19, 47, 60, 0.1);
  border-radius: 14px;
  background: #f6f7f3;
}

.career-slot-day strong {
  padding-top: 12px;
  font-size: 15px;
}

.career-slot-day div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
  overflow-x: clip;
  padding: 92px 0 38px;
  color: #fff;
  background: linear-gradient(180deg, var(--ink) 0%, #08171d 100%);
}

.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -190px;
  z-index: 0;
  width: min(940px, 86vw);
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(222, 74, 83, 0.36) 0%, rgba(222, 74, 83, 0.18) 36%, rgba(222, 74, 83, 0) 72%);
  filter: blur(18px);
  transform: translateX(-25%);
  pointer-events: none;
}

.footer__panel {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.footer h2 {
  max-width: 720px;
  margin: 0;
  font-size: 46px;
  line-height: 1.04;
  font-weight: var(--heading-weight);
}

.footer p,
.footer span,
.footer a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
}

.footer a.button {
  display: inline-flex;
  margin: 0;
  color: inherit;
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__column {
  min-height: 230px;
  padding: 26px;
  background: rgba(8, 23, 29, 0.58);
}

.footer__column h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 26px;
}

.footer__bottom span,
.footer__bottom a {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 650ms ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-dots {
  0%, 100% {
    opacity: 0.42;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .process__grid,
  .footer__columns {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    min-height: 420px;
  }

  .hero-photo {
    width: min(78%, 410px);
  }

  .hero-metrics{
    grid-template-columns: repeat(2, 1fr);
  }

  .kingdoms {
    min-height: auto;
    padding: 80px 0;
  }

  .kingdoms__sticky {
    position: relative;
    min-height: auto;
    padding: 0;
  }

  .kingdoms__layout {
    gap: 26px;
  }

  .kingdoms__viewport {
    height: clamp(460px, 56vw, 560px);
    min-height: 0;
  }

  .kingdoms__camera {
    width: min(1120px, 106vw);
    transform: translate3d(-50%, -50%, 0) scale(0.94) !important;
  }

  .kingdom-hotspot__tooltip {
    width: 220px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 106px 0 36px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .section h2 {
    font-size: 36px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__stage {
    min-height: 470px;
    margin-top: 24px;
  }

  .shape--hero-1 {
    width: 266px;
    left: -12px;
    top: -72px;
  }

  .shape--hero-2 {
    width: 180px;
    right: -72px;
    top: 74px;
  }

  .shape--hero-3 {
    width: 177px;
    left: 250px;
    bottom: 34px;
  }

  .hero-photo {
    width: 86%;
    height: auto;
  }

  .hero-note {
    width: 250px;
    bottom: 24px;
  }

  .hero-metrics{
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 96px;
  }

  .hero-careers {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-top: 28px;
    padding: 24px;
  }

  .hero-careers > img {
    width: 64px;
    height: 64px;
  }

  .hero-careers h2 {
    font-size: 23px;
  }

  .hero-careers .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .kingdoms {
    padding: 64px 0;
  }

  .kingdoms h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .kingdoms__lead {
    font-size: 17px;
  }

  .kingdoms__viewport {
    height: clamp(430px, 66vw, 520px);
    min-height: 0;
  }

  .kingdoms__camera {
    width: min(880px, 114vw);
  }

  .kingdom-hotspot {
    width: 42px;
    height: 42px;
  }

  .kingdom-hotspot__tooltip {
    width: 206px;
    padding: 13px 14px 14px;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer h2 {
    font-size: 36px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .hero h1 {
    font-size: 34px;
  }

  .button,
  .hero__actions {
    width: 100%;
  }

  .hero__actions {
    display: grid;
  }

  .hero__stage {
    min-height: 430px;
    margin-top: 28px;
  }

  .hero-photo {
    width: 100%;
    height: auto;
    transform: none;
  }

  .hero-note {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 14px;
  }

  .shape--hero-1 {
    width: 214px;
    top: -34px;
    left: 0;
  }

  .shape--hero-2 {
    width: 134px;
    right: 14px;
    top: 104px;
  }

  .shape--hero-3 {
    width: 122px;
    left: -2px;
    bottom: 122px;
  }

  .metrics-section {
    padding-bottom: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 32px;
  }

  .kingdoms__viewport {
    height: clamp(330px, 86vw, 390px);
    min-height: 0;
  }

  .kingdoms__camera {
    width: min(620px, 112vw);
  }

  .kingdom-hotspot {
    width: 38px;
    height: 38px;
  }

  .kingdom-hotspot__tooltip {
    width: 190px;
  }

  .career-vacancy {
    grid-template-columns: 1fr;
  }

  .career-vacancy button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .career-modal {
    padding: 12px;
  }

  .career-modal__frame {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .career-modal__dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 16px;
  }

  .career-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border-color: rgba(19, 47, 60, 0.08);
    border-radius: 12px;
    box-shadow: none;
  }


  .career-modal__body {
    padding: 26px 18px;
  }

  .career-modal-panel h2 {
    font-size: 28px;
  }

  .career-progress {
    gap: 5px;
  }

  .career-name-grid,
  .career-date-grid,
  .career-field-grid {
    grid-template-columns: 1fr;
  }

  .career-file-upload,
  .career-file-upload--photo {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .career-file-upload__side,
  .career-file-upload--photo .career-file-upload__side {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    min-width: 0;
  }

  .career-file-upload__filename {
    max-width: 100%;
  }

  .career-selfie {
    grid-template-columns: 1fr;
  }

  .career-selfie__view,
  .career-selfie__view video,
  .career-selfie__view img {
    min-height: 250px;
  }

  .career-slot-day {
    grid-template-columns: 1fr;
  }

  .career-slot-day strong {
    padding-top: 0;
  }

  .career-save-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .career-result-close {
    width: 100%;
  }

  .process__title {
    min-height: 320px;
  }

  .shape--process{
    width: 230px;
  }

  .chat-widget__messages {
    height: 525px;
  }

  .message {
    max-width: 92%;
  }

  .chat-input {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .chat-input input,
  .chat-input button {
    min-height: 52px;
    height: 52px;
  }

  .chat-input button {
    width: 52px;
  }

  .footer {
    padding: 64px 0 30px;
  }

  .footer::before {
    top: -132px;
    width: 118vw;
    height: 280px;
    filter: blur(14px);
    transform: translateX(-48%);
  }
  .footer__column {
    padding: 24px;
  }

  .footer h2 {
    font-size: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    padding: 18px 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .shape--hero-1,
  .shape--hero-2,
  .shape--hero-3,
  .hero-note[data-parallax] {
    --float-y: 0px;
    --float-rotate: 0deg;
    animation: none !important;
  }

  .kingdoms {
    min-height: auto;
    padding: 80px 0;
  }

  .kingdoms__sticky {
    position: relative;
    min-height: auto;
    padding: 0;
  }

  .kingdoms__camera {
    transform: translate3d(-50%, -50%, 0) !important;
  }

  .kingdom-hotspot {
    transition: none;
  }

  .kingdom-hotspot::before {
    animation: none;
  }

  .kingdom-hotspot__tooltip {
    transition: none;
  }
}

[data-anchor-target]:focus { outline: none; }

.account-section { padding: 0 0 64px; }
.account-panel { display: grid; grid-template-columns: 116px minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 34px 40px; border-radius: 24px; background: #e5ebea; }
.account-panel__image { width: 116px; height: 116px; object-fit: contain; }
.account-panel__copy .label { margin-bottom: 8px; }
.account-panel__copy h2 { margin: 0; font-size: clamp(27px,2.2vw,36px); line-height: 1.15; }
.account-panel__copy > p:last-child { max-width: 560px; margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.account-panel .button { gap: 12px; white-space: nowrap; }
@media (max-width: 760px) {
  .account-section { padding-bottom: 40px; }
  .account-panel { grid-template-columns: 70px minmax(0,1fr); gap: 18px; padding: 24px; }
  .account-panel__image { width: 70px; height: 70px; }
  .account-panel .button { grid-column: 1 / -1; justify-self: start; }
  .account-panel__copy > p:last-child { font-size: 15px; }
}
