:root {
  --ink: #111111;
  --soft-ink: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --white: #ffffff;
  --accent: #1264a3;
  --page: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: 64px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(210, 210, 215, 0.8);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 48px), var(--page));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-mark {
  font-size: 19px;
  font-weight: 720;
}

.brand-name {
  color: currentColor;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.68;
}

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

.site-nav a {
  position: relative;
  padding: 22px 0;
  opacity: 0.82;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  height: min(780px, calc(100svh - 92px));
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
  background: #23374b;
}

.hero > img {
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(0.62) saturate(0.86);
  transform: scale(1.002);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.hero-content {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 84px;
  left: 24px;
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
}

.hero-kicker,
.section-label {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: 72px;
  font-weight: 650;
  line-height: 1.08;
}

.hero-line {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.hero-meta {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - var(--page)) / 2));
  bottom: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-transform: uppercase;
}

.manifesto {
  padding: 132px 24px 108px;
}

.manifesto-inner,
.services,
.projects,
.contact-inner,
footer {
  width: min(100%, var(--page));
  margin: 0 auto;
}

.section-label {
  color: var(--accent);
}

.manifesto h2,
.section-head h2,
.profile-text h2,
.contact h2 {
  margin: 0;
  font-size: 58px;
  font-weight: 620;
  line-height: 1.12;
}

.manifesto-copy {
  display: grid;
  max-width: 820px;
  margin: 64px 0 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.manifesto-copy p,
.projects-head > p:last-child,
.profile-text > p,
.service-list p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 17px;
  line-height: 1.8;
}

.numbers {
  display: grid;
  padding: 0 max(24px, calc((100vw - var(--page)) / 2));
  background: var(--soft);
  grid-template-columns: repeat(3, 1fr);
}

.number-item {
  padding: 68px 32px;
  border-right: 1px solid var(--line);
}

.number-item:first-child {
  padding-left: 0;
}

.number-item:last-child {
  border-right: 0;
}

.number-item strong {
  display: block;
  font-size: 54px;
  font-weight: 620;
  line-height: 1;
}

.number-item span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.services {
  padding: 132px 24px;
}

.section-head {
  margin-bottom: 70px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  min-height: 160px;
  padding: 34px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 80px minmax(220px, 0.55fr) 1fr;
  gap: 28px;
}

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

.service-list h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 580;
}

.service-list p {
  max-width: 560px;
}

.scope-line {
  display: flex;
  margin-top: 60px;
  flex-wrap: wrap;
  gap: 12px 30px;
  color: var(--muted);
  font-size: 14px;
}

.scope-line span::before {
  margin-right: 12px;
  color: var(--accent);
  content: "•";
}

.projects {
  padding: 132px 24px;
  border-top: 1px solid var(--line);
}

.projects-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 56px;
}

.projects-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.projects-head > p:last-child {
  max-width: 520px;
  align-self: end;
}

.project-feature,
.project-tile {
  margin: 0;
}

.project-feature img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

figcaption {
  display: flex;
  padding: 20px 0 0;
  align-items: flex-end;
  justify-content: space-between;
}

.project-feature figcaption > div {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

figcaption span,
figcaption p {
  color: var(--muted);
  font-size: 12px;
}

figcaption p {
  margin: 0;
  text-transform: uppercase;
}

figcaption h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 560;
}

.project-grid {
  display: grid;
  margin-top: 100px;
  grid-template-columns: 1fr 1fr;
  gap: 88px 28px;
}

.project-tile img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-tile-tall {
  margin-top: 120px;
}

.project-tile-wide {
  grid-column: 1 / -1;
}

.project-tile-wide img {
  aspect-ratio: 16 / 8;
}

.profile-band {
  background: var(--soft);
}

.profile-detail {
  display: grid;
  width: min(100%, 1600px);
  min-height: 720px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
}

.profile-image img {
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.profile-text {
  display: flex;
  padding: 96px min(7vw, 120px);
  flex-direction: column;
  justify-content: center;
}

.profile-text > p {
  max-width: 520px;
  margin-top: 42px;
}

.profile-text .section-label {
  margin-top: 0;
  margin-bottom: 22px;
}

.profile-text dl {
  max-width: 560px;
  margin: 58px 0 0;
  border-top: 1px solid var(--line);
}

.profile-text dl div {
  display: grid;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 100px 1fr;
  gap: 20px;
}

.profile-text dt {
  font-weight: 600;
}

.profile-text dd {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: 130px 24px;
  color: var(--white);
  background: #111111;
}

.contact .section-label {
  color: #73b8e7;
}

.contact h2 {
  max-width: 820px;
}

.contact-details {
  max-width: 620px;
  margin: 76px 0 0 auto;
  padding-top: 26px;
  border-top: 1px solid #3b3b3d;
}

.contact-details p {
  margin: 8px 0;
  color: #a1a1a6;
  font-size: 14px;
}

.contact-details strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 560;
}

footer {
  display: flex;
  min-height: 110px;
  padding: 28px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

footer p {
  margin: 0;
  font-size: 11px;
}

.footer-brand {
  color: var(--ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 54px;
  }

  .manifesto h2,
  .section-head h2,
  .profile-text h2,
  .contact h2 {
    font-size: 46px;
  }

  .manifesto-copy {
    margin-top: 48px;
  }

  .profile-detail {
    grid-template-columns: 1fr;
  }

  .profile-image img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .profile-text {
    padding: 90px 44px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 58px;
  }

  .nav-shell {
    width: calc(100% - 36px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    top: 58px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    padding: 0 22px;
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    grid-template-columns: 1fr;
    gap: 0;
    opacity: 0;
    transition: max-height 280ms ease, opacity 180ms ease, padding 280ms ease;
  }

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

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

  .site-header.is-open .site-nav {
    max-height: 320px;
    padding-top: 10px;
    padding-bottom: 22px;
    opacity: 1;
  }

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

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

  .hero {
    height: calc(100svh - 116px);
    min-height: 590px;
  }

  .hero > img {
    object-position: 62% bottom;
  }

  .hero-content {
    right: 20px;
    bottom: 58px;
    left: 20px;
    width: auto;
  }

  .hero-kicker {
    max-width: 280px;
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 1.5;
  }

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

  .hero-line {
    max-width: 290px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-meta {
    right: 20px;
    bottom: 18px;
  }

  .manifesto,
  .services,
  .projects,
  .contact {
    padding: 86px 20px;
  }

  .manifesto h2,
  .section-head h2,
  .profile-text h2,
  .contact h2 {
    font-size: 36px;
    line-height: 1.18;
  }

  .manifesto-copy,
  .projects-head {
    grid-template-columns: 1fr;
  }

  .manifesto-copy {
    margin-top: 42px;
    gap: 22px;
  }

  .manifesto-copy p,
  .projects-head > p:last-child,
  .profile-text > p,
  .service-list p {
    font-size: 15px;
  }

  .numbers {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }

  .number-item,
  .number-item:first-child {
    padding: 36px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .number-item:last-child {
    border-bottom: 0;
  }

  .number-item strong {
    font-size: 44px;
  }

  .section-head {
    margin-bottom: 46px;
  }

  .service-list article {
    min-height: 0;
    padding: 28px 0;
    grid-template-columns: 36px 1fr;
    gap: 10px 12px;
  }

  .service-list h3 {
    font-size: 23px;
  }

  .service-list p {
    grid-column: 2;
  }

  .scope-line {
    margin-top: 42px;
    gap: 10px 18px;
  }

  .projects-head {
    gap: 24px;
  }

  .projects-head .section-label {
    grid-column: auto;
  }

  .project-feature img,
  .project-tile img,
  .project-tile-wide img {
    aspect-ratio: 4 / 3;
  }

  figcaption {
    padding-top: 14px;
  }

  figcaption h3 {
    font-size: 19px;
  }

  .project-grid {
    margin-top: 72px;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .project-tile-tall {
    margin-top: 0;
  }

  .project-tile-wide {
    grid-column: auto;
  }

  .profile-image img {
    aspect-ratio: 4 / 3;
  }

  .profile-text {
    padding: 78px 20px;
  }

  .profile-text > p {
    margin-top: 32px;
  }

  .profile-text dl {
    margin-top: 42px;
  }

  .profile-text dl div {
    grid-template-columns: 64px 1fr;
    font-size: 14px;
  }

  .contact-details {
    margin-top: 56px;
  }

  footer {
    min-height: 130px;
    padding: 28px 20px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
