html,
body.main-page,
.news-gallery-card {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body.main-page::-webkit-scrollbar,
.news-gallery-card::-webkit-scrollbar {
  display: none;
}

body.main-page {
  position: relative;
  overflow-y: auto;
  background: #f6f4ef;
  padding-top: 0;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.site-breathing-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-breathing-wall canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-load-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.main-page.is-page-ready .page-load-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .page-load-reveal,
  body.main-page.is-page-ready .page-load-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.main-page .page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 0 12px;
}

.main-corner-anchor {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.main-corner-asset {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-corner-asset {
  width: clamp(500px, 10vw, 500px);
  max-width: 18vw;
}

.news-section-dots {
  position: fixed;
  top: 50%;
  right: clamp(14px, 2vw, 24px);
  transform: translateY(-50%);
  z-index: 96;
  display: grid;
  gap: 14px;
}

.news-section-dot {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 249, 240, 0.62);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.news-section-dot:hover {
  transform: scale(1.08);
}

.news-section-dot.is-active {
  border-color: #ffffff;
  background: #ffffff;
}

.main-shell {
  width: calc(100vw - 100px);
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(10px, 1.4vw, 16px);
  padding-left: clamp(100px, 3vw, 42px);
  padding-right: clamp(100px, 3vw, 42px);
  position: relative;
}

.contact-page-spacer {
  min-height: 0;
}

.contact-stage {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-panel {
  width: min(1180px, 100%);
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(128, 56, 0, 0.12);
  backdrop-filter: blur(10px);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3vw, 42px);
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-kicker {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.78);
}

.contact-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
  color: #fff9f0;
}

.contact-summary {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 249, 240, 0.86);
}

.contact-info-grid {
  display: grid;
  gap: 16px;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px 22px;
  display: grid;
  gap: 10px;
}

.contact-card-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.66);
}

.contact-card-value,
.contact-card-value a {
  margin: 0;
  color: #fff9f0;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
}

.contact-card-meta {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 249, 240, 0.84);
}

.contact-form-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
  padding: clamp(22px, 2.5vw, 32px);
  display: grid;
  gap: 20px;
  align-content: start;
}

.contact-form-head {
  display: grid;
  gap: 8px;
}

.contact-form-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff9f0;
}

.contact-form-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 249, 240, 0.8);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.72);
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-textarea {
  min-height: 400px;
  resize: vertical;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: rgba(255, 121, 55, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 121, 55, 0.14);
}

.contact-form-foot {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.contact-recaptcha {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.contact-form-note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 249, 240, 0.72);
}

.contact-form-status {
  margin: 0;
  min-height: 22px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 249, 240, 0.88);
}

.contact-submit {
  min-width: 180px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  box-shadow: 0 14px 24px rgba(102, 44, 0, 0.14);
}

.news-page-section {
  min-height: calc(100vh - 100px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.news-page-section-primary {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-content: start;
}

.main-stage-top {
  position: relative;
  z-index: 140;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-brand-lockup {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.main-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.main-logo-corner {
  display: block;
  width: clamp(126px, 11vw, 184px);
  max-width: 24vw;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-page .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.15vw, 18px);
}

.main-page .nav-link::after {
  background: #ffffff;
}

.main-page .nav-link:hover,
.main-page .nav-link[aria-current="page"] {
  color: #ffffff;
}

.main-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.header-quote-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-left: clamp(4px, 0.8vw, 12px);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f0;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #e8742f;
  outline: none;
}

.contact-page-title {
  margin: 0;
  text-align: center;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.94;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff9f0;
  text-shadow: 0 14px 30px rgba(120, 54, 0, 0.18);
}

.main-hero {
  width: 100%;
  max-width: none;
  min-height: clamp(320px, 44vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-center-frame {
  width: min(1080px, 100%);
  min-height: clamp(320px, 40vw, 520px);
  max-height: min(520px, calc(100vh - 220px));
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 0;
  background: transparent;
  padding: clamp(20px, 2.6vw, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 20px;
}

.news-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.news-frame-copy {
  display: grid;
  gap: 8px;
}

.news-frame-kicker {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff9f0;
}

.news-status {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.78);
}

.news-gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.news-gallery-button {
  min-width: 48px;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: transparent;
  color: #fff9f0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.news-gallery-button:hover:not(:disabled) {
  opacity: 0.82;
  transform: translateY(-1px);
}

.news-gallery-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.news-gallery::-webkit-scrollbar {
  display: none;
}

.news-gallery-card,
.news-card,
.news-empty {
  border: 1px solid rgb(255, 255, 255);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(128, 56, 0, 0.12);
  backdrop-filter: blur(10px);
}

.news-gallery-card {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100%;
  max-height: calc(100vh - 300px);
  padding: 22px 32px 22px 22px;
  display: grid;
  gap: 16px;
  align-content: start;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.news-card {
  padding: 22px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.news-card-image-wrap {
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.news-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.66);
}

.news-article-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.04;
  color: #fff9f0;
}

.news-summary {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 249, 240, 0.86);
}

.news-body {
  display: grid;
  gap: 12px;
}

.news-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 249, 240, 0.74);
}

.news-gallery-card .news-card-image-wrap {
  border-radius: 0;
}

.news-gallery-card .news-card-image {
  aspect-ratio: 16 / 7;
}

.news-gallery-card .news-article-title {
  font-size: clamp(28px, 2.8vw, 42px);
}

.news-gallery-card .news-summary {
  font-size: 18px;
  line-height: 1.8;
}

.news-gallery-card .news-body {
  gap: 14px;
}

.news-gallery-card .news-body p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 249, 240, 0.82);
}

.news-grid-section {
  display: grid;
  gap: 18px;
  align-content: start;
}

.news-grid-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.news-grid-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff9f0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-empty {
  padding: 28px;
  text-align: center;
  color: rgba(255, 249, 240, 0.82);
}

.news-gallery > .news-empty {
  flex: 0 0 100%;
}

.news-grid > .news-empty {
  grid-column: 1 / -1;
}

.main-scene-panel {
  display: none;
}

@media (max-width: 960px) {
  .main-shell {
    width: calc(100vw - 100px);
    min-height: calc(100vh - 100px);
  }

  .news-page-section {
    min-height: calc(100vh - 100px);
  }

  .main-brand-lockup {
    position: relative;
    transform: none;
    justify-self: start;
  }

  .main-stage-top {
    min-height: auto;
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .main-page .site-nav {
    gap: 12px 20px;
    justify-self: center;
  }

  .header-quote-button {
    min-height: 34px;
    margin-left: 0;
    padding: 0 12px;
    font-size: 11px;
  }

  .main-hero {
    min-height: auto;
  }

  .main-copy {
    width: 100%;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.main-page {
    scroll-snap-type: none;
  }

  .main-page .page {
    padding: 24px 0 8px;
  }

  .main-shell {
    width: calc(100vw - 20px);
    min-height: calc(100vh - 32px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-corner-anchor {
    display: none;
  }

  .main-stage-top {
    justify-items: stretch;
  }

  .main-page .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 8px;
    gap: 6px;
    opacity: 1;
    visibility: visible;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-link,
  .nav-dropdown-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 18px;
    text-align: center;
  }

  .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
  }

  .news-page-section {
    min-height: calc(100vh - 32px);
  }

  .news-center-frame {
    padding: 18px;
  }

  .news-gallery-card {
    padding: 18px;
  }

  .news-gallery-button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-foot {
    align-items: stretch;
  }

  .contact-panel,
  .contact-form-card {
    padding: 20px 18px;
  }

  .contact-title {
    font-size: clamp(30px, 11vw, 42px);
  }

  .contact-summary,
  .contact-card-meta {
    font-size: 15px;
  }

  .contact-submit {
    width: 100%;
  }
}

.main-stage-top {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: auto;
  display: block;
}

.site-header-inner {
  width: 100%;
  min-height: clamp(56px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 3vw, 56px);
}

.main-brand-lockup {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-page .site-nav {
  justify-self: center;
}

.site-header-action {
  justify-content: flex-end;
}

.header-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 9px 18px;
  border: 1px solid #e8742f;
  border-radius: 999px;
  background: #e8742f;
  color: #ffffff;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #d76522;
  background: #d76522;
  color: #ffffff;
  outline: none;
}

@media (max-width: 960px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand quote"
      "nav nav";
    row-gap: 14px;
    column-gap: 16px;
  }

  .main-brand-lockup {
    grid-area: brand;
  }

  .main-page .site-nav {
    grid-area: nav;
  }

  .site-header-action {
    grid-area: quote;
    min-height: auto;
  }

  .header-quote-button {
    min-height: 0;
    padding: 9px 16px;
    font-size: 11px;
  }
}
  
.page-static-style-1 { --reveal-delay: 40ms; }
.page-static-style-2 { --reveal-delay: 120ms; }
.page-static-style-3 { --reveal-delay: 180ms; }
.page-static-style-4 { --reveal-delay: 260ms; }

/* Keep contact details and the inquiry form comfortable on narrow screens. */
@media (max-width: 960px) {
  body.main-page {
    scroll-snap-type: none;
  }

  .main-shell {
    width: min(680px, calc(100% - 32px));
    min-height: auto;
    padding-inline: 0;
  }

  .main-page .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    gap: 28px;
  }

  .contact-copy,
  .contact-form-card,
  .contact-field {
    min-width: 0;
  }

  .contact-card,
  .contact-form-card {
    padding: 20px 16px;
  }

  .contact-card-value,
  .contact-card-value a {
    overflow-wrap: anywhere;
  }

  .contact-card-value a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .contact-label {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.1em;
  }

  .contact-input,
  .contact-textarea {
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    font-size: 16px;
    scroll-margin-top: 88px;
  }

  .contact-textarea {
    min-height: 200px;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }
}
