/* ------------------------------------------------------------------
   Purple Loop
   ------------------------------------------------------------------ */

:root {
  --purple: #663399;          /* brand purple from the original site */
  --purple-600: #552a80;
  --purple-300: #b99ae0;
  --purple-100: #efe8f8;
  --night: #1d1230;
  --night-2: #2a1745;
  --ink: #1f1a29;
  --ink-soft: #5a5366;
  --line: #e5e0ec;
  --bg: #ffffff;
  --bg-tint: #f7f4fb;

  --font-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(29, 18, 48, .06), 0 8px 24px rgba(29, 18, 48, .06);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--purple); }
img { max-width: 100%; display: block; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: #fff; color: var(--ink); padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  font: 700 .78rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 0 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* ------------------------------------------------------------------
   Logo
   ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 36px; width: auto; }
.logo-small img { height: 30px; }
@media (max-width: 400px) { .logo img { height: 30px; } }

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 3px solid var(--purple);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  padding: .5em 1.1em;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { border-color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 11px;
  width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s, background-color .25s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; margin-right: -10px; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000;
    padding: .5rem var(--gutter) 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 1.5px solid rgba(255, 255, 255, .3); }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(102, 51, 153, .55), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 1rem 3rem;
}
.hero-copy { min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.trusted { grid-column: 1 / -1; }

.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite; }
.float-delay { animation: float 7s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float, .float-slow, .float-delay { animation: none; } }

.hero .eyebrow { color: var(--purple-300); }
.hero h1 { max-width: 16ch; }
.hero .accent {
  background: linear-gradient(90deg, #c9a8f2, #8f5fd0);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, .78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }

.trusted { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; margin-top: 1.5rem; }
.trusted-label {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 .75rem;
}
.trusted ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
}
.trusted li {
  font: 700 1.05rem/1.3 var(--font-head);
  color: rgba(255, 255, 255, .85);
  letter-spacing: -0.01em;
}

/* Tablet: keep the illustration beside the text, but smaller */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 1rem 1.5rem; }
}
/* Phone: small illustration under the buttons */
@media (max-width: 640px) {
  .hero { padding: 3rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-art { width: 60%; max-width: 230px; margin: 1.5rem auto 0; }
  .hero-actions { margin-bottom: 0; }
  .trusted { margin-top: 1.75rem; padding-top: 1.25rem; }
  .trusted ul { gap: .35rem 1.25rem; }
  .trusted li { font-size: .95rem; }
}
/* Decorative double loop */
.hero-loop {
  position: absolute;
  right: -120px; bottom: -160px;
  width: 640px; height: 360px;
  opacity: .22;
  pointer-events: none;
}
.hero-loop::before,
.hero-loop::after {
  content: "";
  position: absolute; top: 0;
  width: 360px; height: 360px;
  border: 46px solid var(--purple-300);
  border-radius: 50%;
}
.hero-loop::before { left: 0; }
.hero-loop::after { right: 0; }
@media (max-width: 760px) {
  .hero-loop { transform: scale(.55); transform-origin: bottom right; right: -80px; bottom: -110px; }
}

/* ------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------ */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--night); color: #fff; }
.section-dark .eyebrow { color: var(--purple-300); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--purple-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card h3 { margin-bottom: .75rem; }
.service-card ul {
  list-style: none; padding: 0; margin: 0;
  font-size: .92rem; color: var(--ink-soft);
}
.service-card li { padding: .25rem 0 .25rem 1.3rem; position: relative; }
.service-card li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: .5rem; height: .5rem; border-radius: 50%;
  border: 2px solid var(--purple);
}
.service-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .9rem; }
.service-icon { width: 64px; height: 64px; margin-bottom: 1.1rem; }
.service-icon svg { width: 100%; height: 100%; display: block; }
.service-icon .fill-soft { fill: var(--purple-100); }
.service-icon .fill-main { fill: var(--purple); }
.service-icon .fill-dark { fill: var(--night); }
.service-icon .fill-white { fill: #fff; }
.service-icon .stroke-main,
.service-icon .stroke-white {
  fill: none; stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-icon .stroke-main { stroke: var(--purple); }
.service-icon .stroke-white { stroke: #fff; stroke-width: 4.5; }

/* Technologies */
.tech {
  margin-top: 1.25rem;
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: start;
}
.tech-title { font-size: 1rem; margin: .35rem 0 0; }
.tech-groups { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tech-groups dt {
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  margin-bottom: .5rem;
}
.tech-groups dd { margin: 0; }
.tech-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-list li {
  font-size: .85rem; font-weight: 600;
  color: var(--purple-600);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3em .8em;
}
@media (max-width: 860px) {
  .tech { grid-template-columns: 1fr; }
  .tech-groups { grid-template-columns: 1fr; gap: 1rem; }
}

/* How we work */
.section-process {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(185, 154, 224, .25), transparent 60%),
    linear-gradient(135deg, var(--purple) 0%, var(--night-2) 100%);
  color: #fff;
}
.section-process .eyebrow { color: rgba(255, 255, 255, .75); }
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.process li { position: relative; counter-increment: step; }
.process li::after {
  /* connector line between steps */
  content: "";
  position: absolute; top: 32px; left: 80px; right: -1rem;
  border-top: 2px dashed rgba(255, 255, 255, .25);
}
.process li:last-child::after { display: none; }
.process-icon {
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
  margin-bottom: 1rem;
}
.process-icon::after {
  content: counter(step);
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--purple);
  font: 800 .75rem/22px var(--font-head); text-align: center;
}
.process-icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: #fff; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.process h3 { margin-bottom: .3rem; }
.process p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }

@media (max-width: 860px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .process li::after { display: none; }
}
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; gap: 1.25rem; }
  .process li { display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; align-items: start; }
  .process-icon { grid-row: span 2; margin: 0; }
}

/* About */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 0 0 1rem;
}
.stats > div {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column-reverse;
}
.stats dt { color: var(--ink-soft); font-size: .92rem; }
.stats dd {
  margin: 0;
  font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 var(--font-head);
  color: var(--purple);
  letter-spacing: -0.03em;
  margin-bottom: .35rem;
}
.about-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.about-points li {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: flex; gap: .85rem; align-items: flex-start;
}
.point-icon {
  flex: none;
  width: 40px; height: 40px; padding: 8px;
  border-radius: 10px;
  background: var(--purple-100);
  fill: none; stroke: var(--purple); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.about-points strong { display: block; color: var(--ink); font-family: var(--font-head); }
.about-points span { font-size: .9rem; line-height: 1.5; display: block; color: var(--ink-soft); }

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stats > div { padding: 1rem .75rem; }
  .stats dt { font-size: .8rem; line-height: 1.3; }
  .about-points { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Portfolio
   ------------------------------------------------------------------ */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 500 .9rem/1 var(--font-body);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.filter-btn:hover { border-color: var(--purple-300); }
.filter-btn[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.filter-count { opacity: .6; margin-left: .35em; font-size: .85em; }
.filter-btn { flex: none; }
@media (max-width: 640px) {
  .filters {
    flex-wrap: nowrap; overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1) 1.5rem;
    padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.client-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  animation: card-in .35s ease both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .client-card { animation: none; } }

.client-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.client-mark {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--purple-100);
  color: var(--purple);
  font: 800 1.05rem/1 var(--font-head);
  overflow: hidden;
}
.client-mark img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.client-card.is-confidential .client-mark { background: var(--night-2); color: var(--purple-300); }
.client-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.client-name { font-size: 1.05rem; margin: 0; }
.client-meta { font-size: .85rem; color: var(--ink-soft); margin: .15rem 0 0; }
.client-summary {
  color: var(--ink-soft); font-size: .95rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.client-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.client-tags li {
  font-size: .75rem; font-weight: 600;
  padding: .3em .7em;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--purple-600);
}
.client-tags .tag-nda { background: var(--night-2); color: #fff; }
.client-tags .tag-tech { background: #fff; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }

.client-card:focus { outline: none; }
.client-card:focus-visible { outline: 3px solid var(--purple-300); outline-offset: 2px; }

.portfolio-more {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  margin-top: 2rem;
}
.portfolio-more[hidden] { display: none; }
.portfolio-count { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.btn-outline { border-color: var(--purple); color: var(--purple); background: #fff; }
.btn-outline:hover { background: var(--purple); color: #fff; }

.partner-note {
  margin-top: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: linear-gradient(135deg, var(--night-2), var(--night));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem);
}
.partner-note p { margin: 0; color: rgba(255, 255, 255, .75); }
.partner-note strong { color: #fff; font-family: var(--font-head); }
.partner-note .btn { flex: none; }
@media (max-width: 640px) {
  .partner-note { flex-direction: column; align-items: stretch; }
}

/* ------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn:disabled { opacity: .7; cursor: default; transform: none; }
.form-status a { color: inherit; }

.contact-methods { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.contact-methods li { display: flex; gap: 1rem; align-items: center; }
.contact-icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(185, 154, 224, .15);
}
.contact-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--purple-300); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-label {
  display: block;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: .2rem;
}
.contact-methods a { color: #fff; font-size: 1.15rem; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-methods a:hover { color: var(--purple-300); }
.contact-methods address { font-style: normal; color: rgba(255, 255, 255, .85); }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  display: grid; gap: 1rem;
  align-self: start;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field span { font-size: .88rem; font-weight: 600; }
.field em { color: var(--purple); font-style: normal; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-100); }
.field .is-invalid { border-color: #c0392b; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.is-error { color: #b03a2e; }
.form-status.is-ok { color: #2e7d4f; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, .55);
  padding: 2.5rem 0;
  font-size: .85rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem 2rem;
}
.footer-social { justify-self: end; display: flex; gap: 1.25rem; }
.footer-social a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-social a:hover { color: #fff; }
.footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .08); }

@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { justify-self: start; }
}

/* 404 page */
.not-found { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
