/* Coal Creek Iron Works — Design Tokens */

:root {
  /* Brand palette (from Brand Guide) */
  --brand-dark:   #1A2222;        /* Iron — primary dark */
  --brand-orange: #D36528;        /* Forge orange — accent */
  --brand-mist:   #D9E5E5;        /* Cool mist — light cool */
  --brand-bone:   #F1F0E9;        /* Warm bone — primary light */
  --brand-white:  #FFFFFF;

  /* Tonal scale derived from the brand */
  --iron-900: #1A2222;
  --iron-800: #232C2C;
  --iron-700: #2E3838;
  --iron-600: #485151;
  --iron-500: #6A7272;
  --iron-400: #8E9494;
  --iron-300: #B6BBBB;
  --iron-200: #D9E5E5;
  --iron-100: #E8EDED;
  --bone:     #F1F0E9;
  --bone-dark:#E2DFD3;
  --paper:    #F6F4EC;

  /* Accent variants */
  --forge:    #D36528;
  --forge-dk: #B0521E;
  --forge-lt: #E8915A;
  --brass:    #9C7B3F;
  --brass-lt: #C9A86A;
  --oxblood:  #5C2018;
  --moss:     #4A5240;

  /* Semantic */
  --bg:           var(--paper);
  --bg-alt:       var(--bone);
  --bg-dark:      var(--iron-900);
  --bg-dark-alt:  var(--iron-800);
  --ink:          var(--iron-900);
  --ink-soft:     var(--iron-600);
  --ink-faint:    var(--iron-400);
  --ink-inverse:  var(--bone);
  --rule:         rgba(26, 34, 34, 0.12);
  --rule-strong:  rgba(26, 34, 34, 0.35);
  --rule-dark:    rgba(241, 240, 233, 0.14);
  --accent:       var(--forge);

  /* Type — Brand Guide:
     Header: Bicyclette Bold (substituted with Archivo) — geometric wide sans, all-caps
     Subheader: Glegoo Regular — slab serif
     Body: Aleo Regular — slab serif
     Eyebrow: Bicyclette Bold 14px / letter-spacing 20%
     Mono retained for metadata */
  --f-display: "Glegoo", "Aleo", Georgia, serif;
  --f-serif:   "Aleo", Georgia, serif;
  --f-body:    "Aleo", "Glegoo", Georgia, serif;
  --f-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --f-eyebrow: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  /* Layout */
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* Type utilities */
.eyebrow {
  font-family: var(--f-eyebrow);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.eyebrow .dash { color: var(--forge); margin-right: 6px; }

.display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.serif-headline {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.005em;
}

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; }

/* Paper texture — layered fibers + speckle + warm mottle on bone (#F1F0E9) */
.paper-bg {
  background-color: #F1F0E9;
  background-image:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.06 0 0 0 0 0.06 0 0 0 4 -2.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.008 1.2' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.30 0 0 0 0 0.34 0 0 0 0 0.34 0 0 0 0.35 -0.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.46 0 0 0 0 0.44 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #F6F4EC 0%, #EFEDE0 100%);
  background-size: 280px 280px, 700px 700px, 900px 900px, 100% 100%;
  background-blend-mode: multiply, multiply, multiply, normal;
}

.iron-bg {
  background-color: var(--iron-900);
  color: var(--ink-inverse);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.012) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Blueprint grid (for dark backgrounds) */
.blueprint-grid {
  background-image:
    linear-gradient(var(--rule-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-dark) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Vertical-only blueprint grid — subtler than the full grid */
.blueprint-grid-vertical {
  background-image: linear-gradient(90deg, rgba(241, 240, 233, 0.045) 1px, transparent 1px);
  background-size: 64px 100%;
}

/* Subtle paper — solid soft paper colour, no SVG texture. Use on sections
   that need to feel quieter than the body's textured paper-bg. */
.paper-bg-soft { background-color: var(--paper); }

/* Contact form chip — visual state tracks the wrapped input via :has().
   Active styling applies whether the input was checked server-side (server
   re-render after validation error) or by a client click. */
.chip-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip-toggle:hover {
  border-color: var(--forge);
  color: var(--forge);
}
.chip-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.chip-toggle:has(input:checked) {
  background: var(--forge);
  border-color: var(--forge);
  color: var(--bone);
}
.chip-toggle:focus-within {
  outline: 2px solid var(--forge-lt);
  outline-offset: 2px;
}

/* Validation error text under a form field */
.err {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--oxblood);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Hairline rule */
.hr-thin { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.hr-thin-dark { border: 0; border-top: 1px solid var(--rule-dark); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.6, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--ink); color: var(--bone); }

.btn-primary {
  background: var(--forge);
  color: var(--bone);
  border-color: var(--forge);
}
.btn-primary:hover { background: var(--forge-dk); border-color: var(--forge-dk); color: var(--bone); }

.btn-on-dark {
  color: var(--bone);
  border-color: var(--bone);
}
.btn-on-dark:hover { background: var(--bone); color: var(--ink); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Tag chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
  background: transparent;
}

/* Reveal animation utility — fade + lift, staggered by useRevealOnScroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.65, 0.3, 1),
    transform 0.95s cubic-bezier(0.2, 0.65, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Scroll behavior */
html { scroll-behavior: smooth; }

/* Selection */
::selection { background: var(--forge); color: var(--bone); }

/* =========================================================================
   Mobile overrides (≤720px)
   Twig templates render desktop styles inline; these rules collapse the
   layout for phones using !important so they win over the inline values.
   ========================================================================= */
@media (max-width: 720px) {

  /* Nav: hide desktop list, show hamburger */
  .nav-desktop { display: none !important; }
  .nav-mobile-btn { display: inline-flex !important; }

  /* Hero */
  .hero-section {
    height: 100svh !important;
    min-height: 560px !important;
  }
  .hero-content { padding-bottom: var(--s-7) !important; }
  /* Hero actions stack on phones: the slide-nav arrows sit above the full-width
     CTA buttons. */
  .hero-inner { display: flex !important; flex-direction: column !important; }
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
  .hero-slidenav { justify-content: flex-start !important; }
  .hero-headline { font-size: clamp(30px, 8.4vw, 43px) !important; }
  .hero-subhead { font-size: clamp(20px, 5vw, 28px) !important; line-height: 1.15 !important; }
  .hero-bottom-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .hero-body { font-size: 14px !important; }
  .hero-buttons {
    flex-direction: column !important;
    align-self: stretch !important;
    gap: 10px !important;
  }
  .hero-buttons .btn { justify-content: center !important; }
  .hero-arrow-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  /* Intro */
  .intro-section { padding: var(--s-8) 0 var(--s-7) !important; }
  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .intro-sticky { position: static !important; }
  .intro-headline {
    font-size: clamp(28px, 7.2vw, 36px) !important;
    line-height: 1.15 !important;
  }
  .intro-body-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .intro-chips { margin-top: 40px !important; gap: 10px !important; }
  .intro-fig { margin-top: 24px !important; }
  .intro-fig img { aspect-ratio: 4 / 3 !important; }

  /* Footer hero (video bg) */
  .footer-cta-headline { font-size: clamp(22px, 6vw, 32px) !important; }

  /* ===== About page ===== */
  /* Hero */
  .about-hero { padding: 120px 0 var(--s-8) !important; }
  .about-hero-headline { font-size: clamp(35px, 10.4vw, 58px) !important; line-height: 0.98 !important; }
  .about-hero-body-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .about-hero-body-grid > div { font-size: 15px !important; }

  /* Lineage */
  .lineage-section { padding: var(--s-8) 0 !important; }
  .lineage-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .lineage-sticky { position: static !important; }
  .lineage-headline { font-size: clamp(36px, 9vw, 48px) !important; }
  .lineage-event {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 20px 0 !important;
  }
  .lineage-event-year { font-size: 28px !important; }
  .lineage-event-title { font-size: 18px !important; }

  /* Principals */
  .principal-section { padding: var(--s-8) 0 !important; }
  .principal-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Force photo above text regardless of source order (handles flipped rows). */
  .principal-grid .principal-photo { order: 1 !important; }
  .principal-grid .principal-text  { order: 2 !important; }
  .principal-photo img,
  .principal-photo > div:first-child { height: 420px !important; }
  .principal-headline { font-size: clamp(36px, 10vw, 56px) !important; }
  .principal-sub { font-size: 17px !important; margin: 18px 0 24px !important; }
  .principal-creds {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* Shop values */
  .values-section { padding: var(--s-8) 0 !important; }
  .values-headline { font-size: clamp(40px, 11vw, 56px) !important; margin: 0 0 40px !important; }
  .values-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  .value-tile {
    padding: 24px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--rule-dark) !important;
  }
  .value-tile:nth-child(2n+1) { padding-left: 0 !important; padding-right: 16px !important; }
  .value-tile:nth-child(2n)   { padding-left: 16px !important; padding-right: 0 !important; border-left: 1px solid var(--rule-dark) !important; }
  .value-tile h3 { font-size: 22px !important; margin: 14px 0 12px !important; }

  /* ===== Services page ===== */
  /* Hero */
  .services-hero { padding: 120px 0 var(--s-8) !important; }
  .services-hero-headline { font-size: clamp(35px, 10.4vw, 58px) !important; line-height: 0.98 !important; }
  .services-hero-body { font-size: 15px !important; margin-top: 32px !important; }

  /* Anchored service blocks */
  .services-list { padding: var(--s-7) 0 var(--s-8) !important; }
  .service-block { padding: 48px 0 !important; }
  .service-block-title { font-size: clamp(36px, 10vw, 56px) !important; }
  .service-block-lede { font-size: 17px !important; margin: 20px 0 32px !important; }
  .service-block-photo { max-height: 280px !important; height: auto !important; }
  .service-photos {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Stack each detail row: label on top, value below */
  .service-details { margin-top: 40px !important; }
  .service-detail-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 16px 0 !important;
  }
  .service-detail-value { font-size: 15px !important; }

  /* Sectors */
  .sectors-section { padding: var(--s-8) 0 !important; }
  .sectors-headline { font-size: clamp(40px, 11vw, 56px) !important; margin: 0 0 40px !important; }
  .sectors-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  .sector-tile {
    padding: 28px 16px !important;
    border-right: none !important;
  }
  .sector-tile:nth-child(2n+1) { padding-left: 0 !important; padding-right: 16px !important; }
  .sector-tile:nth-child(2n)   { padding-left: 16px !important; padding-right: 0 !important; border-left: 1px solid var(--rule-dark) !important; }
  .sector-tile-title { font-size: 22px !important; margin: 10px 0 0 !important; }

  /* ===== Work / portfolio page ===== */
  /* Hero */
  .work-hero { padding: 120px 0 var(--s-7) !important; }
  .work-hero-headline { font-size: clamp(35px, 10.4vw, 58px) !important; line-height: 0.98 !important; }
  .work-hero-body { font-size: 15px !important; margin-top: 32px !important; }

  /* Filter bar — horizontal scroll for chips so all categories stay accessible */
  .work-filter-bar { padding: 14px 0 !important; top: 64px !important; }
  .work-filter-row {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none;
  }
  .work-filter-row::-webkit-scrollbar { display: none; }
  .work-filter-label { margin-right: 8px !important; flex-shrink: 0; font-size: 10px !important; }
  .work-filter-chips { flex-wrap: nowrap !important; flex-shrink: 0; }
  .work-filter-chips a { padding: 8px 12px !important; font-size: 10px !important; }
  .work-filter-count { display: none !important; }

  /* Grid */
  .work-grid-section { padding: 32px 0 var(--s-8) !important; }
  .work-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .work-card { grid-column: span 1 !important; }
  .work-card > a { height: 320px !important; }
  .work-card-title { font-size: 22px !important; }
  .work-card-meta { left: 16px !important; right: 16px !important; bottom: 16px !important; }

  /* ===== Contact page ===== */
  /* Hero */
  .contact-hero { padding: 120px 0 var(--s-7) !important; }
  .contact-hero-headline { font-size: clamp(35px, 10.4vw, 58px) !important; line-height: 0.98 !important; }
  .contact-hero-body { font-size: 15px !important; margin-top: 32px !important; }

  /* Form / sidebar two-column collapses to single column; sidebar moves
     below the form and stops being sticky */
  .contact-section { padding: var(--s-7) 0 var(--s-8) !important; }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .contact-aside { position: static !important; top: auto !important; }

  /* Form section titles ("Project basics", "Logistics", "How to reach you") */
  .contact-form-section-title { font-size: 28px !important; margin: 32px 0 18px !important; }
  /* The first title gets no top margin; later ones keep some breathing room */
  .contact-form-col > form > .contact-form-section-title:first-of-type { margin-top: 0 !important; }

  /* Name / company / email / phone grid collapses to single column */
  .contact-name-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Submit button: full-width, centered text */
  .contact-submit-row {
    justify-content: stretch !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
  }
  .contact-submit-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ===== Blog index ===== */
  /* Featured post hero */
  .blog-hero--featured { padding: 120px 0 var(--s-7) !important; }
  .blog-feature {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .blog-feature-title { font-size: clamp(28px, 7.5vw, 40px) !important; margin-bottom: 16px !important; }
  .blog-feature-excerpt { font-size: 16px !important; margin-bottom: 24px !important; }
  .blog-feature-cta { padding: 14px 20px !important; font-size: 11px !important; }
  /* Fallback hero (no featured post) */
  .blog-hero { padding: 120px 0 var(--s-7) !important; }
  .blog-hero-headline { font-size: clamp(35px, 10.4vw, 58px) !important; line-height: 0.98 !important; }
  .blog-hero-body { font-size: 15px !important; margin-top: 32px !important; }
  /* Post list rows: stack image above text instead of a fixed 280px column */
  .blog-post-row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* ===== Blog post (detail) ===== */
  .post-detail-head { padding: 120px 0 32px !important; }
  .post-detail-title { font-size: clamp(32px, 9vw, 48px) !important; line-height: 1.05 !important; }

  /* Services */
  .services-section { padding: var(--s-8) 0 !important; }
  .services-header {
    align-items: flex-start !important;
    margin-bottom: 40px !important;
    gap: 20px !important;
  }
  .services-headline { font-size: clamp(40px, 11vw, 56px) !important; }
  .service-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 24px 0 !important;
  }
  .service-row-no { font-size: 10px !important; }
  .service-row-title { font-size: clamp(24px, 6.4vw, 32px) !important; }
  .service-row-arrow { display: none !important; }

  /* Featured Work */
  .featured-section { padding: var(--s-8) 0 !important; }
  .featured-header {
    align-items: flex-start !important;
    margin-bottom: 32px !important;
    gap: 20px !important;
  }
  .featured-headline { font-size: clamp(40px, 11vw, 56px) !important; }
  .featured-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .featured-card { grid-column: span 1 !important; }
  .featured-card > a { height: 320px !important; }

  /* Stats */
  .stats-section { padding: var(--s-7) 0 !important; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 32px !important;
  }
  .stat-tile { padding: 12px 16px 12px 0 !important; }
  .stat-tile:nth-child(2n) {
    border-right: none !important;
    padding-left: 16px !important;
  }
  .stat-tile:nth-child(2n+1) { padding-left: 0 !important; }
  .stat-val { font-size: clamp(40px, 10vw, 56px) !important; }

  /* CTA */
  .cta-section { padding: var(--s-8) 0 !important; }
  .cta-headline { font-size: clamp(44px, 12vw, 64px) !important; line-height: 0.95 !important; }
  .cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .cta-body { font-size: 15px !important; }
  .cta-buttons {
    flex-direction: column !important;
    align-self: stretch !important;
    gap: 10px !important;
  }
  .cta-buttons .btn { justify-content: center !important; }

  /* Footer */
  .footer-cta-row {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-bottom: var(--s-7) !important;
  }
  .footer-sitemap {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    padding: var(--s-7) 0 !important;
  }
  .footer-brand-col { grid-column: 1 / -1 !important; }
  .footer-brand-logo { display: flex; justify-content: center; }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 10px !important;
  }
}

/* Hide the mobile drawer container entirely on desktop so it can't be
   tabbed into or paint over content. */
@media (min-width: 721px) {
  #nav-drawer { display: none !important; }
}
