@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/source-serif-4-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --ink: #161413;
  --ink-deep: #0c0a09;
  --paper: #f5ebd3;
  --text: #eae3d2;
  --muted: #a89f8b;
  --gold: #c7a55c;
  --line: #3a342a;
  --header-height: 58px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink-deep);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 3000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(199, 165, 92, 0.3);
  background: rgba(12, 10, 9, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.brand-name {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  white-space: nowrap;
}

.site-navigation {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-navigation::-webkit-scrollbar {
  display: none;
}

.nav-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 8px;
  border-radius: 2px;
  color: rgba(234, 227, 210, 0.6);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link span {
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  background: rgba(199, 165, 92, 0.1);
  color: var(--paper);
  outline: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--paper);
}

#main-content {
  padding-top: var(--header-height);
}

.landing-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  scroll-margin-top: var(--header-height);
}

.landing-section + .landing-section {
  border-top: 1px solid rgba(199, 165, 92, 0.16);
}

.slide-stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  will-change: transform;
}

.slide-container {
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

.serif {
  font-family: 'Source Serif 4', serif;
}

.sc {
  font-family: 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 1280px) {
  .site-header {
    gap: 14px;
    padding-inline: 16px;
  }

  .brand-name,
  .nav-link {
    font-size: 10px;
  }

  .nav-link {
    padding-inline: 6px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    justify-content: space-between;
    padding: 0 20px;
  }

  .brand-name {
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 0 8px 12px;
    cursor: pointer;
  }

  .menu-toggle-label {
    color: var(--gold);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .menu-toggle-icon {
    position: relative;
    width: 22px;
    height: 16px;
  }

  .menu-toggle-icon i {
    position: absolute;
    left: 0;
    width: 22px;
    height: 1px;
    background: var(--paper);
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-toggle-icon i:first-child {
    top: 4px;
  }

  .menu-toggle-icon i:last-child {
    top: 11px;
  }

  .menu-toggle[aria-expanded='true'] .menu-toggle-icon i:first-child {
    top: 8px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] .menu-toggle-icon i:last-child {
    top: 8px;
    transform: rotate(-45deg);
  }

  .site-navigation {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 1900;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 14px 20px 40px;
    overflow-y: auto;
    background: rgba(12, 10, 9, 0.985);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .site-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(199, 165, 92, 0.16);
    border-radius: 0;
    font-family: 'Source Serif 4', serif;
    font-size: 20px;
    font-weight: 300;
  }

  .nav-link span {
    order: 2;
    font-size: 10px;
  }

  .landing-section {
    height: auto !important;
    min-height: 0;
    overflow: hidden;
  }

  .slide-stage {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .slide-container {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    flex-direction: column;
    gap: 18px;
    padding: 72px 22px 44px !important;
    overflow: visible !important;
    background: var(--ink) !important;
  }

  .slide-container > [data-object-type='shape'] {
    display: none !important;
  }

  .slide-container [data-object-type="textbox"] {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    transform: none !important;
    z-index: 2 !important;
  }

  .slide-container [data-object-type='textbox'] + [data-object-type='textbox'] {
    margin-top: 4px !important;
  }

  .slide-container [style*='display:flex'],
  .slide-container [style*='display: flex'] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .slide-container [style*='display:grid'],
  .slide-container [style*='display: grid'] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .slide-container [style*='width:1728px'],
  .slide-container [style*='width:1600px'],
  .slide-container [style*='width:1500px'],
  .slide-container [style*='width:1400px'],
  .slide-container [style*='width:1200px'],
  .slide-container [style*='width:1100px'],
  .slide-container [style*='width:1000px'],
  .slide-container [style*='width:900px'],
  .slide-container [style*='width:800px'],
  .slide-container [style*='width:700px'],
  .slide-container [style*='width:600px'],
  .slide-container [style*='width:500px'],
  .slide-container [style*='width:400px'] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .slide-container :is(
    [style*='font-size:148px'],
    [style*='font-size:108px'],
    [style*='font-size:96px'],
    [style*='font-size:84px'],
    [style*='font-size:80px'],
    [style*='font-size:76px'],
    [style*='font-size:72px'],
    [style*='font-size:68px'],
    [style*='font-size:64px'],
    [style*='font-size:60px'],
    [style*='font-size:56px'],
    [style*='font-size:52px'],
    [style*='font-size:48px']
  ) {
    font-size: clamp(34px, 10vw, 50px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.025em !important;
  }

  .slide-container :is(
    [style*='font-size:46px'],
    [style*='font-size:44px'],
    [style*='font-size:42px'],
    [style*='font-size:40px'],
    [style*='font-size:38px'],
    [style*='font-size:36px'],
    [style*='font-size:34px'],
    [style*='font-size:32px'],
    [style*='font-size:30px'],
    [style*='font-size:28px']
  ) {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.16 !important;
  }

  .slide-container :is(
    [style*='font-size:26px'],
    [style*='font-size:24px'],
    [style*='font-size:22px'],
    [style*='font-size:20px']
  ) {
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.42 !important;
  }

  .slide-container :is(
    [style*='font-size:18px'],
    [style*='font-size:17px'],
    [style*='font-size:16px']
  ) {
    font-size: 16px !important;
    line-height: 1.48 !important;
  }

  .slide-container :is(
    [style*='font-size:15px'],
    [style*='font-size:14px'],
    [style*='font-size:13px'],
    [style*='font-size:12px'],
    [style*='font-size:11px'],
    [style*='font-size:10px']
  ) {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .slide-container br {
    display: none;
  }

  .slide-container .sc {
    line-height: 1.45 !important;
    letter-spacing: 0.13em !important;
  }

  .landing-section:not(.has-background-image) .slide-container > [data-object-type='textbox'] {
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(199, 165, 92, 0.14);
  }

  .landing-section:not(.has-background-image) .slide-container > [data-object-type='textbox']:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0;
  }

  .landing-section.has-background-image .slide-container {
    min-height: 760px;
    justify-content: center;
    background: var(--ink-deep) !important;
    isolation: isolate;
  }

  .landing-section.has-background-image .slide-container::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: '';
    background: linear-gradient(180deg, rgba(12, 10, 9, 0.6), rgba(12, 10, 9, 0.86));
    pointer-events: none;
  }

  .landing-section.has-background-image [data-object-type='image'] {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
  }

  .landing-section.has-background-image [data-object-type='image'] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .landing-section.has-background-image [data-object-type='textbox'] {
    color: var(--text);
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 16px;
  }

  .slide-container {
    padding-inline: 18px !important;
  }

  .landing-section.has-background-image .slide-container {
    min-height: 700px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}




@media (max-width: 768px) {
  .site-navigation {
    height: calc(100dvh - var(--header-height));
    flex: none;
  }
}




@media (max-width: 768px) {
  .slide-container :is(
    [style*='font-size:78px'],
    [style*='font-size:62px'],
    [style*='font-size:58px'],
    [style*='font-size:54px']
  ) {
    max-width: 100% !important;
    font-size: clamp(34px, 10vw, 50px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  .slide-container [data-object-type='textbox'] > * {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}




@media (max-width: 768px) {
  .slide-container [data-object-type='textbox'][style*='color:#1A1F2A'] {
    padding: 22px !important;
    border: 0 !important;
    background: #fbf7ee !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    color: #1a1f2a !important;
  }
}

