:root {
  --ink: #17202d;
  --ink-deep: #111820;
  --muted: #687586;
  --background: #ffffff;
  --soft: #f6f7f8;
  --border: #e1e5e9;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1200px, calc(100% - 100px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid #6d87a7;
  outline-offset: 4px;
}

::selection {
  background: var(--ink);
  color: white;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -1.7px;
}

h2 {
  font-size: clamp(37px, 4.6vw, 65px);
  font-weight: 700;
}

h2 span {
  color: #87909b;
}

p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--muted);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(18, 27, 40, .045);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 88px;
}

.brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand > span:first-child {
  color: #87909b;
  font-weight: 500;
}

.brand-dot {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a {
  font-size: 12px;
  font-weight: 700;
  transition: color .2s;
}

.nav-links > a:hover {
  color: #8a95a3;
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 13px 19px;
  background: var(--ink);
  color: white;
  transition: background .2s, transform .2s;
}

.nav-links .nav-cta:hover {
  background: #354357;
  color: white;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px 5px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .2s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* HERO */

.hero {
  padding-top: 115px;
  padding-bottom: 40px;
  min-height: 710px;
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #6d8d75;
  box-shadow: 0 0 0 5px #e7efe8;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: end;
  gap: 60px;
  margin-top: 55px;
}

.hero h1 {
  font-size: clamp(55px, 6.4vw, 91px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -5px;
  margin-bottom: 34px;
}

.hero h1 span {
  color: #87909b;
}

.hero-description {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 37px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 54px;
  padding: 15px 22px;
  font-size: 12px;
  font-weight: 800;
  transition: background .25s, color .25s, transform .25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--ink);
  color: white;
}

.btn-primary:hover {
  background: #354357;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: white;
}

.btn-secondary:hover {
  background: var(--soft);
}

.hero-aside {
  padding: 0 0 10px 22px;
  border-left: 1px solid var(--border);
}

.hero-aside-number {
  font-size: 11px;
  font-weight: 800;
  color: #8c97a5;
}

.hero-aside p {
  margin: 25px 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}

.hero-aside-line {
  display: block;
  width: 50px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--ink);
}

.hero-aside small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 105px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

/* STATEMENT BAND */

.statement-band {
  background: var(--ink-deep);
  color: white;
}

.statement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: 2px;
}

.statement-star {
  color: #84909b;
  font-size: 18px;
}

/* COMMON SECTIONS */

.section {
  padding-block: 130px;
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 70px;
}

.section-heading-grid h2 {
  margin-bottom: 0;
}

.section-heading-grid p {
  max-width: 380px;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.95;
}

/* SERVICES */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(18, 27, 40, .055);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.card-top span:last-child {
  font-size: 17px;
}

.card-icon {
  margin-top: 55px;
  font-size: 34px;
  line-height: 1;
  color: #9ca6b1;
}

.card h3 {
  margin: 25px 0 13px;
  font-size: 23px;
}

.card p {
  max-width: 290px;
  font-size: 13px;
  line-height: 1.85;
}

.card-bottom {
  margin-top: auto;
  padding-top: 25px;
  color: #919ba7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about h2 {
  margin-bottom: 0;
}

.about-copy {
  padding-top: 43px;
}

.about-copy p {
  font-size: 15px;
  line-height: 2;
}

.about-copy .about-lead {
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.6px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

/* PORTFOLIO */

.work-section {
  background: var(--soft);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.work-heading h2 {
  margin-bottom: 0;
}

.work-heading > p {
  max-width: 370px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.95;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 65px;
}

.project-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  transition: transform .35s, box-shadow .35s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 65px rgba(18, 27, 40, .075);
}

.project-image {
  position: relative;
  display: block;
  height: 530px;
  overflow: hidden;
  background: #d7dade;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .26),
    transparent 45%
  );
  pointer-events: none;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.project-image:hover img {
  transform: scale(1.045);
}

.project-image-label {
  position: absolute;
  z-index: 1;
  right: 27px;
  bottom: 27px;
  padding: 15px 20px;
  background: white;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.project-details {
  padding: 37px 42px 40px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.project-tag {
  padding: 8px 12px;
  background: var(--soft);
  border: 1px solid var(--border);
  font-size: 9px;
  white-space: nowrap;
}

.project-info-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 28px;
}

.project-info-grid h3 {
  margin-bottom: 15px;
  font-size: clamp(27px, 3vw, 39px);
  letter-spacing: -1.6px;
}

.project-info-grid p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.9;
}

.project-link {
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 23px;
  transition: background .25s, color .25s;
}

.project-link:hover {
  background: var(--ink);
  color: white;
}

.project-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.project-categories span {
  padding: 8px 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.work-disclaimer {
  margin: 25px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* PROCESS */

.process-section {
  background: white;
}

.process-heading {
  max-width: 690px;
  margin-bottom: 65px;
}

.process-heading h2 {
  margin-bottom: 25px;
}

.process-heading > p {
  max-width: 540px;
  font-size: 15px;
  line-height: 1.9;
}

.process-list {
  border-top: 1px solid var(--border);
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: 25px;
  align-items: center;
  padding: 32px 12px;
  border-bottom: 1px solid var(--border);
  transition: background .25s, padding .25s;
}

.process-step:hover {
  background: var(--soft);
  padding-inline: 24px;
}

.process-number {
  color: #9aa4af;
  font-size: 12px;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 9px;
  font-size: 25px;
}

.process-step p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.85;
}

.process-arrow {
  justify-self: end;
  font-size: 23px;
  color: #9aa4af;
}

/* CONTACT */

.contact-section {
  background: var(--ink-deep);
  color: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.contact-section .eyebrow {
  color: #a2acb8;
}

.contact-copy h2 {
  font-size: clamp(43px, 5.3vw, 75px);
  margin-bottom: 30px;
}

.contact-copy h2 span {
  color: #8c9aa9;
}

.contact-copy > p {
  max-width: 450px;
  color: #b0bac5;
  font-size: 15px;
  line-height: 1.95;
}

.contact-action {
  padding: 35px;
  border: 1px solid #39434f;
}

.contact-action > span {
  display: block;
  margin-bottom: 25px;
  color: #aeb9c5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 24px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, transform .2s;
}

.contact-button:hover {
  background: #e9edf0;
  transform: translateY(-2px);
}

.contact-action p {
  margin: 23px 0 10px;
  color: #b0bac5;
  font-size: 12px;
}

.contact-action p a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-email {
  display: inline-block;
  color: white;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* FOOTER */

.footer {
  background: #f8f9fa;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 50px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
}

.footer-brand span {
  color: #87909b;
  font-weight: 500;
}

.footer-main p {
  margin-top: 14px;
  font-size: 13px;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-navigation a {
  font-size: 12px;
  font-weight: 700;
}

.footer-navigation a:hover,
.footer-bottom a:hover {
  color: #87909b;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }

  .nav-links {
    gap: 20px;
  }

  .hero-layout {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .hero h1 {
    font-size: clamp(50px, 6.3vw, 77px);
  }

  .about,
  .contact-layout {
    gap: 55px;
  }
}

@media (max-width: 850px) {
  .nav {
    min-height: 76px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a {
    padding: 13px 5px;
    border-top: 1px solid var(--border);
    font-size: 14px;
  }

  .nav-links .nav-cta {
    margin-top: 12px;
    justify-content: space-between;
    padding: 15px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .hero-aside {
    max-width: 350px;
  }

  .hero-footer {
    margin-top: 75px;
  }

  .section {
    padding-block: 90px;
  }

  .section-heading-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-copy {
    padding-top: 0;
  }

  .work-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .project-image {
    height: 430px;
  }

  .contact-action {
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .brand {
    font-size: 14px;
  }

  .hero {
    padding-top: 75px;
    padding-bottom: 28px;
  }

  .hero-topline {
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .hero-layout {
    margin-top: 45px;
    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(40px, 9vw, 56px);
    letter-spacing: -2.7px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    justify-content: space-between;
  }

  .hero-footer {
    margin-top: 55px;
    font-size: 8px;
    letter-spacing: .8px;
  }

  .statement-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .statement-star {
    font-size: 12px;
  }

  .section {
    padding-block: 75px;
  }

  h2 {
    font-size: 39px;
    letter-spacing: -2px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 320px;
  }

  .about-copy .about-lead {
    font-size: 21px;
  }

  .work-heading {
    margin-bottom: 35px;
  }

  .projects {
    gap: 35px;
  }

  .project-image {
    height: 270px;
  }

  .project-image-label {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    font-size: 9px;
  }

  .project-details {
    padding: 24px 20px;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 9px;
  }

  .project-info-grid {
    gap: 15px;
  }

  .project-info-grid h3 {
    font-size: 27px;
  }

  .project-info-grid p {
    font-size: 13px;
  }

  .project-link {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .process-heading {
    margin-bottom: 40px;
  }

  .process-step {
    grid-template-columns: 35px 1fr 20px;
    gap: 12px;
    padding: 25px 0;
  }

  .process-step:hover {
    padding-inline: 0;
  }

  .process-step h3 {
    font-size: 21px;
  }

  .process-arrow {
    font-size: 17px;
  }

  .contact-action {
    padding: 20px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
    padding: 55px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
