/* ==========================================================================
   QUALITY CONTENTS LLC — DESIGN SYSTEM
   Derived from docs/STYLE-GUIDE.md. Injected site-wide as an Elementor
   custom-code snippet (elementor_head). All rules scoped under .qc so the
   Astra defaults elsewhere stay untouched.
   ========================================================================== */

:root {
  /* Brand — from the Brooks Brannon logo LD-8064 */
  --qc-logo-black:  #000000;   /* logo mark only, never UI */
  --qc-cyan:        #13AEF0;   /* shapes, rules, icon strokes, hover */
  --qc-cyan-deep:   #0A7FB4;   /* ANY cyan carrying text — AA safe */
  --qc-cyan-press:  #08689A;

  /* Supporting */
  --qc-ink:         #0B0D0F;
  --qc-bone:        #F6F2EA;
  --qc-manila:      #D9BD92;
  --qc-slate:       #5C6B75;
  --qc-rule:        #DCD5C8;
  --qc-ember:       #B4522E;   /* dispatch bar only */

  --qc-font-head: 'Source Serif 4', Georgia, serif;
  --qc-font-body: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

  --qc-max: 1200px;
  --qc-pad: clamp(1.25rem, 4vw, 2rem);
  --qc-band: clamp(3.5rem, 8vw, 6rem);
}

/* --------------------------------------------------------------- base ---- */
.qc { background: var(--qc-bone); color: var(--qc-ink); font-family: var(--qc-font-body); font-size: 1.0625rem; line-height: 1.7; }
.qc h1, .qc h2, .qc h3, .qc h4 { font-family: var(--qc-font-head); font-weight: 600; line-height: 1.12; color: var(--qc-ink); }
.qc h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.08; letter-spacing: -0.015em; }
.qc h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.qc h3 { font-size: 1.375rem; }
.qc p  { max-width: 68ch; }
.qc a  { color: var(--qc-cyan-deep); text-underline-offset: 3px; }
.qc a:hover { color: var(--qc-cyan-press); }

/* -------------------------------------------------------------- layout --- */
.qc-band { padding: var(--qc-band) var(--qc-pad); }
.qc-band--ink   { background: var(--qc-ink); color: var(--qc-bone); }
.qc-band--ink h1, .qc-band--ink h2, .qc-band--ink h3 { color: var(--qc-bone); }
.qc-band--ink p { color: #C9D1D6; }
.qc-inner { max-width: var(--qc-max); margin-inline: auto; }
.qc-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 700px)  { .qc-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .qc-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------- the inventory-tag motif -- */
/* The signature device: a manila shipping tag with a clipped corner.
   CSS clip-path, no images. Used for kickers, step numbers, card corners. */
.qc-tag {
  display: inline-block;
  background: var(--qc-manila);
  color: var(--qc-ink);
  font-family: var(--qc-font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  padding: 0.5rem 0.875rem 0.5rem 1rem;
  clip-path: polygon(0.75rem 0, 100% 0, 100% 100%, 0 100%, 0 0.75rem);
}
.qc-kicker {
  font-family: var(--qc-font-body);
  font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--qc-slate);
  display: flex; align-items: center; gap: 0.75rem;
}
.qc-kicker::after { content: ""; flex: 1; height: 1px; background: var(--qc-rule); }
.qc-band--ink .qc-kicker { color: var(--qc-manila); }
.qc-band--ink .qc-kicker::after { background: rgba(217,189,146,0.3); }

/* ------------------------------------------------------------- buttons --- */
.qc-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--qc-font-body); font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.6rem; border-radius: 2px; border: 2px solid transparent;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
/* NOTE: these must out-specify `.qc a`, or the link colour wins and button
   text renders in the same colour as its own fill (invisible). */
.qc a.qc-btn--primary { background: var(--qc-cyan-deep); color: var(--qc-bone); }
.qc a.qc-btn--primary:hover { background: var(--qc-cyan-press); color: var(--qc-bone); }
.qc a.qc-btn--ghost { background: transparent; color: var(--qc-ink); border-color: var(--qc-ink); }
.qc a.qc-btn--ghost:hover { background: var(--qc-ink); color: var(--qc-bone); }
.qc-band--ink a.qc-btn--ghost { color: var(--qc-bone); border-color: var(--qc-bone); }
.qc-band--ink a.qc-btn--ghost:hover { background: var(--qc-bone); color: var(--qc-ink); }
.qc .qc-dispatch a { color: var(--qc-bone); }

/* --------------------------------------------------------------- cards --- */
/* Flat, printed, catalog-like. Hairline rules instead of shadows.
   2px radius = archival box, not app UI. */
.qc-card {
  background: transparent;
  border: 1px solid var(--qc-rule);
  border-radius: 2px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  position: relative;
}
.qc-card::before {           /* manila corner flag */
  content: ""; position: absolute; top: 0; left: 0;
  width: 1.5rem; height: 1.5rem; background: var(--qc-manila);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.qc-card h3 { margin-top: 0.5rem; }
.qc-band--ink .qc-card { border-color: rgba(246,242,234,0.18); }

/* ------------------------------------------------ "what happens next" ---- */
/* Highest-value component on the site: replaces uncertainty with sequence. */
.qc-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.qc-steps::before {
  content: ""; position: absolute; left: 1.125rem; top: 0.5rem; bottom: 0.5rem;
  width: 1px; background: var(--qc-rule);
}
.qc-band--ink .qc-steps::before { background: rgba(246,242,234,0.2); }
.qc-step { position: relative; padding-left: 3.75rem; padding-bottom: 2rem; }
.qc-step:last-child { padding-bottom: 0; }
.qc-step__num {
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: var(--qc-manila); color: var(--qc-ink);
  font-weight: 600; font-size: 0.8125rem; font-variant-numeric: tabular-nums;
  clip-path: polygon(0.5rem 0, 100% 0, 100% 100%, 0 100%, 0 0.5rem);
}
.qc-step h3 { font-size: 1.125rem; margin: 0 0 0.25rem; }
.qc-step p { margin: 0; font-size: 0.9375rem; }

/* -------------------------------------------------------- dispatch bar --- */
.qc-dispatch {
  background: var(--qc-ink); color: var(--qc-bone);
  border-bottom: 2px solid var(--qc-manila);
  font-size: 0.875rem; padding: 0.625rem var(--qc-pad);
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  flex-wrap: wrap; text-align: center;
}
.qc-dispatch a { color: var(--qc-bone); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.qc-dispatch__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--qc-ember); flex: none; }

/* --------------------------------------------------------------- misc ---- */
.qc-rule { height: 1px; background: var(--qc-rule); border: 0; margin: var(--qc-band) 0; }
.qc-lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.6; color: var(--qc-slate); }
.qc-band--ink .qc-lede { color: #C9D1D6; }
.qc img { max-width: 100%; height: auto; }

/* Trust/review blocks render nothing until real content exists.
   No placeholder stars, no fabricated testimonials. */
.qc-trust:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .qc *, .qc *::before, .qc *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------- theme header tidy-up --
   Interim: Astra was rendering the logo at ~450px tall and showing the site
   tagline in the masthead. Proper fix is an Elementor Theme Builder header;
   this keeps the preview readable until that's built. */
.site-header .custom-logo-link img,
.ast-site-identity .custom-logo-link img { max-height: 68px; width: auto; }
.site-header .site-description, .ast-site-identity .site-description { display: none; }
.site-header .site-title { font-family: var(--qc-font-head); }
.main-header-menu a, .ast-header-break-point .main-header-menu a { color: var(--qc-ink); }
.main-header-menu .current-menu-item > a { color: var(--qc-cyan-deep); }

/* ----------------------------------------------------------- photo hero --
   Full-bleed photograph with a left-weighted ink scrim so headline copy keeps
   AA contrast over a busy image. Focal point sits right-of-centre (the trucks),
   so the gradient is heaviest on the left where the type lives. */
.qc-hero {
  position: relative;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
.qc-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(11,13,15,0.95) 0%,
    rgba(11,13,15,0.88) 38%,
    rgba(11,13,15,0.62) 62%,
    rgba(11,13,15,0.34) 100%);
}
.qc-hero > * { position: relative; z-index: 1; }
.qc-hero h1 { color: var(--qc-bone); }
.qc-hero .qc-lede { color: #D8DEE2; }
.qc-hero .qc-kicker { color: var(--qc-manila); }
.qc-hero .qc-kicker::after { background: rgba(217,189,146,0.35); }
.qc-hero .qc-meta { color: #B9C3C9 !important; }
.qc-hero a.qc-btn--ghost { color: var(--qc-bone); border-color: var(--qc-bone); }
.qc-hero a.qc-btn--ghost:hover { background: var(--qc-bone); color: var(--qc-ink); }
@media (max-width: 700px) {
  .qc-hero::before { background: linear-gradient(180deg, rgba(11,13,15,0.90) 0%, rgba(11,13,15,0.86) 60%, rgba(11,13,15,0.80) 100%); }
}

/* Astra's default menu link colour is a magenta/pink that clashes with the
   brand. Astra's own selectors out-specify the earlier rule, hence !important. */
.ast-builder-menu .menu-item > a.menu-link,
.ast-builder-menu-1 .main-header-menu .menu-item > a,
.site-header .main-header-menu .menu-link,
header.site-header .menu-item > a { color: var(--qc-ink) !important; font-family: var(--qc-font-body); font-weight: 600; }
.ast-builder-menu .menu-item > a.menu-link:hover,
header.site-header .menu-item > a:hover { color: var(--qc-cyan-deep) !important; }
.ast-builder-menu .current-menu-item > a.menu-link { color: var(--qc-cyan-deep) !important; }

/* ========================================================== header ======= */
.qc-header {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  max-width: var(--qc-max); margin-inline: auto;
  padding: 1rem var(--qc-pad);
}
.qc-header__logo { display: flex; align-items: center; flex: none; }
.qc-header__logo img { height: 54px; width: auto; display: block; }
.qc-nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); margin-left: auto; flex-wrap: wrap; }
.qc-nav a {
  font-family: var(--qc-font-body); font-weight: 600; font-size: 0.9375rem;
  color: var(--qc-ink); text-decoration: none; letter-spacing: 0.01em;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.qc-nav a:hover { color: var(--qc-cyan-deep); border-bottom-color: var(--qc-cyan); }
.qc-header .qc-btn { flex: none; padding: 0.7rem 1.2rem; font-size: 0.9375rem; }
.qc-headerwrap { background: var(--qc-bone); border-bottom: 1px solid var(--qc-rule); }
@media (max-width: 880px) {
  .qc-header { flex-wrap: wrap; justify-content: center; text-align: center; }
  .qc-nav { margin-left: 0; width: 100%; justify-content: center; order: 3; }
  .qc-header__logo img { height: 44px; }
}

/* ========================================================== footer ======= */
.qc-footer { background: var(--qc-ink); color: #C9D1D6; }
.qc-footer__inner {
  max-width: var(--qc-max); margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--qc-pad) 2rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 760px)  { .qc-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1060px) { .qc-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.qc-footer h4 {
  font-family: var(--qc-font-body); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--qc-manila);
  margin: 0 0 1rem;
}
.qc-footer ul { list-style: none; margin: 0; padding: 0; }
.qc-footer li { margin-bottom: 0.5rem; font-size: 0.9375rem; line-height: 1.5; }
.qc-footer a { color: #C9D1D6; text-decoration: none; }
.qc-footer a:hover { color: var(--qc-bone); }
.qc-footer__logo { background: var(--qc-bone); display: inline-block; padding: 0.5rem 0.75rem; border-radius: 2px; }
.qc-footer__logo img { height: 46px; width: auto; display: block; }
.qc-footer__phone {
  font-family: var(--qc-font-head); font-size: 1.375rem; color: var(--qc-bone);
  font-variant-numeric: tabular-nums; display: inline-block; margin: 0.25rem 0;
}
.qc-footer__creds { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--qc-manila); font-weight: 600; }
.qc-footer__bar {
  border-top: 1px solid rgba(246,242,234,0.14);
  max-width: var(--qc-max); margin-inline: auto;
  padding: 1.25rem var(--qc-pad) 2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8125rem; color: #8A969E;
}

/* Astra's own header/footer are replaced by the Elementor templates; hide any
   residual theme chrome that Astra still prints. */
.ast-main-header-wrap, .site-above-header-wrap, .site-below-header-wrap { display: none; }

/* The logo asset is a JPEG on white, so a bone header leaves a visible white
   card around it. White header background makes the mark sit flush. Replace
   with a transparent PNG/SVG later and this can revert to bone. */
.qc-headerwrap { background: #FFFFFF; }
.qc-header__logo img { mix-blend-mode: multiply; }
.qc-footer__logo { background: #FFFFFF; }

/* ------------------------------------------------- process: two columns --
   The step list ran full width and left the right half empty. Photo column
   sticks while the seven steps scroll past it. */
.qc-process-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) {
  .qc-process-grid { grid-template-columns: 1fr 0.82fr; }
  .qc-process-figure { position: sticky; top: 2rem; }
}
.qc-process-figure { margin: 0; }
.qc-process-figure img {
  width: 100%; display: block; border-radius: 2px;
  border: 1px solid var(--qc-rule);
}
.qc-process-figure figcaption {
  margin-top: 0.875rem; font-size: 0.8125rem; line-height: 1.5;
  color: var(--qc-slate); border-left: 2px solid var(--qc-manila);
  padding-left: 0.75rem;
}

/* Centred sections: text-align alone leaves the 68ch-capped paragraphs pinned
   left, so the copy reads off-centre. Auto margins fix the block itself. */
.qc-center p, .qc-center h2, .qc-center .qc-lede { margin-left: auto; margin-right: auto; }
.qc-center .qc-kicker { justify-content: center; }
.qc-center .qc-kicker::after { display: none; }

/* ------------------------------------------------------ service-area map --
   Google's default map styling is far more saturated than the rest of the
   palette, so it's lightly desaturated to sit with the paper background. */
.qc-area-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .qc-area-grid { grid-template-columns: 0.9fr 1.1fr; } }
.qc-map {
  border: 1px solid var(--qc-rule); border-radius: 2px; overflow: hidden;
  aspect-ratio: 4 / 3; background: #E8E3D8;
}
.qc-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(0.4) contrast(1.03) brightness(1.02);
}
.qc-citylist { list-style: none; margin: 1.5rem 0 0; padding: 0; columns: 2; column-gap: 2rem; }
.qc-citylist li {
  font-size: 0.9375rem; padding: 0.4rem 0 0.4rem 0.9rem; position: relative;
  break-inside: avoid; border-bottom: 1px solid var(--qc-rule);
}
.qc-citylist li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; background: var(--qc-manila);
}
.qc-citylist li.is-hq { font-weight: 600; }
.qc-citylist li.is-hq::before { background: var(--qc-cyan); }
@media (max-width: 520px) { .qc-citylist { columns: 1; } }

/* --------------------------------------------------------- service pages -- */
.qc-faq { border-top: 1px solid rgba(246,242,234,0.16); padding: 1.5rem 0; max-width: 78ch; }
.qc-faq:last-child { border-bottom: 1px solid rgba(246,242,234,0.16); }
.qc-faq h3 { font-size: 1.125rem; margin: 0 0 0.5rem; }
.qc-faq p { margin: 0; }
.qc-band:not(.qc-band--ink) .qc-faq { border-color: var(--qc-rule); }
.qc-otherlist {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center;
}
.qc-otherlist a { font-size: 0.9375rem; font-weight: 600; }

/* ------------------------------------------------------- nav dropdown ---- */
.qc-nav__item { position: relative; }
.qc-nav__panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #FFFFFF; border: 1px solid var(--qc-rule); border-radius: 2px;
  min-width: 19rem; padding: 0.5rem 0; margin-top: 0.5rem;
  list-style: none; opacity: 0; visibility: hidden; transition: opacity .12s;
  box-shadow: 0 12px 28px rgba(11,13,15,0.10); z-index: 60;
}
.qc-nav__item:hover .qc-nav__panel,
.qc-nav__item:focus-within .qc-nav__panel { opacity: 1; visibility: visible; }
.qc-nav__panel li a {
  display: block; padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 500;
  border-bottom: 0; white-space: nowrap;
}
.qc-nav__panel li a:hover { background: var(--qc-bone); color: var(--qc-cyan-deep); }
@media (max-width: 880px) {
  .qc-nav__panel { position: static; transform: none; opacity: 1; visibility: visible;
    border: 0; box-shadow: none; background: transparent; min-width: 0; padding: 0.25rem 0; }
  .qc-nav__panel li a { padding: 0.35rem 0; text-align: center; }
}
/* service cards on the homepage are links now */
a.qc-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
a.qc-card:hover { border-color: var(--qc-cyan); background: rgba(19,174,240,0.04); color: inherit; }
a.qc-card h3 { color: var(--qc-ink); }
a.qc-card p { color: var(--qc-slate); }
.qc-card__more { display:block; margin-top:0.75rem; font-size:0.8125rem; font-weight:600;
  letter-spacing:0.06em; text-transform:uppercase; color: var(--qc-cyan-deep); }

/* ------------------------------------------------------------- contact --- */
.qc-contactlist { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.qc-contactlist li {
  padding: 1rem 0; border-bottom: 1px solid var(--qc-rule);
  font-size: 0.9375rem; line-height: 1.6;
}
.qc-contactlist__label {
  display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--qc-slate); margin-bottom: 0.35rem;
}

/* The dropdown wrapper is a span, so it baseline-aligns differently to the
   plain anchors beside it. Force centre alignment across all nav children. */
.qc-nav { align-items: center; }
.qc-nav__item { display: inline-flex; align-items: center; }

/* ==================================================== Elementor Pro form == */
.qc-formband { background: var(--qc-bone); padding: var(--qc-band) 0; border-top: 1px solid var(--qc-rule); }
.qc-forminner { max-width: var(--qc-max); margin-inline: auto; padding: 2rem var(--qc-pad) 0; }
.qc-formband .elementor-field-group > label {
  font-family: var(--qc-font-body); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--qc-slate);
  margin-bottom: 0.4rem;
}
.qc-formband .elementor-field-textual {
  font-family: var(--qc-font-body); font-size: 1rem; color: var(--qc-ink);
  background: #FFFFFF; border: 1px solid var(--qc-rule); border-radius: 2px;
  padding: 0.85rem 1rem; line-height: 1.5; width: 100%;
}
.qc-formband .elementor-field-textual:focus {
  border-color: var(--qc-cyan-deep); outline: 2px solid rgba(19,174,240,0.25); outline-offset: 1px;
}
.qc-formband .elementor-field-textual::placeholder { color: #9AA6AD; }
.qc-formband select.elementor-field-textual { appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--qc-slate) 50%),
                    linear-gradient(135deg, var(--qc-slate) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.qc-formband .elementor-button[type="submit"] {
  font-family: var(--qc-font-body); font-weight: 600; font-size: 1rem;
  background: var(--qc-cyan-deep); color: var(--qc-bone);
  border: 2px solid transparent; border-radius: 2px; padding: 0.9rem 1.6rem;
}
.qc-formband .elementor-button[type="submit"]:hover { background: var(--qc-cyan-press); color: var(--qc-bone); }
.qc-formband .elementor-message { font-family: var(--qc-font-body); font-size: 0.9375rem; }
.qc-formband .elementor-message.elementor-message-success { color: #245448; }
.qc-formband .elementor-message.elementor-message-danger { color: var(--qc-ember); }
.qc-formband .elementor-field-required .elementor-field-label:after { color: var(--qc-ember); }

/* ------------------------------------------------------- mobile nav fix --
   Below 880px the dropdown panel goes static. As an inline-flex row the
   "Services" label ended up vertically centred beside its own list. Stack
   the whole nav and indent the panel as a sub-list. */
@media (max-width: 880px) {
  .qc-nav { flex-direction: column; gap: 0.25rem; width: 100%; }
  .qc-nav > a { padding: 0.5rem 0; }
  .qc-nav__item { flex-direction: column; align-items: center; width: 100%; }
  .qc-nav__item > a { padding: 0.5rem 0; }
  .qc-nav__panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: 0; box-shadow: none; min-width: 0;
    margin: 0 0 0.5rem; padding: 0.25rem 0 0.5rem; width: 100%;
    border-top: 1px solid var(--qc-rule); border-bottom: 1px solid var(--qc-rule);
  }
  .qc-nav__panel li a {
    padding: 0.45rem 0; text-align: center; font-size: 0.875rem;
    color: var(--qc-slate);
  }
  .qc-header { row-gap: 0.5rem; }
  .qc-header .qc-btn { order: 2; }
  .qc-nav { order: 3; }
}

/* --------------------------------------------------- mobile menu toggle --
   The stacked nav ran ~660px tall on a 390px screen — most of a phone
   viewport before any content. Collapsed behind a toggle below 880px. */
.qc-navtoggle { display: none; }
@media (max-width: 880px) {
  .qc-navtoggle {
    display: inline-flex; align-items: center; gap: 0.5rem; order: 2;
    margin-left: auto; background: transparent; border: 1px solid var(--qc-rule);
    border-radius: 2px; padding: 0.6rem 0.9rem; cursor: pointer;
    font: 600 0.8125rem/1 'Archivo', sans-serif; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--qc-ink);
  }
  .qc-navtoggle__bars, .qc-navtoggle__bars::before, .qc-navtoggle__bars::after {
    display: block; width: 16px; height: 2px; background: var(--qc-ink); content: "";
  }
  .qc-navtoggle__bars { position: relative; }
  .qc-navtoggle__bars::before { position: absolute; top: -5px; }
  .qc-navtoggle__bars::after  { position: absolute; top: 5px; }
  .qc-navtoggle[aria-expanded="true"] { background: var(--qc-ink); color: var(--qc-bone); border-color: var(--qc-ink); }
  .qc-navtoggle[aria-expanded="true"] .qc-navtoggle__bars,
  .qc-navtoggle[aria-expanded="true"] .qc-navtoggle__bars::before,
  .qc-navtoggle[aria-expanded="true"] .qc-navtoggle__bars::after { background: var(--qc-bone); }

  .qc-nav { display: none; order: 4; }
  .qc-nav.is-open { display: flex; padding-top: 0.75rem; border-top: 1px solid var(--qc-rule); }
  .qc-header { flex-wrap: wrap; justify-content: space-between; }
  .qc-header__logo { order: 1; }
  .qc-header .qc-btn { order: 3; width: 100%; justify-content: center; }
}

/* portrait job photo (storage vault) — constrain height beside body copy */
.qc-figure--portrait img { max-height: 30rem; width: 100%; object-fit: cover; object-position: center; }
