/* ==========================================================================
   LogiWorks — logiworks.com.au
   Single page. Flat colour, hairline rules, typography-led.
   ========================================================================== */

:root {
  /* Palette */
  --green: #2D6A4F;
  --amber: #D4882A;
  --cream: #F7F5F0;
  --charcoal: #1A1A1A;
  --footer: #1A3D2E;

  /* Derived */
  --rule: rgba(26, 26, 26, 0.14);
  --rule-strong: rgba(26, 26, 26, 0.32);
  --muted: rgba(26, 26, 26, 0.68);
  --tint: #F1EFE9;                        /* card hover, one step off cream */
  --green-soft: rgba(45, 106, 79, 0.09);  /* icon wells */
  --on-footer: rgba(247, 245, 240, 0.72);
  --on-footer-rule: rgba(247, 245, 240, 0.16);

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --max: 1100px;
  --gutter: 1.5rem;
  --section: 6.5rem;
  --radius: 4px;
  --nav-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body,
h1, h2, h3, h4,
p, ul, ol, li,
figure, blockquote, dl, dd { margin: 0; padding: 0; }

ul { list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, select, textarea { font: inherit; color: inherit; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  max-width: 22ch;
}

h3 { font-size: 1.1875rem; letter-spacing: -0.015em; }

p { max-width: 62ch; }

a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }

strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

::selection { background: var(--green); color: var(--cream); }

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.is-hidden { display: none; }
.hidden { display: none; } /* Web3Forms honeypot — must never be visible */

/* Grid tracks default to a min-width of auto, so one long unbroken string
   (an email address, a URL) can widen a track past its share and push the
   whole page sideways — which reads as "the layout isn't centred". */
.services-grid > *,
.contact-grid > *,
.contact-cards > *,
.footer-grid > *,
.pillars > * { min-width: 0; }

.contact-card dd,
.footer-list a { overflow-wrap: break-word; }

.section { padding-block: var(--section); }
.section--tight { padding-block: 4rem; }
.section--ruled { border-top: 1px solid var(--rule); }

.section-head { margin-bottom: 3rem; }
.section-head .label { display: block; margin-bottom: 1rem; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  z-index: 100;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: 1.0625rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--amber); color: var(--charcoal); }

.btn--amber { background: var(--amber); color: var(--charcoal); }
.btn--amber:hover { background: var(--charcoal); color: var(--cream); }

.btn--pill { border-radius: 999px; }
.btn--block { display: block; width: 100%; text-align: center; }

.btn[disabled] { opacity: 0.6; cursor: default; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile overlay and break it. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 245, 240, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled { border-bottom-color: var(--rule); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--nav-h);
}

.wordmark {
  position: relative;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}
.wordmark:hover { color: var(--charcoal); }
.wordmark svg { height: 23px; width: 32px; }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.nav-links { display: flex; align-items: center; gap: 1.75rem; }

.nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding-block: 0.25rem;
  transition: color 180ms ease;
}
.nav-links a:hover { color: var(--amber); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--green);
  opacity: 0;
  transition: opacity 180ms ease;
}
.nav-links a.is-active { color: var(--green); }
.nav-links a.is-active::after { opacity: 1; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
  padding: 0;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(4rem, 9vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.hero-col {
  max-width: 60ch;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--rule);
}

.hero-label { display: block; margin-bottom: 1.5rem; }
.hero .lede { margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */

.clients {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 2.5rem;
}

.clients .label { display: block; margin-bottom: 1.125rem; }

.clients-list {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  letter-spacing: -0.02em;
  line-height: 1.45;
  max-width: none;
}

.clients-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Services — hairline grid, no per-card borders
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--cream);
  transition: background-color 180ms ease;
}
.card:hover { background: var(--tint); }
.card:hover .card-icon,
.card:hover h3 { color: var(--green); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  color: var(--charcoal);
  flex-shrink: 0;
  transition: color 180ms ease;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: right;
  line-height: 1.4;
}

.card h3 { margin-bottom: 0.625rem; transition: color 180ms ease; }

.card p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.caps { margin-top: auto; }

.caps li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.caps li:last-child { margin-bottom: 0; }
.caps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5625rem;
  width: 5px;
  height: 5px;
  background: var(--amber);
}

/* --------------------------------------------------------------------------
   Why
   -------------------------------------------------------------------------- */

.why-head .label { display: block; margin-bottom: 1rem; }
.why-head h2 { margin-bottom: 1.25rem; }
.why-body { color: var(--muted); max-width: 52ch; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.pillar { border-top: 2px solid var(--green); padding-top: 1.25rem; }
.pillar .label { display: block; margin-bottom: 0.75rem; }
.pillar p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* --------------------------------------------------------------------------
   Tools
   -------------------------------------------------------------------------- */

.tools .label { display: block; margin-bottom: 1rem; }
.tools-list { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: none; }

/* --------------------------------------------------------------------------
   Testimonial
   -------------------------------------------------------------------------- */

.quote {
  border-left: 2px solid var(--green);
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  max-width: 42rem;
}

.quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: none;
}

.quote footer {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-cards { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  transition: background-color 180ms ease;
}
.contact-card:hover { background: var(--tint); }

.icon-well {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--green-soft);
  border-radius: var(--radius);
  color: var(--green);
}

.contact-card dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.125rem;
}
.contact-card dd {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.contact-card dd a { color: var(--charcoal); text-decoration: none; transition: color 180ms ease; }
.contact-card dd a:hover { color: var(--amber); }

.btn--whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  margin-top: 1.25rem;
  background: var(--green);
  color: var(--cream);
}
.btn--whatsapp:hover { background: var(--amber); color: var(--charcoal); }
.btn--whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

/* Form */

.form-field { margin-bottom: 1.25rem; }

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 180ms ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--green); outline: none; }

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

.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231A1A1A' stroke-width='1.5'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #B3261E; }

.field-error {
  display: none;
  margin-top: 0.4375rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: #B3261E;
}
.form-field.has-error .field-error { display: block; }

.form-note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  max-width: none;
}

.form-success {
  display: none;
  padding: 2.5rem 2rem;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  text-align: center;
}
.form-success.is-shown { display: block; }
.form-success h3 { color: var(--green); margin-bottom: 0.625rem; }
.form-success p { color: var(--muted); margin-inline: auto; }

.form-status {
  margin-top: 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #B3261E;
  text-align: center;
  max-width: none;
}

/* Booking */

.booking { margin-top: clamp(3rem, 6vw, 5rem); }
.booking h2 { margin-bottom: 1.75rem; }

.booking-fallback {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
}
.booking-fallback p {
  margin: 0 auto 1.75rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--footer);
  color: var(--on-footer);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.site-footer .wordmark { color: var(--cream); }
.site-footer .wordmark:hover { color: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-heading {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(247, 245, 240, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.footer-blurb { margin-top: 1.25rem; font-size: 0.9375rem; max-width: 30ch; }

.footer-abn {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(247, 245, 240, 0.55);
  max-width: none;
}

.footer-list li { margin-bottom: 0.625rem; font-size: 0.9375rem; }
.footer-list li:last-child { margin-bottom: 0; }

.footer-list a {
  color: var(--on-footer);
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-list a:hover { color: var(--amber); }

.footer-list--icons li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer-list--icons svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(247, 245, 240, 0.5);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--on-footer-rule);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(247, 245, 240, 0.55);
}
.footer-bottom p { max-width: none; }
.footer-bottom a {
  color: rgba(247, 245, 240, 0.55);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.footer-bottom a:hover { color: var(--amber); }

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms, background-color 180ms ease;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Motion — fade up 20px, staggered from JS via inline transition-delay
   -------------------------------------------------------------------------- */

[data-reveal],
[data-hero] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}
[data-hero] { transform: translateY(16px); transition-duration: 400ms; }

[data-reveal].is-visible,
[data-hero].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reduced motion — switch everything off, hide nothing
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal],
  [data-hero] { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  :root { --section: 4.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}

/* Mobile nav — full-screen overlay, links stagger in 40ms apart */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 6rem var(--gutter) 4rem;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 260ms ease, transform 260ms ease;
  }
  .site-nav.is-open .nav-links li { opacity: 1; transform: none; }
  .site-nav.is-open .nav-links li:nth-child(1) { transition-delay: 40ms; }
  .site-nav.is-open .nav-links li:nth-child(2) { transition-delay: 80ms; }
  .site-nav.is-open .nav-links li:nth-child(3) { transition-delay: 120ms; }

  .nav-links a {
    display: block;
    padding: 1.125rem 0;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a::after { display: none; }
  .nav-links a.is-active { color: var(--green); }

  .site-nav .btn {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 260ms ease, transform 260ms ease,
                background-color 180ms ease, color 180ms ease;
  }
  .site-nav.is-open .btn { opacity: 1; transform: none; transition-delay: 160ms; }
}

@media (max-width: 620px) {
  :root { --gutter: 1.25rem; }

  .services-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }

  .hero-col { max-width: none; padding-right: 0; border-right: 0; }
  h1 { max-width: none; }

  .btn-row .btn { flex: 1 1 auto; text-align: center; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .to-top { right: 1rem; bottom: 1rem; }
}
