@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bone: #f9f9f7;
  --black: #000000;
  --lime: #ffff00;
  --mercury: #e5e5e1;
  --slate: #6b6b68;
  --muted-dark: #2a2a2a;
  --soft-white: #ffffff;
  --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --max: 1440px;
  --header: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--lime);
  color: var(--black);
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bone);
}

::-webkit-scrollbar-thumb {
  background: var(--mercury);
}

.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;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}

.site-header.scrolled {
  background: rgba(249, 249, 247, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 0.5px 0 0 var(--mercury);
}

.nav-inner {
  max-width: var(--max);
  height: var(--header);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 112px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  transition: color 200ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle,
.menu-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--black);
  width: 44px;
  height: 44px;
  padding: 10px;
  position: relative;
}

.menu-toggle span,
.menu-close span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, top 200ms ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 26px;
}

.menu-close span {
  top: 21px;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bone);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 72px 32px 44px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu nav {
  width: 100%;
}

.mobile-menu a {
  min-height: 76px;
  border-bottom: 1px solid var(--mercury);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--black);
}

.mobile-menu a span {
  width: 18px;
  height: 18px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.mobile-menu p {
  margin: 48px 0 0;
  color: var(--slate);
  font-size: 14px;
}

.mobile-menu .menu-close {
  display: block;
  position: absolute;
  top: 18px;
  right: 20px;
}

#app {
  min-height: 70vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.narrow {
  max-width: 820px;
  margin: 0 auto;
}

.hairline {
  border-top: 0.5px solid var(--mercury);
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(229, 229, 225, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 229, 225, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.eyebrow,
.section-label span:last-child {
  display: inline-block;
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.muted {
  color: var(--slate);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  flex: 0 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 0.98;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.lead {
  color: var(--slate);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-dark {
  background: var(--black);
  color: var(--bone);
}

.section-dark .lead,
.section-dark .muted,
.section-dark .section-label span:last-child {
  color: var(--slate);
}

.section-title {
  max-width: 760px;
  margin-bottom: 64px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  color: var(--black);
}

.section-dark .section-title {
  color: var(--bone);
}

.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 32px;
  border: 0.5px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  color: var(--black);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease, opacity 250ms ease;
}

.btn-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 350ms ease;
  z-index: 0;
}

.btn-pill:hover::before {
  transform: scaleX(1);
}

.btn-pill span {
  position: relative;
  z-index: 1;
}

.btn-lime::before {
  background: var(--lime);
}

.btn-dark::before {
  background: var(--black);
}

.btn-dark:hover {
  color: var(--bone);
}

.btn-dark-lime {
  color: var(--lime);
}

.btn-dark-lime::before {
  background: var(--lime);
}

.btn-dark-lime:hover {
  color: var(--black);
}

.home-intro {
  padding-top: var(--header);
  border-bottom: 1px solid var(--mercury);
}

.home-intro-content {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 950px;
  padding: 96px 0;
}

.home-intro h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
}

.home-intro .lead {
  max-width: 720px;
}
.home-hero {
  padding-top: var(--header);
  min-height: 90vh;
  display: flex;
  border-bottom: 1px solid var(--mercury);
}

.hero-pane {
  position: relative;
  flex: 1;
  min-height: calc(90vh - var(--header));
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: flex 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero:hover .hero-pane {
  flex: 0.82;
}

.home-hero .hero-pane:hover {
  flex: 1.3;
}

.hero-pane:first-child {
  border-right: 1px solid var(--mercury);
}

.hero-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 0, 0.1), rgba(255, 255, 0, 0.03));
  transition: background 350ms ease;
}

.hero-pane.agency::before {
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.03));
}

.hero-pane:hover::before {
  background: linear-gradient(135deg, rgba(255, 255, 0, 0.18), rgba(255, 255, 0, 0.06));
}

.hero-pane.agency:hover::before {
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.06));
}

.diagonal {
  position: absolute;
  top: 0;
  width: 160px;
  height: 160px;
  opacity: 0.2;
  overflow: hidden;
}

.diagonal.right {
  right: 0;
}

.diagonal.left {
  left: 0;
}

.diagonal::before {
  content: "";
  position: absolute;
  top: 0;
  width: 200%;
  height: 1px;
  background: var(--black);
}

.diagonal.right::before {
  right: 0;
  transform: rotate(45deg) translateX(32px);
  transform-origin: top right;
  background: var(--lime);
}

.diagonal.left::before {
  left: 0;
  transform: rotate(-45deg) translateX(-32px);
  transform-origin: top left;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 64px;
}

.hero-content h2 {
  margin: 0 0 24px;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
}

.hero-content p {
  max-width: 430px;
  color: var(--slate);
  margin-bottom: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: gap 200ms ease;
}

.text-link:hover {
  gap: 16px;
}

.arrow,
.up-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.arrow {
  transform: rotate(45deg);
}

.up-arrow {
  transform: rotate(45deg) translateY(1px);
}

.logo-strip {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--mercury);
  overflow: hidden;
}

.logo-strip-title {
  margin-bottom: 28px;
  text-align: center;
}

.logo-viewport {
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.client-logo {
  width: 192px;
  height: 80px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.split-grid,
.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.card-grid {
  display: grid;
  gap: 1px;
  background: var(--mercury);
  border: 1px solid var(--mercury);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  background: var(--bone);
  padding: 48px;
}

.panel h3 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.panel p,
.copy {
  color: var(--slate);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

.check-list,
.simple-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 40px;
  display: grid;
  gap: 12px;
}

.check-list li,
.simple-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-top: 2px;
}

.simple-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--black);
  flex: 0 0 auto;
}

.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mercury);
  pointer-events: none;
}

.page-hero {
  position: relative;
  padding-top: var(--header);
  overflow: hidden;
  border-bottom: 0.5px solid var(--mercury);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bone), rgba(249, 249, 247, 0.82), var(--bone));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 48px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 760px;
  margin-top: 26px;
}

.page-hero .btn-pill {
  margin-top: 32px;
}

.testimonial-card {
  min-height: 430px;
  aspect-ratio: 3 / 4;
  background: var(--black);
  color: var(--bone);
  border: 1px solid var(--mercury);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.play-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 0, 0.1);
  margin: 0 auto 16px;
  position: relative;
}

.play-mark::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--lime);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--mercury);
}

.timeline-item {
  position: relative;
  padding: 32px 0 32px 88px;
  border-bottom: 1px solid var(--mercury);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 43px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--bone);
}

.timeline-content {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.mini-grid span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--slate);
  font-size: 14px;
}

.mini-grid span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--slate);
  flex: 0 0 auto;
}

.step-list {
  display: grid;
  gap: 22px;
}

.step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-row strong {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.dark-panel {
  border: 1px solid var(--muted-dark);
  padding: 44px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--black);
  color: var(--bone);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.anatomy-toggle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--black);
  padding: 0;
  font-weight: 700;
}

.anatomy-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.anatomy-toggle.open::after {
  transform: rotate(135deg);
}

.anatomy {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--mercury);
}

.anatomy.open {
  display: grid;
  gap: 22px;
}

.anatomy .eyebrow {
  color: var(--black);
  margin-bottom: 4px;
}

.filter-bar {
  position: sticky;
  top: var(--header);
  z-index: 20;
  border-bottom: 1px solid var(--mercury);
  background: rgba(249, 249, 247, 0.96);
  backdrop-filter: blur(16px);
}

.filter-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.filter-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  padding: 9px 20px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.filter-button.active {
  background: var(--black);
  color: var(--bone);
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.resource-card:hover,
.post-row:hover {
  background: var(--soft-white);
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.meta-row strong {
  color: var(--black);
  font-weight: 700;
}

.empty-state {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 0;
}

.empty-state h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.blog-cta {
  background: var(--black);
  color: var(--bone);
}

.blog-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 48px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.blog-cta strong {
  color: var(--lime);
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 430px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--muted-dark);
  background: transparent;
  color: inherit;
  padding: 12px 16px;
  outline: 0;
}

.newsletter-form input:focus {
  border-color: var(--lime);
}

.newsletter-form button {
  border: 0;
  background: var(--lime);
  color: var(--black);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.post-list {
  display: grid;
}

.post-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--mercury);
  transition: background 180ms ease;
}

.post-row h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.post-row p {
  color: var(--slate);
}

.post-page {
  padding: calc(var(--header) + 56px) 0 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: var(--slate);
  font-size: 14px;
}

.post-page h1 {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
}

.post-author {
  margin-bottom: 40px;
  color: var(--slate);
}

.post-body {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.8;
}

.post-body h2,
.post-body h3 {
  color: var(--black);
  margin: 42px 0 16px;
  line-height: 1.15;
}

.post-body h2 {
  font-size: 2rem;
}

.post-body h3 {
  font-size: 1.35rem;
}

.post-body p,
.post-body ul,
.post-body ol {
  margin: 0 0 20px;
}

.post-body li {
  margin-bottom: 8px;
}

.inline-newsletter {
  margin-top: 64px;
  background: var(--black);
  color: var(--bone);
  text-align: center;
  padding: 36px;
}

.inline-newsletter .newsletter-form {
  margin: 24px auto 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  gap: 72px;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.field label,
.choice-label {
  display: block;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--mercury);
  background: transparent;
  color: var(--black);
  padding: 12px 0;
  outline: 0;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--black);
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-group button {
  border: 1px solid var(--mercury);
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  padding: 10px 20px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.choice-group button.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--bone);
}

.contact-card {
  border: 1px solid var(--mercury);
  padding: 28px;
  margin-bottom: 28px;
}

.contact-card.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 180ms ease;
}

.contact-card.link-card:hover {
  border-color: var(--lime);
}

.social-stack {
  display: grid;
  gap: 12px;
}

.success-box {
  text-align: center;
  padding: 80px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 auto 24px;
  position: relative;
}

.success-icon::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 17px;
  width: 14px;
  height: 26px;
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  transform: rotate(45deg);
}

.site-footer {
  background: var(--black);
  color: var(--bone);
}

.footer-newsletter {
  border-bottom: 1px solid var(--muted-dark);
}

.footer-newsletter-inner,
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

.footer-newsletter-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer-newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.footer-main {
  padding-top: 72px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 48px;
}

.footer-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-copy {
  max-width: 330px;
  color: #9a9a97;
  font-size: 14px;
}

.footer-grid a {
  display: table;
  margin-top: 13px;
  color: #9a9a97;
  font-size: 14px;
  transition: color 160ms ease;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--lime);
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--muted-dark);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--slate);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 360px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  background: var(--black);
  color: var(--bone);
  border: 1px solid var(--muted-dark);
  padding: 16px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header: 86px;
  }

  .nav-inner,
  .container,
  .page-hero-inner,
  .filter-row,
  .footer-newsletter-inner,
  .footer-main,
  .blog-cta-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brand-logo {
    height: 86px;
  }

  .home-hero {
    flex-direction: column;
    min-height: auto;
  }

  .home-hero:hover .hero-pane,
  .home-hero .hero-pane:hover,
  .hero-pane {
    flex: none;
  }

  .hero-pane {
    min-height: 430px;
  }

  .hero-pane:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--mercury);
  }

  .hero-content {
    padding: 64px 32px;
  }

  .section {
    padding: 76px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .split-grid,
  .two-grid,
  .contact-grid,
  .field-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 32px;
  }

  .page-hero-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    padding-left: 54px;
  }

  .timeline-item::before {
    left: 12px;
  }

  .timeline-content,
  .mini-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-cta-inner,
  .footer-newsletter-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .newsletter-form {
    max-width: none;
  }

  .post-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 520px) {
  .nav-inner,
  .container,
  .page-hero-inner,
  .filter-row,
  .footer-newsletter-inner,
  .footer-main,
  .blog-cta-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content {
    padding: 56px 24px;
  }

  .btn-pill,
  .newsletter-form button {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    min-height: 48px;
  }

  .contact-card.link-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}
