@font-face {
  font-family: "Golos Text";
  src: url("fonts/golostext-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("fonts/golostext-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --paper: #141617;
  --surface: #1c1e20;
  --ink: #f6f4f2;
  --muted: #c7c2bd;
  --edge: #3c3b3a;
  --accent: #ff824c;
  --button-ink: #26130a;
  --panel: #18191a;
  --panel-line: rgb(255 138 81 / .16);
  --panel-glow: rgb(219 67 22 / .17);
  --panel-rules: repeating-radial-gradient(circle at center, transparent 0 3.45rem, var(--panel-line) 3.45rem calc(3.45rem + 1px), transparent calc(3.45rem + 1px) 3.55rem);
  --pad: clamp(1.25rem, 5.4vw, 5.75rem);
  font-family: "Golos Text", Arial, sans-serif;
  line-height: 1.5;
}

[data-theme="monolit"] {
  color-scheme: light;
  --paper: #f7f5f2;
  --surface: #eeebe5;
  --ink: #22201f;
  --muted: #57504c;
  --edge: #d3cbc3;
  --accent: #aa2c23;
  --button-ink: #fff;
  --panel: #eee9e3;
  --panel-line: rgb(170 44 35 / .16);
  --panel-glow: rgb(255 255 255 / .70);
  --panel-rules: linear-gradient(140deg, transparent 67%, var(--panel-line) 67% 67.3%, transparent 67.3%);
}

[data-theme="sechenie"] {
  --paper: #15191b;
  --surface: #202427;
  --ink: #f6f3ed;
  --muted: #c5c4c1;
  --edge: #44474a;
  --accent: #ffa168;
  --button-ink: #24150e;
  --panel: #191f22;
  --panel-line: rgb(171 181 186 / .18);
  --panel-glow: rgb(226 96 37 / .16);
  --panel-rules: repeating-linear-gradient(to right, transparent 0 1.95rem, var(--panel-line) 1.95rem 2rem),
                 repeating-linear-gradient(to bottom, transparent 0 1.95rem, var(--panel-line) 1.95rem 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
main:focus { outline: none; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: 1rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1rem;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }
.shell { width: min(100%, 96rem); margin-inline: auto; padding-inline: var(--pad); }
.site-header { border-bottom: 1px solid var(--edge); }
.catalog-preview-note { background: var(--surface); border-bottom: 1px solid var(--edge); }
.catalog-preview-note p { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .65rem; font-size: .875rem; }
.catalog-preview-note a { color: var(--accent); }

.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 5rem;
}

.brand { display: block; flex: 0 0 auto; width: clamp(9rem, 15vw, 13rem); }
.brand img { width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem clamp(.9rem, 3vw, 2.75rem);
  font-size: .875rem;
}
.site-nav a { padding-block: .55rem; text-decoration: none; }
.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--accent); }
.site-nav .nav-design { color: var(--muted); padding: .5rem .75rem; border: 1px solid var(--edge); }
.site-nav .nav-design:hover, .site-nav .nav-design[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

.hero {
  border-bottom: 1px solid var(--edge);
  background: radial-gradient(ellipse at 77% 44%, var(--panel-glow), transparent 54%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 3rem);
  min-height: clamp(31rem, 44vw, 43rem);
  padding-block: clamp(3rem, 5vw, 6rem);
}

.shield-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, var(--panel-glow), transparent 67%), var(--panel);
}

.shield-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--panel-rules);
}

.shield-panel .shield {
  width: 55%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 .6rem 1.1rem rgb(0 0 0 / .26));
}

.hero-visual {
  aspect-ratio: 1.06;
  border: 1px solid var(--edge);
}
.hero-visual .shield { width: 68%; height: 78%; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: clamp(.6rem, 1.5vw, 1.35rem);
  border: 1px solid var(--panel-line);
  pointer-events: none;
}

[data-theme="monolit"] .hero-visual { aspect-ratio: 1.2; border: 0; }
[data-theme="monolit"] .hero-visual::after { display: none; }
[data-theme="monolit"] .shield-panel .shield { filter: drop-shadow(0 .6rem .9rem rgb(45 27 20 / .18)); }

[data-theme="sechenie"] .hero-visual { aspect-ratio: 1.2; }
[data-theme="sechenie"] .hero-visual::after { border-color: var(--panel-line); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }

.hero h1 {
  margin-top: 1.15rem;
  font-size: clamp(2.5rem, 6.8vw, 6.6rem);
  font-weight: 690;
  line-height: .96;
  letter-spacing: -.077em;
  overflow-wrap: anywhere;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--accent); }
.hero-lead {
  max-width: 31rem;
  margin-top: 1.75rem;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.58vw, 1.375rem);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.1rem;
  margin-top: 2rem;
  padding: .65rem 1.25rem;
  background: var(--accent);
  color: var(--button-ink);
  border: 1px solid var(--accent);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.button:hover { color: var(--accent); background: var(--paper); }

[data-theme="monolit"] .hero h1 { font-weight: 750; }
[data-theme="monolit"] .hero h1 span:last-child { color: var(--ink); }
[data-theme="monolit"] .eyebrow::before { width: .5rem; height: 1rem; }
[data-theme="sechenie"] .hero h1 { font-weight: 585; }

.intro { background: var(--surface); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2.55fr);
  align-items: baseline;
  gap: 1.25rem 3rem;
  padding-block: clamp(2.75rem, 5vw, 5rem);
}
.intro h2 {
  font-size: clamp(2.2rem, 4.25vw, 4rem);
  font-weight: 660;
  letter-spacing: -.06em;
  line-height: 1;
}
.intro-grid p { max-width: 40rem; margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }
.text-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 630;
  text-decoration: underline;
  text-underline-offset: .27em;
}
.text-link:hover { text-decoration-thickness: 2px; }
.contact-details .text-link { display: inline; margin: 0; font-size: inherit; }
.contact-email-subject { display: block; color: var(--muted); }
.contact-email-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.2rem; }
.contact-email-actions button, .contact-email-actions .text-link {
  min-height: 2.75rem;
  padding: .45rem 0;
  color: var(--accent);
  font: inherit;
  font-weight: 630;
  text-decoration: underline;
  text-underline-offset: .27em;
}
.contact-email-actions button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.contact-copy-status { display: block; color: var(--muted); }

.site-footer { border-top: 1px solid var(--edge); }
.footer-row { min-height: 5.5rem; }
.footer-row .brand { width: 9rem; }
.footer-row small { color: var(--muted); font-size: .875rem; }

.detail, .design-page, .error-page { padding-block: clamp(2.75rem, 7vw, 7.5rem); }
.detail {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 2.5rem;
}
.detail h1, .design-page h1, .error-page h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 5.8vw, 6rem);
  font-weight: 680;
  letter-spacing: -.065em;
  line-height: .99;
  overflow-wrap: break-word;
}
.detail h1, .error-page h1 { margin-top: 1.1rem; }
.detail-lead { margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.9vw, 1.35rem); max-width: 37rem; }
.detail-visual { aspect-ratio: 1.65; border: 1px solid var(--edge); }

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.design-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--edge); text-decoration: none; }
.design-card:hover { border-color: var(--accent); }
.design-art {
  flex: none;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--edge);
}
.design-art .shield { width: 43%; height: 78%; }
.design-info { display: flex; flex: 1; flex-direction: column; padding: clamp(1rem, 2vw, 1.6rem); color: var(--muted); }
.design-info strong { margin-bottom: .4rem; color: var(--ink); font-size: 1.4rem; }
.design-info .text-link { margin-top: auto; padding-top: 1.15rem; }

@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 2.8rem var(--pad); }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 5.25rem); }
  .hero-visual, [data-theme] .hero-visual { aspect-ratio: 1.6; }
  .hero-lead { margin-top: 1.2rem; }
  .button { margin-top: 1.45rem; }
  .intro-grid, .detail { grid-template-columns: minmax(0, 1fr); }
  .detail { gap: 1.75rem; }
}

@media (max-width: 41rem) {
  .header-row { padding-block: .75rem .55rem; flex-wrap: wrap; gap: .45rem 1rem; }
  .site-nav { flex-basis: 100%; line-height: 1.25; }
  .site-nav a { padding-block: .65rem; }
  .site-nav .nav-design { padding: .4rem .45rem; }
  .design-grid { grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.published-page { padding-block: clamp(2.75rem, 7vw, 7rem); }
.published-page h1 {
  max-width: 19ch;
  font-size: clamp(2.5rem, 5.8vw, 6rem);
  line-height: 1;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.published-page .eyebrow { margin-bottom: 1rem; }
.article-body { max-width: 65ch; margin-top: 1.5rem; overflow-wrap: anywhere; }
.article-body p + p { margin-top: 1rem; }
.service-brief {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 1rem;
  max-width: 65rem;
  margin: 2rem 0 0;
}
.service-brief > div { padding: 1rem 1.2rem; border: 1px solid var(--edge); overflow-wrap: anywhere; }
.service-brief dt { margin-bottom: .55rem; color: var(--ink); font-weight: 680; }
.service-brief dd { margin: 0; color: var(--muted); }
.service-brief p + p { margin-top: .65rem; }
.service-back { margin-top: .85rem; }
.content-list { max-width: 68ch; padding: 0; margin: 2.5rem 0 0; list-style: none; border-top: 1px solid var(--edge); }
.content-list li { padding: 1.15rem 0; border-bottom: 1px solid var(--edge); }
.content-list h2 { font-size: 1.35rem; overflow-wrap: anywhere; }
.content-list h2 a { text-underline-offset: .25em; }
.content-list h2 a:hover { color: var(--accent); }
.content-list p { color: var(--muted); margin-top: .4rem; overflow-wrap: anywhere; }
.action-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .75rem 1.35rem;
  margin-top: 1.75rem;
}
.action-links > a { margin-top: 0; }

.home-services { padding-block: clamp(2.75rem, 5vw, 5.75rem); }
.service-list { padding-bottom: clamp(2.75rem, 5vw, 5rem); }
.service-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.25rem, 5vw, 4.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--edge);
  background: var(--surface);
}
.service-help h2 { font-size: clamp(1.3rem, 2.25vw, 1.8rem); }
.service-help p { max-width: 46ch; margin-top: .5rem; color: var(--muted); }
.service-help .button { margin: 0; }
.published-page .service-group:first-of-type { margin-top: 2.75rem; }
.service-group + .service-group { margin-top: clamp(2rem, 4.5vw, 4rem); }
.service-group h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .75rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.service-card {
  display: block;
  height: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--edge);
  background: var(--surface);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.service-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.service-card p { margin-top: .55rem; color: var(--muted); }
.service-card:hover { border-color: var(--accent); }
.service-card:hover h3, .service-card:focus-visible h3 { color: var(--accent); }
.footer-row { flex-wrap: wrap; }
.home-body { margin-top: 0; }
.home-body p:first-child { margin-top: 0; }


.publication-date { color: var(--muted); margin-top: .85rem; }
.article-cover { max-width: min(68ch, 100%); max-height: 30rem; object-fit: contain; object-position: left; margin-top: 1.5rem; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; max-width: 65ch; list-style: none; padding: 0; margin: 1.5rem 0; }
.article-gallery img { max-height: 18rem; object-fit: contain; object-position: left; }
