/*
Theme Name: GODA Architects
Theme URI: https://godaarchitects.com/
Author: GODA Architects
Description: Custom bilingual architecture portfolio theme for GODA Architects.
Version: 1.0.0
Text Domain: godaarchitects
*/

:root {
  color-scheme: light;
  --black: #0c0c0b;
  --ink: #151514;
  --paper: #f8f7f4;
  --line: #dedbd4;
  --muted: #9b9892;
  --header-pad-x: clamp(24px, 2.8vw, 58px);
  --page-pad-x: clamp(18px, 2.1vw, 38px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inconsolata", "Noto Sans SC", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.theme-dark {
  background: var(--black);
  color: var(--paper);
}

.theme-light {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: clamp(14px, 1.35vw, 24px) var(--header-pad-x);
  color: var(--ink);
  background: transparent;
  transition: padding .32s ease, background .32s ease, color .25s ease, box-shadow .32s ease, backdrop-filter .32s ease;
}

.site-header.is-light {
  color: #fff;
}

.site-header.is-compact {
  align-items: center;
  min-height: clamp(64px, 3.9vw, 78px);
  padding-top: clamp(14px, .95vw, 18px);
  padding-bottom: clamp(14px, .95vw, 18px);
  background: rgba(248, 247, 244, .9);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(12, 12, 11, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  width: clamp(220px, 22vw, 460px);
  line-height: 0;
  transform-origin: left top;
  transition: width .36s cubic-bezier(.76, 0, .24, 1), filter .25s ease, opacity .18s ease;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-header.is-light .brand {
  filter: invert(1);
}

.site-header.is-compact .brand {
  width: clamp(112px, 7.5vw, 154px);
  filter: none;
}

.brand:hover {
  opacity: .7;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 34px;
}

.language-link,
.menu-toggle span {
  font-size: clamp(16px, 1.1vw, 23px);
  font-weight: 500;
  text-transform: uppercase;
  transition: font-size .32s ease, opacity .18s ease;
}

.language-link {
  transition: opacity .18s ease;
}

.language-link:hover {
  opacity: .55;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 31px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before,
.menu-toggle i::after {
  position: absolute;
  right: 0;
  content: "";
}

.menu-toggle i::before {
  top: -8px;
}

.menu-toggle i::after {
  top: 8px;
  width: 31px;
}

.menu-open .menu-toggle i {
  transform: rotate(45deg);
}

.menu-open .menu-toggle i::before {
  transform: translateY(8px) rotate(90deg);
}

.menu-open .menu-toggle i::after {
  opacity: 0;
}

.menu-open .language-link {
  opacity: 0;
  pointer-events: none;
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  visibility: hidden;
  width: 100%;
}

.site-menu.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
}

.site-menu:not(.is-open) {
  display: none;
}

.menu-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: clamp(360px, 24vw, 500px);
  min-height: 100svh;
  padding: 86px clamp(26px, 2vw, 42px) 26px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--paper);
  box-shadow: -18px 0 42px rgba(0, 0, 0, .03);
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.76, 0, .24, 1);
}

.site-menu.is-open .menu-panel {
  transform: translateX(0);
}

.menu-preview {
  display: none;
}

.menu-preview img {
  display: none;
}

.menu-subnav {
  display: none;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 0;
}

.menu-links a {
  display: block;
  width: fit-content;
  font-size: clamp(27px, 1.7vw, 36px);
  font-weight: 500;
  line-height: 1.08;
  white-space: nowrap;
  transition: opacity .18s ease, transform .18s ease, color .18s ease;
}

html[lang="en"] .menu-links a {
  font-size: clamp(28px, 1.7vw, 36px);
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a.is-active-preview {
  color: #7a7771;
  transform: translateX(4px);
}

.menu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
  color: #8b8780;
  font-size: 15px;
}

.menu-address {
  flex-basis: 100%;
  line-height: 1.35;
}

.menu-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  padding-top: 44px;
  color: #5c5953;
  font-size: 14px;
}

.menu-social {
  display: flex;
  align-items: center;
  gap: clamp(7px, .55vw, 10px);
  margin-left: auto;
}

.menu-social a {
  --social-bg: #ecebea;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 2.7vw, 52px);
  height: clamp(40px, 2.7vw, 52px);
  border-radius: 999px;
  background: var(--social-bg);
  color: var(--ink);
  font-size: clamp(13px, .9vw, 16px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  transition: background .18s ease, transform .18s ease;
}

.menu-social a:hover {
  --social-bg: #dedbd4;
  transform: translateY(-1px);
}

.social-linkedin span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 800;
  letter-spacing: 0;
}

.social-xhs span {
  font-size: clamp(10px, .75vw, 12px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.social-pinterest span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 1.65vw, 30px);
  font-weight: 700;
  line-height: .88;
  transform: translateY(-1px);
}

.social-instagram span {
  position: relative;
  width: clamp(17px, 1.1vw, 21px);
  height: clamp(17px, 1.1vw, 21px);
  border: 2px solid currentColor;
  border-radius: 6px;
}

.social-instagram span::before,
.social-instagram span::after,
.social-youtube span::after,
.social-wechat span::before,
.social-wechat span::after {
  position: absolute;
  content: "";
}

.social-instagram span::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.social-instagram span::after {
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.social-youtube span {
  position: relative;
  width: clamp(21px, 1.45vw, 26px);
  height: clamp(15px, 1vw, 18px);
  border-radius: 4px;
  background: currentColor;
}

.social-youtube span::after {
  top: 50%;
  left: 50%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--social-bg);
  transform: translate(-35%, -50%);
}

.social-wechat span {
  position: relative;
  width: clamp(24px, 1.55vw, 29px);
  height: clamp(18px, 1.2vw, 22px);
}

.social-wechat span::before,
.social-wechat span::after {
  border-radius: 999px;
  background: currentColor;
}

.social-wechat span::before {
  top: 1px;
  left: 0;
  width: 18px;
  height: 14px;
}

.social-wechat span::after {
  right: 0;
  bottom: 0;
  width: 15px;
  height: 12px;
  box-shadow:
    -8px -2px 0 -5px var(--social-bg),
    -3px -2px 0 -5px var(--social-bg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .24), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, .30), transparent 36%);
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(.78) contrast(.94) brightness(.88);
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 7s ease;
}

.hero-slides img:first-child {
  object-position: center bottom;
}

.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-categories {
  position: absolute;
  z-index: 2;
  left: var(--header-pad-x);
  bottom: clamp(31px, 3.2vw, 64px);
  display: flex;
  gap: clamp(22px, 2.2vw, 46px);
  color: #fff;
  font-size: clamp(17px, 1.55vw, 31px);
  font-weight: 500;
  line-height: 1;
}

.hero-categories a {
  transition: opacity .18s ease;
}

.hero-categories a:hover {
  opacity: .55;
}

.hero-index {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(33px, 3.2vw, 64px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 1vw, 21px);
  transform: translateX(-50%);
}

.hero-index span {
  display: block;
  width: clamp(7px, .48vw, 10px);
  height: clamp(7px, .48vw, 10px);
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
}

.hero-index span.is-active {
  background: #fff;
}

.profile {
  min-height: auto;
  padding: clamp(82px, 9vw, 150px) var(--page-pad-x) clamp(70px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
}

.profile p {
  width: min(800px, 62vw);
  margin: 0 0 clamp(42px, 4.8vw, 68px) auto;
  font-size: clamp(24px, 2.7vw, 44px);
  font-weight: 400;
  line-height: 1.16;
  text-wrap: balance;
}

.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1;
  transition: opacity .18s ease;
}

.small-button:hover {
  opacity: .55;
}

.small-button.is-dark {
  color: var(--paper);
}

.section-label {
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.featured {
  min-height: auto;
  padding: 58px var(--page-pad-x) clamp(84px, 10vw, 150px);
  border-bottom: 1px solid var(--line);
}

.featured-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(190px, 1fr));
  gap: 1px;
  margin-top: clamp(58px, 7vw, 128px);
  overflow-x: auto;
  background: var(--line);
}

.featured-project {
  min-width: 190px;
  background: var(--paper);
}

.featured-project img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.72);
}

.featured-project div {
  min-height: 118px;
  padding: 16px 0 0;
}

.featured-project h2,
.featured-project p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
}

.featured-project p {
  margin-top: 10px;
  color: #6b6964;
  text-transform: uppercase;
}

.global-statement {
  width: min(980px, 66vw);
  margin: clamp(64px, 7.5vw, 116px) 0 38px auto;
  font-size: clamp(28px, 3.25vw, 54px);
  font-weight: 400;
  line-height: 1.14;
  text-wrap: balance;
}

html[lang="zh-CN"] .global-statement {
  width: min(900px, 62vw);
  font-size: clamp(28px, 2.7vw, 44px);
  line-height: 1.18;
}

.dialogue {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  min-height: 72svh;
}

.dialogue-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(.62) contrast(.92);
}

.dialogue-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 110px) var(--page-pad-x);
}

.dialogue-copy span {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: clamp(32px, 5vw, 72px);
}

.dialogue-copy blockquote {
  margin: 0;
  font-size: clamp(27px, 3.45vw, 54px);
  line-height: 1.1;
  text-wrap: balance;
}

.dialogue-copy p {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-transform: uppercase;
}

.news {
  padding: 58px var(--page-pad-x) 72px;
}

.news-list {
  width: min(1180px, 86vw);
  margin: 54px 0 32px auto;
  border-top: 1px solid rgba(248, 247, 244, .13);
}

.news-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 24px;
  align-items: baseline;
  min-height: 78px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(248, 247, 244, .13);
  transition: color .18s ease;
}

.news-list a:hover {
  color: var(--muted);
}

.news-list span {
  font-size: clamp(18px, 1.7vw, 29px);
  line-height: 1.14;
}

.news-list time {
  color: var(--muted);
  font-size: 15px;
  text-transform: uppercase;
}

.explore {
  min-height: auto;
  padding: clamp(50px, 5.8vw, 82px) var(--page-pad-x) clamp(58px, 6.4vw, 94px);
  border-bottom: 1px solid var(--line);
}

.explore-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: end;
  align-items: start;
  width: min(720px, 100%);
  min-height: auto;
  margin: clamp(42px, 5vw, 74px) 0 0 auto;
  gap: clamp(22px, 2.8vw, 42px) clamp(38px, 4.5vw, 76px);
}

.explore-links a {
  color: #4e4c48;
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 500;
  line-height: 1.12;
}

.site-footer {
  min-height: 46svh;
  padding: 54px var(--page-pad-x) 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logo {
  width: min(360px, 48vw);
  line-height: 0;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-groups {
  display: flex;
  justify-content: flex-end;
  gap: clamp(52px, 7vw, 120px);
}

.footer-groups nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 90px;
}

.footer-groups a,
.footer-base {
  font-size: 14px;
  line-height: 1;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: #5b5955;
}

.footer-address {
  max-width: 360px;
  line-height: 1.35;
}

.home-reference-footer {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 78svh;
  padding: clamp(56px, 3.4vw, 70px) var(--page-pad-x) 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.reference-footer-links {
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 150px));
  justify-self: end;
  gap: 0 clamp(34px, 4vw, 72px);
  width: min(380px, 100%);
  text-align: right;
}

.reference-footer-column {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.reference-footer-column a {
  color: #4f4d49;
  font-size: clamp(14px, .86vw, 16px);
  line-height: 1;
  transition: opacity .18s ease;
}

.reference-footer-column a:hover,
.reference-footer-base a:hover {
  opacity: .55;
}

.reference-footer-base {
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  align-self: end;
  gap: 20px;
  color: #56534e;
  font-size: clamp(13px, .8vw, 15px);
  line-height: 1;
}

.reference-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reference-footer-social:not(.menu-social) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.reference-social-linkedin span {
  font-size: 13px;
  font-weight: 800;
}

.reference-social-instagram span {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.reference-social-instagram span::before,
.reference-social-instagram span::after,
.reference-social-youtube span::after {
  position: absolute;
  content: "";
}

.reference-social-instagram span::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.reference-social-instagram span::after {
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.reference-social-youtube span {
  position: relative;
  width: 17px;
  height: 12px;
  border-radius: 4px;
  background: currentColor;
}

.reference-social-youtube span::after {
  top: 50%;
  left: 50%;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 6px solid var(--ink);
  transform: translate(-35%, -50%);
}

.home-reference-footer .menu-social {
  margin-left: 0;
  gap: clamp(8px, .62vw, 12px);
}

.home-reference-footer .menu-social a {
  width: clamp(36px, 2.45vw, 48px);
  height: clamp(36px, 2.45vw, 48px);
}

.home-reference-footer .social-youtube span::after {
  border-left-color: var(--social-bg);
}

@media (min-width: 961px) {
  .site-menu.has-preview {
    justify-content: stretch;
    background: var(--paper);
  }

  .site-menu.has-preview .menu-panel {
    display: grid;
    grid-template-columns: minmax(420px, 50vw) minmax(460px, 1fr);
    grid-template-rows: auto 1fr auto;
    width: 100vw;
    min-height: 100svh;
    padding: 0;
    overflow: hidden;
    border-left: 0;
    box-shadow: none;
  }

  .site-menu.has-preview .menu-preview {
    display: block;
    grid-column: 1;
    grid-row: 1 / 4;
    min-height: 100svh;
    overflow: hidden;
    background: #ecebea;
  }

  .site-menu.has-preview .menu-preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100svh;
    object-fit: cover;
    filter: saturate(.82) contrast(.96);
    transition: opacity .18s ease;
  }

  .site-menu.has-preview .menu-links {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: min(360px, 42vw);
    margin: clamp(118px, 13.5vw, 232px) 0 0 clamp(54px, 5vw, 96px);
    gap: 10px;
  }

  .site-menu.has-preview .menu-links a {
    color: #9b9892;
    font-size: clamp(32px, 2.25vw, 46px);
    font-weight: 500;
    line-height: 1.14;
    transform: none;
  }

  .site-menu.has-preview .menu-links a:hover,
  .site-menu.has-preview .menu-links a:focus-visible,
  .site-menu.has-preview .menu-links a.is-active-preview {
    color: var(--ink);
    transform: none;
  }

  .site-menu.has-preview .menu-subnav {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: min(420px, 31vw);
    min-height: 250px;
    margin: clamp(126px, 14vw, 240px) clamp(42px, 5vw, 102px) 0 auto;
  }

  .menu-subnav-panel {
    display: none;
  }

  .menu-subnav-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .menu-subnav-panel span {
    margin-bottom: 8px;
    color: #8b8780;
    font-size: 15px;
    line-height: 1;
  }

  .menu-subnav-panel a {
    width: fit-content;
    color: #3f3d39;
    font-size: clamp(15px, 1vw, 19px);
    font-weight: 500;
    line-height: 1.18;
    transition: opacity .18s ease;
  }

  .menu-subnav-panel a:hover,
  .menu-subnav-panel a:focus-visible {
    opacity: .55;
  }

  .site-menu.has-preview .menu-meta {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    width: min(760px, calc(100% - 108px));
    margin: 32px clamp(42px, 5vw, 102px) 0 clamp(54px, 5vw, 96px);
  }

  .site-menu.has-preview .menu-footer {
    grid-column: 2;
    grid-row: 3;
    margin: 0 clamp(42px, 5vw, 102px) 26px clamp(54px, 5vw, 96px);
  }
}

.subpage {
  background: var(--paper);
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(180px, 28vw) minmax(360px, 760px);
  gap: clamp(80px, 13vw, 240px);
  min-height: 52svh;
  padding: clamp(140px, 15vw, 260px) var(--page-pad-x) clamp(70px, 8vw, 140px);
  border-bottom: 1px solid var(--line);
}

.subpage-title span {
  display: block;
  margin-bottom: 18px;
  color: #8f8c86;
  font-size: 14px;
  line-height: 1;
}

.subpage-title h1 {
  margin: 0;
  font-size: clamp(66px, 9vw, 176px);
  font-weight: 700;
  line-height: .92;
}

.subpage-hero > p {
  align-self: end;
  margin: 0;
  max-width: 820px;
  font-size: clamp(28px, 3.2vw, 62px);
  font-weight: 500;
  line-height: 1.05;
}

.subpage-cover {
  padding: var(--page-pad-x);
}

.subpage-cover img {
  width: 100%;
  height: min(76svh, 820px);
  object-fit: cover;
  filter: saturate(.82);
}

.subpage-content,
.about-layout,
.info-columns {
  padding: clamp(90px, 10vw, 180px) var(--page-pad-x);
  border-top: 1px solid var(--line);
}

.project-section + .project-section {
  margin-top: clamp(90px, 10vw, 180px);
}

.project-section {
  width: min(100%, 1480px);
  margin-right: auto;
  margin-left: auto;
}

.project-grid {
  --project-gap: clamp(22px, 2.2vw, 42px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--project-gap);
  width: 100%;
  margin: clamp(48px, 6vw, 96px) auto 0;
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  flex: 0 1 calc((100% - (var(--project-gap) * 2)) / 3);
  max-width: 430px;
  min-width: min(100%, 290px);
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.82);
}

.project-card h2,
.info-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.4vw, 26px);
  font-weight: 600;
  line-height: 1.1;
}

.project-card p,
.about-copy p,
.info-grid p,
.project-meta {
  margin: 0;
  color: #45433f;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.55;
}

.project-card .project-meta {
  margin-bottom: 18px;
  color: #8c8983;
  line-height: 1.1;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(150px, 24vw) minmax(420px, 940px);
  gap: clamp(60px, 12vw, 220px);
}

.about-copy {
  display: grid;
  gap: 30px;
}

.about-copy p {
  font-size: clamp(24px, 2.5vw, 48px);
  line-height: 1.12;
}

.info-columns {
  display: grid;
  grid-template-columns: minmax(150px, 24vw) 1fr;
  gap: clamp(60px, 12vw, 220px);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
}

.info-grid article {
  min-width: 0;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(320px, 36vw) minmax(360px, 780px);
  gap: clamp(64px, 9vw, 170px);
  min-height: 48svh;
  padding: clamp(140px, 14vw, 230px) var(--page-pad-x) clamp(72px, 7vw, 120px);
  border-bottom: 1px solid var(--line);
}

.policy-hero span {
  color: #8f8c86;
  font-size: 14px;
  line-height: 1;
}

.policy-hero h1 {
  grid-column: 1;
  margin: 34px 0 0;
  font-size: clamp(58px, 6vw, 108px);
  font-weight: 600;
  line-height: .92;
  white-space: nowrap;
}

.policy-hero p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  max-width: 820px;
  font-size: clamp(24px, 2.3vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
}

.policy-content {
  padding: clamp(72px, 7vw, 120px) var(--page-pad-x) clamp(84px, 9vw, 150px);
}

.policy-section {
  display: grid;
  grid-template-columns: minmax(160px, 24vw) minmax(360px, 860px);
  gap: clamp(54px, 10vw, 190px);
  padding: clamp(52px, 5.8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.policy-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy-copy {
  display: grid;
  gap: 18px;
}

.policy-copy h2 {
  margin: 22px 0 0;
  font-size: clamp(20px, 1.25vw, 25px);
  font-weight: 600;
  line-height: 1.2;
}

.policy-copy h2:first-of-type {
  margin-top: 0;
}

.policy-copy p {
  margin: 0;
  color: #45433f;
  font-size: clamp(15px, .98vw, 18px);
  line-height: 1.68;
}

.policy-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-date {
  color: #8b8780 !important;
}

@media (max-width: 960px) {
  .brand {
    width: clamp(96px, 20vw, 150px);
  }

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

  .menu-panel {
    width: min(430px, 52vw);
    padding-top: 82px;
  }

  .menu-links a {
    font-size: 31px;
  }

  html[lang="en"] .menu-links a {
    font-size: 31px;
  }

  .profile p,
  .global-statement {
    width: 100%;
  }

  .featured {
    min-height: auto;
  }

  .featured-list {
    grid-template-columns: 1fr;
    margin-top: 60px;
    overflow-x: visible;
    background: transparent;
    gap: 34px;
  }

  .featured-project {
    min-width: 0;
  }

  .featured-project img {
    aspect-ratio: 5 / 4;
  }

  .dialogue-media {
    min-height: 52svh;
  }

  .dialogue-media img {
    height: 52svh;
  }

  .news-list {
    width: 100%;
  }

  .subpage-hero,
  .about-layout,
  .info-columns,
  .policy-hero,
  .policy-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .policy-hero p {
    grid-column: 1;
    grid-row: auto;
  }

  .project-section {
    width: min(100%, 780px);
  }

  .project-card {
    flex-basis: calc((100% - var(--project-gap)) / 2);
    max-width: none;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding-top: 20px;
  }

  .site-header.is-compact {
    min-height: 60px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    width: 82px;
  }

  .site-header.is-compact .brand {
    width: 72px;
  }

  .header-actions {
    gap: 13px;
  }

  .menu-panel {
    width: 100vw;
    padding: 82px 24px 24px;
  }

  .menu-links {
    gap: 23px;
  }

  .menu-links a,
  html[lang="en"] .menu-links a {
    font-size: 32px;
  }

  .menu-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .menu-social {
    margin-left: 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-categories {
    bottom: 18px;
    gap: 14px;
  }

  .profile {
    min-height: auto;
    padding-top: 66px;
  }

  .profile p {
    margin-bottom: 38px;
    font-size: 24px;
  }

  .featured,
  .news,
  .explore,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .global-statement,
  .dialogue-copy blockquote {
    font-size: 30px;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .explore-links {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    margin-top: 90px;
  }

  .hero-categories,
  .explore-links {
    max-width: calc(100vw - 40px);
  }

  .hero-categories a,
  .explore-links a,
  .menu-links a {
    overflow-wrap: anywhere;
  }

  .footer-groups,
  .footer-base {
    justify-content: flex-start;
  }

  .footer-groups {
    flex-wrap: wrap;
    gap: 22px;
  }

  .footer-groups a {
    overflow-wrap: anywhere;
  }

  .footer-logo {
    width: min(250px, 72vw);
  }

  .footer-base {
    flex-direction: column;
  }

  .home-reference-footer {
    min-height: auto;
    padding: 72px 20px 24px;
  }

  .reference-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
    width: 100%;
    gap: 0 28px;
    text-align: left;
  }

  .reference-footer-column {
    gap: 18px;
  }

  .reference-footer-base {
    justify-content: flex-start;
    gap: 14px 18px;
    margin-top: 88px;
  }

  .subpage-hero {
    min-height: auto;
    padding-top: 118px;
  }

  .policy-hero {
    min-height: auto;
    padding-top: 118px;
  }

  .subpage-title h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .policy-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
    white-space: normal;
  }

  .subpage-hero > p {
    font-size: clamp(24px, 9vw, 38px);
  }

  .policy-hero p {
    font-size: clamp(22px, 7.2vw, 34px);
  }

  .subpage-cover {
    padding: 0;
  }

  .subpage-cover img {
    height: 58svh;
  }

  .project-card {
    flex-basis: 100%;
    max-width: none;
  }

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

  .about-copy p {
    font-size: clamp(24px, 8vw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
