@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/heebo-300.ttf") format("truetype");
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/heebo-400.ttf") format("truetype");
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/heebo-600.ttf") format("truetype");
}

:root {
  --ink: #111111;
  --muted: #5f5f5f;
  --paper: #ffffff;
  --soft: #f5f5f5;
  --line: #e5e5e5;
  --accent: #fec94a;
  --header-height: 88px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Heebo, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

p + h2,
p + p {
  margin-top: 28px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.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: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 12px 90px;
  color: var(--paper);
  background: transparent;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.brand {
  position: relative;
  display: inline-flex;
  width: 112px;
  height: 72px;
  align-items: center;
}

.brand__logo {
  position: absolute;
  inset: 0;
  width: 112px;
  height: auto;
  transition: opacity 180ms ease;
}

.brand__logo--dark {
  opacity: 0;
}

.brand__logo--light {
  opacity: 1;
}

.site-header.is-scrolled .brand__logo--dark,
.site-header.is-open .brand__logo--dark {
  opacity: 1;
}

.site-header.is-scrolled .brand__logo--light,
.site-header.is-open .brand__logo--light {
  opacity: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding: 120px 90px 86px;
  color: var(--paper);
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    url("../images/hero.jpg") center / cover no-repeat;
}

.hero__content {
  width: 42%;
  min-width: 410px;
  max-width: 560px;
  margin-top: 50px;
}

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

.typed-word {
  display: inline-block;
  min-width: min(270px, 100%);
}

.typed-word::after {
  display: inline-block;
  width: 1px;
  height: 0.92em;
  margin-left: 4px;
  content: "";
  background: currentColor;
  vertical-align: -0.12em;
  animation: blink 900ms steps(2, start) infinite;
}

.hero p {
  max-width: 430px;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 30px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--paper);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollCue 1500ms ease-in-out infinite;
}

.section {
  padding: 70px 90px;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
}

.about__copy {
  max-width: 500px;
}

.about h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.about p {
  color: #222222;
}

.about__image {
  margin: 0;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 300ms ease;
}

.about__image:hover img {
  transform: scale(1.025);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 70vh;
  background: var(--ink);
}

.service-panel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: var(--paper);
}

.service-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}

.service-panel img {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-panel:hover img {
  transform: scale(1.04);
}

.service-panel__content {
  position: absolute;
  right: 28px;
  bottom: 42px;
  left: 28px;
  z-index: 1;
}

.service-panel h3 {
  font-size: 26px;
}

.service-panel p {
  margin-top: 18px;
  font-size: 16px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.quote {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 70px 90px;
  color: var(--paper);
  background:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.58)),
    url("../images/quote-bg.jpg") center / cover fixed no-repeat;
}

.quote blockquote {
  margin: 0;
  text-align: center;
}

.quote p {
  font-size: 20px;
  font-weight: 300;
}

.quote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
}

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 720px;
  padding: 74px 90px;
  color: var(--paper);
  background: #000000;
}

.process__intro {
  display: grid;
  justify-items: start;
  gap: 10px;
  width: min(74%, 460px);
  margin: 0 auto;
  text-align: left;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.process h2 {
  font-size: 32px;
}

.process__intro img {
  width: 100%;
  max-width: 460px;
  margin-top: 34px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.process__details {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.tabs {
  width: 100%;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-button {
  min-height: 58px;
  padding: 14px 10px;
  color: var(--paper);
  font: inherit;
  font-size: 19px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.tab-button:hover,
.tab-button.is-active {
  color: #9a9a9a;
}

.tab-button.is-active {
  border-bottom-color: #9a9a9a;
}

.tab-panel {
  padding: 30px 0 0;
  color: var(--paper);
  font-size: 18px;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel p + p {
  margin-top: 18px;
}

.tab-panel strong {
  font-weight: 600;
}

.site-footer {
  padding: 60px 90px;
  background: var(--soft);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  max-width: 1240px;
  margin: 0 auto;
}

.site-footer h2 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.site-footer p,
.site-footer a {
  font-size: 14px;
}

.site-footer nav {
  display: grid;
  gap: 2px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.core-value {
  max-width: 320px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .section,
  .quote,
  .process,
  .site-footer {
    padding-right: 48px;
    padding-left: 48px;
  }

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

  .service-panel,
  .service-panel img {
    min-height: 520px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 78px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand,
  .brand__logo {
    width: 92px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 48px 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.08);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero__content {
    width: 100%;
    min-width: 0;
    max-width: 500px;
  }

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

  .process__intro img {
    width: 100%;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 74px;
  }

  .site-header,
  .hero,
  .section,
  .quote,
  .process,
  .site-footer {
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-nav {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
    padding-bottom: 64px;
    background-position: 62% center;
  }

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

  .hero p {
    font-size: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .about__image {
    order: -1;
  }

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

  .service-panel,
  .service-panel img {
    min-height: 480px;
  }

  .quote {
    min-height: 430px;
    background-attachment: scroll;
  }

  .process {
    min-height: 0;
  }

  .process__intro img {
    width: 100%;
  }

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

  .tab-button {
    font-size: 17px;
  }

  .tab-panel {
    font-size: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
