@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-text.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("assets/fonts/literata.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

html[data-direction="amber"] {
  --paper: #f7f6f2;
  --ink: #35291f;
  --muted: #6a5c50;
  --orange: #f58b21;
  --line: #ded7cb;
  --heading-font: "Manrope", Arial, sans-serif;
}
html[data-direction="golos"] {
  --paper: #faf5ec;
  --ink: #202a29;
  --muted: #5b625b;
  --orange: #e48527;
  --line: #ddd7ca;
  --white: #fffaf3;
  --heading-font: "Golos Text", Arial, sans-serif;
  font-family: "Golos Text", Arial, sans-serif;
}
html[data-direction="literata"] {
  --paper: #f3f0e7;
  --ink: #343d30;
  --muted: #626956;
  --orange: #f58b21;
  --line: #d9d6c9;
  --white: #faf8f0;
  --heading-font: "Literata", Georgia, serif;
}

html[data-direction] :is(h1, h2, h3) { font-family: var(--heading-font); }
html[data-direction] .site-header { background: color-mix(in srgb, var(--paper) 97%, transparent); }
html[data-direction] .site-header-cta { border-color: var(--line); }
html[data-direction] .hero-cta { background: var(--orange); }
html[data-direction] .hero-cta:hover { background: color-mix(in srgb, var(--orange) 80%, white); }
html[data-direction] .partner-brands li::before {
  background: radial-gradient(ellipse closest-side, var(--paper) 42%, color-mix(in srgb, var(--paper) 92%, transparent) 70%, transparent 100%);
}

html[data-direction="amber"] .hero-title-line {
  color: var(--orange);
  -webkit-text-stroke: 1.2px #7a3b16;
  paint-order: stroke fill;
}
html[data-direction="amber"] .hero-territory { color: #7a3b16; }
html[data-direction="amber"] :is(.clients-intro h2, .partner-showcase h2, .warehouse h2) { color: #633e25; }
html[data-direction="amber"] .warehouse { background: #f0eee5; }
html[data-direction="amber"] .sd-contact { background: #35291f; }

html[data-direction="golos"] .hero h1 { font-weight: 650; letter-spacing: -.045em; }
html[data-direction="golos"] .hero-territory { color: #555946; font-weight: 450; letter-spacing: -.018em; }
html[data-direction="golos"] :is(h2, h3) { letter-spacing: -.035em; }
html[data-direction="golos"] .warehouse { background: #efeee5; }
html[data-direction="golos"] .sd-contact { background: #202a29; }

html[data-direction="literata"] :is(h1, h2, h3) { font-optical-sizing: auto; font-weight: 550; letter-spacing: -.035em; }
html[data-direction="literata"] .hero h1 { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.1; }
html[data-direction="literata"] .hero-territory { font-family: "Manrope", Arial, sans-serif; color: #5e654b; font-weight: 500; letter-spacing: -.022em; }
html[data-direction="literata"] .warehouse { background: #e8ebdf; }
html[data-direction="literata"] .sd-contact { background: #343d30; }

@media (max-width: 1050px) {
  html[data-direction="literata"] .hero h1 { font-size: 42px; }
}
@media (max-width: 900px) {
  html[data-direction="literata"] .hero h1 { font-size: clamp(34px, 5.2vw, 44px); }
}
@media (max-width: 520px) {
  html[data-direction="amber"] .hero-title-line { -webkit-text-stroke-width: .8px; }
  html[data-direction="literata"] .hero h1 { font-size: clamp(26px, 7.4vw, 32px); }
}
@media (max-height: 700px) and (min-width: 521px) {
  html[data-direction="literata"] .hero h1 { font-size: 36px; }
}
