/* Artium brand site — shared layout; routes set --brand via :root */
:root {
  --brand: #E30613;
  --brand-dark: #B0050F;
  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --paper: #FFFFFF;
  --muted: #6B6B6B;
  --line: #E8E8E8;
  --hero-overlay: rgba(0, 0, 0, 0.35);
  --radius-bevel: 28px;
  --header-h: 72px;
  --max: 1180px;
  --font-display: "Chakra Petch", sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Beveled corner utility (clip-path) */
.bevel {
  clip-path: polygon(
    var(--radius-bevel) 0%,
    100% 0%,
    100% calc(100% - var(--radius-bevel)),
    calc(100% - var(--radius-bevel)) 100%,
    0% 100%,
    0% var(--radius-bevel)
  );
}
.bevel-tr-tl {
  clip-path: polygon(
    var(--radius-bevel) 0%,
    calc(100% - var(--radius-bevel)) 0%,
    100% var(--radius-bevel),
    100% 100%,
    0% 100%,
    0% var(--radius-bevel)
  );
}
.bevel-box {
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: calc(0.65rem * 0.65);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
}
.brand-lockup .mark { width: 15px; height: 30px; flex-shrink: 0; }
/* The wordmark is tight to the i-dot, so the x-height sits 13.174% below the bitmap centre. */
.brand-lockup .wordmark { width: 92px; height: auto; display: block; transform: translateY(-13.174%); }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.nav a:hover { opacity: 1; color: var(--brand); }
.nav .cta {
  background: var(--brand);
  color: var(--paper) !important;
  opacity: 1 !important;
  padding: 0.55rem 1rem;
  clip-path: polygon(
    8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px
  );
  transition: background 0.15s;
}
.nav .cta:hover { background: var(--brand-dark); color: var(--paper) !important; }
.nav a.dry-hire {
  position: relative;
  opacity: 1;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 0.45rem 0.75rem;
  line-height: 1.2;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}
.nav a.dry-hire::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  --g: linear-gradient(to top right, transparent calc(50% - 1px), var(--brand) calc(50% - 1px), var(--brand) calc(50% + 1px), transparent calc(50% + 1px));
  background: var(--g) top right / 8px 8px no-repeat, var(--g) bottom left / 8px 8px no-repeat;
}
.nav a.dry-hire:hover {
  background: var(--brand);
  color: var(--paper);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* —— Hero —— */
.hero {
  padding: 2.75rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 2rem 2.5rem;
  align-items: center;
}
.hero-copy .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
/* UNFORGETTABLE is the longest word (display weight 800, ~14.9em including tracking).
   Size from the copy column, not the viewport, so the word stays inside it
   with a gap before the image at every width. */
.hero-copy {
  min-width: 0;
  container-type: inline-size;
  container-name: hero-copy;
}
.tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.15vw, 2.85rem);
  font-size: clamp(1.15rem, 6.4cqi, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.5rem;
  max-width: 100%;
}
.tagline span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(
    10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px
  );
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--paper); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  clip-path: none;
  border-radius: 0;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.hero-visual {
  position: relative;
  min-height: clamp(280px, 42vw, 480px);
  background: var(--ink);
  overflow: hidden;
}
.hero-visual .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual .wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 55%, transparent), transparent 55%),
    linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%);
  pointer-events: none;
}
.hero-visual .mark-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-visual .mark-overlay img,
.hero-visual .mark-overlay svg {
  width: auto;
  height: min(58%, 280px);
  max-width: 42%;
  filter: drop-shadow(6px 6px 0 color-mix(in srgb, var(--brand) 70%, transparent));
  color: #fff;
}
.hero-visual .glow {
  position: absolute;
  width: 55%;
  height: 55%;
  right: -8%;
  top: -10%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 45%, white) 0%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

/* Soft strip */
.strip {
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 0;
}
.strip .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.strip .dot { color: var(--brand); }

/* Sections */
section { padding: 4.5rem 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 0.98rem;
}
.kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.55rem;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #FAFAFA;
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem 1.6rem;
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% 100%,
    0 100%
  );
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  color: var(--brand);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.card .link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}
.project {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--paper);
}
.project:first-child { min-height: 340px; grid-row: span 1; }
.project .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}
.project:hover .bg { transform: scale(1.04); }
.project .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%);
}
.project .meta {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
}
.project .meta .type {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 70%, white);
  margin-bottom: 0.35rem;
}
.project .meta h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Enquire band */
.enquire {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem 0;
}
.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.enquire h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.enquire .lede {
  color: rgba(255,255,255,0.72);
  margin: 0 0 1.5rem;
  max-width: 38ch;
}
.enquire .phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.35rem;
}
.enquire .hours {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.form {
  display: grid;
  gap: 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem;
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% 100%,
    0 100%
  );
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--paper);
  padding: 0.7rem 0.85rem;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
}
.field textarea { min-height: 110px; resize: vertical; }
.form .note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.form .btn-primary { width: 100%; margin-top: 0.25rem; }

/* Footer */
.site-footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  background: #FAFAFA;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: calc(0.6rem * 0.65);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
}
.footer-brand .mark { width: 12px; height: 24px; flex-shrink: 0; }
.footer-brand .wordmark { width: 82px; height: auto; display: block; transform: translateY(-13.174%); }
.footer-meta {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-meta a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.footer-meta a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Soft accent strip under pillars */
.accent-band {
  padding: 0 0 4.5rem;
}
.accent-band .frame {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--ink);
}
.accent-band img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.92;
}
.accent-band .caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 340px; order: -1; max-width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project, .project:first-child { min-height: 240px; }
  .enquire-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: #fff;
  }
  .nav-toggle.is-open {
    width: 44px;
    padding: 0;
    font-size: 1.55rem;
    line-height: 1;
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .site-header { overflow: visible; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    padding: 0.5rem 1.25rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }
  .nav.open { display: flex; }
  .nav.open a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.35rem 0.5rem;
  }
  .nav .cta,
  .nav a.dry-hire { text-align: center; }
}
html.nav-lock,
html.nav-lock body { overflow: hidden; }
@media (max-width: 780px) {
  .form-row { grid-template-columns: 1fr; }
  .strip .inner { gap: 0.5rem 1.25rem; font-size: 0.7rem; }
}
/* Homepage intro film. Scoped so the blue route and the shop keep their own heroes. */
body.home-film .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.home-film .nav a:not(.cta):not(.dry-hire) { color: #fff; opacity: 0.92; }
body.home-film .nav a:not(.cta):not(.dry-hire):hover { color: #fff; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  body.home-film .site-header .brand-lockup .mark {
    transform-origin: center center;
    animation:
      artium-mark-flicker 0.8s linear 0.4s 1 both,
      artium-mark-pulse 4.5s ease-in-out 1.2s infinite;
  }
}
@keyframes artium-mark-flicker {
  0%, 100% { opacity: 1; }
  8% { opacity: 0.12; }
  14% { opacity: 0.12; }
  22% { opacity: 1; }
  28% { opacity: 0.04; }
  36% { opacity: 0.04; }
  46% { opacity: 1; }
  52% { opacity: 0.45; }
  58% { opacity: 1; }
  64% { opacity: 0.08; }
  72% { opacity: 0.08; }
  82% { opacity: 0.7; }
  90% { opacity: 1; }
}
@keyframes artium-mark-pulse {
  0%, 18%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  4% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
  }
  9% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  13% {
    transform: scale(1.028);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45));
  }
}
body.home-film .nav-toggle {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: transparent;
}
.film-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  background: #0A0A0A;
  overflow: hidden;
  padding: 0;
}
.film-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0A0A0A;
}
.film-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
}
.film-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.film-hero .film {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.film-hero.is-playing .film-poster { visibility: hidden; }
.film-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 22%, rgba(0,0,0,0) 42%);
  pointer-events: none;
}
.film-below { padding-top: 3.25rem; padding-bottom: 3.25rem; }
.film-below .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
/* UNFORGETTABLE is ~14.9em. 6.4vw meets the viewport and runs past the column
   gutter on phones. Shrink with the viewport, minus that gutter, and keep the
   2.85rem desktop cap. */
body.home-film .film-below .tagline {
  font-size: clamp(1.1rem, calc(6.7vw - 0.175rem), 2.85rem);
  color: var(--ink);
}
body.home-film .film-below .tagline span:nth-child(2) {
  color: var(--brand);
}
/* Red uplight along the bottom edge, as at the end of the intro.
   Peaks at 4% brand red so it stays a faint warmth on white, and
   fades out inside the bottom padding, before the copy. */
body.home-film .film-below,
body.home-film .enquire {
  position: relative;
  isolation: isolate;
}
body.home-film .film-below::before,
body.home-film .enquire::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8.5rem;
  pointer-events: none;
  background: radial-gradient(
    ellipse 120% 100% at 50% 100%,
    rgba(227, 6, 19, 0.04) 0%,
    rgba(227, 6, 19, 0.015) 20%,
    rgba(227, 6, 19, 0) 40%
  );
}
body.home-film .film-below > *,
body.home-film .enquire > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 780px) {
  body.home-film .nav.open a:not(.cta):not(.dry-hire) { color: var(--ink); }
  body.home-film .nav.open a.dry-hire { color: var(--brand); }
  body.home-film .nav-toggle.is-open {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
  }
}
/* Homepage client logos. Markup only exists on the brand homepage. */
.client-logos {
  background: #0A0A0A;
  padding: 3.75rem 0 4rem;
}
.client-logos-caption {
  margin: 0 0 2.75rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A8A8A;
}
.client-logos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem 1.25rem;
  align-items: center;
  justify-items: center;
}
.client-logos-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 6.5rem;
  margin: 0;
}
.client-logos-grid img {
  display: block;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.client-logos-grid li:hover img { opacity: 1; }
.client-logos-grid .logo-word {
  width: min(200px, 100%);
}
.client-logos-grid .logo-badge {
  width: auto;
  height: 90px;
  max-width: 100%;
}
.client-logos-grid .logo-stack {
  width: min(186px, 100%);
  height: auto;
}
@media (max-width: 1100px) {
  .client-logos-grid { gap: 2.25rem 1rem; }
  .client-logos-grid li { min-height: 5.5rem; }
  .client-logos-grid .logo-word { width: min(150px, 100%); }
  .client-logos-grid .logo-badge { height: 72px; }
  .client-logos-grid .logo-stack { width: min(149px, 100%); height: auto; }
}
@media (max-width: 767px) {
  .client-logos { padding: 3.25rem 0 3.5rem; }
  .client-logos-caption { margin-bottom: 2.25rem; letter-spacing: 0.18em; }
  .client-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
  .client-logos-grid li { min-height: 5.75rem; }
  .client-logos-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .client-logos-grid .logo-word { width: min(200px, 100%); }
  .client-logos-grid .logo-badge { height: 84px; }
  .client-logos-grid .logo-stack { width: min(174px, 100%); height: auto; }
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
}
