:root {
  color-scheme: dark;
  --ui-font: "Instrument Sans", system-ui, sans-serif;
  --display: "Hedvig Letters Serif", Georgia, serif;
  --ui-fg: #eef3f5;
  --ui-muted: #bac8ce;
  --ui-placeholder: #aebfc8;
  --ui-accent: #b8d6e1;
  --ui-accent-soft: #334f5d;
  --ui-focus-halo: #466a7a;
  --ui-border: #617b88;
  --ui-canvas: #22323d;
  --ui-subtle: #273a47;
  --ui-button-fill: #b8d6e1;
  --ui-button-border: #b8d6e1;
  --ui-button-fg: #172b36;
  --rule: #aec7d137;
  --header-height: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ui-fg);
  background:
    radial-gradient(ellipse at 97% 0%, #314554 0%, transparent 25%),
    radial-gradient(ellipse at 0% 53%, #26343f 0%, transparent 34%),
    linear-gradient(165deg, #161f29 0%, #202d38 28%, #293b48 55%, #293f4d 100%);
  font: 16px/1.55 var(--ui-font);
}
[id] { scroll-margin-top: calc(var(--header-height) + 18px); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 400 clamp(2.4rem, 4.6vw, 4.35rem)/1.06 var(--display); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { color: var(--ui-muted); }
a { color: inherit; }
.container, .wrap, .nav, .foot { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
body { --gutter: clamp(22px, 5vw, 74px); }
section { padding-block: clamp(38px, 6vw, 84px); }
.hero :focus-visible { outline-color: var(--ui-accent); }
.two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 88px); }

header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #18242de8;
  backdrop-filter: blur(16px);
}
.nav {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
}
.logo { display: block; width: clamp(140px, 15vw, 190px); height: auto; }
.nav .ui-nav { justify-self: center; max-width: 100%; background: transparent; border-radius: 0; scrollbar-width: thin; }
.nav .ui-nav a { padding-inline: clamp(8px, 1vw, 14px); }
.language-switcher { display: flex; align-items: center; }
.language-switcher button {
  min-width: 36px;
  min-height: 44px;
  padding: 0 7px;
  border: 0;
  background: transparent;
  color: var(--ui-muted);
  font: 500 11px/1 var(--ui-font);
  letter-spacing: .08em;
  cursor: pointer;
}
.language-switcher button + button { position: relative; }
.language-switcher button + button::before {
  position: absolute;
  inset-inline-start: 0;
  top: calc(50% - 4px);
  height: 8px;
  border-inline-start: 1px solid var(--ui-border);
  content: "";
}
.language-switcher button:is(:hover, [aria-pressed="true"]) { color: var(--ui-fg); }
.language-switcher button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 4px; }
.language-switcher button:focus-visible { outline-offset: -2px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(525px, 69svh, 735px);
  padding-block: clamp(64px, 9vw, 120px);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url(warehouse.jpg) center 48% / cover no-repeat;
  filter: saturate(.55);
  opacity: .62;
  mask-image: linear-gradient(90deg, transparent, #0003 24%, #000b 54%, black 82%),
              linear-gradient(180deg, transparent, black 24%, black 63%, transparent);
  mask-composite: intersect;
  content: "";
}
.hero-copy { animation: enter var(--ui-duration-slow) ease-out both; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ui-accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: #c6ad7a; }
h1 { font-size: clamp(3.25rem, 5.4vw, 5.9rem); }
h1 span, h1 em { display: block; }
h1 em { color: var(--ui-accent); font-style: normal; }
.lead { margin-top: 25px; max-width: 40ch; font-size: clamp(1.04rem, 1.65vw, 1.24rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.ui-button.ui-button--filled { background: linear-gradient(180deg, #ffffff16, transparent), var(--ui-button-fill); box-shadow: inset 0 1px #ffffff30, 0 1px 2px #0d151a55; }
.ui-button--outlined { --ui-button-fg: var(--ui-accent); --ui-button-border: var(--rule); }
.activities { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(24px, 5vw, 70px); }
.section-heading p { max-width: 33ch; margin-top: 15px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.tile {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-content: start;
  border-top: 1px solid var(--rule);
  padding: 14px 0 17px;
}
.activity-icon {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  background: var(--ui-accent);
  mask: var(--icon) center / contain no-repeat;
}
@media (forced-colors: active) {
  .activity-icon { forced-color-adjust: none; background: CanvasText; }
}
.tile h3 { font-size: 1rem; }
.tile p { margin-top: 5px; font-size: .92rem; }

.company > div:first-child { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 24px; align-items: start; padding-top: 28px; border-top: 1px solid var(--rule); }
.company h2 { font-size: clamp(2.5rem, 4.25vw, 4.25rem); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.panel { padding: clamp(22px, 4vw, 42px); border-radius: 18px; }
.panel:first-child { background: linear-gradient(125deg, #283945, #34495480); border-color: #aabac341; }
.panel + .panel { background: linear-gradient(125deg, #2a414f, #324b5880); border-color: var(--rule); }
.panel h3 { font: 400 clamp(2rem, 3.8vw, 3.2rem)/1 var(--display); }
.panel p { margin: 12px 0 21px; max-width: 52ch; }
.liquidation, .process-layout, .contact-layout { border-top: 1px solid var(--rule); padding-top: clamp(22px, 4vw, 45px); align-items: start; }
.liquidation { display: grid; gap: clamp(14px, 2vw, 24px); }
.liquidation h2 { font-size: clamp(1.9rem, 4.2vw, 3.75rem); overflow-wrap: anywhere; }
.liquidation p { max-width: 72ch; }
.contact-layout p { max-width: 55ch; }
.steps { display: grid; gap: 16px; }
.step + .step { padding-top: 16px; border-top: 1px solid var(--rule); }
.step p { margin-top: 5px; }
.contact-layout p { margin-top: 16px; }
.contact a { text-underline-offset: 3px; }
.form-card { padding: clamp(18px, 4vw, 38px); background: #1b2b35d6; border: 1px solid var(--rule); box-shadow: none; border-radius: 18px; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
form button { justify-self: start; grid-column: 1 / -1; text-align: start; }
.contact small { display: block; margin-top: 12px; color: var(--ui-muted); }
footer { color: var(--ui-muted); font-size: .88rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); padding-block: 22px; }

@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.reveal-visible { animation: enter var(--ui-duration-slow) ease-out both; }
@media (max-width: 880px) {
  :root { --header-height: 104px; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 57px 1fr; gap: 0 10px; }
  .nav .ui-nav { grid-row: 2; grid-column: 1 / -1; justify-self: stretch; }
  .language-switcher { grid-column: 2; grid-row: 1; }
  .activities, .two { grid-template-columns: 1fr; }
  .company > div:first-child { grid-template-columns: 1fr 1fr; }
  .company h2 { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .hero { min-height: 500px; }
  .hero::before {
    opacity: .46;
    background-position: 65% center;
    mask-image: linear-gradient(90deg, #0004, black),
                linear-gradient(180deg, transparent, black 24%, black 64%, transparent);
  }
  h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
  .paths, .grid, .company > div:first-child, form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Keep the library icons legible against the dark surfaces. */
.ui-field:has(input[type="email"]) { position: relative; }
.ui-field:has(input[type="email"])::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  background: var(--ui-placeholder);
  mask: url(ui/email.svg) center / contain no-repeat;
  pointer-events: none;
}
.ui-field input[type="email"] { background-image: none; }
