﻿:root {
  --black: #060606;
  --white: #ffffff;
  --gray-100: #f1f1f1;
  --gray-300: #cbcbcb;
  --gray-500: #8a8a8a;
  --max-width: 1200px;
  --gap: 2rem;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/Manrope-VariableFont_wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: -0.04em;
}

html,
body {
  font-family: "Manrope", sans-serif;
  color: var(--black);
  background: var(--white);
}

body {
  line-height: 1.06;
}

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

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

main {
  overflow: hidden;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  border-bottom: 1px solid #dcdcdc;
  backdrop-filter: blur(6px);
}

.site-header.home-header {
  position: fixed;
  width: 100%;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  color: var(--white);
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.site-header.home-header.scrolled,
.site-header.home-header.menu-open {
  background: color-mix(in srgb, var(--white) 96%, transparent);
  color: var(--black);
  border-bottom: 1px solid #dcdcdc;
}

.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  width: 128px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: invert(1);
}

.site-header.home-header .brand img {
  filter: none;
}

.site-header.home-header.scrolled .brand img,
.site-header.home-header.menu-open .brand img {
  filter: invert(1);
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-center a,
.button,
button {
  font-size: 0.76rem;
  font-weight: 400;
  text-transform: uppercase;
}

.nav-center a {
  opacity: 0.78;
}

.site-header.home-header .nav-center a {
  opacity: 0.84;
}

.nav-center a.active,
.nav-center a:hover {
  opacity: 1;
}

.nav-cta {
  justify-self: end;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  transition: transform 0.32s ease;
  z-index: -1;
}

.button:hover::before {
  transform: translateX(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 1px solid currentColor;
  --btn-bg: transparent;
  --btn-fg: var(--black);
  --btn-hover-bg: var(--black);
  --btn-hover-fg: var(--white);
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.button::before {
  background: var(--btn-hover-bg);
}

.button:hover {
  color: var(--btn-hover-fg);
}

.button-light {
  --btn-bg: var(--white);
  --btn-fg: var(--black);
  --btn-hover-bg: var(--black);
  --btn-hover-fg: var(--white);
  border-color: var(--white);
}

.button-outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-hover-bg: var(--white);
  --btn-hover-fg: var(--black);
  border-color: var(--white);
}

.button-dark {
  --btn-bg: var(--black);
  --btn-fg: var(--white);
  --btn-hover-bg: transparent;
  --btn-hover-fg: var(--black);
  border-color: var(--black);
}

.button-dark:hover {
  background: transparent;
}

.button-outline-dark {
  --btn-bg: transparent;
  --btn-fg: var(--black);
  --btn-hover-bg: var(--black);
  --btn-hover-fg: var(--white);
  border-color: var(--black);
}

.site-header.home-header.scrolled .nav-cta,
.site-header.home-header.menu-open .nav-cta {
  --btn-bg: transparent;
  --btn-fg: var(--black);
  --btn-hover-bg: var(--black);
  --btn-hover-fg: var(--white);
  border-color: var(--black);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
}

.site-header.home-header.menu-open .menu-toggle,
.site-header.home-header.scrolled .menu-toggle {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

.mobile-menu {
  display: none;
  border-top: 1px solid #dcdcdc;
  background: var(--white);
}

.site-header.home-header .mobile-menu {
  background: var(--white);
  border-color: #dcdcdc;
}

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

.mobile-menu-inner {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
  padding: 1rem 0 1.2rem;
}

.mobile-menu a {
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 400;
}

.section {
  padding: 6.4rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.hero-home {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 8rem 0 4.8rem;
  color: var(--white);
  background:
    linear-gradient(to bottom, rgba(6, 6, 6, 0.3), rgba(6, 6, 6, 0.75)),
    url("./assets/hero-corporate-background.svg") center / cover no-repeat;
  transition: margin-top 0.26s ease;
}

.hero-content {
  text-align: center;
}

.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.75;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 0.92;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.8rem, 4.2vw, 4.4rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  max-width: 20ch;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

p,
li {
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  line-height: 1.1;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
  margin-top: 1.35rem;
}

.hero-title {
  margin: 0 auto;
  max-width: none;
}

.hero-title .line-strong,
.hero-title .line-regular {
  display: block;
  white-space: nowrap;
}

.hero-title .line-strong {
  font-weight: 700;
}

.hero-title .line-regular {
  font-weight: 400;
  margin-top: 0.28rem;
}

.hero-content p {
  margin: 1.75rem auto 0;
  max-width: 44ch;
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-content .hero-actions {
  justify-content: center;
}

.hero-content .hero-actions .button {
  width: min(310px, 100%);
}

.logo-marquee {
  background: var(--gray-100);
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0.2rem;
  min-width: 100%;
  animation: marquee 26s linear infinite;
}

.marquee-item {
  min-width: 660px;
  height: 130px;
  display: grid;
  place-items: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
}

.marquee-logo {
  max-width: 720px;
  max-height: 168px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.split-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(12, 1fr);
}

.split-grid > *:first-child {
  grid-column: span 5;
}

.split-grid > *:last-child {
  grid-column: span 7;
}

.statement-list {
  display: grid;
  gap: 1rem;
}

.statement-list p {
  padding-top: 0.85rem;
  border-top: 1px solid #d4d4d4;
}

.section-tagline {
  margin-bottom: 1.8rem;
}

.steps {
  margin-top: 3rem;
  border-top: 1px solid #323232;
}

.step {
  border-bottom: 1px solid #323232;
}

.step-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  cursor: pointer;
}

.step-toggle h3 {
  font-size: 1.4rem;
}

.step-icon {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-panel-inner {
  padding: 0 0 1.9rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.24s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-toggle[aria-expanded="true"] .step-icon {
  transform: rotate(45deg);
}

.step-toggle[aria-expanded="true"] + .step-panel .step-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.step-panel-body {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.step-text {
  display: grid;
  gap: 0.8rem;
}

.dark-panel {
  background: var(--black);
  color: var(--white);
}

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

.image-placeholder {
  min-height: 260px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 400;
  text-align: center;
  padding: 1rem;
}

.image-frame {
  min-height: 260px;
  border: 1px solid currentColor;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.page-hero {
  padding: 7rem 0 4.5rem;
  border-bottom: 1px solid #d7d7d7;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p {
  max-width: 52ch;
}

.service-card {
  border-top: 1px solid currentColor;
  padding-top: 1.2rem;
}

.service-card p + p {
  margin-top: 1rem;
}

.services-stack-section {
  background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%);
  padding-bottom: 0.75rem;
}

.services-stack-shell {
  position: relative;
}

.services-stack-stage {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.stack-service {
  border: 1px solid #d0d0d0;
  background: var(--white);
  padding: 1.55rem;
  min-height: clamp(420px, 56vh, 620px);
  border-radius: 0;
  transform-origin: top left;
  box-shadow: 0 18px 38px rgba(6, 6, 6, 0.08);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  will-change: transform;
}

.stack-service-primary {
  position: relative;
  z-index: 1;
}

.stack-service-secondary {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}

.stack-service-head {
  margin-bottom: 1.9rem;
}

.stack-service-head h3 {
  max-width: 22ch;
}

.stack-service-content {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: stretch;
}

.stack-service-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}

.stack-service-text p {
  max-width: 32ch;
}

.stack-service-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.4rem;
}

.stack-service-actions .button {
  min-width: 220px;
}

.stack-service-visual {
  border: 1px solid #d0d0d0;
  border-radius: 0;
  min-height: 240px;
  overflow: hidden;
}

.stack-service-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.portfolio-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  border: 1px solid #e1e1e1;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-cover-link {
  display: block;
}

.project-cover {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid #e1e1e1;
}

.project-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.project-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.76;
}

.project-card-cta {
  width: 100%;
  margin-top: auto;
}

.project-detail {
  padding: 2.5rem 0 5rem;
}

.project-detail-title {
  max-width: 18ch;
}

.project-detail-body {
  margin-top: 2rem;
  display: grid;
  gap: 2.2rem;
}

.project-text-block {
  border-top: 1px solid #d7d7d7;
  padding-top: 1rem;
}

.project-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.cal-embed {
  width: 100%;
  min-height: 860px;
  border: 1px solid #dcdcdc;
}

.contact-alt {
  margin-top: 1.2rem;
  border: 1px solid #dcdcdc;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.legal-content {
  display: grid;
  gap: 1.1rem;
  max-width: 80ch;
}

.site-footer {
  border-top: 1px solid #d7d7d7;
  padding: 2rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 0.5rem 0;
  }

  .nav-center,
  .nav-cta {
    display: none;
  }

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

  .split-grid,
  .duo-grid,
  .portfolio-grid,
  .stack-service-content,
  .step-panel-body,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .split-grid > *:first-child,
  .split-grid > *:last-child {
    grid-column: auto;
  }

  .hero-home {
    min-height: 80vh;
    padding: 5.7rem 0 4rem;
    margin-top: 0.5rem;
  }

  .hero-title .line-strong,
  .hero-title .line-regular {
    white-space: normal;
  }

  .hero-title .line-regular {
    margin-top: 0.45rem;
  }

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

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

  .section {
    padding: 4.8rem 0;
  }

  .services-stack-stage {
    top: 82px;
  }

  .stack-service {
    padding: 1.25rem;
    min-height: 520px;
  }

  .stack-service-secondary {
    margin-top: 0.9rem;
  }

  .stack-service-actions .button {
    width: 100%;
    min-width: 0;
  }

  .cal-embed {
    min-height: 780px;
  }
}
