
:root {
  --paper: #f7f7f4;
  --ink: #17191e;
  --muted: #777b83;
  --line: #dedfdc;
  --accent: #6578e8;
  --dark: #151821;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HEADER */

.header {
  height: 86px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid #17191e12;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav a,
.header-link {
  font-size: 11px;
  color: #5f626b;
  transition: color .25s;
}

.nav a:hover,
.header-link:hover {
  color: var(--accent);
}

.header-link {
  border: 1px solid #d3d5d8;
  padding: 12px 16px;
}

.header-link span {
  color: var(--accent);
  margin-left: 15px;
}

.menu-toggle {
  display: none;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 145px 5% 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-top,
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #858891;
}

.hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 65px 0 45px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(75px, 12vw, 165px);
  font-weight: 600;
  letter-spacing: -.105em;
  line-height: .88;
}

.hero h1 em,
.section h2 em,
.statement h2 em,
.contact h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -.08em;
}

.hero-note {
  max-width: 190px;
  padding-bottom: 12px;
}

.small-line {
  display: block;
  width: 35px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 17px;
}

.hero-note p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.circle-link {
  width: 43px;
  height: 43px;
  border: 1px solid #cfd1d7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: .3s;
}

.circle-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(4px);
}

/* HERO VISUAL */

.hero-visual {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #f0f0ed, #e9ecfa, #f7f7f4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #9baaff55;
  filter: blur(70px);
}

.visual-core {
  position: absolute;
  width: 115px;
  height: 115px;
  border-radius: 34% 66% 57% 43% / 42% 42% 58% 58%;
  background: linear-gradient(145deg, #ffffff, #7889e8);
  box-shadow: 20px 25px 60px #6877ba44, inset -12px -12px 25px #5266bb44;
  animation: float 7s ease-in-out infinite;
}

.visual-orbit {
  position: absolute;
  width: 260px;
  height: 100px;
  border: 1px solid #7182d866;
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(-25deg);
}

.orbit-two {
  transform: rotate(35deg);
}

.orbit-three {
  transform: rotate(90deg);
}

.visual-label {
  position: absolute;
  font: 9px monospace;
  letter-spacing: 1px;
  color: #858b9c;
}

.label-left {
  left: 5%;
}

.label-right {
  right: 5%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-13px) rotate(12deg);
  }
}

.hero-bottom {
  padding-top: 20px;
}

/* GENERAL SECTIONS */

.section {
  padding: 140px 5%;
}

.section-top {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: #858891;
  font: 9px monospace;
  letter-spacing: 1px;
}

.company-grid,
.work-heading,
.approach-heading,
.people-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin: 75px 0;
}

.section h2 {
  font: 600 clamp(55px, 8vw, 105px)/.95 var(--display);
  letter-spacing: -.085em;
}

.company-copy {
  max-width: 390px;
}

.company-copy p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 20px;
}

.company-copy .large-copy {
  font-size: 17px;
  line-height: 1.65;
  color: #33363d;
}

.text-link {
  display: inline-flex;
  gap: 30px;
  padding: 12px 0 8px;
  border-bottom: 1px solid #aeb0b4;
  font-size: 11px;
}

.text-link span {
  color: var(--accent);
}

.company-image {
  height: min(55vw, 570px);
  position: relative;
  overflow: hidden;
}

.company-image img {
  transition: transform .8s;
}

.company-image:hover img {
  transform: scale(1.035);
}

.company-image span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  color: white;
  font: 9px monospace;
  letter-spacing: 1px;
}

/* STATEMENT */

.statement {
  min-height: 490px;
  background: var(--dark);
  color: white;
  padding: 100px 12%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.statement-inner {
  position: relative;
  z-index: 2;
}

.statement-inner > span,
.statement-inner > p {
  color: #aeb5c8;
  font: 9px monospace;
  letter-spacing: 1px;
}

.statement h2 {
  font: 600 clamp(42px, 6.5vw, 85px)/1.1 var(--display);
  letter-spacing: -.07em;
  margin: 38px 0;
}

.statement h2 em {
  color: #a6b2ff;
}

.statement-circle {
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #a6b2ff25;
  border-radius: 50%;
  right: -100px;
}

.statement-circle::before,
.statement-circle::after {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px solid #a6b2ff22;
  border-radius: 50%;
}

.statement-circle::after {
  inset: 100px;
}

/* WORK */

.work {
  background: #eff0f3;
}

.work-heading p,
.approach-heading p,
.people-heading > p {
  max-width: 270px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.work-list {
  border-top: 1px solid #d5d7dd;
}

.work-item {
  min-height: 145px;
  border-bottom: 1px solid #d5d7dd;
  display: grid;
  grid-template-columns: 55px 1fr 30px;
  align-items: center;
  gap: 25px;
  transition: padding .3s;
}

.work-item:hover {
  padding: 0 14px;
}

.work-symbol {
  color: var(--accent);
  font-size: 18px;
}

.work-item h3 {
  font: 500 clamp(22px, 3vw, 34px) var(--display);
  letter-spacing: -1.2px;
  margin-bottom: 8px;
}

.work-item p {
  color: #858891;
  font-size: 11px;
}

.work-arrow {
  color: var(--accent);
  font-size: 20px;
}

.work-footnote {
  color: #858891;
  font-size: 10px;
  margin-top: 20px;
}

/* MARQUEE */

.marquee {
  width: 100%;
  padding: 65px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 10s linear infinite;
  will-change: transform;
}

.marquee-track span {
  display: block;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
  color: #e0e2e9;
  padding-right: 35px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover */

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Responsive */

@media (max-width: 768px) {
  .marquee {
    padding: 45px 0;
  }

  .marquee-track span {
    font-size: clamp(42px, 10vw, 65px);
  }
}

/* APPROACH */

.principles {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 1fr 1fr 25px;
  gap: 35px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
}

.principle:hover {
  padding-left: 12px;
  padding-right: 12px;
}

.principle h3 {
  font: 500 clamp(18px, 2.2vw, 25px) var(--display);
  letter-spacing: -.6px;
}

.principle p {
  max-width: 350px;
  color: #858891;
  font-size: 11px;
  line-height: 1.7;
}

.principle span {
  color: var(--accent);
}

/* PEOPLE */

.people {
  background: #eff0f3;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d5d7dd;
}

.team-member {
  min-height: 160px;
  padding: 25px 20px 25px 0;
  border-bottom: 1px solid #d5d7dd;
}

.team-member > span {
  font: 9px monospace;
  letter-spacing: 1px;
  color: var(--accent);
}

.team-member h3 {
  font: 500 23px var(--display);
  letter-spacing: -.8px;
  margin: 28px 0 5px;
}

.team-member p {
  color: #858891;
  font-size: 11px;
}

/* CONTACT */

.contact {
  min-height: 570px;
  background: var(--dark);
  color: white;
  padding: 110px 8%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-content > span {
  font: 9px monospace;
  letter-spacing: 1px;
  color: #aeb5c8;
}

.contact h2 {
  font: 600 clamp(58px, 9vw, 112px)/.95 var(--display);
  letter-spacing: -.09em;
  margin: 38px 0 25px;
}

.contact h2 em {
  color: #a6b2ff;
}

.contact-content > p {
  color: #aeb5c8;
  font-size: 12px;
  line-height: 1.8;
  max-width: 400px;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(420px, 100%);
  padding: 18px 0;
  border-bottom: 1px solid #626b82;
  margin-top: 30px;
  font-size: 14px;
}

.email-link span {
  color: #a6b2ff;
  font-size: 20px;
}

.contact-decoration {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #a6b2ff20;
  border-radius: 50%;
  right: -160px;
}

.contact-decoration::after {
  content: "";
  position: absolute;
  inset: 100px;
  border: 1px solid #a6b2ff20;
  border-radius: 50%;
}

/* FOOTER */

.footer {
  background: #0d1017;
  color: white;
  padding: 55px 5% 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 65px;
}

.footer-brand {
  align-self: start;
}

.footer-description {
  color: #aeb5c8;
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links > span {
  color: #858e9f;
  font: 9px monospace;
  letter-spacing: 1px;
}

.footer-links a {
  font-size: 11px;
  color: #d5d9e2;
}

.footer-bottom {
  border-top: 1px solid #303541;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #858e9f;
  font: 9px monospace;
  letter-spacing: .5px;
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(75px, 12vw, 120px);
  }

  .section {
    padding: 110px 5%;
  }

  .company-grid,
  .work-heading,
  .approach-heading,
  .people-heading {
    gap: 35px;
  }

  .principle {
    gap: 20px;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .header {
    height: 72px;
    padding: 0 20px;
  }

  .brand img {
    width: 35px;
    height: 35px;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--paper);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    font: 600 25px var(--display);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-link {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
  }

  .menu-toggle span {
    height: 1px;
    background: var(--ink);
    width: 100%;
  }

  .hero {
    min-height: 850px;
    padding: 120px 20px 25px;
  }

  .hero-top,
  .hero-bottom {
    font-size: 8px;
  }

  .hero-content {
    display: block;
    margin: 75px 0 30px;
  }

  .hero h1 {
    font-size: clamp(65px, 15vw, 100px);
  }

  .hero-note {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    margin: 30px 0 0 5%;
  }

  .small-line {
    width: 22px;
    flex: none;
    margin: 0;
  }

  .hero-note p {
    flex: 1;
    margin: 0;
    font-size: 11px;
  }

  .circle-link {
    flex: none;
    width: 36px;
    height: 36px;
  }

  .hero-visual {
    height: 260px;
  }

  .visual-label {
    font-size: 7px;
  }

  .visual-core {
    width: 90px;
    height: 90px;
  }

  .visual-orbit {
    width: 210px;
    height: 85px;
  }

  .hero-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-bottom a {
    width: 100%;
  }

  .section {
    padding: 85px 20px;
  }

  .section-top {
    font-size: 8px;
    gap: 15px;
  }

  .company-grid,
  .work-heading,
  .approach-heading,
  .people-heading {
    display: block;
    margin: 50px 0;
  }

  .section h2 {
    font-size: clamp(55px, 13vw, 80px);
  }

  .company-copy {
    margin-top: 30px;
  }

  .company-image {
    height: 340px;
  }

  .statement {
    min-height: 400px;
    padding: 75px 25px;
  }

  .statement h2 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .statement-circle {
    width: 300px;
    height: 300px;
    right: -200px;
  }

  .work-heading p,
  .approach-heading p,
  .people-heading > p {
    margin-top: 22px;
  }

  .work-item {
    min-height: 125px;
    grid-template-columns: 25px 1fr 20px;
    gap: 12px;
  }

  .work-item h3 {
    font-size: 21px;
  }

  .work-item p {
    font-size: 10px;
    line-height: 1.6;
  }

  .marquee {
    padding: 45px 0;
  }

  .marquee-track span {
    font-size: 55px;
  }

  .principle {
    grid-template-columns: 1fr 20px;
    gap: 12px;
    padding: 23px 0;
  }

  .principle h3 {
    font-size: 18px;
  }

  .principle p {
    grid-column: 1;
    grid-row: 2;
    font-size: 10px;
  }

  .principle span {
    grid-column: 2;
    grid-row: 1;
  }

  .team {
    grid-template-columns: 1fr;
  }

  .team-member {
    min-height: 125px;
  }

  .team-member h3 {
    margin-top: 20px;
  }

  .contact {
    min-height: 520px;
    padding: 85px 22px;
  }

  .contact h2 {
    font-size: clamp(58px, 13vw, 82px);
  }

  .contact-decoration {
    width: 380px;
    height: 380px;
    right: -270px;
  }

  .footer {
    padding: 40px 22px 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    font-size: 8px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
