/* ============================================================
   MTVan Can LLC — Courier Groupage for Regional Trade
   css/style.css
   Dark magazine ledger theme. Single centered 760px column.
   Palette: Route Amber accent on VAN BAY dusk grey.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #212528;
  color: #EFF1F3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---- Shared reveal states (safe without JavaScript) ---- */

.magazine-section {
  opacity: 1;
  visibility: visible;
}

.magazine-section.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.magazine-section.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease-out, visibility 700ms ease-out;
}

noscript .magazine-section {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---- Centered main gate ---- */

.masthead {
  display: block;
}

.magazine-wrap {
  display: block;
}

.site-column {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Pure typography masthead billboard ---- */

.masthead-panel {
  padding: 160px 0 96px;
  text-align: center;
}

.masthead-kicker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #858D96;
  display: block;
}

.masthead-title {
  margin: 40px 0 0;
  font-size: 68px;
  line-height: 1.02;
  font-weight: 400;
  color: #EFF1F3;
  letter-spacing: -1px;
}

.masthead-title em {
  font-style: italic;
  color: #D89A44;
}

.masthead-flow {
  margin: 48px 0 0;
  font-size: 22px;
  line-height: 1.6;
  color: #858D96;
  font-style: italic;
}

.masthead-hairline {
  width: 120px;
  height: 1px;
  background-color: #D89A44;
  margin: 64px auto 0;
}

/* ---- Rotated run stamp ---- */

.masthead-rule {
  display: block;
}

.stamp-context {
  position: relative;
  height: 120px;
  display: block;
}

.run-stamp {
  position: absolute;
  right: 0;
  top: 40px;
  transform: rotate(-7deg);
  border: 2px solid #D89A44;
  color: #D89A44;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  display: block;
}

/* ---- Folio dividers ---- */

.folio-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 96px 0 56px;
}

.folio-rule {
  flex: 1;
  height: 1px;
  background-color: #2A2F34;
}

.folio-rule.is-heavy {
  background-color: #D89A44;
}

.folio-numeral {
  color: #D89A44;
  font-size: 15px;
  letter-spacing: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

/* ---- Editable prose ---- */

.editorial-prose {
  margin: 0;
}

.editorial-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: #EFF1F3;
  margin: 0 0 20px;
}

.editorial-standfirst {
  font-size: 20px;
  color: #858D96;
  font-style: italic;
  margin: 0 0 28px;
}

.editorial-body {
  text-align: justify;
}

.editorial-body p {
  margin: 0 0 24px;
}

.editorial-body p:first-of-type::first-letter {
  color: #D89A44;
  font-size: 52px;
  float: left;
  line-height: 1;
  padding-top: 6px;
  padding-right: 10px;
  font-style: italic;
  font-weight: 700;
}

.dropcap-line::first-letter {
  color: #D89A44;
  font-size: 52px;
  float: left;
  line-height: 1;
  padding-top: 6px;
  padding-right: 10px;
  font-style: italic;
  font-weight: 700;
}

.editorial-body a {
  color: #D89A44;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Pull quote ---- */

.pull-quote {
  margin: 56px 0;
  padding-left: 0;
}

.pull-quote-text {
  font-size: 28px;
  line-height: 1.4;
  font-style: italic;
  color: #EFF1F3;
  border-left: 3px solid #D89A44;
  padding-left: 28px;
  margin: 0;
}

.pull-quote-source {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #858D96;
  margin-top: 20px;
  padding-left: 31px;
}

/* ---- Two column mini list (section 04) ---- */

.manifest-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 48px;
}

.manifest-entry {
  break-inside: avoid;
  padding: 14px 0 14px 24px;
  position: relative;
  color: #F5F1E6;
  font-size: 16px;
  border-top: 1px solid #2A2F34;
}

.manifest-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D89A44;
}

.manifest-entry strong {
  color: #EFF1F3;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
}

/* ---- Paragraph lead for continuing pages ---- */

.lead-body {
  margin: 0;
}

/* ============================================================
   Page footer — anchor strip + single centered text block.
   ============================================================ */

.sheet-end {
  margin: 112px 0 0;
  position: relative;
  z-index: 1;
}

.end-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 40px;
}

.footer-anchor-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  margin: 0 0 48px;
  list-style: none;
  padding: 0;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
}

.footer-anchor-link a {
  color: #D89A44;
  text-decoration: none;
  border-bottom: 1px solid #2A2F34;
  padding-bottom: 4px;
}

.footer-anchor-link a:hover {
  border-bottom-color: #D89A44;
}

.footer-end-block {
  text-align: center;
  font-size: 15px;
  color: #858D96;
  position: relative;
  z-index: 1;
}

.footer-brand {
  color: #EFF1F3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 12px;
}

.footer-end-block p {
  margin: 6px 0;
}

.footer-end-block a {
  color: #D89A44;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.depot-lettering {
  color: #D89A44;
}

/* ---- no wasted bottom padding: content ends cleanly ---- */

.footer-end-block {
  padding-bottom: 96px;
}

/* ============================================================
   Go-to-top round button (the only fixed element).
   Never hidden behind bottom floating bars — none exist.
   ============================================================ */

.go-top {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #D89A44;
  background-color: #17191C;
  color: #D89A44;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 50;
}

.go-top.is-shown {
  display: block;
}

/* ---- Contact form as a waybill sheet ---- */

.waybill-form {
  margin: 48px 0 0;
  background-color: #2A2F34;
  border-top: 3px solid #D89A44;
  padding: 36px;
}

.waybill-title {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #858D96;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 28px;
  border-bottom: 1px solid #858D96;
  padding-bottom: 16px;
}

.waybill-field {
  margin-bottom: 20px;
  display: block;
}

.waybill-label {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #858D96;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
}

.waybill-input {
  width: 100%;
  background-color: #17191C;
  color: #EFF1F3;
  border: 1px solid #858D96;
  padding: 12px 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.waybill-input:focus {
  outline: none;
  border-color: #D89A44;
}

.waybill-area {
  width: 100%;
  min-height: 130px;
  background-color: #17191C;
  color: #EFF1F3;
  border: 1px solid #858D96;
  padding: 12px 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  resize: vertical;
}

.waybill-area:focus {
  outline: none;
  border-color: #D89A44;
}

.waybill-submit {
  background-color: #D89A44;
  color: #17191C;
  border: none;
  padding: 14px 30px;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: Georgia, "Times New Roman", serif;
  cursor: pointer;
}

.waybill-submit:hover {
  background-color: #EFF1F3;
}

.waybill-note {
  font-size: 14px;
  color: #858D96;
  margin-top: 20px;
  text-align: justify;
}

/* ---- Simple responsive care ---- */

@media (max-width: 640px) {
  .masthead-title {
    font-size: 44px;
  }

  .manifest-list {
    columns: 1;
  }

  .run-stamp {
    position: static;
    margin: 40px auto 0;
    transform: rotate(-7deg);
  }
}
