/* ============ Tokens ============ */
:root {
  --ink: #12141a;
  --ink-soft: #1e212b;
  --ink-softer: #2a2e3a;
  --cream: #f7f4ec;
  --cream-alt: #efeadd;
  --white: #ffffff;
  --coral: #bf2e1a;
  --coral-dark: #9d2615;
  --emerald: #1f9d6b;
  --emerald-dark: #15794f;
  --muted: #626671;
  --muted-light: #aeb2c4;
  --border: rgba(18, 20, 26, 0.09);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px -20px rgba(18, 20, 26, 0.25);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1220px;
  --ff-head: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Mulish", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}

.eyebrow.on-dark {
  color: #d5776a;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(191, 46, 26, 0.55);
}

.btn-coral:hover {
  background: var(--coral-dark);
  box-shadow: 0 18px 36px -10px rgba(191, 46, 26, 0.6);
}

.btn-emerald {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(31, 157, 107, 0.5);
}

.btn-emerald:hover {
  background: var(--emerald-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 12px 22px;
  font-size: 0.88rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ Top utility bar ============ */
.topbar {
  background: var(--ink);
  color: var(--muted-light);
  font-size: 0.83rem;
  font-family: var(--ff-head);
  letter-spacing: 0.02em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar-links {
  display: flex;
  gap: 24px;
}

.topbar a:hover {
  color: var(--white);
}

.topbar-tag {
  color: #d5776a;
}

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 244, 236, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 236, 0.92);
  border-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(18, 20, 26, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo small {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 0.96rem;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--coral);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--coral-dark);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.dropdown a:hover {
  background: var(--cream-alt);
  color: var(--coral-dark);
}

.dropdown a::after {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============ Hero / Parallax ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.hero-page {
  min-height: 56vh;
}

.hero-layer {
  position: absolute;
  inset: -10% -10%;
  pointer-events: none;
  will-change: transform;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.hero-orb-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(191, 46, 26, 0.55), transparent 70%);
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(31, 157, 107, 0.5), transparent 70%);
}

.hero-orb-3 {
  width: 260px;
  height: 260px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 170px;
  padding-bottom: 120px;
  width: 100%;
}

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

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 900px;
}

.hero-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 780px;
}

.hero .lede {
  color: var(--muted-light);
  font-size: 1.25rem;
  max-width: 620px;
}

.hero-crumb {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}

.hero-crumb a:hover {
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.scroll-cue .dash {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--muted-light), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: scaleY(0.3); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.3); opacity: 0.3; transform-origin: bottom; }
}

/* ============ Marquee ============ */
.marquee-wrap {
  background: var(--cream-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  overflow: hidden;
}

.marquee-label {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.marquee-track img {
  height: 64px;
  width: auto;
  margin: 0 14px;
  flex-shrink: 0;
}

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

/* ============ Sections ============ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--cream-alt);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-dark .muted {
  color: var(--muted-light);
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ Differentiator / split ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1fr 1fr;
}

.split-reverse .split-media {
  order: 2;
}

.split h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.split-media {
  position: relative;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card .stat b {
  display: block;
  font-family: var(--ff-head);
  font-size: 2.4rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat span {
  font-size: 0.86rem;
  color: var(--muted);
}

.pull-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pull-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Service cards ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--coral-dark);
  margin-top: 18px;
}

.card-link .arrow {
  transition: transform 0.25s ease;
}

.card:hover .card-link .arrow {
  transform: translateX(5px);
}

/* ============ Why choose grid ============ */
.grid-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 40px;
}

.why-item {
  display: flex;
  gap: 18px;
}

.why-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--emerald);
  flex-shrink: 0;
  width: 44px;
}

.why-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ============ CTA banners ============ */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  color: var(--white);
  isolation: isolate;
}

.cta-banner.coral {
  background: linear-gradient(135deg, #c54331, #8a2113 60%);
}

.cta-banner.emerald {
  background: linear-gradient(135deg, #26b57d, #14684a 65%);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.25;
  z-index: -1;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner .cta-row {
  justify-content: center;
  margin-top: 30px;
}

.cta-banner .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
}

/* ============ Portfolio ============ */
.grid-portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 20, 26, 0.92) 0%, rgba(18, 20, 26, 0.15) 55%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
}

.portfolio-overlay .tag {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d5776a;
  margin-bottom: 6px;
}

.portfolio-overlay h3 {
  font-size: 1.08rem;
  margin: 0;
}

/* ============ Process steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  position: relative;
  padding: 34px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ============ About / Joe ============ */
.joe-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 46px;
}

.joe-photo {
  border-radius: 20px;
  overflow: hidden;
}

.joe-photo img {
  width: 100%;
  filter: grayscale(1) contrast(1.05);
}

.joe-card h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.joe-role {
  font-family: var(--ff-head);
  color: var(--coral-dark);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}

/* ============ Forms ============ */
.form-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-panel.on-dark {
  background: var(--ink-soft);
  box-shadow: none;
  border: 1px solid var(--border-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-panel.on-dark label {
  color: var(--white);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-family: var(--ff-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-panel.on-dark .field input,
.form-panel.on-dark .field textarea,
.form-panel.on-dark .field select {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-dark);
  color: var(--white);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(191, 46, 26, 0.15);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}

.form-panel.on-dark .form-note {
  color: var(--muted-light);
}

.form-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.form-tab-btn {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-tab-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.form-tabpanel {
  display: none;
}

.form-tabpanel.active {
  display: block;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-grid li {
  margin-bottom: 12px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ Sticky floating CTA ============ */
.sticky-cta {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 300;
  transform: translateY(140px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.sticky-cta.show {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta .btn {
  box-shadow: 0 16px 34px -10px rgba(191, 46, 26, 0.6);
}

/* ============ Misc ============ */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.badge {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: var(--muted-light);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 70px 0;
}

.quote-block {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 880px;
}

.quote-block span {
  color: var(--coral);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .grid-3, .grid-portfolio, .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split, .split-reverse {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split-reverse .split-media {
    order: 0;
  }

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

  .joe-card {
    grid-template-columns: 220px 1fr;
    padding: 32px;
  }
}

@media (max-width: 860px) {
  .nav-links, .nav-right .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* backdrop-filter on .site-header creates a containing block for
     position:fixed descendants, which breaks the full-viewport mobile
     menu below — disable it while the menu is open. */
  body.nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-open .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    overflow-y: auto;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 130px 28px 40px;
    gap: 26px;
    font-size: 1.3rem;
    z-index: 199;
  }

  body.nav-open .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 14px 0 0 16px;
    display: none;
  }

  body.nav-open .has-dropdown.open .dropdown {
    display: block;
  }

  .topbar-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }

  .grid-3, .grid-2, .grid-portfolio, .steps, .grid-why {
    grid-template-columns: 1fr;
  }

  .stat-card {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner {
    padding: 56px 26px;
  }

  .joe-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .joe-photo {
    max-width: 220px;
    margin: 0 auto;
  }

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

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

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

  .hero-inner {
    padding-top: 130px;
    padding-bottom: 80px;
  }
}
