/* =========================================================
   Svartbäckens Byggservice — delad stilmall
   Färger & typografi enligt grafisk profil (Archivo, svart/röd/papper)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root{
  --black:   #1e130f;
  --black-70: rgba(30,19,15,.72);
  --black-50: rgba(30,19,15,.52);
  --black-15: rgba(30,19,15,.13);
  --black-08: rgba(30,19,15,.07);
  --red:     #af2c22;
  --red-dark:#8a231a;
  --red-tint:#f3e0dd;
  --paper:   #f6f1ed;
  --paper-dim:#ede5de;
  --white:   #ffffff;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 8px;

  color-scheme: light;
}

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

/* Prevent grid/flex children (and form controls) from blowing out their
   track via intrinsic min-content width — the classic overflow cause. */
.grid > *, .hero-grid > *, .contact-grid > *, .form-row > *,
.footer-grid > *, .value-strip > *, .service-block > * {
  min-width: 0;
}
input, select, textarea, button{ min-width: 0; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Long unbroken Swedish compound words (e.g. "kvalitetsmaterial") can
   otherwise overflow narrow columns on small screens. */
h1, h2, h3, h4, p, li, span, a, strong, label{
  overflow-wrap: break-word;
  word-break: normal;
}

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

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

h1,h2,h3,h4{
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2{ font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3{ font-size: 1.25rem; }

p{ margin: 0 0 1em; }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--black-70); max-width: 46em; }

.eyebrow{
  display: inline-block;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9em;
}

.wrap{
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section{ padding-block: clamp(48px, 8vw, 100px); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--red); color: var(--white); }
.btn-primary:hover{ background: var(--red-dark); }
.btn-dark{ background: var(--black); color: var(--paper); }
.btn-dark:hover{ background: #000; }
.btn-ghost{ background: transparent; color: var(--black); border-color: var(--black-15); }
.btn-ghost:hover{ border-color: var(--black); }
.btn-ghost-light{ background: transparent; color: var(--paper); border-color: rgba(246,241,237,.35); }
.btn-ghost-light:hover{ border-color: var(--paper); }
.btn-sm{ padding: .6em 1.2em; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,237,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--black-08);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 16px;
}
.logo{ display: flex; flex-direction: column; line-height: 1; gap: .28em; }
.logo-main{
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--black);
  letter-spacing: -0.01em;
}
.logo-sub{
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--red);
  text-transform: uppercase;
}

.main-nav{ display: flex; align-items: center; gap: 2rem; }
.main-nav ul{ list-style: none; display: flex; gap: 1.7rem; margin: 0; padding: 0; }
.main-nav a{
  font-weight: 600;
  font-size: .95rem;
  color: var(--black-70);
  padding-block: .3em;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ color: var(--black); border-color: var(--red); }

.header-actions{ display: flex; align-items: center; gap: .9rem; }
.header-phone{
  display: flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .95rem; color: var(--black);
}
.header-phone svg{ width: 18px; height: 18px; flex: none; color: var(--red); }

.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--black-15);
  background: transparent;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg{ width: 20px; height: 20px; }

@media (max-width: 860px){
  .main-nav{
    position: fixed; inset: 72px 16px auto 16px;
    gap: 0;
    z-index: 60;
    background: var(--paper);
    border: 1px solid var(--black-08);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(30,19,15,.14);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .main-nav.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul{ flex-direction: column; gap: 0; }
  .main-nav ul li{ border-bottom: 1px solid var(--black-08); }
  .main-nav ul li:last-child{ border-bottom: none; }
  .main-nav a{ display: block; padding: .85em .2em; }
  .header-phone span{ display: none; }
  .nav-toggle{ display: inline-flex; }
  .header-actions{ gap: .5rem; }

  .nav-overlay{
    position: fixed; inset: 0;
    background: rgba(20,12,9,.5);
    z-index: 45;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  .nav-overlay.open{ opacity: 1; pointer-events: auto; }
}

@media (max-width: 480px){
  .header-phone{ display: none; }
  .header-actions .btn-primary{ display: none; }
}

.nav-mobile-cta{ display: none; }
@media (max-width: 860px){
  .nav-mobile-cta{
    display: flex; flex-direction: column; gap: .7rem;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid var(--black-08);
  }
  .nav-mobile-cta .btn{ width: 100%; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  padding-block: clamp(64px, 11vw, 128px);
}
.hero .wrap{ position: relative; z-index: 2; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1{ color: var(--white); margin-bottom: .35em; }
.hero-grid.cols-2{ grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 700px){
  .hero-grid.cols-2{ grid-template-columns: 1fr; }
}
.hero .lede{ color: rgba(246,241,237,.78); }
.hero-cta{ display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.hero-stats{
  display: flex; gap: 2.2rem; margin-top: 2.6rem; flex-wrap: wrap;
}
.hero-stats div{ min-width: 90px; }
.hero-stats strong{ display: block; font-size: 1.9rem; font-weight: 900; color: var(--white); }
.hero-stats span{ font-size: .82rem; color: rgba(246,241,237,.65); }

/* decorative blueprint pattern */
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(246,241,237,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,241,237,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 78% 30%, black, transparent 65%);
  z-index: 1;
}
.hero-emblem{
  position: relative;
  aspect-ratio: 1;
  max-width: 340px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.hero-emblem svg{ width: 100%; height: 100%; }

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img, .hero-bg video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg .hero-fallback-img{ display: none; }
@media (max-width: 700px){
  .hero-bg .hero-video{ display: none; }
  .hero-bg .hero-fallback-img{ display: block; }
}
.hero.has-photo::before{
  background-image: none;
  background: linear-gradient(180deg, rgba(30,19,15,.32) 0%, rgba(30,19,15,.58) 100%);
  mask-image: none;
}
.hero.has-photo .eyebrow{
  background: rgba(30,19,15,.55);
  padding: .3em .75em;
  border-radius: 4px;
}
.hero.has-photo .hero-grid{
  grid-template-columns: 1fr;
}

.page-hero{
  background: var(--black);
  color: var(--paper);
  padding-block: clamp(56px, 9vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero::before{
  content:"";
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(246,241,237,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,241,237,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 85% 20%, black, transparent 60%);
}
.page-hero.has-photo::before{
  background-image: none;
  background: rgba(30,19,15,.72);
  mask-image: none;
}
.page-hero.has-photo .eyebrow{
  background: rgba(30,19,15,.55);
  padding: .3em .75em;
  border-radius: 4px;
}
.page-hero .wrap{ position: relative; z-index: 2; }
.page-hero:not(.has-photo) .wrap{ max-width: 760px; }
.page-hero h1{ color: var(--white); margin-bottom: .35em; }
.page-hero .lede{ color: rgba(246,241,237,.78); }
.breadcrumb{
  font-size: .82rem; font-weight: 600; color: rgba(246,241,237,.55);
  margin-bottom: 1.2rem; letter-spacing: .03em;
}
.breadcrumb a{ color: rgba(246,241,237,.85); }
.breadcrumb a:hover{ color: var(--white); }

/* ---------- Sections / generic ---------- */
.section-head{ max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center{ margin-inline: auto; text-align: center; }

.bg-alt{ background: var(--white); }
.bg-dark{ background: var(--black); color: var(--paper); }
.bg-dark .eyebrow{ color: #e8a89f; }
.bg-dark h2{ color: var(--white); }
.bg-dark .lede{ color: rgba(246,241,237,.75); }

/* ---------- Cards: services ---------- */
.grid{ display: grid; gap: 1.6rem; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-5{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){
  .grid-3, .grid-5{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-5{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--black-08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px rgba(30,19,15,.09); border-color: transparent; }

.icon-tile{
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--red-tint);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.icon-tile svg{ width: 26px; height: 26px; color: var(--red); }
.icon-tile.dark{ background: var(--black); }
.icon-tile.dark svg{ color: var(--paper); }

.card-media{
  margin: -1.9rem -1.7rem 1.1rem;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper-dim);
}
.card-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.card h3{ margin-bottom: .4em; }
.card p{ color: var(--black-70); margin-bottom: .8em; font-size: .96rem; }
.card-link{
  font-weight: 700; font-size: .88rem; color: var(--red);
  display: inline-flex; align-items: center; gap: .4em;
}
.card-link svg{ width: 14px; height: 14px; transition: transform .15s ease; }
.card:hover .card-link svg{ transform: translateX(3px); }

/* service detail block (tjänster-sidan) */
.service-block{
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--black-08);
  align-items: start;
}
.service-block:first-of-type{ border-top: none; padding-top: 0; }
@media (max-width: 780px){
  .service-block{ grid-template-columns: 1fr; }
}
.service-block .icon-tile{ width: 60px; height: 60px; }
.service-block .icon-tile svg{ width: 30px; height: 30px; }
.service-block h2{ margin-bottom: .3em; }
.service-block .tag{
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: .6em; display: block;
}
.check-list{ list-style: none; margin: 1.1em 0 0; padding: 0; display: grid; gap: .6em; }
.check-list li{ display: flex; gap: .7em; align-items: flex-start; font-size: .96rem; }
.check-list svg{ width: 18px; height: 18px; flex: none; color: var(--red); margin-top: .15em; }

/* ---------- Quote / value strip ---------- */
.value-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-08);
  border-radius: var(--radius);
  overflow: hidden;
}
.value-strip > div{ background: var(--white); color: var(--black); padding: 1.8rem 1.6rem; }
.value-strip strong{ display: block; font-size: 1.05rem; margin-bottom: .3em; }
.value-strip p{ margin: 0; color: var(--black-70); font-size: .92rem; }
@media (max-width: 700px){ .value-strip{ grid-template-columns: 1fr; } }

/* ---------- Partner strip ---------- */
.partner-band{
  border-top: 1px solid var(--black-08);
  border-bottom: 1px solid var(--black-08);
  background: var(--paper);
}
.partner-strip{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3.2rem;
  padding: .8rem 0;
}
.partner-strip .partner-label{
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--black-70);
}
.partner-strip img{
  height: 32px;
  width: auto;
  opacity: .8;
}

/* ---------- Process steps ---------- */
.steps{ counter-reset: step; display: grid; gap: 1.4rem; }
.step{ display: flex; gap: 1.2rem; align-items: flex-start; }
.step::before{
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: var(--paper);
  font-weight: 800;
  display: grid; place-items: center;
}
.step h3{ margin-bottom: .25em; font-size: 1.08rem; }
.step p{ color: var(--black-70); margin: 0; font-size: .95rem; }

/* ---------- Decorative texture blocks (replace photography for now) ---------- */
.texture{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
  min-height: 220px;
  display: grid;
  place-items: center;
}
.texture::before{
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, var(--black-08) 0 2px, transparent 2px 26px);
}
.texture::after{
  content: "";
  position: absolute;
  width: 46%; aspect-ratio: 1;
  right: -8%; bottom: -12%;
  background: var(--red);
  opacity: .14;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
}
.texture svg{ position: relative; z-index: 1; width: 30%; max-width: 96px; color: var(--black-15); }
.texture.on-dark{ background: #150d0a; }
.texture.on-dark::before{ background-image: repeating-linear-gradient(135deg, rgba(246,241,237,.06) 0 2px, transparent 2px 26px); }
.texture.on-dark svg{ color: rgba(246,241,237,.18); }
.texture.red{ background: var(--red); }
.texture.red::before{ background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 26px); }
.texture.red::after{ background: var(--black); opacity: .12; }
.texture.red svg{ color: rgba(255,255,255,.28); }
.texture.tall{ min-height: 340px; }

/* Variant used once a real photo replaces the graphic placeholder */
.texture.has-photo{ background: var(--paper-dim); }
.texture.has-photo::before{
  background-image: none;
  background: linear-gradient(180deg, rgba(20,12,9,0) 45%, rgba(20,12,9,.62) 100%);
}
.texture.has-photo::after{ display: none; }
.texture.has-photo img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.texture.has-photo svg{ display: none; }
.texture.has-photo .texture-caption{ color: rgba(255,255,255,.92); }
.texture-caption{
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--black-50);
  max-width: calc(100% - 2.2rem);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); margin-bottom: .25em; }
.cta-band p{ color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn-dark{ background: var(--black); }
.cta-band .btn-ghost-light{ border-color: rgba(255,255,255,.4); }

/* ---------- Contact page ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 820px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-card{
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black-08);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.contact-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li{ display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.contact-list li > div{ min-width: 0; }
.contact-list a{ word-break: break-word; }
.contact-list .icon-tile{ margin-bottom: 0; width: 44px; height: 44px; flex: none; }
.contact-list .icon-tile svg{ width: 20px; height: 20px; }
.contact-list strong{ display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--black-50); margin-bottom: .15em; }
.contact-list a, .contact-list span{ font-weight: 700; font-size: 1.02rem; }

.map-block{ margin-top: 1.6rem; }

.form-grid{ display: grid; gap: 1.1rem; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px){ .form-row{ grid-template-columns: 1fr; } }
label{ font-size: .85rem; font-weight: 700; margin-bottom: .4em; display: block; }
input, textarea, select{
  width: 100%;
  font-family: var(--font);
  font-size: .96rem;
  padding: .8em .9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--black-15);
  background: var(--paper);
  color: var(--black);
}
input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: var(--red);
}
textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: .82rem; color: var(--black-50); margin-top: .3rem; }

/* ---------- Referenser / projekt-kort ---------- */
.project-card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--black-08);
  background: var(--white);
  color: var(--black);
}
.project-card .texture{ border-radius: 0; }
.project-card-body{ padding: 1.4rem 1.5rem 1.6rem; }
.project-card .tag{
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
.project-card h3{ margin: .3em 0 .3em; }
.project-card p{ color: var(--black-70); font-size: .93rem; margin: 0; }

.notice{
  border: 1.5px dashed var(--black-15);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.notice svg{ width: 26px; height: 26px; color: var(--red); flex: none; margin-top: .1em; }
.notice h3{ margin-bottom: .3em; }
.notice p{ margin: 0; color: var(--black-70); }

/* ---------- Team ---------- */
.team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 780px){ .team-grid{ grid-template-columns: 1fr; } }
.team-card{ text-align: left; }
.team-card .texture{ aspect-ratio: 4/3; min-height: 0; margin-bottom: 1rem; }
.team-card strong{ display: block; font-size: 1.05rem; }
.team-card span{ font-size: .86rem; color: var(--black-50); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--black);
  color: rgba(246,241,237,.82);
  padding-block: 3.2rem 2rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(246,241,237,.12);
}
@media (max-width: 700px){ .footer-grid{ grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid h4{
  color: var(--paper); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1rem; font-weight: 700;
}
.footer-grid ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-grid a{ font-size: .92rem; color: rgba(246,241,237,.72); }
.footer-grid a:hover{ color: var(--white); }
.footer-logo .logo-main{ color: var(--paper); }
.footer-tag{ font-size: .92rem; color: rgba(246,241,237,.6); max-width: 30em; margin-top: .8rem; }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.6rem; font-size: .82rem; color: rgba(246,241,237,.5);
}

/* ---------- Utilities ---------- */
.mt-0{ margin-top: 0; }
.center{ text-align: center; }
.stack-lg > * + *{ margin-top: 1.4rem; }
