@font-face {
  font-family: "ABCFavoritExtended";
  src: url("/fonts/ABCFavoritExtendedVariable-Trial.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABCFavoritExtended";
  src: url("/fonts/ABCFavoritExtendedVariable-Trial.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Chunko";
  src: url("/fonts/Chunko%20Bold%20Demo.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f7ecd3;
  --cream-soft: #fbf3df;
  --blue: #2a4696;
  --orange: #f8b429;
  --max: 1510px;
  --wide: 1680px;
  --edge: clamp(24px, 4.2vw, 80px);
  --header-h: clamp(70px, 5vw, 96px);
  --radius-lg: clamp(30px, 3.2vw, 56px);
  --radius-md: clamp(18px, 2vw, 34px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  color: var(--blue);
  font-family: "ABCFavoritExtended", "Arial Narrow", Arial, Helvetica, sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: var(--cream);
  color: var(--blue);
  font-weight: 650;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: var(--blue);
  color: var(--cream);
}

.site-main {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - (var(--edge) * 2)));
  margin-inline: auto;
}

.wide-container {
  width: min(var(--wide), calc(100% - (var(--edge) * 2)));
  margin-inline: auto;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--blue);
  font-size: clamp(0.78rem, 0.68rem + 0.25vw, 1.02rem);
  font-style: italic;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arrow-link::before {
  content: "^";
  display: inline-block;
  font-style: normal;
  transform: translateY(-1px);
}

.text-page {
  padding: clamp(120px, 10vw, 180px) 0 clamp(90px, 8vw, 150px);
}

.copy-block h1,
.copy-block h2,
.copy-block h3 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: clamp(1.34rem, 1rem + 0.94vw, 2.2rem);
  line-height: 1.08;
  text-transform: uppercase;
  font-weight: 850;
}

.copy-block p {
  margin: 0;
  color: var(--orange);
  font-size: clamp(1.08rem, 0.9rem + 0.52vw, 1.62rem);
  line-height: 1.36;
}

.copy-block.center,
.not-found-block {
  text-align: center;
}

.page-spacer {
  height: clamp(80px, 10vw, 140px);
}

.brand-logo {
  display: flex;
  align-items: center;
  width: clamp(110px, 8vw, 164px);
  min-height: 44px;
}

.svg-media {
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: var(--media-aspect, auto);
  overflow: var(--media-overflow, hidden);
}

.svg-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.svg-media--cover img {
  object-fit: cover;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 76%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 10%, transparent);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.site-header.is-open {
  background: color-mix(in srgb, var(--cream) 96%, white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - (var(--edge) * 2));
  min-height: var(--header-h);
  margin-inline: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 76px);
  color: var(--blue);
  font-size: clamp(0.68rem, 0.62rem + 0.14vw, 0.84rem);
  font-weight: 850;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--blue) 36%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  color: var(--blue);
  cursor: pointer;
}

.menu-toggle span {
  grid-area: 1 / 1;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.mobile-nav {
  display: none;
}

.site-footer {
  padding: clamp(18px, 2vw, 28px) 0;
  background: var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--blue) 10%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(20px, 3vw, 56px);
  width: calc(100% - ((var(--edge) + 20px) * 2));
  margin-inline: auto;
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.footer-block--middle {
  justify-self: center;
  justify-items: center;
  text-align: center;
}

.footer-block--right {
  justify-self: end;
  justify-items: end;
  text-align: right;
}

.footer-inner .brand-logo {
  width: clamp(96px, 6.6vw, 138px);
  min-height: 28px;
}

.footer-contact {
  display: grid;
  gap: 4px;
  color: var(--blue);
  font-size: clamp(0.64rem, 0.58rem + 0.12vw, 0.76rem);
  font-style: normal;
  font-weight: 850;
  line-height: 1.15;
}

.footer-block--middle .footer-contact {
  font-size: clamp(0.82rem, 0.72rem + 0.22vw, 1rem);
  line-height: 1.1;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.footer-social svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-legal {
  display: grid;
  gap: 4px;
  color: color-mix(in srgb, var(--blue) 82%, transparent);
  font-size: clamp(0.58rem, 0.54rem + 0.1vw, 0.68rem);
  font-weight: 850;
  line-height: 1.1;
}

.footer-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.footer-powered {
  margin: 0;
  color: color-mix(in srgb, var(--blue) 76%, var(--cream) 24%);
  font-size: clamp(0.52rem, 0.49rem + 0.08vw, 0.64rem);
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.footer-powered a,
.footer-legal a,
.footer-contact a {
  text-decoration: none;
}

.footer-powered a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

[data-cookie-banner][hidden],
[data-cookie-preferences-open][hidden] {
  display: none !important;
}

.cookie-consent {
  position: relative;
  z-index: 80;
}

.cookie-consent__banner {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent__banner[data-state="open"] {
  pointer-events: auto;
}

.cookie-consent__panel {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: 28px;
  padding: clamp(24px, 2vw, 34px);
  border: 2px solid color-mix(in srgb, var(--blue) 12%, transparent);
  border-radius: clamp(24px, 2.2vw, 34px);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--orange) 20%, transparent) 0%, transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--cream-soft) 92%, white 8%) 0%, var(--cream) 100%);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--blue) 14%, transparent);
}

.cookie-consent__copy,
.cookie-consent__actions {
  display: grid;
  gap: 14px;
  align-content: start;
}

.cookie-consent__copy h2,
.cookie-consent__copy p,
.cookie-consent__choice-copy strong {
  margin: 0;
  color: var(--blue);
}

.cookie-consent__copy h2 {
  max-width: 18ch;
  font-size: clamp(1.2rem, 1rem + 0.58vw, 1.8rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.cookie-consent__eyebrow,
.cookie-consent__copy p,
.cookie-consent__choice-copy small,
.cookie-consent__policy-link,
.cookie-consent__buttons button {
  font-size: clamp(0.78rem, 0.72rem + 0.18vw, 0.98rem);
  line-height: 1.34;
}

.cookie-consent__eyebrow,
.cookie-consent__policy-link,
.cookie-consent__buttons button {
  font-weight: 850;
  text-transform: uppercase;
}

.cookie-consent__eyebrow,
.cookie-consent__powered,
.cookie-consent__choice-copy small {
  color: color-mix(in srgb, var(--blue) 78%, transparent);
}

.cookie-consent__eyebrow,
.cookie-consent__powered {
  margin: 0;
}

.cookie-consent__choices {
  display: grid;
  gap: 12px;
}

.cookie-consent__choice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--orange) 34%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--cream-soft) 84%, white 16%);
}

.cookie-consent__choice-copy {
  display: grid;
  gap: 6px;
}

.cookie-consent__choice input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.cookie-consent__actions {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
}

.cookie-consent__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cookie-consent__buttons button,
.cookie-consent__trigger {
  cursor: pointer;
}

.cookie-consent__buttons button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream-soft) 74%, white 26%);
  color: var(--blue);
}

.cookie-consent__buttons button:last-child {
  background: var(--blue);
  color: var(--cream);
}

.cookie-consent__trigger {
  position: fixed;
  left: clamp(14px, 1.6vw, 24px);
  bottom: max(14px, calc(env(safe-area-inset-bottom) + 6px));
  z-index: 79;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--orange) 48%, var(--cream) 52%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) 18%, var(--cream) 82%);
  color: var(--blue);
}

.cookie-consent__trigger svg {
  width: 26px;
  height: 26px;
}

.project-card a {
  display: grid;
  gap: clamp(16px, 1.7vw, 26px);
}

.project-card h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(0.98rem, 0.8rem + 0.44vw, 1.42rem);
  font-weight: 850;
  line-height: 1.02;
  text-align: center;
  text-transform: uppercase;
}

.project-card__media {
  border-radius: var(--radius-lg);
  transition: transform 180ms ease;
}

.project-card a:hover .project-card__media,
.project-card a:focus-visible .project-card__media {
  transform: translateY(-4px);
}

.projects-hero {
  padding: calc(var(--header-h) + clamp(24px, 3.2vw, 58px)) 0 clamp(70px, 7vw, 120px);
  text-align: center;
}

.orange-line {
  margin: 0 0 clamp(36px, 4vw, 70px);
  color: var(--orange);
  font-size: clamp(1.12rem, 0.9rem + 0.6vw, 1.68rem);
  font-weight: 700;
}

.projects-hero h1,
.projects-hero p {
  margin: 0;
  color: var(--blue);
}

.projects-hero h1 {
  font-size: clamp(1.12rem, 0.9rem + 0.6vw, 1.68rem);
  font-weight: 700;
}

.projects-hero > p:last-of-type {
  margin-top: 18px;
  font-size: clamp(1rem, 0.82rem + 0.46vw, 1.48rem);
  line-height: 1.28;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 58px);
  margin-top: clamp(48px, 5vw, 86px);
}

.project-filters button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: clamp(0.7rem, 0.62rem + 0.22vw, 0.94rem);
  font-weight: 850;
  text-transform: uppercase;
  padding-bottom: 6px;
  transition: color 200ms ease;
}

.project-filters button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 220ms ease;
}

.project-filters button:hover::after,
.project-filters button:focus-visible::after {
  transform: scaleX(1);
  opacity: 0.3;
}

.project-filters button.is-active {
  color: var(--orange);
}

.project-filters button.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.project-filters button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}

.projects-grid {
  --project-card-size: clamp(250px, 25.4vw, 404px);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, var(--project-card-size)));
  justify-content: center;
  justify-items: center;
  align-items: start;
  gap: clamp(42px, 4vw, 76px) clamp(48px, 5vw, 80px);
  width: min(960px, calc(100% - (var(--edge) * 2)));
  padding-bottom: clamp(150px, 14vw, 280px);
}

.projects-grid .project-card {
  width: 100%;
}

.projects-grid .project-card a {
  gap: clamp(10px, 1vw, 16px);
}

.projects-grid .project-card h2 {
  font-size: clamp(0.76rem, 0.68rem + 0.24vw, 1rem);
}

.projects-grid .project-card__media {
  border-radius: clamp(18px, 2vw, 34px);
}

.projects-grid [data-last-visible] {
  grid-column: 1 / -1;
  width: min(100%, var(--project-card-size));
}

.projects-grid [hidden] {
  display: none;
}

.project-page--no-hero .project-content__stack {
  padding-top: clamp(132px, 14vw, 240px);
}

.project-content {
  width: min(var(--wide), calc(100% - (var(--edge) * 2)));
  margin-inline: auto;
}

.project-content__stack {
  display: grid;
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.project-block--hero {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.project-hero-media {
  max-height: clamp(520px, 78svh, 900px);
}

.project-block--title,
.project-block--description,
.project-block--meta {
  width: min(1220px, 100%);
  margin-inline: auto;
  text-align: center;
}

.project-rich--title p,
.project-rich--title h1,
.project-rich--title h2,
.project-rich--title h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.1rem, 0.88rem + 0.58vw, 1.68rem);
  font-weight: 850;
  line-height: 1.02;
  text-transform: uppercase;
}

.project-rich--title em {
  color: var(--orange);
  font-style: italic;
}

.project-rich--title strong {
  font-weight: 950;
}

.project-fallback-heading {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.project-fallback-heading h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.1rem, 0.88rem + 0.58vw, 1.68rem);
  font-weight: 850;
  line-height: 1.02;
  text-transform: uppercase;
}

.project-rich--description,
.project-rich--location {
  display: grid;
  gap: clamp(22px, 2.4vw, 38px);
}

.project-rich--description p,
.project-rich--location p {
  margin: 0;
  color: var(--blue);
  font-size: clamp(0.94rem, 0.8rem + 0.34vw, 1.28rem);
  font-weight: 760;
  line-height: 1.36;
}

.project-rich--description strong,
.project-rich--location strong {
  font-weight: 860;
}

.project-rich--description em,
.project-rich--location em {
  font-style: italic;
}

.project-rich a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.project-image-grid {
  display: grid;
  gap: 20px;
  width: 100%;
}

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

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

.project-image-grid--three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-location {
  display: grid;
  gap: clamp(16px, 2.2vw, 30px);
}

.project-location h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(0.94rem, 0.82rem + 0.32vw, 1.28rem);
  text-transform: uppercase;
}

.back-to-projects {
  display: grid;
  place-items: center;
  padding: clamp(110px, 11vw, 200px) 0 clamp(70px, 7vw, 130px);
}

@media (max-width: 920px) {
  .cookie-consent__panel {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent__buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
    --radius-lg: 30px;
    --radius-md: 20px;
    --edge: 20px;
  }

  .brand-logo {
    width: 124px;
  }

  .header-inner {
    width: min(100% - 32px, 1450px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

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

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

  .mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    padding: 18px 16px 28px;
    background: color-mix(in srgb, var(--cream) 96%, white);
    border-bottom: 1px solid color-mix(in srgb, var(--blue) 14%, transparent);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 18px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--blue) 12%, transparent);
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
  }

  .site-footer {
    padding: 20px 0 74px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100% - 32px, 1450px);
    justify-items: center;
  }

  .footer-inner .brand-logo,
  .footer-block,
  .footer-block--middle,
  .footer-block--right {
    justify-self: center;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-inner .brand-logo {
    width: 108px;
    min-height: 30px;
  }

  .footer-contact {
    gap: 8px;
    font-size: 0.72rem;
  }

  .footer-social {
    justify-content: center;
    gap: 12px;
  }

  .footer-legal {
    gap: 8px;
    font-size: 0.64rem;
    justify-items: center;
  }

  .footer-powered {
    font-size: 0.56rem;
  }

  .projects-hero {
    padding: calc(var(--header-h) + 24px) 0 54px;
  }

  .project-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    margin-top: 42px;
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .project-filters button {
    min-height: 44px;
    width: 100%;
    padding: 6px 6px;
    text-align: center;
  }

  .project-filters button::after {
    height: 3px;
    bottom: -2px;
  }

  .projects-grid {
    --project-card-size: 60%;
    grid-template-columns: minmax(0, var(--project-card-size));
    gap: 32px;
    padding-bottom: 140px;
  }

  .projects-grid [data-last-visible] {
    grid-column: auto;
    width: 100%;
  }

  .project-page--no-hero .project-content__stack {
    padding-top: 108px;
  }

  .project-content__stack {
    gap: 24px;
  }

  .project-image-grid--two-up,
  .project-image-grid--three-up {
    grid-template-columns: 1fr;
  }

  .project-location {
    gap: 18px;
  }

  .back-to-projects {
    padding: 84px 0 48px;
  }

  .cookie-consent__banner {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
  }

  .cookie-consent__panel {
    gap: 14px;
    padding: 14px 14px 16px;
  }

  .cookie-consent__copy h2 {
    max-width: none;
    font-size: clamp(0.96rem, 0.88rem + 0.46vw, 1.18rem);
  }

  .cookie-consent__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cookie-consent__buttons button {
    width: 100%;
    min-height: 44px;
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .projects-grid {
    --project-card-size: clamp(280px, 38vw, 372px);
    grid-template-columns: minmax(0, var(--project-card-size));
    width: min(620px, calc(100% - (var(--edge) * 2)));
  }

  .projects-grid [data-last-visible] {
    grid-column: auto;
    width: 100%;
  }
}