@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./assets/onest-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./assets/onest-latin-wght-normal.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --forest: #183d35;
  --forest-dark: #123129;
  --paper: #f5f4ee;
  --white: #fffef8;
  --ink: #20342d;
  --muted: #5c6d64;
  --line: #d8ddd3;
  --gold: #e7c993;
  --max: 1280px;
  font-family: Onest, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button, input, video { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #a77a32; outline-offset: 5px; }
.hero a:focus-visible, .ar-section a:focus-visible { outline-color: var(--gold); }
.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: -80px; left: 16px; padding: 14px; background: var(--white); }
.skip-link:focus { top: 12px; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 32px; }
.brand { display: flex; align-items: baseline; gap: 22px; text-decoration: none; font: 32px/1 Georgia, serif; letter-spacing: -.025em; }
.brand span { font: 14px/1.5 Onest, sans-serif; letter-spacing: 0; color: var(--muted); border-left: 1px solid #b9c2b8; padding-left: 22px; }
.header nav { display: flex; align-items: center; gap: 32px; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.header nav a:hover { text-decoration: underline; }
.hero { background: var(--forest); color: var(--white); }
.hero-content { display: grid; grid-template-columns: .96fr 1.12fr; align-items: center; gap: 64px; padding-block: 78px; }
h1, h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(44px, 4.1vw, 66px); line-height: 1.08; }
.hero-copy > p { max-width: 460px; margin: 28px 0 32px; color: #d6e1d6; font-size: 17px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 15px 22px; border: 1px solid transparent; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.45; border-radius: 2px; transition: background-color .15s; }
.button-light { color: var(--forest-dark); background: var(--white); }
.button-light:hover { background: #e7e9dc; }
.button-outline { color: var(--white); border-color: #849f8f; }
.button-outline:hover { background: #2e5347; }
.button-detail { font-size: 13px; font-weight: 400; color: #5b6d60; padding-left: 12px; border-left: 1px solid #c8cfc3; }
.hero-3d-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: #d6e1d6; font-size: 14px; }
.play-icon { display: inline-block; flex-shrink: 0; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
figure { margin: 0; }
.hero-photo { padding-top: 8px; }
.hero-photo img { width: 100%; aspect-ratio: 1.45; object-fit: cover; object-position: right center; }
.hero-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 16px; row-gap: 6px; margin-top: 14px; color: #c9d8cb; font-size: 12px; line-height: 1.5; }
.hero-photo figcaption a { color: #e3e9dd; }
.section { padding-block: 96px; }
h2 { font-size: clamp(38px, 3.4vw, 52px); line-height: 1.12; }
p { font-size: 16px; line-height: 1.75; }
.film-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.film-copy { max-width: 455px; }
.film-copy .lead { font-size: 22px; line-height: 1.5; margin: 28px 0 18px; color: var(--ink); }
.film-copy > p:not(.lead):not(.video-feedback) { margin: 0; color: var(--muted); }
.text-action { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; margin-top: 20px; font-size: 15px; font-weight: 600; }
.text-action .play-icon { border-block-width: 4px; border-left-width: 7px; }
.film-frame { max-width: 330px; width: 100%; justify-self: center; }
video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #dce7df; border: 1px solid #d0d9cb; box-shadow: 0 20px 45px #153a2a12; }
.media-caption { margin: 16px 0 4px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.video-file { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.video-feedback { margin: 16px 0 0; font-size: 14px; color: #7f391b; }
.history-section { background: #e9ede4; }
.history-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.history-intro p { max-width: 410px; margin: 26px 0 18px; color: var(--muted); }
.history-intro h2 { max-width: 410px; }
.source-link { font-size: 13px; line-height: 1.7; }
.source-extra { display: block; width: fit-content; margin-top: 10px; }
.timeline { margin: 0; }
.timeline > div { display: grid; grid-template-columns: 118px 1fr; gap: 26px; padding-block: 28px; border-top: 1px solid #bcc9b9; }
.timeline > div:first-child { padding-top: 0; border-top: 0; }
.timeline > div:last-child { padding-bottom: 0; }
.timeline dt { color: #436248; font: 36px/1.15 Georgia, serif; letter-spacing: -.04em; white-space: nowrap; }
.timeline dd { margin: 0; }
h3 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
.timeline dd p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.archive-image { display: block; background: #dce1d7; }
.archive-image img { width: 100%; aspect-ratio: 1.51; object-fit: cover; transition: opacity .15s; }
.archive-image:hover img { opacity: .9; }
.archive-grid figcaption { margin-top: 24px; }
.archive-grid figcaption p { margin: 8px 0 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.archive-grid figcaption a { font-size: 12px; line-height: 1.6; }
.ar-section { color: var(--white); background: var(--forest); padding-block: 72px; }
.ar-layout { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.ar-layout h2 { font-size: clamp(34px, 3vw, 48px); }
.ar-layout p { max-width: 600px; margin: 24px 0 0; color: #d6e1d6; }
.ar-actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.ar-browser-link { padding-block: 10px; text-align: center; font-size: 14px; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 30px; }
.footer p { margin: 0; color: var(--muted); font-size: 12px; }
dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #102820df; }
dialog img { width: auto; max-height: 72dvh; max-width: 100%; margin: 16px auto 0; object-fit: contain; }
.photo-close { display: block; margin-left: auto; min-height: 44px; padding: 8px 18px; border: 1px solid #86988b; border-radius: 2px; color: var(--ink); background: transparent; cursor: pointer; font-size: 14px; }
.photo-dialog-caption { margin: 16px 0 0; font-size: 14px; line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero-content { gap: 36px; padding-block: 64px; }
  .hero-photo img { aspect-ratio: 1.05; }
  .film-section { gap: 48px; }
  .history-layout { gap: 64px; }
  .timeline > div { grid-template-columns: 100px 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 86px; gap: 16px; }
  .brand { font-size: 28px; }
  .brand span { display: none; }
  .header nav { gap: 18px; }
  .header nav a { font-size: 13px; }
  .hero-content { grid-template-columns: 1fr; padding-block: 48px 36px; gap: 38px; }
  h1 { font-size: clamp(38px, 8vw, 56px); }
  .hero-copy > p { font-size: 16px; margin: 24px 0 28px; max-width: 550px; }
  .hero-photo { padding: 0; }
  .hero-photo img { aspect-ratio: 1.55; object-position: center; }
  .section { padding-block: 64px; }
  h2 { font-size: 38px; }
  .film-section { grid-template-columns: 1fr; gap: 32px; }
  .film-copy { max-width: 550px; }
  .film-copy .lead { font-size: 20px; margin-top: 22px; }
  .film-frame { max-width: 300px; }
  .history-layout { grid-template-columns: 1fr; gap: 40px; }
  .history-intro p { max-width: 550px; }
  .timeline > div { grid-template-columns: 102px 1fr; gap: 20px; }
  .timeline dt { font-size: 32px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading p { margin-top: 18px; }
  .section-heading p br { display: none; }
  .archive-grid { grid-template-columns: 1fr; gap: 40px; }
  .archive-grid figcaption { margin-top: 18px; }
  .ar-section { padding-block: 56px; }
  .ar-layout { display: block; }
  .ar-actions { margin-top: 28px; align-items: start; }
  .ar-actions .button { min-width: 180px; }
  .footer { flex-direction: column; gap: 6px; padding-block: 26px; }
}
@media (max-width: 370px) {
  .header nav { gap: 12px; }
  .header nav a { font-size: 12px; }
  .actions { flex-direction: column; align-items: stretch; }
  h1 { font-size: 36px; }
  .timeline > div { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* The opening photograph keeps its own caption on both the panorama and the narrow layout. */
:root { --paper: #f8f5ed; --forest: #17382e; --ink: #1b332a; }
.header { min-height: 78px; }
.header nav a { position: relative; font-weight: 550; }
.header nav a::after { content: ""; position: absolute; inset: auto 0 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.header nav a:hover { text-decoration: none; }
.header nav a:hover::after, .header nav a:focus-visible::after { transform: scaleX(1); }
.hero { position: relative; isolation: isolate; background: #122c25; }
.hero-content { display: flex; align-items: center; min-height: clamp(520px, 70vh, 740px); padding-block: 72px 80px; }
.hero-copy { position: relative; z-index: 1; width: 55%; }
.hero-place { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #e6d4b0; letter-spacing: .09em; margin-bottom: 24px; }
.hero-place::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(48px, 5.9vw, 94px); line-height: 1.03; }
h1 em, h2 em { font-weight: 400; color: inherit; }
.hero h1 em { color: #edd9ac; }
.hero-copy > p { color: #edf1e6; max-width: 420px; }
.hero-photo { position: absolute; inset: 0 0 0 28%; z-index: -1; padding: 0; }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-position: 70% top; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#122c25 0%,#122c25f0 24%,#122c2570 54%,transparent 76%),linear-gradient(0deg,#091c16b8,transparent 38%); }
.hero-photo figcaption { position: absolute; right: max(24px,5vw); bottom: 22px; z-index: 1; color: #fffdf4; }
.hero-photo figcaption a { color: inherit; }
.button { border-radius: 5px; text-decoration: none; transition: background-color .2s, transform .2s, box-shadow .2s; }
.button-light { background: #f6e6c6; }
.button-outline { background: #102c24c9; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: #2c5142; }
.reconstruction { display: grid; grid-template-columns: 1.2fr .9fr; align-items: center; gap: clamp(40px,6vw,100px); }
.model-copy > p { max-width: 450px; color: var(--muted); margin: 22px 0 30px; }
.model-ar { display: inline-flex; align-items: center; min-height: 48px; margin-inline-start: 16px; font-size: 14px; }
.model-preview { position: relative; display: block; overflow: hidden; border-radius: 48% 48% 3px 3px / 22% 22% 3px 3px; background: #909595; }
.model-preview img { width: 100%; height: auto; transition: transform .55s ease-out; }
.model-preview > span { position: absolute; right: 18px; bottom: 18px; border-radius: 32px; display: flex; align-items: center; gap: 12px; font-size: 14px; background: var(--paper); padding: 9px 16px; box-shadow: 0 2px 12px #102c2424; }
.model-preview i { font-style: normal; }
.film-section { border-top: 1px solid #cfcbbd; }
.film-frame video { border-radius: 8px; }
.history-section { background: #eae6d9; }
.timeline dt { color: #68532e; font-variant-numeric: lining-nums; }
.archive-image { position: relative; overflow: hidden; cursor: zoom-in; }
.archive-image::after { content: "+"; position: absolute; bottom: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--paper); font-size: 24px; }
.archive-image img { transition: transform .55s ease-out; }
.footer { border-top: 1px solid var(--line); align-items: center; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
@media (min-width: 761px) and (max-width: 1000px) { .model-ar { margin-inline-start: 0; display: flex; } }
@media (max-width: 760px) {
  .header { min-height: 67px; }
  .hero-content { width: 100%; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 0; min-height: 0; padding: 0; }
  .hero-photo { position: relative; z-index: 0; inset: auto; }
  .hero-photo img { height: clamp(228px,56vw,350px); object-position: 65% 35%; }
  .hero-photo::after { background: linear-gradient(0deg,#122c25ed,transparent 35%); }
  .hero-photo figcaption { inset: auto 20px 10px; justify-content: space-between; }
  .hero-copy { width: auto; padding: 25px 20px 28px; }
  .hero h1 { font-size: clamp(38px,8.5vw,60px); }
  .hero h1 br { display: none; }
  .hero h1 em::before { content: " "; }
  .hero-place { margin-bottom: 10px; }
  .hero-copy > p { margin: 16px 0 22px; }
  .reconstruction { grid-template-columns: 1fr; gap: 28px; }
  .model-copy h2 br { display: none; }
  .model-copy h2 em::before { content: " "; }
  .model-copy > p { margin: 16px 0 20px; }
  .model-ar { margin-inline-start: 8px; }
  .footer { align-items: start; }
}
@media (max-width: 370px) { .header nav { gap: 10px; } .model-ar { display: flex; margin-left: 0; } }
@keyframes arrive { from { opacity: .15; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, dialog[open] { animation: arrive .55s ease-out both; }
  .arriving { animation: arrive .48s ease-out; }
  @media (hover: hover) {
    .archive-image:hover img, .model-preview:hover img { transform: scale(1.035); opacity: 1; }
    .button:hover { transform: translateY(-2px); box-shadow: 0 5px 13px #102c2424; }
  }
}

:root { --paper: #f4f0e6; --ink: #293b32; --muted: #54665b; --line: #c4cabc; --forest: #324a3e; --history: #dee6dc; --date: #73562e; --control: #eff0e5; --preview-label: #f6efdd; }
:root[data-theme="dark"] { color-scheme: dark; --paper: #202b27; --ink: #f2efde; --muted: #c5cec2; --line: #506055; --history: #2b3931; --date: #e2bf7f; --control: #34443a; }
.header nav { margin-left: auto; }
.header { gap: clamp(10px,2vw,28px); }
.theme-toggle { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: var(--control); color: var(--ink); border-radius: 50%; border: 1px solid var(--line); font: 23px/1 Georgia,serif; cursor: pointer; }
:root[data-theme="light"] .hero { background: #293e35; }
:root[data-theme="light"] .hero-photo::after { background: linear-gradient(90deg,#293e35 0%,#293e35fa 18%,#293e35bc 43%,transparent 74%),linear-gradient(0deg,#12201999,transparent 32%); }
.history-section { background: var(--history); }
.timeline dt { color: var(--date); }
.model-preview > span, .archive-image::after { color: #293b32; background: var(--preview-label); }
.film-section { border-color: var(--line); }
[data-theme="dark"] .button-dark { background: #d6bd8b; color: #233428; }
[data-theme="dark"] .video-feedback { color: #f1b989; }
[data-theme="dark"] .skip-link { background: var(--control); }
dialog { color: var(--ink); background: var(--paper); }
.photo-zoom { display: block; min-height: 44px; margin-top: 10px; padding: 0 16px; background: var(--control); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); cursor: pointer; }
.photo-scroll { overflow: auto; max-height: 67dvh; margin-top: 12px; overscroll-behavior: contain; }
.photo-scroll img { display: block; margin: 0 auto; max-height: 66dvh; }
.is-zoomed .photo-scroll img { width: max(160%, 850px); max-width: none; max-height: none; }
#story-video { max-height: 80dvh; width: auto; max-width: 100%; margin-inline: auto; }
@media(max-width:760px){
  :root[data-theme="light"] .hero-photo::after { background: linear-gradient(0deg,#293e35ee,transparent 40%); }
  .header { width: calc(100% - 24px); gap: 8px; }
  .header nav { gap: clamp(8px,2.2vw,17px); }
  dialog { width: 100%; max-width: 100%; padding: 12px 8px; }
}

:root[data-theme="light"] .hero { background: #dfe7dd; color: #283c32; }
:root[data-theme="light"] .hero-photo::after { background: linear-gradient(90deg,#dfe7dd 0%,#dfe7ddfa 18%,#dfe7ddc2 41%,transparent 73%),linear-gradient(0deg,#17251c88,transparent 26%); }
:root[data-theme="light"] .hero h1 em { color: #735930; }
:root[data-theme="light"] .hero-place { color: #4d624f; }
:root[data-theme="light"] .hero-copy > p, :root[data-theme="light"] .hero-3d-link { color: #34483a; }
:root[data-theme="light"] .hero .button-light { background: #30493a; color: #fffaf0; }
:root[data-theme="light"] .hero .button-outline { background: #f3efdfd9; color: #304232; border-color: #7c8e79; }
@media(max-width:760px) {
  :root[data-theme="light"] .hero-photo::after { background: linear-gradient(0deg,#142419af,transparent 36%); }
}
.hero-photo figcaption { align-items: center; }
.hero-photo figcaption a { display: inline-flex; min-height: 32px; align-items: center; }
.model-preview { background: #d9e2d8; }
.model-preview .preview-dark, [data-theme="dark"] .model-preview .preview-light { display: none; }
[data-theme="dark"] .model-preview .preview-dark { display: block; }
