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

@font-face {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/forum-400-lat.woff2") format("woff2");
  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;
}

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

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/golos-400-lat.woff2") format("woff2");
  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;
}

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

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/golos-500-lat.woff2") format("woff2");
  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;
}

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

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/golos-600-lat.woff2") format("woff2");
  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;
}

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

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/golos-700-lat.woff2") format("woff2");
  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 {
  --runorra-forest: #18241f;
  --runorra-paper: #f1e6d2;
  --runorra-brass: #d5b178;
  --runorra-wine: #703f4b;
  --runorra-font-display: "Forum", "Times New Roman", serif;
  --runorra-font-text: "Golos Text", "Segoe UI", sans-serif;
  --runorra-radius-sm: 8px;
  --runorra-radius-md: 12px;
  --runorra-radius-lg: 16px;
  --runorra-spacing-base: 8px;
  --runorra-content-max: 1200px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --line: rgba(24, 36, 31, 0.22);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 46% 38% at 100% -4%, rgba(112, 63, 75, 0.16), transparent 62%),
    radial-gradient(ellipse 32% 28% at -8% 12%, rgba(213, 177, 120, 0.22), transparent 64%),
    var(--runorra-paper);
  color: var(--runorra-forest);
  font-family: var(--runorra-font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  font-synthesis: none;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
ul,
ol,
dl,
figure,
h1,
h2,
h3 {
  margin: 0;
}

::selection {
  background: var(--runorra-forest);
  color: var(--runorra-paper);
}

:focus-visible {
  outline: 2px solid var(--runorra-forest);
  outline-offset: 3px;
}

.section-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--runorra-paper);
}

.skip {
  position: absolute;
  left: var(--s2);
  top: var(--s2);
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--runorra-radius-sm);
  background: var(--runorra-forest);
  color: var(--runorra-paper);
  font-weight: 700;
  text-decoration: none;
}

.container {
  width: min(var(--runorra-content-max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(241, 230, 210, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: 48px;
}

.brand-word {
  display: block;
  width: auto;
  height: 32px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid var(--runorra-forest);
  border-radius: var(--runorra-radius-sm);
  background: transparent;
  color: var(--runorra-forest);
  font: 600 14px/1.2 var(--runorra-font-text);
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--runorra-forest);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--runorra-forest);
}

.site-nav a.nav-cta {
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid var(--runorra-forest);
  border-bottom-color: var(--runorra-forest);
  border-radius: var(--runorra-radius-sm);
  background: var(--runorra-forest);
  color: var(--runorra-paper);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.section {
  padding: var(--s5) 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--runorra-forest);
  color: var(--runorra-paper);
}

.section-dark::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -36px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(213, 177, 120, 0.45);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero-grid,
.artifact-layout,
.footer-grid {
  display: grid;
  gap: var(--s4);
}

.kicker {
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin-bottom: var(--s2);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diamond {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: currentColor;
  transform: rotate(45deg);
}

.kicker-wine {
  color: var(--runorra-forest);
}

.kicker-wine .diamond {
  background: var(--runorra-wine);
}

.kicker-wine::after,
.section-dark .kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.kicker-wine::after {
  background: var(--runorra-wine);
}

.section-dark .kicker {
  color: var(--runorra-brass);
}

.section-dark .kicker .diamond {
  background: var(--runorra-brass);
}

h1,
h2,
h3,
.colophon {
  font-family: var(--runorra-font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 {
  max-width: 16em;
  font-size: 48px;
  line-height: 1.1;
}

h1.display {
  max-width: 8.2em;
  font-size: 64px;
  line-height: 1.05;
}

h2 {
  font-size: 34px;
  line-height: 1.16;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.section-head {
  margin-bottom: var(--s4);
}

.lead {
  max-width: 40rem;
  margin-top: var(--s3);
  font-size: 18px;
  line-height: 1.55;
}

.prose {
  max-width: 40rem;
  margin-top: var(--s2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s4);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--runorra-forest);
  border-radius: var(--runorra-radius-sm);
  background: var(--runorra-forest);
  color: var(--runorra-paper);
  font-family: var(--runorra-font-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button:not(.button-ghost)::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.button-ghost {
  background: transparent;
  color: var(--runorra-forest);
}

.section-dark .button {
  border-color: var(--runorra-paper);
  background: var(--runorra-paper);
  color: var(--runorra-forest);
}

.section-dark .button-ghost {
  background: transparent;
  border-color: var(--runorra-paper);
  color: var(--runorra-paper);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 40rem;
  margin-top: var(--s4);
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.meta-row .diamond {
  width: 6px;
  height: 6px;
  background: var(--runorra-forest);
}

.seal {
  max-width: 460px;
  margin: 0 auto;
  padding: var(--s4);
  text-align: center;
}

.seal-dark {
  border-radius: var(--runorra-radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 18%, rgba(213, 177, 120, 0.16), transparent 62%),
    var(--runorra-forest);
  color: var(--runorra-paper);
}

.seal-dark .corner {
  border-color: var(--runorra-brass);
}

.seal-dark .corner-tl { top: 14px; left: 14px; }
.seal-dark .corner-tr { top: 14px; right: 14px; }
.seal-dark .corner-bl { bottom: 14px; left: 14px; }
.seal-dark .corner-br { bottom: 14px; right: 14px; }

.seal-dark figcaption {
  color: var(--runorra-brass);
}

.seal-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin-inline: auto;
}

.seal figcaption,
.meta,
.byline,
.index {
  font-family: var(--runorra-font-text);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
}

.seal figcaption {
  margin-top: var(--s2);
}

.frame {
  position: relative;
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  border: 2px solid var(--runorra-forest);
}

.corner-tl {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.corner-tr {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
}

.corner-br {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.panel {
  padding: var(--s4) 28px;
}

.section-dark .panel {
  background: var(--runorra-paper);
  color: var(--runorra-forest);
}

.section-dark .panel :focus-visible {
  outline-color: var(--runorra-forest);
}

.section-dark .panel .button {
  border-color: var(--runorra-forest);
  background: var(--runorra-forest);
  color: var(--runorra-paper);
}

.lead + .frame,
.lead + .tenets,
.lead + .artifact-grid,
.hero-grid + .tenets,
.tenets + .byline {
  margin-top: var(--s4);
}

.section-dark .panel .kicker {
  color: var(--runorra-forest);
}

.section-dark .panel .kicker .diamond {
  background: var(--runorra-forest);
}

.panel h3 {
  margin-bottom: var(--s2);
}

.panel .lead,
.panel p {
  max-width: 40rem;
}

.pillars,
.steps,
.tenets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
  padding: 0;
  list-style: none;
}

.pillars li,
.steps li,
.tenets li {
  padding-top: var(--s2);
  border-top: 1px solid var(--runorra-forest);
}

.index {
  display: block;
  margin-bottom: var(--s1);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pillars .index,
.steps .index,
.tenets .index {
  font-family: var(--runorra-font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.pillars h3,
.tenets h3,
.steps p,
.tenets p,
.pillars p {
  margin: 0;
}

.pillars h3,
.tenets h3 {
  margin-bottom: var(--s1);
}

.note {
  max-width: 40rem;
  margin-top: var(--s3);
}

.artifact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}

.artifact-card {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  min-height: 44px;
  padding: var(--s2);
  border: 1px solid transparent;
  border-radius: var(--runorra-radius-md);
  background: var(--runorra-paper);
  color: var(--runorra-forest);
  text-decoration: none;
}

.artifact-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--s1);
  border-radius: var(--runorra-radius-sm);
}

.artifact-card h3 {
  font-size: 24px;
}

.artifact-layout {
  margin-top: var(--s4);
  align-items: start;
}

.artifact-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--runorra-radius-md);
}

.specs {
  display: grid;
}

.specs div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px var(--s2);
  align-items: center;
  padding: 4px 0;
  border-top: 1px solid var(--line);
}

.specs dt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.specs dd {
  margin: 0;
  font-weight: 600;
}

.specs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 3px;
}

.byline {
  margin-bottom: var(--s1);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--runorra-wine);
}

.site-footer {
  padding: var(--s5) 0;
  border-top: 1px solid var(--runorra-brass);
  background: var(--runorra-forest);
  color: var(--runorra-paper);
}

.footer-logo {
  display: block;
  width: 200px;
  height: auto;
  margin-bottom: var(--s2);
}

.site-footer .byline {
  color: var(--runorra-brass);
}

.site-footer p {
  max-width: 36rem;
}

.site-footer nav,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--runorra-paper);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

@media (min-width: 720px) {
  .pillars,
  .tenets,
  .artifact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s3);
  }

  .container {
    width: min(var(--runorra-content-max), calc(100% - 48px));
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: var(--s5);
    align-items: center;
  }

  .hero-copy {
    padding-left: var(--s3);
    border-left: 1px solid rgba(112, 63, 75, 0.55);
  }

  .seal {
    margin-right: 0;
  }

  .steps,
  .tenets {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .pillars {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .artifact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: var(--s3);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: var(--s3);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .artifact-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .js-nav .menu-toggle {
    display: inline-flex;
  }

  .js-nav .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 var(--s2);
    border-top: 1px solid var(--line);
  }

  .js-nav .site-nav.is-open {
    display: flex;
  }

  .js-nav .site-nav a.nav-cta {
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  h1.display {
    font-size: 40px;
    line-height: 1.08;
  }

  h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  h3,
  .artifact-card h3 {
    font-size: 22px;
  }

  .lead {
    font-size: 17px;
  }

  .pillars .index,
  .steps .index,
  .tenets .index {
    font-size: 32px;
  }

  .seal {
    padding: var(--s3);
  }

  .specs div {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 0;
  }
}

@media (max-width: 380px) {
  .brand-word {
    height: 26px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-nav a,
  .artifact-card,
  .site-footer a,
  .pillars li,
  .steps li,
  .tenets li {
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  }

  .button:not(.button-ghost)::after,
  .seal-dark .corner {
    transition: transform 180ms ease, top 220ms ease, right 220ms ease, bottom 220ms ease, left 220ms ease;
  }

  .hero-copy,
  .seal-dark {
    animation: rise 720ms cubic-bezier(0.16, 0.84, 0.32, 1) both;
  }

  .seal-dark {
    animation-delay: 90ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (hover: hover) {
  .site-nav a:hover {
    color: var(--runorra-wine);
  }

  .site-nav a.nav-cta:hover,
  .button:hover {
    border-color: var(--runorra-wine);
    background: var(--runorra-wine);
    color: var(--runorra-paper);
  }

  .button-ghost:hover {
    border-color: var(--runorra-forest);
    background: var(--runorra-forest);
    color: var(--runorra-paper);
  }

  .section-dark .button:hover {
    border-color: var(--runorra-wine);
    background: var(--runorra-wine);
    color: var(--runorra-paper);
  }

  .section-dark .button-ghost:hover {
    border-color: var(--runorra-paper);
    background: var(--runorra-paper);
    color: var(--runorra-forest);
  }

  .section-dark .panel .button:hover {
    border-color: var(--runorra-wine);
    background: var(--runorra-wine);
    color: var(--runorra-paper);
  }

  .artifact-card:hover {
    border-color: var(--runorra-wine);
  }

  .button:not(.button-ghost):hover::after {
    transform: translate(3px, -3px) rotate(45deg);
  }

  .seal-dark:hover .corner-tl { top: 8px; left: 8px; }
  .seal-dark:hover .corner-tr { top: 8px; right: 8px; }
  .seal-dark:hover .corner-bl { bottom: 8px; left: 8px; }
  .seal-dark:hover .corner-br { bottom: 8px; right: 8px; }

  .pillars li:hover,
  .steps li:hover,
  .tenets li:hover {
    border-top-color: var(--runorra-wine);
  }

  .pillars li:hover .index,
  .steps li:hover .index,
  .tenets li:hover .index {
    color: var(--runorra-wine);
  }

  .site-footer a:hover {
    color: var(--runorra-brass);
  }
}
