/* =========================================================
   AmplifyWare design system
   Brand colors: #32a7ef, #0184d6
   ========================================================= */

:root {
  /* Brand */
  --brand-500: #32a7ef;
  --brand-600: #0184d6;
  --brand-700: #016ab0;
  --gradient-brand: linear-gradient(135deg, #32a7ef 0%, #0184d6 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(50,167,239,0.08) 0%, rgba(1,132,214,0.08) 100%);

  /* Accent kept available but unused; primary CTA now uses the brand gradient */
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  /* Neutrals */
  --ink-900: #0b1120;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50:  #f1f5f9;
  --ink-25:  #f8fafc;
  --white:   #ffffff;

  /* Surfaces */
  --bg-page: #ffffff;
  --bg-soft: #f8fafc;
  --bg-elevated: #ffffff;
  --border: #e6ebf2;

  /* Status */
  --success-600: #059669;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 5vw + 0.5rem, 4rem);
  --fs-h2: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 0.6vw + 1rem, 1.25rem);

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 760px;
  --nav-h: 84px;
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Surface treatment */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 12px 32px -8px rgba(1, 132, 214, 0.45);

  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--brand-700); }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
h1 { font-size: var(--fs-display); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 0.75rem;
  background: var(--gradient-brand-soft);
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* =========================================================
   Skip link
   ========================================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--brand-600);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--t-base);
}
.skip-link:focus { top: 1rem; }

/* =========================================================
   Buttons / CTAs
   ========================================================= */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-base),
              background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.cta:focus-visible { outline-offset: 4px; }
.cta:active { transform: translateY(1px); }

.cta--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.cta--primary:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -8px rgba(1, 132, 214, 0.55);
}

.cta--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.cta--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta--ghost {
  background: var(--white);
  color: var(--brand-700);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.cta--ghost:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta--sm { padding: 0.5rem 1rem; font-size: 0.9375rem; }

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.06);
}

/* The source logo is 1536x1024 with the wordmark occupying only ~35% of the
   vertical area, so we render the image larger than the nav and clip the
   surrounding whitespace via overflow:hidden on the link. */
.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-h);
  width: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 200px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .nav__logo { width: 170px; }
  .nav__logo-img { height: 160px; }
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink-700);
}
.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.nav__menu.open { display: flex; }

.nav__link {
  padding: 0.75rem 1rem;
  color: var(--ink-700);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.nav__link:hover {
  color: var(--brand-700);
  background: var(--ink-25);
}
.nav__link.active {
  color: var(--brand-700);
}

.nav__cta { margin-top: 0.5rem; }

@media (min-width: 880px) {
  .nav { padding: 0 2rem; }
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav__link { padding: 0.5rem 0.875rem; }
  .nav__cta { margin: 0 0 0 0.5rem; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem clamp(5rem, 12vw, 8rem);
  background: var(--ink-900);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(60% 50% at 80% 0%, rgba(50,167,239,0.30) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(1,132,214,0.30) 0%, transparent 60%),
    linear-gradient(180deg, #0b1120 0%, #0f1d36 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 80%);
  z-index: -1;
  opacity: 0.6;
}

.hero__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ink-100);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hero__eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
}

.hero__title {
  margin: 0 0 1.25rem;
  color: var(--white);
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero__title-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subhead {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: var(--fs-lead);
  color: var(--ink-200);
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-300);
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__meta-item svg { color: #34d399; }

/* =========================================================
   Trust strip
   ========================================================= */

.trust {
  padding: 2.5rem 1.25rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.trust__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.trust__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}
.trust__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.trust__badge:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
  transform: translateY(-1px);
}
.trust__badge svg { color: var(--brand-600); }

/* =========================================================
   Section scaffolding
   ========================================================= */

.section {
  padding: var(--section-y) 1.25rem;
}
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink-900); color: var(--ink-100); }
.section--dark h2 { color: var(--white); }

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__inner--narrow {
  max-width: var(--max-w-narrow);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section__head--left {
  text-align: left;
  margin-left: 0;
}
.section__lede {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  margin: 0;
}

/* =========================================================
   Services
   ========================================================= */

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service {
  position: relative;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-base);
}
.service.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service:hover {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--gradient-brand-soft);
  color: var(--brand-600);
}
.service__title {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
}
.service__desc {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (min-width: 720px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* =========================================================
   Process
   ========================================================= */

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
}
.step__title { margin: 0 0 0.375rem; font-size: 1.0625rem; }
.step__desc { margin: 0; font-size: 0.9375rem; color: var(--ink-500); line-height: 1.55; }
.step__time {
  display: inline-block;
  margin-top: 0.875rem;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--gradient-brand-soft);
  border-radius: 999px;
}

@media (min-width: 720px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .step + .step::before {
    content: "";
    position: absolute;
    top: 36px;
    left: -1.25rem;
    width: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-500));
  }
}

/* =========================================================
   Why us
   ========================================================= */

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.why-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-base);
}
.why-card:hover {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
}
.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 12px;
}
.why-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}
.why-card__desc {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9375rem;
  line-height: 1.6;
}
@media (min-width: 880px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-base);
}
.faq-item[open] {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.faq-item summary:hover {
  background: var(--ink-25);
  color: var(--brand-700);
}
.faq-item[open] summary:hover {
  background: var(--ink-50);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--brand-600);
  transition: transform var(--t-base);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }

.faq-item__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-500);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.faq-item__body p:first-child { margin-top: 0; }

/* =========================================================
   Contact
   ========================================================= */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__panel {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact__panel--brand {
  background: var(--ink-900);
  background-image:
    radial-gradient(80% 60% at 100% 0%, rgba(50,167,239,0.25), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(1,132,214,0.20), transparent 60%);
  color: var(--ink-100);
  border-color: transparent;
}
.contact__panel--brand h3 { color: var(--white); }

.contact__heading {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}
.contact__blurb {
  margin: 0 0 1.5rem;
  color: var(--ink-500);
}
.contact__panel--brand .contact__blurb {
  color: var(--ink-200);
}

.contact__bullets {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.9375rem;
  opacity: 0.92;
}
.contact__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.contact__bullets svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #34d399;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
}
.contact__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink-100);
}
.contact__detail:hover { color: var(--white); }
.contact__detail svg { color: var(--brand-500); flex-shrink: 0; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.contact__field--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .contact__field--row { grid-template-columns: 1fr 1fr; }
}

.contact__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
}
.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink-800);
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(50, 167, 239, 0.18);
}
.contact__textarea {
  min-height: 130px;
  resize: vertical;
}
.contact__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}

.contact__submit { margin-top: 0.5rem; align-self: flex-start; }
.contact__submit[disabled] { opacity: 0.7; cursor: not-allowed; }
@media (max-width: 559px) {
  .contact__submit { width: 100%; }
}

.contact__notice {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-400);
}

@media (min-width: 920px) {
  .contact__grid {
    grid-template-columns: 5fr 6fr;
    gap: 2rem;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  padding: 3.5rem 1.25rem 2rem;
  background: var(--ink-900);
  color: var(--ink-300);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
/* Same overflow trick as the nav logo, so footer wordmark feels substantial. */
.footer__brand {
  display: block;
  width: 240px;
  height: 64px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.footer__brand-img {
  height: 200px;
  width: auto;
  display: block;
  margin: -68px 0 0 -32px;
  filter: brightness(1.4);
}
.footer__tagline {
  margin: 0 0 1.25rem;
  max-width: 300px;
  font-size: 0.9375rem;
  color: var(--ink-300);
}
.footer__col-title {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-200);
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.footer__list a {
  color: var(--ink-300);
}
.footer__list a:hover { color: var(--white); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-400);
}

@media (min-width: 720px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .service { opacity: 1; transform: none; }
}
