/* ==========================================================================
   DM Fencing - site styles
   Bootstrap 5.3 (CDN, dark theme) handles the reset, buttons and form controls.
   Everything below is the DM look on top of it: black, steel-grey lines and the
   yellow lifted straight out of the logo.
   ========================================================================== */

:root {
  /* brand */
  --dm-yellow: #F8C517;
  --dm-yellow-dk: #D9A800;
  --dm-yellow-soft: rgba(248, 197, 23, .1);

  /* surfaces */
  --dm-ink: #0B0B0C;
  --dm-panel: #141416;
  --dm-panel-2: #1A1A1D;
  --dm-line: #27272B;
  --dm-line-2: #34343A;

  /* type */
  --dm-paper: #EDEDEC;
  --dm-mute: #9B9BA1;
  --dm-dim: #6D6D74;

  --dm-max: 1200px;
  --dm-radius: 6px;
  --dm-ease: cubic-bezier(.4, 0, .2, 1);

  /* Header is tall at rest so the logo lockup has room, compact once scrolling. */
  --dm-nav-h: 108px;
  --dm-nav-h-min: 74px;
  --dm-logo-h: 66px;
  --dm-logo-h-min: 46px;

  --dm-display: 'Archivo', system-ui, sans-serif;
  --dm-body: 'Inter', system-ui, sans-serif;
  --dm-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* Bootstrap token overrides - keeps native components on-brand. */
[data-bs-theme="dark"] {
  --bs-body-bg: var(--dm-ink);
  --bs-body-color: var(--dm-paper);
  --bs-body-font-family: var(--dm-body);
  --bs-border-color: var(--dm-line);
  --bs-emphasis-color: var(--dm-paper);
  --bs-secondary-color: var(--dm-mute);
  --bs-link-color: var(--dm-yellow);
  --bs-link-hover-color: var(--dm-yellow-dk);
  --bs-primary: var(--dm-yellow);
  --bs-primary-rgb: 248, 197, 23;
  --bs-focus-ring-color: rgba(248, 197, 23, .35);
}

/* --------------------------------------------------------------- base ---- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* The header is fixed, so reserve its height here - shrinking it then costs
     no reflow and can't jolt the scroll position. */
  padding-top: var(--dm-nav-h);
}

::selection {
  background: var(--dm-yellow);
  color: var(--dm-ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--dm-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--dm-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--dm-display);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 18px;
}

section {
  padding: 96px 0;
  border-top: 1px solid var(--dm-line);
}

.sec-tag {
  font-family: var(--dm-mono);
  font-size: 11px;
  color: var(--dm-dim);
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.eyebrow {
  font-family: var(--dm-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dm-yellow);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow::after {
  content: "";
  height: 1px;
  flex: 0 0 44px;
  background: var(--dm-line-2);
}

.lede {
  color: var(--dm-mute);
  max-width: 660px;
  font-size: 17.5px;
}

.muted { color: var(--dm-mute); }
.dim { color: var(--dm-dim); }

/* ------------------------------------------------------------- buttons ---- */

.btn {
  --bs-btn-font-family: var(--dm-display);
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: 15px;
  --bs-btn-padding-y: 12px;
  --bs-btn-padding-x: 22px;
  --bs-btn-border-radius: var(--dm-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-yellow {
  --bs-btn-color: #0B0B0C;
  --bs-btn-bg: var(--dm-yellow);
  --bs-btn-border-color: var(--dm-yellow);
  --bs-btn-hover-color: #0B0B0C;
  --bs-btn-hover-bg: var(--dm-yellow-dk);
  --bs-btn-hover-border-color: var(--dm-yellow-dk);
  --bs-btn-active-bg: var(--dm-yellow-dk);
  --bs-btn-active-border-color: var(--dm-yellow-dk);
  --bs-btn-disabled-color: #0B0B0C;
  --bs-btn-disabled-bg: var(--dm-yellow);
  --bs-btn-disabled-border-color: var(--dm-yellow);
}

.btn-outline-steel {
  --bs-btn-color: var(--dm-paper);
  --bs-btn-border-color: var(--dm-line-2);
  --bs-btn-hover-color: var(--dm-yellow);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--dm-yellow);
  --bs-btn-active-color: var(--dm-yellow);
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: var(--dm-yellow);
}

.btn-sm {
  --bs-btn-padding-y: 9px;
  --bs-btn-padding-x: 16px;
  --bs-btn-font-size: 14px;
}

/* -------------------------------------------------------------- header ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(20, 20, 22, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dm-line);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--dm-nav-h);
  transition: height .3s var(--dm-ease);
}

.site-header.shrink .site-nav { height: var(--dm-nav-h-min); }

.logo-img {
  height: var(--dm-logo-h);
  width: auto;
  object-fit: contain;
  transition: height .3s var(--dm-ease);
}

.site-header.shrink .logo-img { height: var(--dm-logo-h-min); }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dm-mute);
  white-space: nowrap;
}

.nav-links a { color: var(--dm-mute); }
.nav-links a:hover { color: var(--dm-paper); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--dm-line-2);
  border-radius: var(--dm-radius);
  padding: 8px 10px;
  color: var(--dm-paper);
  cursor: pointer;
}

.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }

  .site-nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--dm-panel-2);
    border-bottom: 1px solid var(--dm-line);
    padding: 8px 24px 16px;
  }

  .site-nav.open .nav-links a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--dm-line);
    width: 100%;
  }
}

@media (max-width: 600px) {
  :root {
    --dm-nav-h: 84px;
    --dm-nav-h-min: 66px;
    --dm-logo-h: 48px;
    --dm-logo-h-min: 38px;
  }
  .nav-cta .btn-label { display: none; }
  .nav-cta .btn { --bs-btn-padding-x: 12px; }
  .wrap { padding: 0 18px; }
  section { padding: 72px 0; }
}

/* ---------------------------------------------------------------- hero ---- */

.hero {
  border-top: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 80% 6%, rgba(248, 197, 23, .09), transparent 62%),
    linear-gradient(180deg, #0B0B0C 0%, #121214 100%);
}

.hero .wrap { position: relative; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - var(--dm-nav-h));
  max-height: 880px;
  padding: 64px 0;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--dm-yellow);
}

.hero p.hero-lede {
  color: var(--dm-mute);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--dm-mono);
  font-size: 12.5px;
  color: var(--dm-dim);
  letter-spacing: .04em;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--dm-yellow);
}

/* Hero image plate with the stat card notched into its corner. */
.hero-media { position: relative; }

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
}

.hero-stat {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--dm-panel);
  border: 1px solid var(--dm-line-2);
  border-left: 3px solid var(--dm-yellow);
  border-radius: var(--dm-radius);
  padding: 16px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.hero-stat b {
  display: block;
  font-family: var(--dm-display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--dm-yellow);
}

.hero-stat span {
  font-family: var(--dm-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dm-dim);
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
    padding: 56px 0 64px;
  }
  .hero-media { max-width: 640px; }
  .hero-stat { left: 0; }
}

/* --------------------------------------------------------- trust strip ---- */

.trust {
  padding: 0;
  border-top: 1px solid var(--dm-line);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-cell {
  padding: 26px 22px;
  border-right: 1px solid var(--dm-line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-cell:last-child { border-right: none; }

.trust-cell svg {
  width: 20px;
  height: 20px;
  color: var(--dm-yellow);
  flex-shrink: 0;
  margin-top: 3px;
}

.trust-cell h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.trust-cell p {
  font-size: 13.5px;
  color: var(--dm-dim);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 940px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-cell { border-bottom: 1px solid var(--dm-line); }
  .trust-cell:nth-child(2n) { border-right: none; }
}

@media (max-width: 560px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-cell { border-right: none; }
}

/* ------------------------------------------------------------ services ---- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.svc {
  background: var(--dm-panel);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  transition: border-color .18s, transform .18s;
}

.svc:hover {
  border-color: var(--dm-yellow);
  transform: translateY(-3px);
  color: inherit;
}

.svc > svg {
  width: 26px;
  height: 26px;
  color: var(--dm-yellow);
}

.svc h3 {
  font-size: 17px;
  margin: 6px 0 0;
}

.svc p {
  font-size: 14px;
  color: var(--dm-mute);
  flex: 1;
  margin: 0;
}

.svc .more {
  font-family: var(--dm-mono);
  font-size: 12px;
  color: var(--dm-dim);
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.svc .more svg { width: 13px; height: 13px; }
.svc:hover .more { color: var(--dm-yellow); }

@media (max-width: 1020px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- gallery ---- */

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.gal-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dm-panel-2);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
  cursor: zoom-in;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--dm-ease);
}

.gal-item:hover { border-color: var(--dm-yellow); }
.gal-item:hover img { transform: scale(1.04); }

/* Caption sits on the photo - the grid stays a clean run of tiles. */
.gal-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--dm-paper);
  background: linear-gradient(180deg, transparent, rgba(11, 11, 12, .88) 62%);
}

.gal-note {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--dm-dim);
}

@media (max-width: 1020px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gal-grid { grid-template-columns: 1fr; } }

/* Lightbox - built here rather than pulled in, so there's still no JS deps. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 7, .94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--dm-ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  margin: 0;
  max-width: 1100px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--dm-line-2);
  border-radius: var(--dm-radius);
}

.lightbox figcaption {
  font-family: var(--dm-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--dm-mute);
  text-align: center;
}

.lb-btn {
  position: absolute;
  background: rgba(20, 20, 22, .9);
  border: 1px solid var(--dm-line-2);
  border-radius: var(--dm-radius);
  color: var(--dm-paper);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  font-size: 22px;
  font-family: var(--dm-display);
}

.lb-btn:hover { border-color: var(--dm-yellow); color: var(--dm-yellow); }

.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* --------------------------------------------------------------- about ---- */

.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 60px;
  align-items: start;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
}

.about-badge {
  position: absolute;
  right: -16px;
  bottom: 28px;
  background: var(--dm-yellow);
  color: var(--dm-ink);
  border-radius: var(--dm-radius);
  padding: 14px 20px;
  font-family: var(--dm-display);
  font-weight: 700;
  line-height: 1.15;
  max-width: 190px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.about-badge span {
  display: block;
  font-family: var(--dm-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 2px;
}

.about-copy p {
  color: var(--dm-mute);
  margin-bottom: 18px;
}

.about-copy p strong {
  color: var(--dm-paper);
  font-weight: 600;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--dm-line);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
  overflow: hidden;
  margin-top: 32px;
}

.about-facts div {
  background: var(--dm-panel);
  padding: 18px 20px;
}

.about-facts b {
  display: block;
  font-family: var(--dm-display);
  font-size: 24px;
  color: var(--dm-yellow);
  line-height: 1.2;
}

.about-facts span {
  font-size: 13px;
  color: var(--dm-dim);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-media { max-width: 520px; }
  .about-badge { right: 0; }
}

/* -------------------------------------------------------- testimonials ---- */

.tst-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.tst {
  background: var(--dm-panel);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
  padding: 28px 28px 24px;
  position: relative;
}

.tst > .mark {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 26px;
  height: 26px;
  color: var(--dm-line-2);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--dm-yellow);
}

.stars .star { width: 15px; height: 15px; }

.tst blockquote {
  font-size: 15.5px;
  color: var(--dm-paper);
  margin: 0 0 18px;
  max-width: 52ch;
}

.tst figcaption {
  font-family: var(--dm-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dm-dim);
  border-top: 1px solid var(--dm-line);
  padding-top: 14px;
}

.tst figcaption b {
  color: var(--dm-paper);
  font-weight: 500;
}

@media (max-width: 780px) { .tst-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- process ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--dm-line);
}

.step {
  padding: 30px 26px 8px 0;
  border-right: 1px solid var(--dm-line);
  position: relative;
}

.step:last-child { border-right: none; }

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--dm-yellow);
}

.step .num {
  font-family: var(--dm-mono);
  font-size: 12px;
  color: var(--dm-yellow);
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}

.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--dm-mute); margin: 0; }

@media (max-width: 940px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; padding-right: 20px; }
}

@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.card-panel {
  background: var(--dm-panel);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
  padding: 30px;
}

.contact-line {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--dm-line);
}

.contact-line:last-child { border-bottom: none; }

.contact-line svg {
  width: 19px;
  height: 19px;
  color: var(--dm-yellow);
  flex-shrink: 0;
}

.contact-line a { color: var(--dm-paper); }
.contact-line a:hover { color: var(--dm-yellow); }

.contact-line small {
  display: block;
  font-family: var(--dm-mono);
  font-size: 11px;
  color: var(--dm-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dm-mute);
  margin-bottom: 7px;
}

.field .form-control,
.field .form-select {
  background: var(--dm-ink);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-radius);
  padding: 12px 14px;
  color: var(--dm-paper);
  font-size: 15px;
}

.field .form-control:focus,
.field .form-select:focus {
  background: var(--dm-ink);
  border-color: var(--dm-yellow);
  box-shadow: none;
  color: var(--dm-paper);
}

.field textarea.form-control { min-height: 112px; resize: vertical; }

.form-note {
  font-size: 12.5px;
  color: var(--dm-dim);
  margin: 12px 0 0;
}

.form-note.ok { color: var(--dm-yellow); }
.form-note.err { color: #E07A5F; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* -------------------------------------------------------------- footer ---- */

.site-footer {
  border-top: 1px solid var(--dm-line);
  padding: 56px 0 36px;
  background: #08080A;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.foot-grid h3 {
  font-family: var(--dm-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--dm-dim);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--dm-mute);
}

.foot-grid ul a { color: var(--dm-mute); }
.foot-grid ul a:hover { color: var(--dm-yellow); }

.foot-brand img { width: 210px; height: auto; }

.foot-brand p {
  color: var(--dm-dim);
  font-size: 14px;
  max-width: 300px;
  margin-top: 14px;
}

.foot-bottom {
  border-top: 1px solid var(--dm-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--dm-mono);
  font-size: 12px;
  color: var(--dm-dim);
  letter-spacing: .05em;
}

@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- sticky mobile ---- */

/* Phone-only call bar. The single most valuable action on a trade site. */
.call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: var(--dm-yellow);
  color: var(--dm-ink);
  font-family: var(--dm-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  text-align: center;
  border-top: 1px solid var(--dm-yellow-dk);
}

.call-bar:hover, .call-bar:focus { color: var(--dm-ink); }
.call-bar svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 8px; }

@media (max-width: 600px) {
  .call-bar { display: block; }
  .site-footer { padding-bottom: 84px; }
}

/* --------------------------------------------------------------- reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
