:root {
  --blue: #071728;
  --blue-2: #0c2238;
  --blue-3: #12324f;
  --ink: #06111e;
  --white: #f8fbff;
  --cream: #f3ead8;
  --cream-2: #dccbac;
  --gold: #c99a42;
  --silver: #c7d1d8;
  --silver-2: #7890a2;
  --line: rgba(199, 209, 216, 0.18);
  --line-dark: rgba(7, 23, 40, 0.16);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(circle at 80% 0%, rgba(71, 130, 176, 0.28), transparent 26rem),
    radial-gradient(circle at 12% 90%, rgba(201, 154, 66, 0.13), transparent 24rem),
    var(--blue);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto, auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 23, 40, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  width: 8.25rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  padding: 0.5rem;
}

.brand img,
.hero-logo img,
.contact-logo img {
  filter: grayscale(1) contrast(1.06) brightness(0.92);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

nav {
  justify-self: end;
  display: flex;
  align-items: center;
}

nav a {
  min-height: 5.5rem;
  display: grid;
  place-items: center;
  padding: 0 1.8rem;
  border-left: 1px solid var(--line);
  color: rgba(248, 251, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--gold);
  background: rgba(199, 209, 216, 0.05);
}

section {
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: grid;
  grid-template-columns: minmax(320px, 0.46fr) minmax(0, 1fr) 9rem;
}

.hero-logo {
  min-height: inherit;
  display: grid;
  align-items: center;
  padding: clamp(1.2rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(199, 209, 216, 0.11), transparent),
    var(--blue-2);
}

.hero-logo img {
  width: min(100%, 28rem);
  margin-inline: auto;
  border: 1px solid rgba(197, 199, 198, 0.18);
  box-shadow: 0 2rem 5rem rgba(4, 13, 24, 0.52);
}

.hero-copy {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 7vw, 7rem);
}

.kicker {
  margin: 0 0 1.4rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 2rem;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.8vw, 5rem);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-copy > p {
  max-width: 35rem;
  color: rgba(248, 251, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.button {
  min-width: 12.5rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  color: rgba(248, 251, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.button.silver:hover,
.button.gold:hover {
  background: var(--silver);
  border-color: var(--silver);
  color: var(--ink);
}

.hero-meta {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  border-left: 1px solid var(--line);
}

.hero-meta span {
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-bottom: 1px solid var(--line);
  color: rgba(248, 251, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.studio-panel,
.services-section,
.contact-section {
  display: grid;
  grid-template-columns: 7rem minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.studio-panel {
  background: var(--cream);
  color: var(--ink);
}

.section-index {
  padding-top: 0.35rem;
  color: var(--silver-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.studio-panel > .section-index,
.services-section > .section-index {
  min-height: 27rem;
  display: grid;
  place-items: start center;
  padding-top: clamp(2rem, 5vw, 5rem);
  border-right: 1px solid var(--line-dark);
}

.studio-copy,
.studio-text {
  padding: clamp(2.5rem, 6vw, 6rem);
}

.studio-copy {
  border-right: 1px solid var(--line-dark);
}

.studio-text {
  align-self: end;
}

.studio-text p {
  max-width: 34rem;
  color: rgba(6, 17, 30, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.slate-section {
  padding: clamp(2rem, 4vw, 4rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.section-head p {
  color: rgba(248, 251, 255, 0.66);
}

.slate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.project-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 2.5vw, 2.2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(197, 199, 198, 0.08), transparent 44%),
    var(--blue-2);
}

.project-card:nth-child(3n) {
  border-right: 0;
}

.project-card:nth-last-child(-n+3) {
  border-bottom: 0;
}

.project-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: auto;
  color: var(--silver);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card p {
  color: rgba(248, 251, 255, 0.7);
  font-size: 0.95rem;
}

.project-card a {
  align-self: flex-start;
  margin-top: 1.4rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-card a::after {
  content: " /";
  color: var(--silver);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.project-links a {
  margin-top: 0;
}

.services-section {
  background: var(--cream);
  color: var(--ink);
}

.service-grid {
  grid-column: 2 / span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2.5rem, 6vw, 6rem);
}

.service-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}

.service-grid li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(6, 17, 30, 0.72);
  font-size: 1rem;
}

.service-grid li span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-section {
  min-height: 72vh;
  background:
    radial-gradient(circle at 82% 20%, rgba(199, 209, 216, 0.15), transparent 22rem),
    var(--blue);
}

.contact-logo {
  grid-column: 1 / 2;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.contact-logo img {
  width: 100%;
  max-width: 9rem;
  border: 1px solid rgba(197, 199, 198, 0.18);
}

.contact-section > div:last-child {
  grid-column: 2 / span 2;
  align-self: center;
  padding: clamp(2.5rem, 7vw, 7rem);
}

.email {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--gold);
  font-size: clamp(1.25rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .studio-panel,
  .services-section,
  .contact-section,
  .section-head,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: relative;
  }

  .brand {
    width: 7.5rem;
  }

  nav {
    justify-self: stretch;
    overflow-x: auto;
    border-top: 1px solid var(--line);
  }

  nav a {
    min-height: 3.8rem;
    padding: 0 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo,
  .hero-copy {
    min-height: auto;
  }

  .hero-meta {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: none;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-meta span {
    min-height: 4rem;
    writing-mode: initial;
    transform: none;
    border-right: 1px solid var(--line);
  }

  .studio-panel > .section-index,
  .services-section > .section-index {
    min-height: auto;
    place-items: start;
    padding: 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .studio-copy,
  .studio-text {
    border-right: 0;
  }

  .service-grid {
    grid-column: auto;
  }

  .contact-logo {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-section > div:last-child {
    grid-column: auto;
  }

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

  .project-card,
  .project-card:nth-child(3n),
  .project-card:nth-last-child(-n+3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

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

  .hero-meta {
    grid-template-columns: 1fr;
  }
}
