@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #343b3d;
  --text: #535b5c;
  --muted: #686f70;
  --gold: #bf9150;
  --gold-deep: #87622f;
  --canvas: #faf9f5;
  --surface: #fff;
  --concrete: #ece9e2;
  --line: #d8d5cd;
  --dark: #252b2c;
  --whatsapp: #1e824c;
  --container: 1280px;
  --header-height: 7.75rem;
  --ease: 240ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--canvas);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

figure,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.25rem);
}

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

::selection {
  color: var(--ink);
  background: #e4cda9;
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 4px;
}

.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: #e4cda9;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--dark);
  transform: translateY(-160%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 4rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

.eyebrow,
.section-heading > span,
.visual-note,
.project-card__media small,
.project-card__body p,
.project-card__footer,
.tag-list,
.facts-grid dt,
.page-hero figcaption,
.hero figcaption {
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
  color: #fff;
  background: linear-gradient(180deg, rgb(18 23 24 / 0.48), rgb(18 23 24 / 0));
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.no-js .site-header {
  position: absolute;
}

.site-header.is-raised,
body.nav-open .site-header {
  border-bottom-color: rgb(255 255 255 / 0.1);
  background: rgb(31 37 38 / 0.94);
  box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 0.13);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.brand,
.footer__brand {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  gap: 0.7rem;
  align-items: center;
  color: #fff;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.13em;
}

.brand img,
.footer__brand img {
  width: 1.9rem;
  height: 2.2rem;
  object-fit: contain;
}

.brand {
  gap: 0.85rem;
  font-size: 0.9rem;
}

.brand img {
  width: 12rem;
  height: 2.85rem;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  align-items: center;
}

.site-nav a {
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav li a {
  display: block;
  padding-block: 0.75rem;
  transition: color var(--ease);
}

.site-nav li a:hover,
.site-nav li a[aria-current="page"] {
  color: #e4cda9;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header__social {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 50%;
  background: rgb(18 23 24 / 0.2);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.header__social img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.nav__socials,
.menu-toggle {
  display: none;
}

/* Home hero */
.hero {
  position: relative;
  min-height: max(44rem, 100svh);
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero__media,
.hero__media picture,
.hero__media img,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  overflow: hidden;
  background: var(--dark);
}

.hero__media img {
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(18 23 24 / 0.72) 0%, rgb(18 23 24 / 0.36) 44%, rgb(18 23 24 / 0.06) 78%),
    linear-gradient(0deg, rgb(18 23 24 / 0.66) 0%, transparent 50%),
    linear-gradient(180deg, rgb(18 23 24 / 0.32) 0%, transparent 26%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: inherit;
  place-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
}

.hero__content {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: center;
  transform: translateY(clamp(1.5rem, 5vh, 3.5rem));
}

.eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--gold-deep);
}

.hero__logo {
  width: min(100%, 30rem);
  justify-self: center;
  filter: drop-shadow(0 0.75rem 1.25rem rgb(0 0 0 / 0.38));
}

.hero__message {
  position: relative;
  width: 100%;
  max-width: 42rem;
  justify-self: center;
  font-family: "Montserrat", "Arial", sans-serif;
  text-align: center;
  text-shadow: 0 0.125rem 0.5rem rgb(0 0 0 / 0.42);
}

.hero__message h1 {
  margin-bottom: clamp(1.2rem, 2vw, 2rem);
  color: #fff;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: clamp(1.9rem, 2.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__message h1 span {
  display: block;
}

.hero__message p {
  color: rgb(255 255 255 / 0.82);
  font-size: clamp(1.25rem, 1.65vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  text-wrap: balance;
}

.hero__cta {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  width: min(100%, 14rem);
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 0.85rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.42);
  color: #fff;
  background: rgb(18 23 24 / 0.42);
  box-shadow: 0 0.75rem 1.5rem rgb(0 0 0 / 0.16);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.hero__cta > span:last-child {
  color: #e4cda9;
  font-size: 1rem;
  transition: transform var(--ease);
}

.hero figcaption,
.page-hero figcaption {
  z-index: 3;
}

/* Shared inner-page hero */
.page-hero {
  position: relative;
  display: flex;
  min-height: clamp(34rem, 72svh, 46rem);
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.page-hero--project {
  min-height: clamp(36rem, 78svh, 50rem);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}

.page-hero__media picture,
.page-hero__media img {
  width: 100%;
  height: 100%;
}

.page-hero__media img {
  object-fit: cover;
  object-position: center;
}

.page-hero__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(18 23 24 / 0.7) 0%, rgb(18 23 24 / 0.26) 50%, transparent 80%),
    linear-gradient(0deg, rgb(18 23 24 / 0.72) 0%, transparent 58%),
    linear-gradient(180deg, rgb(18 23 24 / 0.32) 0%, transparent 25%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: clamp(3.75rem, 7vw, 6rem);
}

.page-hero__content .eyebrow {
  margin-bottom: 0.85rem;
  color: #e4cda9;
}

.page-hero__content h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero figcaption,
.page-hero figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.55rem;
  color: rgb(255 255 255 / 0.78);
  background: rgb(37 43 44 / 0.74);
}

/* Shared heading */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > span {
  color: var(--muted);
}

/* Projects */
.projects {
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

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

.project-card {
  position: relative;
  min-width: 0;
  min-height: clamp(25rem, 38vw, 33rem);
  overflow: hidden;
  background: var(--dark);
}

.project-card > a {
  position: relative;
  display: flex;
  height: 100%;
  min-height: inherit;
  align-items: flex-end;
}

.project-card > a::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgb(18 23 24 / 0.9) 0%, rgb(18 23 24 / 0.38) 43%, transparent 74%);
  content: "";
}

.project-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}

.project-card__media picture,
.project-card__media img {
  width: 100%;
  height: 100%;
}

.project-card__media img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card__media small {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.5rem;
  color: rgb(255 255 255 / 0.8);
  background: rgb(37 43 44 / 0.72);
}

.project-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  color: #fff;
}

.project-card__body h3 {
  max-width: 22ch;
  margin-bottom: 0.65rem;
  color: #fff;
}

.project-card__body p {
  margin-bottom: 1.5rem;
  color: rgb(255 255 255 / 0.68);
}

.project-card__footer {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  color: rgb(255 255 255 / 0.82);
}

.project-card__footer--end {
  justify-content: flex-end;
}

.project-card__footer strong {
  flex: 0 0 auto;
  color: #e4cda9;
  font-weight: 760;
}

.project-card__footer strong span,
.service-card div > span span {
  display: inline-block;
  transition: transform var(--ease);
}

/* Services */
.services {
  border-top: 1px solid var(--line);
  background: var(--concrete);
}

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

.service-card {
  position: relative;
  min-width: 0;
  min-height: clamp(18rem, 24vw, 22rem);
  overflow: hidden;
  background: var(--dark);
}

.service-card a {
  position: relative;
  display: flex;
  min-height: inherit;
  align-items: flex-end;
}

.service-card a::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgb(18 23 24 / 0.84) 0%, rgb(18 23 24 / 0.2) 48%, transparent 72%);
  content: "";
}

.service-card figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}

.service-card picture,
.service-card img {
  width: 100%;
  height: 100%;
}

.service-card img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card a > div {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
}

.service-card h3 {
  color: #fff;
  font-size: 1.35rem;
}

.service-card div > span {
  color: #e4cda9;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.64rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-note {
  margin-top: 1rem;
  color: var(--muted);
  text-align: right;
}

/* References */
.references {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.section-heading--references {
  align-items: center;
}

.no-js .logo-marquee {
  overflow: visible;
}

.no-js .logo-marquee__track {
  width: 100%;
  animation: none;
  transform: none;
  will-change: auto;
}

.no-js .logo-marquee__group {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding-inline: 0;
}

.no-js .logo-marquee__group[aria-hidden="true"] {
  display: none;
}

.logo-marquee {
  overflow: hidden;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 105s linear infinite;
  will-change: transform;
}

.logo-marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding-inline: clamp(0.375rem, 1vw, 0.75rem);
}

.logo-card {
  display: grid;
  width: clamp(14rem, 22vw, 19rem);
  height: clamp(7rem, 10vw, 8.5rem);
  flex: 0 0 auto;
  place-items: center;
  padding: clamp(0.75rem, 1.5vw, 1rem);
}

.logo-card img {
  width: min(100%, 13.5rem);
  max-width: 100%;
  max-height: 6rem;
  object-fit: contain;
}

@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Trust and contact */
.trust {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.trust__inner {
  display: grid;
  min-height: 10rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.trust__inner p {
  max-width: 47rem;
  color: var(--ink);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.trust__inner > span {
  color: var(--gold-deep);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact {
  scroll-margin-top: var(--header-height);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  background: var(--dark);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(18rem, 1.15fr) minmax(14rem, 0.8fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.contact__address {
  display: grid;
  gap: 0.65rem;
}

.contact__label,
.contact__person small {
  color: var(--gold);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact__address address {
  max-width: 32rem;
  color: #fff;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-style: normal;
  font-weight: 520;
  line-height: 1.55;
}

.contact__people {
  border-block: 1px solid rgb(255 255 255 / 0.15);
}

.contact__person {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.8rem;
}

.contact__person + .contact__person {
  border-top: 1px solid rgb(255 255 255 / 0.15);
}

.contact__person strong {
  color: #fff;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: 0.025em;
  transition: color var(--ease);
}

.contact__button {
  display: flex;
  width: 100%;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  color: #fff;
  background: var(--whatsapp);
  transition: background var(--ease), transform var(--ease);
}

.contact__button:hover {
  background: #166c3e;
}

.contact__button > span:first-child {
  display: grid;
  gap: 0.15rem;
}

.contact__button small {
  color: #fff;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact__button strong {
  color: #fff;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 620;
}

.contact__button > span:last-child {
  font-size: 1.25rem;
  transition: transform var(--ease);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: rgb(255 255 255 / 0.62);
  background: var(--dark);
}

.footer__inner {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.82rem;
}

.footer__brand {
  color: #fff;
}

.footer__brand img {
  filter: grayscale(1) brightness(3);
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__credit span {
  color: #fff;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__credit img {
  width: clamp(7.75rem, 11vw, 9rem);
  height: auto;
}

/* Work details */
.work-section {
  border-top: 1px solid var(--line);
  background: var(--concrete);
}

.work-list {
  display: grid;
  max-width: 68rem;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.work-item {
  position: relative;
  display: flex;
  min-height: clamp(26rem, 40vw, 34rem);
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.work-item::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgb(18 23 24 / 0.9) 0%, rgb(18 23 24 / 0.3) 52%, transparent 78%);
  content: "";
}

.work-item figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark);
}

.work-item picture,
.work-item img {
  width: 100%;
  height: 100%;
}

.work-item img {
  object-fit: cover;
}

.work-item__copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 40rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.work-item__copy h2 {
  margin-bottom: 1rem;
  color: #fff;
}

.work-item__copy p {
  max-width: 27rem;
  margin-bottom: 0;
  color: rgb(255 255 255 / 0.8);
  font-size: 1.05rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 0.34);
  color: #fff;
}

/* Project details */
.facts-section {
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-grid--single {
  grid-template-columns: minmax(14rem, 0.25fr);
}

.facts-grid > div {
  min-height: 7.5rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.facts-grid > div:last-child {
  border-right: 0;
}

.facts-grid dt {
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.facts-grid dd {
  color: var(--ink);
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 560;
  line-height: 1.25;
}

.project-summary {
  max-width: 72rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}

.gallery-section {
  border-top: 1px solid var(--line);
  background: var(--dark);
}

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

.gallery-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
}

.gallery-grid figure.gallery-grid__wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

.gallery-grid picture,
.gallery-grid img {
  width: 100%;
  height: 100%;
}

.gallery-grid img {
  object-fit: cover;
}

.gallery-grid--portraits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid--portraits figure {
  aspect-ratio: 3 / 4;
}

.gallery-grid--portraits > figure:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.gallery-grid--portraits > figure.gallery-grid__wide.gallery-grid__landscape {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.gallery-grid--portraits img,
.gallery-grid--mixed figure:not(.gallery-grid__wide) img {
  object-fit: contain;
}

.gallery-grid--mixed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid--mixed figure {
  aspect-ratio: 4 / 5;
}

.gallery-grid--mixed figure.gallery-grid__wide {
  aspect-ratio: 4 / 3;
}

.gallery-section .visual-note {
  padding-bottom: 1.25rem;
  color: rgb(255 255 255 / 0.55);
}

.project-nav {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-family: "Archivo", "Arial Narrow", sans-serif;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--gold);
}

.project-placeholder {
  display: grid;
  grid-template-columns: minmax(14rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.project-placeholder > p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (min-width: 1440px) {
  .hero__message {
    width: min(calc(100% + 4.25rem), 46rem);
    max-width: none;
    justify-self: start;
  }
}

@media (hover: hover) and (pointer: fine) {
  .header__social:hover,
  .nav__social:hover {
    transform: translateY(-2px);
  }

  .header__social:hover {
    border-color: #e4cda9;
    background: rgb(18 23 24 / 0.42);
  }

  .hero__cta:hover {
    border-color: #e4cda9;
    background: rgb(18 23 24 / 0.68);
    transform: translateY(-2px);
  }

  .hero__cta:hover > span:last-child {
    transform: translateY(0.18rem);
  }

  .contact__button:hover {
    transform: translateY(-2px);
  }

  .contact__person:hover strong {
    color: var(--gold);
  }

  .contact__button:hover > span:last-child {
    transform: translate(0.15rem, -0.15rem);
  }

  .project-card:hover .project-card__media img,
  .service-card:hover img {
    transform: scale(1.025);
  }

  .project-card:hover .project-card__footer strong span,
  .service-card:hover div > span span {
    transform: translateX(0.2rem);
  }
}

@media (max-width: 1080px) {
  .header__inner {
    gap: 1.25rem;
  }

  .site-nav ul {
    gap: 1.1rem;
  }

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

  .contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  }

  .contact__address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 5.25rem;
  }

  .container {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .header__actions {
    display: none;
  }

  .has-js .menu-toggle {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    grid-column: 3;
    place-content: center;
    gap: 0.3rem;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 0.28);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 1.15rem;
    height: 1px;
    background: #fff;
    transition: transform var(--ease), opacity var(--ease);
  }

  .menu-toggle.is-active span:first-child {
    transform: translateY(0.31rem) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:last-child {
    transform: translateY(-0.31rem) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100dvh - var(--header-height));
    overflow-x: hidden;
    overflow-y: auto;
    justify-self: stretch;
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    color: #fff;
    background: rgb(31 37 38 / 0.98);
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .has-js .site-nav {
    max-height: 0;
    overflow: hidden;
    border-bottom-color: transparent;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: max-height 350ms ease, opacity var(--ease), visibility 0s linear 350ms;
  }

  .has-js .site-nav.is-open {
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    border-bottom-color: rgb(255 255 255 / 0.1);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    padding: 1rem 1.25rem 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
  }

  .site-nav li a {
    padding-block: 1rem;
  }

  .nav__socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0.6rem 1.25rem 1.25rem;
    border: 1px solid rgb(255 255 255 / 0.14);
    background: rgb(255 255 255 / 0.025);
  }

  .nav__social {
    display: grid;
    width: auto;
    height: 3.5rem;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: background var(--ease);
  }

  .nav__social + .nav__social {
    border-left: 1px solid rgb(255 255 255 / 0.14);
  }

  .nav__social img {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  .nav__social:hover {
    transform: none;
    background: rgb(228 205 169 / 0.09);
  }

  .no-js .site-header {
    position: static;
    height: auto;
    background: var(--dark);
  }

  .no-js .header__inner {
    min-height: var(--header-height);
    padding-bottom: 0.75rem;
  }

  .no-js .site-nav {
    position: static;
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: none;
    border-top: 1px solid rgb(255 255 255 / 0.12);
  }

  .no-js .site-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
  .section {
    padding-block: 3.75rem;
  }

  .hero {
    min-height: max(40rem, 100svh);
  }

  .hero__inner {
    align-items: start;
    padding-top: calc(var(--header-height) + clamp(5rem, 12vh, 6.5rem));
    padding-bottom: 2rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vh, 3.25rem);
    justify-items: center;
    transform: none;
  }

  .hero__logo {
    width: min(64vw, 20rem);
  }

  .hero__message {
    width: 100%;
    max-width: 100%;
  }

  .hero__message h1 {
    margin-bottom: 1.5rem;
    margin-inline: auto;
    font-size: clamp(1.45rem, 5.5vw, 1.7rem);
  }

  .hero__message p {
    max-width: 19rem;
    margin-inline: auto;
    font-size: clamp(1.1rem, 4.8vw, 1.4rem);
  }

  .page-hero,
  .page-hero--project {
    min-height: clamp(32rem, 72svh, 40rem);
  }

  .project-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: clamp(27rem, 70vw, 34rem);
  }

  .service-card {
    min-height: clamp(19rem, 52vw, 24rem);
  }

  .trust__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2.5rem;
  }

  .project-placeholder {
    grid-template-columns: 1fr;
  }

  .work-item {
    min-height: clamp(25rem, 64vw, 32rem);
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid--mixed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts-grid--single {
    grid-template-columns: 1fr;
  }

  .facts-grid > div:nth-child(2) {
    border-right: 0;
  }

  .facts-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .project-placeholder {
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .brand,
  .footer__brand {
    font-size: 0.7rem;
  }

  .brand img,
  .footer__brand img {
    width: 1.65rem;
    height: 1.9rem;
  }

  .brand {
    gap: 0.7rem;
    font-size: 0.8rem;
  }

  .brand img {
    width: 10.5rem;
    height: 2.55rem;
  }

  .hero {
    min-height: max(38rem, 100svh);
  }

  .hero__media img {
    object-position: center;
  }

  .hero figcaption,
  .page-hero figcaption {
    top: auto;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .page-hero,
  .page-hero--project {
    min-height: clamp(29rem, 72svh, 36rem);
  }

  .page-hero__content {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 2.75rem;
  }

  .page-hero__content h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .section-heading {
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .section-heading--references {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card {
    min-height: 24rem;
  }

  .project-card__body {
    padding: 1.25rem;
  }

  .project-card__footer {
    gap: 0.75rem;
  }

  .service-card {
    min-height: 18rem;
  }

  .work-item__copy {
    padding: 1.75rem 1.5rem 2rem;
  }

  .work-item {
    min-height: 25rem;
  }

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

  .facts-grid > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts-grid > div:last-child {
    border-bottom: 0;
  }

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

  .gallery-grid figure.gallery-grid__wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid--portraits > figure:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .project-nav {
    min-height: 6.5rem;
    gap: 1rem;
    font-size: 0.6rem;
  }

  .contact__button {
    width: 100%;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact__address {
    grid-column: auto;
  }

  .footer__inner {
    min-height: 6rem;
    gap: 1rem;
    font-size: 0.75rem;
  }

}

@media (max-width: 420px) {
  .hero__message {
    width: calc(100% + 2rem);
    max-width: calc(100% + 2rem);
  }

  .hero__message h1 {
    font-size: clamp(1.15rem, 5.5vw, 1.4rem);
  }
}

@media (max-width: 380px) {
  .section-heading > span {
    display: none;
  }

  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card__footer--end {
    align-items: flex-end;
  }

  .project-nav,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .project-nav {
    min-height: 7.5rem;
    gap: 0.75rem;
  }

  .footer__inner {
    min-height: 7rem;
    gap: 0.5rem;
  }
}

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

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

  .logo-marquee {
    overflow: visible;
  }

  .logo-marquee__track {
    width: 100%;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .logo-marquee__group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 0;
  }

  .logo-marquee__group[aria-hidden="true"] {
    display: none;
  }
}
