/* «Индустрия»: токены и компоненты стиля.
   Обёртка: .style-industry. Один стиль на сайт, этот файл самодостаточен.
   Шрифты: локальные woff2 из папки skills/fonts, Oswald 700 для заголовков капсом, Roboto Condensed 400-700 для текста, подзаголовков и номеров.
   Подключение: <link rel="stylesheet" href="../../fonts/fonts.css"> в HTML
   до этого файла (путь указан из examples/).
   Файл без общего tokens.css работает: reset-минимум и компоненты внутри. */

/* reset-минимум */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

.style-industry {
  /* палитра */
  --bg: #15181b;
  --surface: #2a2f35;
  --ink: #ffffff;
  --muted: #b9c0c7;
  --accent: #f5c518;
  --accent-2: #e8eaed;
  --line: #3a4046;
  --radius: 0;
  --shadow: none;

  /* сетка */
  --max: 1280px;
  --margin: 5vw;

  /* шрифты */
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-text: "Roboto Condensed", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Roboto Condensed", ui-monospace, "SFMono-Regular", "Courier New", monospace;

  /* движение */
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 1200ms;
  --dur-count: 800ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --reveal-y: -20px;
  --reveal-scale: 1;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
}

/* сетка-помощник: используйте .wrap внутри обёртки */
.style-industry .wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--margin);
}

/* компоненты */
.style-industry .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 16ch;
  text-wrap: balance;
  hyphens: none;
  color: var(--ink);
}

.style-industry .eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.style-industry .lead {
  font-family: var(--font-text);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  max-width: 44ch;
  color: var(--muted);
}

.style-industry .rule {
  border: 0;
  height: 1px;
  width: 100%;
  background: var(--line);
}

.style-industry .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #15181b;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}

.style-industry .btn:hover {
  background: #e0b314;
}

.style-industry .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
  box-shadow: none;
}

.style-industry .num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.style-industry a:not(.btn) {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.style-industry :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .style-industry *,
  .style-industry *::before,
  .style-industry *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
