/*
Theme Name: Good Soil Foundation
Theme URI: https://goodsoilfoundationsg.com/
Author: Good Soil Foundation
Description: Custom WordPress theme for Good Soil Foundation.
Version: 1.0.0
Text Domain: goodsoil
*/

:root {
  --container-gutter: 32px;
}

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

html {
  margin: 0;
}

body {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  flex-direction: column;
}

body.menu-open {
  overflow: hidden;
}

.main {
  width: 100%;
  flex: 1 0 auto;
}

.site-header,
.site-footer {
  flex: 0 0 auto;
}

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

video::-webkit-media-controls-download-button {
  display: none;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--container-gutter);
  padding-left: var(--container-gutter);
}

.site-logo img {
  width: auto;
  height: 51px;
  max-height: 51px;
}

.header-menu,
.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer {
  color: #6a6968;
  background: #f4f0ee;
  font-size: 12px;
}

.site-footer__inner {
  display: flex;
  min-height: 209px;
  padding-top: 38px;
  padding-bottom: 15px;
  flex-direction: column;
  justify-content: space-between;
}

.site-footer__logo {
  display: flex;
  justify-content: center;
}

.site-footer__logo img {
  width: auto;
  max-width: 140px;
  max-height: 98px;
}

.site-footer__bottom,
.site-footer__legal,
.site-footer__partner-logos,
.footer-menu {
  display: flex;
  align-items: center;
}

.site-footer__bottom {
  gap: 40px;
  justify-content: space-between;
}

.site-footer__legal {
  gap: 22px;
}

.site-footer__legal p {
  margin: 0;
}

.footer-menu {
  gap: 22px;
}

.footer-menu a {
  text-decoration: none;
}

.site-footer__partner-logos {
  gap: 36px;
}

.site-footer__partner-logos img {
  width: auto;
  max-width: 130px;
  max-height: 32px;
}

.site-footer__partner-logos a {
  display: block;
}

/* Media page */
.media-page {
  background: #f4f0ee;
}

.media-page__inner {
  padding-top: clamp(58px, 5vw, 88px);
  padding-bottom: clamp(80px, 8vw, 145px);
}

.media-page__title {
  margin: 0 0 clamp(50px, 5vw, 82px);
  color: #ff6a39;
  font-family: Epilogue, sans-serif;
  font-size: clamp(72px, 12.1vw, 220px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}

.media-grid {
  display: grid;
  gap: 48px 50px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  box-shadow: 0 14px 32px rgba(40, 40, 40, 0.12);
  transform: translateY(-5px);
}

.media-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 10 / 7;
}

.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-card__image:hover img {
  transform: scale(1.025);
}

.media-card__content {
  display: flex;
  min-height: clamp(240px, 15vw, 285px);
  padding: clamp(15px, 1.2vw, 23px) clamp(20px, 1.6vw, 32px) clamp(24px, 1.8vw, 34px);
  flex: 1 1 auto;
  flex-direction: column;
}

.media-card__title {
  margin: 0 0 14px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 500;
  line-height: 1.3;
}

.media-card__title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.media-card:hover .media-card__title a,
.media-card__title a:focus-visible {
  color: #ff6a39;
}

.media-card__date {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #aaa;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.media-card__date svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.media-card__footer {
  padding-top: 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 106, 57, 0.65);
}

.media-card__button {
  display: inline-flex;
  padding: 9px 24px;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.media-card__button:hover,
.media-card__button:focus-visible {
  color: #fff;
  background: #e65326;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.media-pagination {
  margin-top: clamp(55px, 7vw, 90px);
}

.media-pagination .page-numbers {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: #ff6a39;
  list-style: none;
}

.media-pagination a,
.media-pagination span {
  display: inline-flex;
  min-width: 30px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.media-pagination .current {
  color: #6a6968;
  background: rgba(0, 0, 0, 0.04);
}

/* About page */
.about-page {
  color: #69625d;
  background: #f4f0ee;
}

.about-intro__inner {
  padding-top: clamp(70px, 4.8vw, 96px);
  padding-bottom: clamp(85px, 7vw, 130px);
}

.about-intro__inner.has-image {
  display: grid;
  column-gap: clamp(60px, 9vw, 220px);
  grid-template-columns: minmax(0, 620px) minmax(360px, 710px);
  align-items: center;
  justify-content: space-between;
}

.about-intro__content {
  max-width: 620px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.about-intro__content > :first-child {
  margin-top: 0;
}

.about-intro__content > :last-child {
  margin-bottom: 0;
}

.about-intro__content p,
.about-intro__content ul,
.about-intro__content ol {
  margin-top: 0;
  margin-bottom: 0.9em;
}

.about-intro__content a {
  color: #ff6a39;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.about-intro__content a:hover,
.about-intro__content a:focus-visible {
  color: #e65326;
  text-decoration-color: currentColor;
}

.about-intro__media {
  width: 100%;
  margin: 0;
}

.about-intro__image {
  width: 100%;
  height: auto;
}

.display-heading__inner {
  padding-top: clamp(35px, 4vw, 64px);
  padding-bottom: clamp(75px, 7vw, 130px);
}

.display-heading__title {
  margin: 0;
  color: #ff6a39;
  font-family: Epilogue, sans-serif;
  font-size: clamp(88px, 10.4vw, 220px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.display-heading--right .display-heading__title {
  text-align: right;
}

.display-heading--muted .display-heading__title {
  color: #d2c0a7;
}

.about-vision {
  background: #e9e2d8;
}

.about-vision__inner {
  display: flex;
  min-height: 338px;
  padding-top: 70px;
  padding-bottom: 70px;
  align-items: center;
  justify-content: center;
}

.about-vision__content {
  position: relative;
  width: 100%;
  max-width: 740px;
  padding-top: 29px;
  text-align: center;
}

.about-vision__content::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 150px;
  height: 1px;
  content: "";
  background: #ff6a39;
  transform: translateX(-50%);
}

.about-vision__title {
  margin: 0 0 18px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
}

.about-vision__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.about-vision__description > :first-child,
.about-team-card__description > :first-child {
  margin-top: 0;
}

.about-vision__description > :last-child,
.about-team-card__description > :last-child {
  margin-bottom: 0;
}

.about-vision__description p {
  margin-top: 0;
  margin-bottom: 0.5em;
}

.about-team {
  padding-bottom: clamp(90px, 9vw, 150px);
}

.about-team .display-heading__inner {
  padding-top: clamp(78px, 8vw, 125px);
  padding-bottom: clamp(70px, 6vw, 105px);
}

.about-team__members {
  display: grid;
  gap: 28px;
}

.about-team-card {
  display: grid;
  min-width: 0;
  padding: 38px 40px;
  column-gap: 40px;
  background: #f7f7f7;
  grid-template-columns: 192px minmax(0, 1fr);
  align-items: start;
}

.about-team-card.has-no-image {
  grid-template-columns: 1fr;
}

.about-team-card__image {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  object-fit: cover;
}

.about-team-card__name {
  margin: 4px 0 16px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.about-team-card__role {
  margin-bottom: 20px;
  color: #d36f19;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.about-team-card__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.35;
}

.about-team-card__description p {
  margin-top: 0;
  margin-bottom: 1.15em;
}

.about-team-card__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: 24px;
  background: #282828;
  object-fit: contain;
}

.about-team-card__video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 24px;
  overflow: hidden;
  background: #282828;
}

.about-team-card__video-player,
.about-team-card__video-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-team-card__video-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-team-card__video-cover {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #282828;
  cursor: pointer;
}

.about-team-card__video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.about-team-card__video-cover:hover img,
.about-team-card__video-cover:focus-visible img {
  opacity: 0.88;
  transform: scale(1.025);
}

.about-team-card__video-cover:focus-visible {
  outline: 2px solid #ff6a39;
  outline-offset: 3px;
}

.about-team-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ff6a39;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-team-card__play-icon::before {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
  content: "";
  transform: translate(-40%, -50%);
}

.about-team-card__video-cover:hover .about-team-card__play-icon,
.about-team-card__video-cover:focus-visible .about-team-card__play-icon {
  background: #e65326;
  transform: translate(-50%, -50%) scale(1.06);
}

/* Reusable profile cards tabs */
.profile-cards-module {
  padding-bottom: clamp(90px, 9vw, 150px);
}

.profile-cards-module__heading .display-heading__inner {
  padding-top: clamp(65px, 7vw, 110px);
  padding-bottom: clamp(55px, 6vw, 90px);
}

.profile-tabs {
  padding: 48px 50px 68px;
  background: #e9e2d8;
}

.profile-tabs__navigation {
  display: flex;
  margin-bottom: 42px;
  gap: clamp(35px, 5vw, 80px);
  align-items: center;
  justify-content: center;
}

.profile-tabs__button {
  min-width: 215px;
  padding: 13px 28px;
  border: 0;
  color: #d27a20;
  background: #f7f7f7;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.profile-tabs__button:hover,
.profile-tabs__button:focus-visible {
  color: #fff;
  background: #e65326;
  outline: none;
  transform: translateY(-2px);
}

.profile-tabs__button.is-active {
  color: #fff;
  background: #ff6a39;
}

.profile-tabs__panel[hidden] {
  display: none !important;
}

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

.profile-card {
  display: grid;
  min-width: 0;
  min-height: 365px;
  padding: 38px 36px;
  column-gap: 34px;
  background: #f7f7f7;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
}

.profile-card.has-no-image {
  grid-template-columns: 1fr;
}

.profile-card__image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card__name {
  margin: 4px 0 5px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.profile-card__role {
  margin-bottom: 14px;
  color: #d27a20;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.profile-card__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.35;
}

.profile-card__description > :first-child {
  margin-top: 0;
}

.profile-card__description > :last-child {
  margin-bottom: 0;
}

.profile-card__description p {
  margin-top: 0;
  margin-bottom: 1.15em;
}

/* About: what we do */
.what-we-do {
  background: #e9e2d8;
}

.what-we-do .display-heading__inner {
  padding-top: clamp(55px, 6vw, 95px);
  padding-bottom: clamp(70px, 6vw, 105px);
}

.what-we-do__items {
  display: grid;
  padding-bottom: clamp(95px, 9vw, 150px);
  column-gap: clamp(100px, 13vw, 300px);
  row-gap: 85px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.what-we-do-card {
  min-width: 0;
}

.what-we-do-card__image {
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.what-we-do-card__title {
  margin: 42px 0 24px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.what-we-do-card__description {
  color: #56514e;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.what-we-do-card__description > :first-child {
  margin-top: 0;
}

.what-we-do-card__description > :last-child {
  margin-bottom: 0;
}

.what-we-do-card__description p {
  margin-top: 0;
  margin-bottom: 0.9em;
}

/* Contact page */
.contact-page {
  color: #69625d;
  background: #f4f0ee;
}

.contact-intro__inner {
  padding-top: clamp(45px, 4.5vw, 82px);
  padding-bottom: clamp(70px, 7vw, 110px);
}

.contact-intro__grid.has-image {
  display: grid;
  column-gap: clamp(70px, 11vw, 250px);
  grid-template-columns: minmax(0, 1fr) minmax(400px, 680px);
  align-items: center;
}

.contact-intro__title {
  margin: 0;
  color: #d2c0a7;
  font-family: Epilogue, sans-serif;
  font-size: clamp(88px, 10.4vw, 168px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.contact-intro__description {
  max-width: 520px;
  margin-top: clamp(42px, 4vw, 72px);
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.contact-intro__description > :first-child,
.contact-info-card__description > :first-child {
  margin-top: 0;
}

.contact-intro__description > :last-child,
.contact-info-card__description > :last-child {
  margin-bottom: 0;
}

.contact-intro__description p,
.contact-info-card__description p {
  margin-top: 0;
  margin-bottom: 0.8em;
}

.contact-intro__description a,
.contact-info-card__description a {
  color: #ff6a39;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-intro__description a:hover,
.contact-intro__description a:focus-visible,
.contact-info-card__description a:hover,
.contact-info-card__description a:focus-visible {
  color: #e65326;
  text-decoration-color: currentColor;
}

.contact-intro__media {
  width: 100%;
  margin: 0;
}

.contact-intro__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.contact-info__items {
  display: grid;
  max-width: 1150px;
  margin-top: clamp(85px, 8vw, 165px);
  gap: 44px 75px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-info-card {
  padding: 8px 0 5px 20px;
  border-left: 1px solid #ff6a39;
}

.contact-info-card__title {
  margin: 0 0 14px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.contact-info-card__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.contact-enquiries {
  background: #e9e2d8;
}

.contact-enquiries__inner {
  padding-top: clamp(20px, 2vw, 38px);
  padding-bottom: clamp(85px, 8vw, 130px);
}

.contact-enquiries__content > h1:first-child,
.contact-enquiries__content > h2:first-child {
  margin: 0 0 clamp(85px, 9vw, 150px);
  color: rgba(255, 255, 255, 0.72);
  font-family: Epilogue, sans-serif;
  font-size: clamp(88px, 10.4vw, 168px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: right;
  text-transform: lowercase;
}

.contact-enquiries__content .wpforms-container,
.contact-enquiries__content .wpforms-container-full {
  margin: 0 !important;
}

.contact-enquiries__content .wpforms-form .wpforms-field-container {
  display: grid;
  gap: 36px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-enquiries__content .wpforms-form .wpforms-field {
  width: 100% !important;
  padding: 0 !important;
}

.contact-enquiries__content .wpforms-form .wpforms-field-textarea,
.contact-enquiries__content .wpforms-form .wpforms-field-html,
.contact-enquiries__content .wpforms-form .wpforms-field-divider,
.contact-enquiries__content .wpforms-form .wpforms-field-content {
  grid-column: 1 / -1;
}

.contact-enquiries__content .wpforms-form label.wpforms-field-label,
.contact-enquiries__content .wpforms-form label.wpforms-field-sublabel {
  margin: 0 0 4px 16px !important;
  color: #77716d !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.35 !important;
}

.contact-enquiries__content .wpforms-form input[type="text"],
.contact-enquiries__content .wpforms-form input[type="email"],
.contact-enquiries__content .wpforms-form input[type="tel"],
.contact-enquiries__content .wpforms-form input[type="number"],
.contact-enquiries__content .wpforms-form input[type="url"],
.contact-enquiries__content .wpforms-form select,
.contact-enquiries__content .wpforms-form textarea {
  width: 100% !important;
  max-width: none !important;
  padding: 8px 16px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid #77716d !important;
  border-radius: 0 !important;
  color: #282828 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
}

.contact-enquiries__content .wpforms-form input[type="text"],
.contact-enquiries__content .wpforms-form input[type="email"],
.contact-enquiries__content .wpforms-form input[type="tel"],
.contact-enquiries__content .wpforms-form input[type="number"],
.contact-enquiries__content .wpforms-form input[type="url"],
.contact-enquiries__content .wpforms-form select {
  height: 45px !important;
}

.contact-enquiries__content .wpforms-form textarea {
  min-height: 115px !important;
  resize: vertical;
}

.contact-enquiries__content .wpforms-form input::placeholder,
.contact-enquiries__content .wpforms-form textarea::placeholder {
  color: #8a8581 !important;
  opacity: 1;
}

.contact-enquiries__content .wpforms-form input:focus,
.contact-enquiries__content .wpforms-form select:focus,
.contact-enquiries__content .wpforms-form textarea:focus {
  border-bottom-color: #ff6a39 !important;
  outline: none !important;
}

.contact-enquiries__content .wpforms-form .wpforms-error {
  color: #d94f27 !important;
}

.contact-enquiries__content .wpforms-form .wpforms-recaptcha-container {
  padding-top: 35px !important;
}

.contact-enquiries__content .wpforms-form .wpforms-submit-container {
  padding-top: 36px !important;
  text-align: center;
}

.contact-enquiries__content .wpforms-form button[type="submit"],
.contact-enquiries__content .wpforms-form .wpforms-submit {
  min-height: 46px !important;
  padding: 11px 30px !important;
  border: 0 !important;
  border-radius: 100px !important;
  color: #fff !important;
  background: #ff6a39 !important;
  box-shadow: none !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-enquiries__content .wpforms-form button[type="submit"]:hover,
.contact-enquiries__content .wpforms-form button[type="submit"]:focus-visible,
.contact-enquiries__content .wpforms-form .wpforms-submit:hover,
.contact-enquiries__content .wpforms-form .wpforms-submit:focus-visible {
  background: #e65326 !important;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22) !important;
  outline: none !important;
  transform: translateY(-2px);
}

/* Front page: hero */
.home-page {
  color: #69625d;
  background: #f4f0ee;
}

.home-hero__inner {
  padding-top: clamp(48px, 4vw, 68px);
  padding-bottom: clamp(48px, 4vw, 68px);
}

.home-hero__inner.has-image {
  display: grid;
  column-gap: clamp(40px, 4.5vw, 100px);
  grid-template-areas:
    "headline media"
    "large-title media";
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  grid-template-rows: 1fr auto;
}

.home-hero__headline {
  max-width: 900px;
  margin: clamp(130px, 13vw, 245px) 0 0;
  align-self: start;
  color: #ff6a39;
  font-family: Epilogue, sans-serif;
  font-size: clamp(32px, 2.7vw, 62px);
  font-weight: 500;
  grid-area: headline;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.home-hero__media {
  width: 100%;
  margin: 0;
  grid-area: media;
}

.home-hero__image {
  width: 100%;
  aspect-ratio: 13 / 20;
  object-fit: cover;
}

.home-hero__large-title {
  container-type: inline-size;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  align-self: end;
  color: #d2c0a7;
  font-family: Epilogue, sans-serif;
  font-size: clamp(84px, 11.5vw, 270px);
  font-weight: 600;
  grid-area: large-title;
  line-height: 1;
  letter-spacing: -0.065em;
  text-transform: lowercase;
  overflow-wrap: normal;
  white-space: normal;
  word-break: normal;
}

.home-hero__large-title > span {
  display: block;
  /* Fit “good soil” to the actual left column, with room for the glyph edges. */
  font-size: min(1em, 24cqi);
  letter-spacing: -0.065em;
}

@media (min-width: 768px) {
  .home-hero__inner.has-image {
    height: calc(100vh - 70px);
    height: calc(100svh - 70px);
    padding-top: clamp(40px, 5svh, 80px);
    padding-bottom: clamp(40px, 5svh, 80px);
    grid-template-columns: minmax(0, 1fr) minmax(0, min(52%, calc(65svh - 85px)));
  }

  .home-hero__media {
    position: relative;
    height: auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    align-self: stretch;
  }

  .home-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .home-hero__headline {
    margin-top: clamp(50px, 16vh, 190px);
    font-size: clamp(32px, min(2.7vw, 5.5vh), 62px);
  }

  .home-hero__large-title {
    font-size: clamp(84px, min(11.5vw, 18vh), 270px);
  }

  .admin-bar .home-hero__inner.has-image {
    height: calc(100vh - 102px);
    height: calc(100svh - 102px);
  }
}

/* Front page: about */
.home-about__inner {
  padding-top: clamp(70px, 7vw, 125px);
  padding-bottom: clamp(95px, 9vw, 155px);
}

.home-about__inner.has-image {
  display: grid;
  column-gap: clamp(55px, 6vw, 140px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.home-about__media {
  width: 100%;
  margin: 0;
}

.home-about__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.home-about__content {
  max-width: 760px;
}

.home-about__title {
  padding-left: 20px;
  margin: 0 0 34px;
  border-left: 1px solid #ff6a39;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: clamp(28px, 2vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

.home-about__description {
  color: #4f4a47;
  font-family: Inter, sans-serif;
  font-size: clamp(15px, 0.9vw, 18px);
  font-weight: 300;
  line-height: 1.5;
}

.home-about__description > :first-child {
  margin-top: 0;
}

.home-about__description > :last-child {
  margin-bottom: 0;
}

.home-about__description p {
  margin-top: 0;
  margin-bottom: 1em;
}

.home-about__description a {
  color: #ff6a39;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-about__description a:hover,
.home-about__description a:focus-visible {
  color: #e65326;
  text-decoration-color: currentColor;
}

.home-about__button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 30px;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-about__button:hover,
.home-about__button:focus-visible {
  color: #fff;
  background: #e65326;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22);
  outline: none;
  transform: translateY(-2px);
}

/* Front page: what we do */
.home-what-we-do {
  background: #e9e2d8;
}

.home-what-we-do .display-heading__inner {
  padding-top: clamp(65px, 7vw, 115px);
  padding-bottom: clamp(65px, 6vw, 105px);
}

.home-what-we-do__body {
  display: grid;
  padding-bottom: clamp(95px, 9vw, 150px);
  column-gap: clamp(50px, 5vw, 110px);
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 2fr);
  align-items: start;
}

.home-what-we-do__intro {
  max-width: 560px;
}

.home-what-we-do__description,
.home-what-we-do-card__description {
  color: #56514e;
  font-family: Inter, sans-serif;
  font-size: clamp(15px, 0.85vw, 17px);
  font-weight: 300;
  line-height: 1.5;
}

.home-what-we-do__description > :first-child,
.home-what-we-do-card__description > :first-child {
  margin-top: 0;
}

.home-what-we-do__description > :last-child,
.home-what-we-do-card__description > :last-child {
  margin-bottom: 0;
}

.home-what-we-do__description p,
.home-what-we-do-card__description p {
  margin-top: 0;
  margin-bottom: 0.9em;
}

.home-what-we-do__button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 30px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-what-we-do__button:hover,
.home-what-we-do__button:focus-visible {
  color: #fff;
  background: #e65326;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.home-what-we-do__items {
  display: grid;
  gap: clamp(32px, 3vw, 60px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-what-we-do-card {
  min-width: 0;
}

.home-what-we-do-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-what-we-do-card__title {
  margin: 42px 0 18px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: clamp(20px, 1.2vw, 25px);
  font-weight: 500;
  line-height: 1.3;
}

/* Projects page */
.projects-page {
  color: #69625d;
  background: #f4f0ee;
}

.projects-page__header-inner {
  padding-top: clamp(62px, 6.5vw, 115px);
  padding-bottom: clamp(58px, 5.5vw, 100px);
}

.projects-page__title {
  max-width: 100%;
  margin: 0;
  color: #ff6a39;
  font-family: Epilogue, sans-serif;
  font-size: clamp(72px, 12.1vw, 220px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}

html:lang(zh) .projects-page__title,
html:lang(zh) .media-page__title {
  font-size: clamp(56px, 8vw, 150px);
  letter-spacing: -0.02em;
}

.projects-page__list {
  padding-bottom: clamp(95px, 9vw, 165px);
}

.projects-list-card {
  display: grid;
  gap: clamp(44px, 6vw, 110px);
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
}

.projects-list-card + .projects-list-card {
  margin-top: clamp(85px, 9vw, 165px);
}

.projects-list-card__media {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f7f3f0;
}

.projects-list-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.projects-list-card__media:hover .projects-list-card__image,
.projects-list-card__media:focus-visible .projects-list-card__image {
  transform: scale(1.025);
}

.projects-list-card__content {
  max-width: 760px;
}

.projects-list-card__title {
  margin: 0 0 clamp(20px, 1.8vw, 32px);
  color: #282828;
  font-family: Epilogue, sans-serif;
  font-size: clamp(25px, 2vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.projects-list-card__title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.projects-list-card__title a:hover,
.projects-list-card__title a:focus-visible {
  color: #ff6a39;
  outline: none;
}

.projects-list-card__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 300;
  line-height: 1.5;
}

.projects-list-card__description > :first-child {
  margin-top: 0;
}

.projects-list-card__description > :last-child {
  margin-bottom: 0;
}

.projects-list-card__button {
  display: inline-flex;
  min-width: 150px;
  min-height: 46px;
  padding: 10px 30px;
  margin-top: clamp(28px, 2.5vw, 45px);
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.projects-list-card__button:hover,
.projects-list-card__button:focus-visible {
  color: #fff;
  background: #e65326;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22);
  outline: none;
  transform: translateY(-2px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .projects-list-card {
    gap: 42px;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  }
}

/* Front page: projects */
.home-projects {
  background: #f4f0ee;
}

.home-projects .display-heading__inner {
  padding-top: clamp(70px, 8vw, 135px);
  padding-bottom: clamp(65px, 7vw, 115px);
}

.home-projects__content {
  padding-bottom: clamp(95px, 9vw, 155px);
}

.home-projects__grid {
  display: grid;
  gap: clamp(65px, 5vw, 95px) clamp(24px, 2vw, 42px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.home-project-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(40, 40, 40, 0.09);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-project-card:nth-child(3n + 2) {
  margin-top: 70px;
}

.home-project-card:hover {
  box-shadow: 0 14px 30px rgba(40, 40, 40, 0.14);
  transform: translateY(-5px);
}

.home-project-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 3;
}

.home-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-project-card:hover .home-project-card__image img {
  transform: scale(1.025);
}

.home-project-card__content {
  min-height: 175px;
  padding: clamp(20px, 1.4vw, 28px) clamp(20px, 1.6vw, 32px) clamp(25px, 1.8vw, 36px);
}

.home-project-card__title {
  margin: 0 0 8px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: clamp(18px, 1.1vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: pretty;
}

.home-project-card__title a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-project-card__title a:hover,
.home-project-card__title a:focus-visible {
  color: #ff6a39;
}

.home-project-card__excerpt {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: clamp(14px, 0.8vw, 16px);
  font-weight: 300;
  line-height: 1.45;
}

.home-project-card__excerpt > :first-child {
  margin-top: 0;
}

.home-project-card__excerpt > :last-child {
  margin-bottom: 0;
}

.home-projects__footer {
  margin-top: clamp(75px, 8vw, 130px);
  text-align: right;
}

.home-projects__button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 30px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-projects__button:hover,
.home-projects__button:focus-visible {
  color: #fff;
  background: #e65326;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22);
  outline: none;
  transform: translateY(-2px);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .home-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-project-card:nth-child(3n + 2) {
    margin-top: 0;
  }
}

/* Front page: media */
.home-media {
  background: #e9e2d8;
}

.home-media .display-heading__inner {
  padding-top: clamp(70px, 8vw, 135px);
  padding-bottom: clamp(65px, 7vw, 115px);
}

.home-media__content {
  padding-bottom: clamp(95px, 9vw, 155px);
}

/* Front page: contact */
.home-contact {
  overflow: hidden;
  background: #e9e2d8;
}

.home-contact__inner {
  position: relative;
  min-height: clamp(420px, 25vw, 560px);
  padding-top: clamp(62px, 5vw, 90px);
  padding-bottom: clamp(200px, 12vw, 280px);
}

.home-contact__content {
  position: relative;
  z-index: 1;
  display: grid;
  column-gap: clamp(50px, 6vw, 125px);
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.35fr);
  align-items: start;
}

.home-contact__title {
  max-width: 470px;
  margin: 0;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: clamp(27px, 2.15vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.home-contact__details {
  max-width: 820px;
}

.home-contact__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: clamp(15px, 0.9vw, 18px);
  font-weight: 300;
  line-height: 1.5;
}

.home-contact__description > :first-child {
  margin-top: 0;
}

.home-contact__description > :last-child {
  margin-bottom: 0;
}

.home-contact__button {
  display: inline-flex;
  min-width: 150px;
  min-height: 44px;
  padding: 10px 28px;
  margin-top: 35px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-contact__button:hover,
.home-contact__button:focus-visible {
  color: #fff;
  background: #e65326;
  box-shadow: 0 7px 16px rgba(255, 106, 57, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.home-contact__large-title {
  position: absolute;
  right: var(--container-gutter);
  bottom: -8px;
  color: #f4f0ee;
  font-family: Epilogue, sans-serif;
  font-size: clamp(110px, 13vw, 280px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.055em;
  white-space: nowrap;
  text-transform: lowercase;
}

/* Single post */
.single-post-page {
  color: #69625d;
  background: #fff;
}

.single-post-entry__inner {
  padding-top: clamp(48px, 5vw, 64px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.single-post-entry__header {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.single-post-entry__back {
  display: flex;
  width: max-content;
  margin: 0 0 28px;
  gap: 8px;
  align-items: center;
  color: #ff6a39;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.single-post-entry__back:hover,
.single-post-entry__back:focus-visible {
  color: #e65326;
  transform: translateX(-3px);
}

@media (min-width: 768px) {
  .single-post-entry__back {
    margin-right: auto;
    margin-left: auto;
  }
}

.single-post-entry__title {
  max-width: 1000px;
  margin: 0 auto;
  color: #1c244b;
  font-family: Inter, sans-serif;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.4;
}

.single-post-entry__date {
  display: block;
  margin-top: 18px;
  color: #1c244b;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.single-post-entry__content {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 30px;
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.single-post-entry__content::after {
  display: table;
  clear: both;
  content: "";
}

.single-post-entry__content > :first-child {
  margin-top: 0;
}

.single-post-entry__content > :last-child {
  margin-bottom: 0;
}

.single-post-entry__content p,
.single-post-entry__content ul,
.single-post-entry__content ol,
.single-post-entry__content blockquote,
.single-post-entry__content table {
  margin-top: 0;
  margin-bottom: 0.9em;
}

.single-post-entry__content h2,
.single-post-entry__content h3,
.single-post-entry__content h4,
.single-post-entry__content h5,
.single-post-entry__content h6 {
  margin-top: 1.4em;
  margin-bottom: 0.55em;
  color: #ff6a39;
  font-family: Inter, sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.single-post-entry__content h2 {
  font-size: 28px;
}

.single-post-entry__content h3 {
  font-size: 23px;
}

.single-post-entry__content h4 {
  font-size: 19px;
}

.single-post-entry__content ul,
.single-post-entry__content ol {
  padding-left: 1.4em;
}

.single-post-entry__content li + li {
  margin-top: 0.35em;
}

.single-post-entry__content a {
  color: #ff6a39;
  overflow-wrap: anywhere;
}

.single-post-entry__content img {
  height: auto;
}

.single-post-entry__content figure,
.single-post-entry__content .wp-block-image {
  max-width: 100%;
  margin: 30px auto;
  text-align: center;
}

.single-post-entry__content figure img,
.single-post-entry__content .wp-block-image img {
  margin-right: auto;
  margin-left: auto;
}

.single-post-entry__content figcaption,
.single-post-entry__content .wp-caption-text {
  margin-top: 8px;
  color: #69625d;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.single-post-entry__content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.single-post-entry__content .alignleft {
  float: left;
  margin: 0 30px 20px 0;
}

.single-post-entry__content .alignright {
  float: right;
  margin: 0 0 20px 30px;
}

.single-post-entry__content blockquote {
  padding: 4px 0 4px 22px;
  border-left: 3px solid #ff6a39;
}

.single-post-entry__content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-entry__content table {
  width: 100%;
  border-collapse: collapse;
}

.single-post-entry__content th,
.single-post-entry__content td {
  padding: 10px 12px;
  border: 1px solid rgba(105, 98, 93, 0.25);
  text-align: left;
}

.single-post-entry__content iframe,
.single-post-entry__content video {
  max-width: 100%;
}

/* Media post: editorial source cards */
.single-post-entry__content .wp-block-columns {
  --editorial-card-gap: 10px;
  display: flex;
  padding: clamp(8px, 0.9vw, 14px);
  margin-top: clamp(36px, 4vw, 58px);
  margin-bottom: clamp(36px, 4vw, 58px);
  gap: var(--editorial-card-gap);
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  background: #f4f0ee;
}

.single-post-entry__content .wp-block-columns > .wp-block-column {
  display: flex;
  min-width: 0;
  padding: clamp(14px, 1.25vw, 20px);
  margin: 0;
  flex: 1 1 130px !important;
  max-width: 245px;
  flex-direction: column;
  background: #fff;
}

.single-post-entry__content .wp-block-columns > .wp-block-column > :first-child {
  margin-top: 0;
  color: #ff6a39;
  font-family: Epilogue, sans-serif;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 400;
  line-height: 1.3;
}

.single-post-entry__content .wp-block-columns > .wp-block-column > :first-child strong,
.single-post-entry__content .wp-block-columns > .wp-block-column > :first-child b {
  font-weight: 400;
}

.single-post-entry__content .wp-block-columns > .wp-block-column > .wp-block-paragraph {
  margin-bottom: 0;
  text-align: center;
}

.single-post-entry__content .wp-block-columns > .wp-block-column > :last-child {
  margin-bottom: 0;
}

.single-post-entry__content .wp-block-columns .wp-block-image,
.single-post-entry__content .wp-block-columns figure {
  width: 100%;
  margin: clamp(14px, 1.25vw, 20px) 0 0;
}

.single-post-entry__content .wp-block-columns .wp-block-image img,
.single-post-entry__content .wp-block-columns figure img {
  width: 100%;
  height: auto;
  margin: 0;
}

.single-post-entry__content .wp-block-columns a {
  text-decoration: none;
}

/* Keep cards equal across consecutive rows, using the largest row as the guide. */
.single-post-entry__content:has(> .wp-block-columns ~ .wp-block-columns):has(> .wp-block-columns > .wp-block-column:nth-child(3)) > .wp-block-columns > .wp-block-column {
  max-width: calc(33.333333% - 6.666667px);
}

.single-post-entry__content:has(> .wp-block-columns ~ .wp-block-columns):has(> .wp-block-columns > .wp-block-column:nth-child(4)) > .wp-block-columns > .wp-block-column {
  max-width: calc(25% - 7.5px);
}

.single-post-entry__content:has(> .wp-block-columns ~ .wp-block-columns):has(> .wp-block-columns > .wp-block-column:nth-child(5)) > .wp-block-columns > .wp-block-column {
  max-width: calc(20% - 8px);
}

.single-post-entry__content:has(> .wp-block-columns ~ .wp-block-columns):has(> .wp-block-columns > .wp-block-column:nth-child(6)) > .wp-block-columns > .wp-block-column {
  max-width: calc(16.666667% - 8.333333px);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .single-post-entry__content .wp-block-columns > .wp-block-column {
    flex-basis: 170px !important;
    max-width: 260px;
  }
}

/* Project detail page */
.project-detail-page {
  color: #69625d;
  background: #f4f0ee;
}

.project-detail-page a {
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.project-intro__grid {
  padding-top: clamp(60px, 7vw, 94px);
  padding-bottom: clamp(80px, 8vw, 118px);
}

.project-intro__grid.has-visual {
  display: grid;
  column-gap: clamp(55px, 7vw, 140px);
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr);
  align-items: start;
}

.project-intro__title {
  padding-left: 20px;
  margin: 0 0 18px;
  border-left: 1px solid #ff6a39;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.project-intro__text {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.project-intro__text > :first-child,
.project-resource-card__description > :first-child {
  margin-top: 0;
}

.project-intro__text > :last-child,
.project-resource-card__description > :last-child {
  margin-bottom: 0;
}

.project-intro__text p {
  margin-top: 0;
  margin-bottom: 0.9em;
}

.project-intro__highlights {
  margin-top: 16px;
}

.project-intro__highlights-title {
  margin: 0 0 28px;
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.project-intro__highlights-list {
  padding: 0;
  margin: 0;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
}

.project-intro__highlights-list li {
  position: relative;
  padding-left: 23px;
}

.project-intro__highlights-list li + li {
  margin-top: 7px;
}

.project-intro__highlights-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #ff6a39;
  transform: translateY(-50%);
}

.project-intro__button {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 25px;
  margin-top: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ff6a39;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.project-intro__button:hover {
  color: #fff;
  background: #e65326;
  opacity: 1;
  transform: translateY(-2px);
}

.project-resource-card__description a {
  color: #ff6a39;
}

.project-resource-card__description a:hover,
.project-default-content__inner a:hover {
  color: #e65326;
}

.project-intro__visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.project-intro__image {
  width: 100%;
  height: auto;
}

.project-intro__link {
  position: relative;
  display: inline-block;
  color: #ff6a39;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.project-intro__link::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.project-intro__link:hover {
  color: #e65326;
}

.project-intro__link:hover::after,
.project-intro__link:focus-visible::after {
  transform: scaleX(1);
}

.project-resources__inner {
  padding-bottom: clamp(100px, 10vw, 230px);
}

.project-resources__title {
  margin: 0 0 clamp(45px, 4vw, 70px);
  color: #ff6a39;
  font-family: Epilogue, sans-serif;
  font-size: clamp(94px, 9.3vw, 218px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}

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

.project-resource-card {
  display: flex;
  min-width: 0;
  padding: 40px 30px 35px 40px;
  gap: 30px;
  align-items: flex-start;
  background: #f5f5f5;
}

.project-resource-card__image {
  width: 165px;
  height: 165px;
  flex: 0 0 165px;
  border-radius: 50%;
  object-fit: cover;
}

.project-resource-card__content {
  min-width: 0;
  flex: 1 1 auto;
}

.project-resource-card__name {
  margin: 4px 0 2px;
  color: #282828;
  font-family: Inter, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.project-resource-card__role {
  margin-bottom: 10px;
  color: #b58a45;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.project-resource-card__description {
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3;
}

.project-resource-card__description p {
  margin-top: 0;
  margin-bottom: 1.3em;
}

.project-default-content__inner {
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: clamp(80px, 10vw, 150px);
  color: #69625d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.project-default-content__inner > :first-child {
  margin-top: 0;
}

.project-default-content__inner > :last-child {
  margin-bottom: 0;
}

.project-default-content__inner a {
  color: #ff6a39;
}

.project-default-content__inner img {
  height: auto;
}

.project-default-content .wp-block-gallery,
.project-default-content .gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 180px));
  justify-content: center;
}

.project-default-content .wp-block-gallery .wp-block-image,
.project-default-content .gallery .gallery-item {
  width: 100% !important;
  margin: 0 !important;
}

.project-default-content .wp-block-gallery img,
.project-default-content .gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  object-fit: cover;
}

body.lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 54px 116px;
  visibility: hidden;
  opacity: 0;
  align-items: center;
  justify-content: center;
  background: rgba(10, 13, 13, 0.88);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.project-lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.project-lightbox__dialog {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.project-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  background: #111;
  object-fit: contain;
  box-shadow: 0 10px 42px rgba(0, 0, 0, 0.28);
}

.project-lightbox__close {
  position: fixed;
  z-index: 2;
  top: 29px;
  right: 30px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #ff6a39;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.project-lightbox__close:hover,
.project-lightbox__close:focus-visible {
  color: #ff6a39;
  background: #fff;
  outline: none;
  transform: scale(1.06);
}

.project-lightbox__close::before,
.project-lightbox__close::after {
  position: absolute;
  top: 21px;
  left: 13px;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
}

.project-lightbox__close::before {
  transform: rotate(45deg);
}

.project-lightbox__close::after {
  transform: rotate(-45deg);
}

.project-lightbox__nav {
  position: fixed;
  z-index: 1;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #ff6a39;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.project-lightbox__nav:hover,
.project-lightbox__nav:focus-visible {
  color: #ff6a39;
  background: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.project-lightbox__nav::before {
  position: absolute;
  top: 15px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.project-lightbox__previous {
  left: 42px;
}

.project-lightbox__previous::before {
  left: 17px;
  transform: rotate(-135deg);
}

.project-lightbox__next {
  right: 42px;
}

.project-lightbox__next::before {
  right: 17px;
  transform: rotate(45deg);
}

.project-lightbox__nav.is-hidden {
  display: none;
}

.site-header__inner,
.site-header__right,
.header-menu {
  display: flex;
  align-items: center;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: #324a6d;
  background: #f4f0ee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.site-header__inner {
  min-height: 70px;
  gap: 40px;
}

.admin-bar .site-header {
  top: 32px;
}

.site-logo {
  display: block;
  flex: 0 0 auto;
}

.site-header__right {
  gap: 50px;
  margin-left: auto;
}

.header-menu {
  gap: 50px;
}

.header-menu a,
.language-button,
.site-logo {
  text-decoration: none;
}

.header-menu li {
  position: relative;
}

.header-menu > li > a {
  position: relative;
  display: block;
  padding: 5px 0;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.header-menu > li.current-menu-item:not(.is-contact-menu-item) > a::before,
.header-menu > li.current-menu-ancestor:not(.is-contact-menu-item) > a::before,
.header-menu > li:not(.is-contact-menu-item) > a:hover::before {
  display: none;
}

.header-menu > li.current-menu-item:not(.is-contact-menu-item) > a,
.header-menu > li.current-menu-ancestor:not(.is-contact-menu-item) > a,
.header-menu > li:not(.is-contact-menu-item) > a:hover,
.header-menu .sub-menu .current-menu-item > a {
  color: #ff6a39;
}

.header-menu > li.menu-item-has-children > a {
  padding-right: 18px;
}

.header-menu > li.menu-item-has-children > a::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-top: 6px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
  transform: translateY(-30%);
}

.submenu-toggle {
  display: none;
}

.header-menu .sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  display: block;
  min-width: 340px;
  padding: 12px 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  background: #f4f0ee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  list-style: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.header-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.header-menu .sub-menu a:hover,
.header-menu .sub-menu a:focus-visible {
  color: #ff6a39;
  background: #e9e4e1;
}

.header-menu .sub-menu .current-menu-item > a {
  background: #e9e4e1;
}

.header-menu li:hover > .sub-menu,
.header-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.language-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 5px 10px 6px;
  color: #69625d;
  font-size: 16px;
  line-height: 1.1;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 32px;
  height: 24px;
  padding: 0;
  margin-left: auto;
  border: 0;
  color: #324a6d;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  display: block;
  width: 32px;
  height: 2px;
  background: currentColor;
  transition: top 0.25s ease, opacity 0.2s ease, transform 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 1px;
}

.menu-toggle span:nth-child(2) {
  top: 11px;
}

.menu-toggle span:nth-child(3) {
  top: 21px;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

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

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

.is-contact-menu-item > a {
  padding: 12px 30px !important;
  color: #fff;
  background: #ff6a39;
  border-radius: 100px;
  font-family: Poppins, sans-serif !important;
  font-size: 15px !important;
  white-space: nowrap;
}

.is-contact-menu-item > a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .header-menu .sub-menu a:hover,
  .header-menu .sub-menu a:focus-visible {
    padding-left: 26px;
  }

  .header-menu .sub-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 16px;
    content: "";
  }

  .site-navigation,
  .header-menu {
    display: contents;
  }

  .header-menu > li {
    order: 10;
  }

  .language-button {
    order: 30;
  }

  .header-menu > .is-contact-menu-item {
    order: 20;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    width: 26px;
    height: 20px;
    color: #ff6a39;
  }

  .menu-toggle span {
    width: 26px;
  }

  .menu-toggle span:nth-child(1) {
    top: 0;
  }

  .menu-toggle span:nth-child(2) {
    top: 9px;
  }

  .menu-toggle span:nth-child(3) {
    top: 18px;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1),
  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    top: 9px;
  }

  .projects-page__header-inner {
    padding-top: 48px;
    padding-bottom: 55px;
  }

  .projects-page__title {
    font-size: clamp(58px, 18vw, 90px);
    line-height: 1;
  }

  html:lang(zh) .projects-page__title,
  html:lang(zh) .media-page__title {
    font-size: clamp(44px, 14vw, 68px);
  }

  .projects-page__list {
    padding-bottom: 82px;
  }

  .projects-list-card {
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: stretch;
  }

  .projects-list-card + .projects-list-card {
    margin-top: 78px;
  }

  .projects-list-card__media {
    aspect-ratio: 3 / 2;
  }

  .projects-list-card__title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .projects-list-card__description {
    font-size: 15px;
  }

  .projects-list-card__button {
    min-width: 140px;
    margin-top: 25px;
  }

  .about-intro__inner,
  .about-intro__inner.has-image {
    display: flex;
    padding-top: 42px;
    padding-bottom: 72px;
    flex-direction: column;
    gap: 40px;
  }

  .about-intro__content {
    max-width: none;
    font-size: 15px;
    line-height: 1.45;
  }

  .display-heading__inner {
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .display-heading__title {
    font-size: clamp(54px, 17vw, 72px);
    line-height: 0.95;
  }

  .about-vision__inner {
    min-height: 280px;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .about-vision__content {
    padding-top: 25px;
  }

  .about-vision__content::before {
    width: 110px;
  }

  .about-vision__title {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .about-vision__description {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-team {
    padding-bottom: 80px;
  }

  .about-team .display-heading__inner {
    padding-top: 65px;
    padding-bottom: 50px;
  }

  .about-team-card,
  .about-team-card.has-no-image {
    padding: 36px 22px 40px;
    gap: 26px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .about-team-card__image {
    width: 170px;
    height: 170px;
  }

  .about-team-card__name {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 25px;
  }

  .about-team-card__role {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .about-team-card__description {
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
  }

  .profile-cards-module {
    padding-bottom: 80px;
  }

  .profile-cards-module__heading .display-heading__inner {
    padding-top: 55px;
    padding-bottom: 45px;
  }

  .profile-tabs {
    padding: 32px 18px 40px;
  }

  .profile-tabs__navigation {
    margin-bottom: 30px;
    gap: 12px;
  }

  .profile-tabs__button {
    min-width: 0;
    padding: 11px 16px;
    flex: 1 1 0;
    font-size: 15px;
  }

  .profile-tabs__grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .profile-card,
  .profile-card.has-no-image {
    min-height: 0;
    padding: 36px 20px 40px;
    gap: 24px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-card__image {
    width: 155px;
    height: 155px;
  }

  .profile-card__name {
    margin-top: 0;
    font-size: 23px;
  }

  .profile-card__description {
    font-size: 14px;
    text-align: left;
  }

  .what-we-do .display-heading__inner {
    padding-top: 52px;
    padding-bottom: 48px;
  }

  .what-we-do__items {
    padding-bottom: 80px;
    gap: 62px;
    grid-template-columns: 1fr;
  }

  .what-we-do-card__image {
    width: 100%;
  }

  .what-we-do-card__title {
    margin-top: 28px;
    margin-bottom: 16px;
    font-size: 20px;
  }

  .what-we-do-card__description {
    font-size: 15px;
  }

  .contact-intro__inner {
    padding-top: 38px;
    padding-bottom: 72px;
  }

  .contact-intro__grid,
  .contact-intro__grid.has-image {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .contact-intro__title {
    font-size: clamp(58px, 18vw, 82px);
  }

  .contact-intro__description {
    margin-top: 28px;
    font-size: 15px;
  }

  .contact-info__items {
    margin-top: 62px;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .contact-info-card__title {
    font-size: 20px;
  }

  .contact-info-card__description {
    font-size: 15px;
  }

  .contact-enquiries__inner {
    padding-top: 46px;
    padding-bottom: 80px;
  }

  .contact-enquiries__content > h1:first-child,
  .contact-enquiries__content > h2:first-child {
    margin-bottom: 62px;
    font-size: clamp(58px, 18vw, 82px);
    text-align: left;
  }

  .contact-enquiries__content .wpforms-form .wpforms-field-container {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .contact-enquiries__content .wpforms-form .wpforms-field-textarea,
  .contact-enquiries__content .wpforms-form .wpforms-field-html,
  .contact-enquiries__content .wpforms-form .wpforms-field-divider,
  .contact-enquiries__content .wpforms-form .wpforms-field-content {
    grid-column: auto;
  }

  .contact-enquiries__content .wpforms-form .wpforms-recaptcha-container {
    overflow-x: auto;
  }

  .home-hero__inner {
    padding-top: clamp(24px, 4svh, 40px);
    padding-bottom: clamp(24px, 4svh, 40px);
  }

  .home-hero__inner.has-image {
    display: grid;
    height: calc(100vh - 70px);
    height: calc(100svh - 70px);
    gap: clamp(12px, 2vh, 20px);
    overflow: hidden;
    grid-template-areas:
      "media"
      "headline"
      "large-title";
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .home-hero__headline {
    max-width: none;
    margin-top: 0;
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.15;
  }

  .home-hero__media {
    position: relative;
    width: calc(100% + (2 * var(--container-gutter)));
    height: auto;
    margin-right: calc(-1 * var(--container-gutter));
    margin-left: calc(-1 * var(--container-gutter));
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    align-self: stretch;
  }

  .home-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .home-hero__large-title {
    font-size: clamp(50px, 18vw, 78px);
    white-space: normal;
  }

  .admin-bar .home-hero__inner.has-image {
    height: calc(100vh - 116px);
    height: calc(100svh - 116px);
  }

  .home-about__inner,
  .home-about__inner.has-image {
    display: flex;
    padding-top: 62px;
    padding-bottom: 82px;
    flex-direction: column;
    gap: 44px;
  }

  .home-about__title {
    margin-bottom: 26px;
    font-size: 26px;
  }

  .home-about__description {
    font-size: 15px;
  }

  .home-about__button {
    margin-top: 22px;
  }

  .home-what-we-do .display-heading__inner {
    padding-top: 55px;
    padding-bottom: 48px;
  }

  .home-what-we-do__body {
    padding-bottom: 82px;
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .home-what-we-do__intro {
    max-width: none;
  }

  .home-what-we-do__items {
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .home-what-we-do-card__title {
    margin-top: 28px;
    margin-bottom: 15px;
    font-size: 20px;
  }

  .home-projects .display-heading__inner {
    padding-top: 55px;
    padding-bottom: 48px;
  }

  .home-projects__content {
    padding-bottom: 82px;
  }

  .home-projects__grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .home-project-card:nth-child(3n + 2) {
    margin-top: 0;
  }

  .home-project-card__content {
    min-height: 0;
  }

  .home-projects__footer {
    margin-top: 45px;
    text-align: center;
  }

  .home-media .display-heading__inner {
    padding-top: 55px;
    padding-bottom: 48px;
  }

  .home-media__content {
    padding-bottom: 82px;
  }

  .home-contact__inner {
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 135px;
  }

  .home-contact__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .home-contact__title {
    max-width: none;
    font-size: 27px;
  }

  .home-contact__details {
    max-width: none;
  }

  .home-contact__description {
    font-size: 15px;
  }

  .home-contact__button {
    margin-top: 25px;
  }

  .home-contact__large-title {
    right: var(--container-gutter);
    bottom: -8px;
    font-size: clamp(62px, 19vw, 92px);
    line-height: 0.9;
  }

  .project-default-content__inner {
    padding-top: 50px;
    padding-bottom: 80px;
    font-size: 15px;
  }

  .project-default-content .wp-block-gallery,
  .project-default-content .gallery {
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 150px));
  }

  .project-lightbox {
    padding: 62px 48px 28px;
  }

  .project-lightbox__image {
    max-height: 100%;
  }

  .project-lightbox__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .project-lightbox__close::before,
  .project-lightbox__close::after {
    top: 19px;
    left: 11px;
  }

  .project-lightbox__nav {
    top: 50%;
    bottom: auto;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
  }

  .project-lightbox__nav:hover,
  .project-lightbox__nav:focus-visible {
    transform: translateY(-50%) scale(1.05);
  }

  .project-lightbox__nav::before {
    top: 13px;
    width: 11px;
    height: 11px;
  }

  .project-lightbox__previous {
    left: 6px;
  }

  .project-lightbox__previous::before {
    left: 16px;
  }

  .project-lightbox__next {
    right: 6px;
  }

  .project-lightbox__next::before {
    right: 16px;
  }

  .project-intro__grid,
  .project-intro__grid.has-visual {
    display: flex;
    padding-top: 42px;
    padding-bottom: 58px;
    flex-direction: column;
    gap: 48px;
  }

  .project-intro__visual {
    order: 0;
    gap: 30px;
  }

  .project-intro__title {
    padding-left: 20px;
    margin-bottom: 22px;
    font-size: 23px;
    line-height: 1.35;
  }

  .project-intro__text {
    font-size: 15px;
    line-height: 1.4;
  }

  .project-intro__highlights-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .project-intro__highlights-list {
    font-size: 16px;
  }

  .project-intro__button {
    margin-top: 32px;
    font-size: 14px;
  }

  .project-resources__inner {
    padding-bottom: 100px;
  }

  .project-resources__title {
    max-width: 100%;
    margin-bottom: 42px;
    font-size: clamp(48px, 14vw, 58px);
    line-height: 0.95;
    text-align: center;
  }

  .project-resources__grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .project-resource-card {
    padding: 44px 18px 48px;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .project-resource-card__image {
    width: 170px;
    height: 170px;
    flex-basis: 170px;
  }

  .project-resource-card__name {
    margin-top: 0;
    font-size: 22px;
  }

  .project-resource-card__role {
    margin-top: 8px;
    font-size: 16px;
  }

  .project-resource-card__description {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.3;
  }

  .single-post-entry__inner {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .single-post-entry__title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.3;
  }

  .single-post-entry__date {
    margin-top: 16px;
    font-size: 14px;
  }

  .single-post-entry__content {
    margin-top: 28px;
    font-size: 15px;
  }

  .single-post-entry__content .wp-block-columns {
    --editorial-card-gap: 10px;
    padding: 10px;
  }

  .single-post-entry__content .wp-block-columns > .wp-block-column {
    padding: 14px;
    flex-basis: 135px !important;
    max-width: calc(50% - 5px);
  }

  .single-post-entry__content .wp-block-columns > .wp-block-column > :first-child {
    font-size: 14px;
  }

  .single-post-entry__content h2 {
    font-size: 24px;
  }

  .single-post-entry__content h3 {
    font-size: 21px;
  }

  .single-post-entry__content figure,
  .single-post-entry__content .wp-block-image {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .single-post-entry__content figcaption,
  .single-post-entry__content .wp-caption-text {
    font-size: 14px;
  }

  .single-post-entry__content .alignleft,
  .single-post-entry__content .alignright {
    float: none;
    margin: 24px auto;
  }

  .media-page__inner {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .media-page__title {
    margin-bottom: 40px;
    font-size: clamp(58px, 18vw, 90px);
  }

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

  .site-footer__inner {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 30px;
    gap: 40px;
  }

  .site-footer__bottom,
  .site-footer__legal {
    flex-direction: column;
  }

  .site-footer__bottom {
    gap: 28px;
  }

  .site-footer__legal {
    gap: 10px;
    text-align: center;
  }

  .site-footer__partner-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-logo img {
    height: 42px;
    max-height: 42px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-header__right {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    padding: 0 var(--container-gutter);
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    background: #f4f0ee;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-left: 0;
    pointer-events: none;
    transition: padding 0.35s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.is-menu-open .site-header__right {
    padding-top: 32px;
    padding-bottom: 32px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .admin-bar .site-header__right {
    top: 116px;
    height: calc(100vh - 116px);
    height: calc(100dvh - 116px);
  }

  .site-navigation {
    width: 100%;
  }

  .header-menu {
    width: 100%;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .header-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(50, 74, 109, 0.2);
  }

  .header-menu > li > a {
    padding: 14px 0;
  }

  .header-menu > li.menu-item-has-children > a {
    padding-right: 52px;
  }

  .header-menu > li.menu-item-has-children > a::after {
    display: none;
  }

  .header-menu .submenu-toggle {
    position: absolute;
    top: 2px;
    right: -8px;
    display: flex;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    color: #324a6d;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .header-menu .submenu-toggle::after {
    width: 0;
    height: 0;
    border-top: 6px solid currentColor;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: "";
    transition: transform 0.2s ease;
  }

  .header-menu li.is-submenu-open > .submenu-toggle::after {
    transform: rotate(180deg);
  }

  .header-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px 16px;
    visibility: visible;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .header-menu li.is-submenu-open > .sub-menu {
    display: block;
  }

  .header-menu .sub-menu a {
    padding: 8px 12px;
  }

  .is-contact-menu-item > a {
    display: inline-flex !important;
    width: auto;
    margin: 14px 0;
  }

  .language-button {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 768px) and (max-width: 1023px) {
  .home-what-we-do__body {
    gap: 62px;
    grid-template-columns: 1fr;
  }

  .home-what-we-do__intro {
    max-width: 560px;
  }

  .home-about__inner,
  .home-about__inner.has-image {
    display: flex;
    flex-direction: column;
    gap: 58px;
  }

  .home-about__content {
    max-width: none;
  }

  .contact-intro__grid,
  .contact-intro__grid.has-image {
    display: flex;
    flex-direction: column;
    gap: 58px;
  }

  .about-intro__inner.has-image {
    column-gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  }

  .project-intro__grid.has-visual {
    column-gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  }

  .project-resources__title {
    font-size: clamp(76px, 11vw, 106px);
  }

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

@media (min-width: 768px) {
  :root {
    --container-gutter: 48px;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-gutter: clamp(100px, 7vw, 160px);
  }
}

@media (max-width: 479px) {
  .single-post-entry__content .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100%;
  }
}
