html,
body.main-page {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body.main-page::-webkit-scrollbar {
  display: none;
}

body.main-page {
  position: relative;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f6f4ef 100%);
  padding-top: 0;
  scroll-behavior: smooth;
  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;
  width: clamp(500px, 10vw, 500px);
  max-width: 18vw;
}

.main-shell {
  width: calc(100vw - 100px);
  min-height: calc(100vh - 100px);
  display: grid;
  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;
}

.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(31, 41, 51, 0.88);
  font-size: clamp(16px, 1.15vw, 18px);
}

.main-page .nav-link::after {
  background: #e8742f;
}

.main-page .nav-link:hover,
.main-page .nav-link[aria-current="page"] {
  color: #e8742f;
}

.main-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.page-site-footer__inner {
  border-top-color: rgba(31, 41, 51, 0.12);
}

.page-site-footer__brand,
.page-site-footer__credit,
.page-site-footer__social-button {
  border-color: rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
}

.page-site-footer__copy,
.page-site-footer__creator-label,
.page-site-footer__social-button {
  color: #1f2933;
}

.page-site-footer__social-button:hover {
  background: rgba(232, 116, 47, 0.14);
}

.page-site-footer__social-button:focus-visible {
  outline-color: rgba(232, 116, 47, 0.44);
}

.quote-admin-shortcut {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(31, 41, 51, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #e8742f;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.quote-admin-shortcut:hover,
.quote-admin-shortcut:focus-visible {
  border-color: rgba(232, 116, 47, 0.42);
  background: #ffffff;
  color: #d76522;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 41, 51, 0.1);
  outline: none;
}

.quote-page-title {
  margin: 0;
  text-align: center;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 0.94;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2933;
  text-shadow: none;
}

.quote-stage {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-panel {
  width: min(1240px, 100%);
  border: 2px solid rgba(31, 41, 51, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 42px rgba(31, 41, 51, 0.08);
  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);
}

.quote-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.quote-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(91, 102, 112, 0.88);
}

.quote-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
  color: #1f2933;
}

.quote-summary {
  margin: 0;
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.8;
  color: #5b6670;
}

.quote-info-grid {
  display: grid;
  gap: 16px;
}

.quote-card {
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  padding: 20px 22px;
  display: grid;
  gap: 10px;
}

.quote-card-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(91, 102, 112, 0.88);
}

.quote-card-value {
  margin: 0;
  color: #000000;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
}

.quote-card-meta {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #5b6670;
}

.quote-form-card {
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(22px, 2.5vw, 32px);
  display: grid;
  gap: 20px;
  align-content: start;
}

.quote-form-head,
.quote-form,
.quote-form-grid,
.quote-form-foot {
  display: grid;
}

.quote-form-head {
  gap: 8px;
}

.quote-form-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
  text-transform: uppercase;
  color: #1f2933;
}

.quote-form-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #5b6670;
}

.quote-form {
  gap: 18px;
}

.quote-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.quote-field {
  display: grid;
  gap: 8px;
}

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-attachment-field {
  gap: 12px;
}

.quote-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(91, 102, 112, 0.88);
}

.quote-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quote-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.quote-upload-surface {
  border: 1px dashed rgba(31, 41, 51, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.quote-upload-header {
  display: grid;
  gap: 12px;
}

.quote-upload-copy {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.08);
}

.quote-upload-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6670;
}

.quote-upload-help {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5b6670;
}

.quote-upload-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.quote-upload-summary {
  margin: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.08);
  font-size: 14px;
  line-height: 1.7;
  color: #5b6670;
}

.quote-upload-widget {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.quote-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1f2933;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.quote-upload-button:hover,
.quote-upload-button:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
  outline: none;
}

.quote-upload-gallery {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.06);
}

.quote-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.quote-upload-empty {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5b6670;
}

.quote-upload-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
}

.quote-upload-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.quote-upload-name,
.quote-upload-size {
  margin: 0;
  min-width: 0;
  color: #5b6670;
}

.quote-upload-name {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  word-break: break-word;
  color: #1f2933;
}

.quote-upload-size {
  font-size: 12px;
  line-height: 1.5;
}

.quote-upload-remove {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #cf6425;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.quote-upload-remove:hover,
.quote-upload-remove:focus-visible {
  color: #9f4717;
  outline: none;
}

.quote-input,
.quote-select,
.quote-textarea {
  width: 100%;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 18px;
  background: #ffffff;
  color: #1f2933;
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-input:focus,
.quote-select:focus,
.quote-textarea:focus {
  border-color: rgba(255, 132, 52, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 121, 55, 0.14);
}

.quote-textarea {
  min-height: 160px;
  resize: vertical;
}

.quote-form-foot {
  display: grid;
  justify-items: center;
  gap: 10px;
}

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

.quote-form-note,
.quote-form-status {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5b6670;
}

.quote-submit {
  justify-self: center;
  min-width: 168px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #ff8434;
  color: #ffffff;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.quote-submit:hover,
.quote-submit:focus-visible {
  background: #d45d1f;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(102, 44, 0, 0.14);
  outline: none;
}

@media (max-width: 980px) {
  .quote-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .main-shell {
    width: min(100%, calc(100vw - 28px));
    padding-left: 14px;
    padding-right: 14px;
  }

  .main-stage-top {
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .main-brand-lockup {
    position: static;
    transform: none;
  }

  .main-page .site-nav {
    gap: 12px 20px;
    justify-self: center;
  }

}

@media (max-width: 720px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .quote-upload-summary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .main-page .page {
    padding-top: 24px;
  }

  .main-shell {
    width: min(100%, calc(100vw - 20px));
    min-height: auto;
  }

  .main-page .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .main-stage-top {
    justify-items: stretch;
  }

  .main-corner-anchor {
    display: none;
  }

  .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);
  }

  .quote-panel {
    padding: 22px 18px;
  }

  .quote-upload-shell,
  .quote-form-card {
    padding-left: 0;
    padding-right: 0;
  }
}

.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; }

/* Give phones and portrait tablets usable form space without nested gutters. */
@media (max-width: 960px) {
  .main-shell {
    width: min(680px, calc(100% - 32px));
    min-height: auto;
    padding-inline: 0;
  }

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

  .quote-copy,
  .quote-form-card,
  .quote-field,
  .quote-upload-surface,
  .quote-upload-gallery {
    min-width: 0;
  }

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

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

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

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

  .quote-textarea {
    min-height: 180px;
  }

  .quote-upload-surface,
  .quote-upload-copy,
  .quote-upload-gallery {
    padding: 12px;
  }

  .quote-upload-preview {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }

  .quote-upload-remove {
    min-height: 44px;
    padding: 8px 12px;
  }

  .quote-file-input:focus-visible + .quote-upload-surface .quote-upload-button {
    outline: 2px solid #1f2933;
    outline-offset: 3px;
  }

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

  .quote-admin-shortcut {
    position: relative;
    left: auto;
    bottom: auto;
    justify-self: start;
    min-height: 44px;
  }
}
