:root {
  --ink: #0a171b;
  --ink-soft: #223338;
  --slate: #737373;
  --slate-light: #e7e7e7;
  --paper: #f5f7f5;
  --white: #ffffff;
  --accent: #a9202f;
  --accent-dark: #7d1724;
  --line: rgba(10, 23, 27, 0.14);
  --shadow: 0 24px 70px rgba(10, 23, 27, 0.12);
  --radius: 22px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 23, 27, 0.92);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand .brand-logo {
  width: 238px;
  height: 62px;
  padding: 7px 11px;
  border-radius: 10px;
  background: #f7f7f7;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links > a:not(.button) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav-links > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.nav-links > a:hover,
.nav-links > a[aria-current="page"] {
  color: var(--white);
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #ed3246;
  box-shadow: 0 12px 30px rgba(215, 25, 45, 0.3);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 15, 19, 0.95) 0%, rgba(4, 15, 19, 0.78) 45%, rgba(4, 15, 19, 0.24) 78%),
    linear-gradient(0deg, rgba(4, 15, 19, 0.6), transparent 44%),
    url("images/hero.jpg") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 700px;
  align-items: center;
  padding-block: 90px 125px;
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: #ff7c88;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 7.6vw, 7.2rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 4.6vw, 4.5rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 19, 23, 0.52);
  backdrop-filter: blur(14px);
}

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

.stat {
  padding: 26px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 17px;
}

.stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.section {
  padding-block: 110px;
}

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

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

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.section-head h2,
.section-head p {
  margin-bottom: 0;
}

.section-head p {
  color: #5b696d;
  font-size: 18px;
}

.section.dark .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 16, 20, 0.96) 0%, rgba(4, 16, 20, 0.17) 68%);
  content: "";
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
}

.service-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #ffabb4;
  font-size: 12px;
  font-weight: 800;
}

.service-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.image-frame {
  position: relative;
  min-height: 620px;
}

.image-frame img {
  width: 100%;
  height: 620px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-note {
  position: absolute;
  right: -25px;
  bottom: 34px;
  max-width: 260px;
  padding: 24px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 0;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.check-list li::before {
  color: var(--accent-dark);
  content: "✓";
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: process;
}

.process-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  counter-increment: process;
}

.process-card::before {
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  content: "0" counter(process);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 20px;
}

.logo-tile {
  display: grid;
  height: 112px;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.logo-tile img {
  max-width: 130px;
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 180ms ease, opacity 180ms ease;
}

.logo-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border-radius: 28px;
  background: var(--slate);
  color: var(--white);
}

.cta::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 450px;
  height: 450px;
  border: 78px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta h2 {
  font-size: clamp(2.5rem, 5.4vw, 5.3rem);
}

.cta p {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.page-hero {
  padding: 118px 0 95px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(84, 113, 120, 0.6), transparent 31%),
    var(--ink);
  color: var(--white);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
}

.values-grid,
.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card,
.offering {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.value-card span,
.offering > span {
  display: block;
  margin-bottom: 36px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.value-card p,
.offering p {
  margin: 0;
  color: #5a686c;
}

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

.offering {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 16px 45px rgba(10, 23, 27, 0.06);
}

.offering::after {
  position: absolute;
  top: -54px;
  right: -54px;
  width: 120px;
  height: 120px;
  border: 20px solid rgba(169, 32, 47, 0.06);
  border-radius: 50%;
  content: "";
}

.offering ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: #4f6065;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 24px 45px 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  max-width: 760px;
  margin: -5px 0 24px;
  color: #5a686c;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(10, 23, 27, 0.05);
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  color: #6d7b7f;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  line-height: 1.4;
}

.contact-form {
  padding: 42px;
  border-top: 5px solid var(--accent);
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 25, 45, 0.15);
}

.field select option {
  color: var(--ink);
}

.form-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.site-footer {
  padding: 70px 0 30px;
  background: #061014;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.9fr;
  gap: 80px;
  padding-bottom: 50px;
}

.footer-about {
  max-width: 440px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-title {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--ink);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links > a:not(.button) {
    padding: 10px 4px;
  }

  .nav-links > a:not(.button)::after {
    display: none;
  }

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

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

  .service-card:last-child {
    grid-column: 1 / -1;
  }

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

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

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

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand .brand-logo {
    width: 190px;
    height: 54px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 590px;
    align-items: start;
    padding-top: 90px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(4, 15, 19, 0.94), rgba(4, 15, 19, 0.3)),
      url("images/hero.jpg") 62% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }

  .stat,
  .stat:first-child {
    padding: 10px 0;
    border-right: 0;
  }

  .stat span {
    display: none;
  }

  .section {
    padding-block: 76px;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 38px;
  }

  .service-grid,
  .values-grid,
  .offering-grid,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 430px;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .image-frame,
  .image-frame img {
    min-height: 0;
    height: 460px;
  }

  .image-note {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }

  .logo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cta {
    padding: 42px 26px;
  }

  .page-hero {
    padding: 85px 0 72px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .field.full {
    grid-column: auto;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

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

/* About page brand alignment */
.about-page .site-header .brand-logo,
.about-page .site-footer .brand-logo {
  width: 238px;
  height: 62px;
  padding: 7px 11px;
  border-radius: 10px;
  background: #f7f7f7;
}

.about-hero {
  position: relative;
  padding: 106px 0 100px;
  background:
    linear-gradient(90deg, rgba(10, 23, 27, 0.98) 0%, rgba(10, 23, 27, 0.94) 58%, rgba(42, 48, 50, 0.92) 100%),
    var(--ink);
}

.about-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - var(--max)) / 2));
  width: 5px;
  background: var(--accent);
  content: "";
}

.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 70px;
}

.about-hero-copy {
  padding-left: 34px;
}

.about-hero .eyebrow {
  color: #d66a76;
}

.about-hero-mark {
  display: grid;
  width: 320px;
  height: 260px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.about-hero-mark img {
  width: 78%;
  height: auto;
  opacity: 0.92;
}

.about-page .split {
  position: relative;
}

.about-page .split::before {
  position: absolute;
  top: 2px;
  left: -28px;
  width: 4px;
  height: 92px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.about-page .value-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  box-shadow: 0 16px 45px rgba(10, 23, 27, 0.06);
}

.about-page .value-card::after {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 100px;
  height: 100px;
  border: 18px solid rgba(169, 32, 47, 0.06);
  border-radius: 50%;
  content: "";
}

.about-page .dark {
  background:
    linear-gradient(135deg, rgba(169, 32, 47, 0.08), transparent 42%),
    var(--ink);
}

.about-page .process-card {
  border-top: 3px solid var(--accent);
}

.about-page .cta {
  background:
    linear-gradient(110deg, rgba(169, 32, 47, 0.96), rgba(125, 23, 36, 0.96)),
    var(--accent);
}

.about-page .cta .button {
  background: var(--white);
  color: var(--accent-dark);
}

.about-page .cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
}

/* Shared Macario brand system */
.page-hero:not(.about-hero) {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 23, 27, 0.98) 0%, rgba(10, 23, 27, 0.94) 58%, rgba(42, 48, 50, 0.92) 100%),
    var(--ink);
}

.page-hero:not(.about-hero)::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - var(--max)) / 2));
  width: 5px;
  background: var(--accent);
  content: "";
}

.page-hero:not(.about-hero)::after {
  position: absolute;
  top: 50%;
  right: max(44px, calc((100vw - var(--max)) / 2));
  width: 320px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    url("/assets/images/brand-icon.png") center / 72% auto no-repeat,
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  content: "";
  opacity: 0.9;
  transform: translateY(-50%);
}

.page-hero:not(.about-hero) .container {
  position: relative;
  z-index: 1;
  padding-left: 34px;
}

.page-hero:not(.about-hero) h1,
.page-hero:not(.about-hero) > .container > p {
  max-width: 760px;
}

.page-hero:not(.about-hero) .eyebrow {
  color: #d66a76;
}

.dark .process-card {
  border-top: 3px solid var(--accent);
}

.cta {
  background:
    linear-gradient(110deg, rgba(169, 32, 47, 0.96), rgba(125, 23, 36, 0.96)),
    var(--accent);
}

.cta .button:not(.secondary) {
  background: var(--white);
  color: var(--accent-dark);
}

.cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
}

@media (max-width: 900px) {
  .about-hero-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 34px;
  }

  .about-hero-mark {
    width: 220px;
    height: 190px;
  }

  .page-hero:not(.about-hero)::after {
    right: 24px;
    width: 220px;
    height: 180px;
  }

  .page-hero:not(.about-hero) h1,
  .page-hero:not(.about-hero) > .container > p {
    max-width: 600px;
  }
}

@media (max-width: 700px) {
  .about-page .site-header .brand-logo,
  .about-page .site-footer .brand-logo {
    width: 190px;
    height: 54px;
    padding: 6px 9px;
  }

  .about-hero {
    padding: 78px 0 72px;
  }

  .about-hero::before {
    left: 14px;
  }

  .about-hero-layout {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    padding-left: 18px;
  }

  .about-hero-mark {
    width: 100%;
    height: 150px;
    border-radius: 20px;
  }

  .about-hero-mark img {
    width: 180px;
  }

  .about-page .split::before {
    display: none;
  }

  .page-hero:not(.about-hero) {
    padding: 78px 0 72px;
  }

  .page-hero:not(.about-hero)::before {
    left: 14px;
  }

  .page-hero:not(.about-hero)::after {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: calc(100% - 28px);
    height: 145px;
    margin: 34px auto 0;
    border-radius: 20px;
    transform: none;
  }

  .page-hero:not(.about-hero) .container {
    padding-left: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
