:root {
  --orange: #fc7404;
  --orange-dark: #d86200;
  --ink: #1d1d1d;
  --muted: #626262;
  --line: #dedede;
  --soft: #f7f8fa;
  --white: #ffffff;
  --content: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 43px;
  line-height: 1.16;
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.28;
  font-weight: 600;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 max(28px, calc((100% - var(--content)) / 2));
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.brand span {
  color: #000000;
}

.brand strong {
  color: var(--orange);
  font-weight: 700;
}

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

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 4px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--orange);
  color: var(--orange-dark);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--orange);
  color: var(--white);
}

.header-cta svg,
.button svg,
.text-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 90;
  padding: 34px 28px;
  background: var(--white);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.mobile-nav .mobile-cta {
  margin-top: 22px;
  padding: 14px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  align-items: center;
  padding: calc(var(--header-height) + 46px) max(28px, calc((100% - var(--content)) / 2)) 95px;
  overflow: hidden;
  background: var(--white) url("./assets/hero-bg.png") center top / cover no-repeat;
}

.hero-content {
  width: min(680px, 57%);
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  text-transform: none;
}

.hero h1 {
  margin-bottom: 16px;
  color: #000000;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 600;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #343434;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  padding: 0 22px;
  border: 2px solid var(--orange);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--orange);
  color: var(--white);
}

.hero-proof {
  position: absolute;
  right: max(28px, calc((100% - var(--content)) / 2));
  bottom: 24px;
  left: max(28px, calc((100% - var(--content)) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(29, 29, 29, 0.2);
}

.hero-proof span {
  padding: 13px 16px 0;
  border-left: 1px solid rgba(29, 29, 29, 0.2);
  color: #3f3f3f;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.hero-proof span:last-child {
  border-right: 1px solid rgba(29, 29, 29, 0.2);
}

.section {
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-label::after {
  width: 72px;
  height: 1px;
  background: var(--line);
  content: "";
}

.section-label span {
  color: var(--orange-dark);
}

.section-label.light {
  color: #c9c9c9;
}

.section-label.light::after {
  background: #4b4b4b;
}

.section-heading,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 80px;
  align-items: end;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading > p,
.about-copy {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 17px;
}

.about-grid {
  align-items: start;
}

.about-copy p {
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 700;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  padding: 24px;
  border-left: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 1px solid var(--line);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  margin-bottom: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
}

.facts span {
  color: var(--muted);
  font-size: 13px;
}

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

.services-inner,
.ventures-inner {
  padding-top: 105px;
  padding-bottom: 105px;
}

.light-heading > p {
  color: #bdbdbd;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
}

.service-grid article {
  position: relative;
  min-height: 370px;
  padding: 34px 28px 30px;
  border-left: 1px solid #4a4a4a;
  transition: background-color 170ms ease, color 170ms ease;
}

.service-grid article:last-child {
  border-right: 1px solid #4a4a4a;
}

.service-grid article:hover {
  background: var(--orange);
}

.service-grid article > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 55px;
  color: var(--orange);
}

.service-grid article:hover > svg {
  color: var(--white);
}

.service-index {
  margin-bottom: 16px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 700;
}

.service-grid article:hover .service-index {
  color: rgba(255, 255, 255, 0.75);
}

.service-grid article > p:not(.service-index) {
  color: #bdbdbd;
}

.service-grid article:hover > p:not(.service-index) {
  color: var(--white);
}

.service-grid article > span {
  position: absolute;
  right: 28px;
  bottom: 27px;
  left: 28px;
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-grid article:hover > span {
  color: var(--white);
}

.offer-list {
  border-top: 1px solid var(--ink);
}

.offer-list article {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(330px, 1.4fr) minmax(190px, 0.65fr) 52px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.offer-list article > div:first-child {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.offer-list article > div:first-child span {
  padding-top: 6px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.offer-list h3,
.offer-list p {
  margin-bottom: 0;
}

.offer-list p {
  color: var(--muted);
}

.offer-meta strong,
.offer-meta span {
  display: block;
}

.offer-meta strong {
  font-size: 15px;
}

.offer-meta span {
  color: var(--muted);
  font-size: 12px;
}

.offer-list article > a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange-dark);
  transition: background-color 160ms ease, color 160ms ease;
}

.offer-list article > a:hover,
.offer-list article > a:focus-visible {
  background: var(--orange);
  color: var(--white);
}

.ventures {
  background: var(--soft);
}

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

.venture-card {
  display: grid;
  grid-template-rows: 300px auto;
  border: 1px solid #dadde2;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.venture-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  grid-template-rows: 480px;
}

.venture-image {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #e9eaed;
}

.venture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 300ms ease;
}

.venture-image:hover img {
  transform: scale(1.025);
}

.venture-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.venture-copy > p {
  margin-bottom: 13px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.venture-copy > span:not(.private-label) {
  margin-bottom: 24px;
  color: var(--muted);
}

.venture-copy .text-link,
.private-label {
  margin-top: auto;
}

.proxy-card {
  grid-template-rows: 300px auto;
  background: #242424;
  color: var(--white);
}

.proxy-flow {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 30px;
  background: #f1f1f1;
  color: var(--ink);
}

.proxy-flow span {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.proxy-flow svg {
  width: 16px;
}

.proxy-card .venture-copy > span:not(.private-label) {
  color: #c8c8c8;
}

.private-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #bdbdbd;
  font-size: 12px;
  font-weight: 700;
}

.private-label svg {
  width: 14px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 1px solid var(--line);
}

.process-list span,
.process-list strong {
  display: block;
}

.process-list span {
  margin-bottom: 40px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.process-list strong {
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: end;
  padding: 100px max(28px, calc((100% - var(--content)) / 2));
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.contact > img {
  position: absolute;
  top: -150px;
  right: 14%;
  width: 430px;
  opacity: 0.055;
  pointer-events: none;
}

.contact > div {
  position: relative;
  max-width: 800px;
}

.contact h2 {
  margin-bottom: 20px;
  font-size: 52px;
}

.contact p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #c8c8c8;
  font-size: 17px;
}

footer {
  display: grid;
  grid-template-columns: auto minmax(250px, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 34px max(28px, calc((100% - var(--content)) / 2));
  background: #f2f3f5;
  color: #555555;
  font-size: 12px;
}

.footer-brand {
  font-size: 22px;
}

footer p {
  margin: 0;
}

footer > div {
  display: flex;
  gap: 18px;
}

footer > div a:hover,
footer > div a:focus-visible {
  color: var(--orange-dark);
}

footer > span {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid #d7d7d7;
}

:focus-visible {
  outline: 3px solid rgba(252, 116, 4, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 20px;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .hero-content {
    width: 64%;
  }

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

  .service-grid article:nth-child(2) {
    border-right: 1px solid #4a4a4a;
  }

  .service-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid #4a4a4a;
  }

  .offer-list article {
    grid-template-columns: minmax(210px, 0.9fr) minmax(280px, 1.25fr) minmax(180px, 0.65fr) 48px;
    gap: 20px;
  }

  .venture-featured {
    grid-template-rows: 400px;
  }
}

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

  h2 {
    font-size: 34px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
  }

  .brand {
    font-size: 24px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: 820px;
    padding: calc(var(--header-height) + 48px) 24px 118px;
    background-position: 57% top;
  }

  .hero-content {
    width: 100%;
    max-width: 610px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-proof {
    right: 24px;
    bottom: 22px;
    left: 24px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proof span {
    padding: 9px 6px;
    border-bottom: 1px solid rgba(29, 29, 29, 0.2);
    font-size: 10px;
  }

  .section {
    width: min(100% - 44px, var(--content));
    padding: 78px 0;
  }

  .services-inner,
  .ventures-inner {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-label {
    margin-bottom: 34px;
  }

  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

  .facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .offer-list article {
    position: relative;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-right: 70px;
  }

  .offer-list article > a {
    position: absolute;
    right: 0;
    bottom: 30px;
  }

  .venture-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
  }

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

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    padding: 76px 24px;
  }

  .contact h2 {
    font-size: 40px;
  }

  .contact .button {
    justify-self: start;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 590px) {
  h2 {
    font-size: 30px;
  }

  .hero {
    min-height: 760px;
    align-items: start;
    padding-top: 142px;
    background-position: 57% top;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .facts,
  .service-grid,
  .venture-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .facts div,
  .facts div:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .service-grid article,
  .service-grid article:nth-child(2),
  .service-grid article:last-child {
    min-height: 330px;
    border-right: 1px solid #4a4a4a;
    border-bottom: 1px solid #4a4a4a;
  }

  .service-grid article:last-child {
    border-bottom: 0;
  }

  .venture-card,
  .venture-featured,
  .proxy-card {
    grid-template-rows: 245px auto;
  }

  .proxy-flow {
    min-height: 245px;
    gap: 8px;
    padding: 18px;
  }

  .proxy-flow span {
    padding: 9px 8px;
    font-size: 10px;
  }

  .process-list li,
  .process-list li:last-child {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .process-list span {
    margin-bottom: 22px;
  }

  .contact h2 {
    font-size: 34px;
  }
}

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

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