@media (min-width: 981px) {
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}


/* Final typography and alignment pass */
@media (min-width: 981px) {
  .site-header__inner {
    padding-left: clamp(34px, 4.2vw, 70px);
    padding-right: clamp(34px, 4.2vw, 70px);
  }

  .brand {
    gap: 9px;
    align-items: center;
  }

  .brand__title {
    font-family: var(--font-light);
    font-size: 14px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.46em;
  }

  .brand__title::after {
    margin-left: 0.46em;
    font-weight: 300;
    opacity: 0.9;
  }

  .brand__subtitle {
    font-family: var(--font-light);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.28em;
    opacity: 0.86;
    transform: translateY(0.5px);
  }

  .nav-link {
    font-family: var(--font-light);
    font-size: 12px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: 0.16em;
    opacity: 0.9;
  }

  body.page-home .hero-kicker {
    font-family: var(--font-light);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0.9;
    text-shadow: none;
  }

  body.page-home .hero-title {
    max-width: min(980px, 78vw);
    font-family: var(--font-light);
    font-size: clamp(28px, 2.35vw, 40px);
    line-height: 1.12;
    font-weight: 300;
    letter-spacing: 0.078em;
    opacity: 0.92;
    text-shadow: none;
  }

  body.page-home .home-intro__text {
    max-width: min(980px, 78vw);
  }

  body.projects-page .project-list-card__title {
    font-family: var(--font-light);
    font-size: clamp(20px, 1.55vw, 27px);
    line-height: 1.18;
    font-weight: 300;
    letter-spacing: 0.27em;
    opacity: 0.86;
  }

  body.projects-page .card-meta {
    font-family: var(--font-light);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 300;
    letter-spacing: 0.24em;
    opacity: 0.86;
  }

  body:not(.admin-body) .display,
  body:not(.admin-body) .project-title,
  body:not(.admin-body) .publication-title {
    font-weight: 300;
  }
}

/* Final alignment pass after client screenshots */
@media (min-width: 981px) {
  body.page-home {
    --home-left-edge: clamp(34px, 4.2vw, 70px);
  }

  .site-header__inner {
    padding-left: var(--home-left-edge, clamp(34px, 4.2vw, 70px));
    padding-right: clamp(34px, 4.2vw, 70px);
  }

  .brand {
    gap: 10px;
  }

  .brand__title {
    font-size: 15.5px;
    letter-spacing: 0.44em;
  }

  .brand__title::after {
    margin-left: 0.44em;
  }

  .brand__subtitle {
    font-size: 11.5px;
    letter-spacing: 0.27em;
    transform: translateY(1.4px);
  }

  .nav-link {
    font-size: 13.5px;
    letter-spacing: 0.155em;
  }

  body.page-home .home-intro__grid {
    width: auto;
    max-width: none;
    margin-left: 4px;
    margin-right: 13px;
    margin-right: 0;
    padding-left: var(--home-left-edge);
    padding-right: var(--home-left-edge);
  }

  body.page-home .home-intro__text {
    max-width: min(980px, calc(100vw - var(--home-left-edge) * 2));
  }

  body.page-home .hero-kicker {
    font-size: 13px;
    letter-spacing: 0.205em;
  }

  body.page-home .hero-title {
    max-width: min(980px, calc(100vw - var(--home-left-edge) * 2));
    font-size: clamp(30px, 2.15vw, 40px);
    line-height: 1.12;
    letter-spacing: 0.08em;
  }
}

/* Keep desktop header safe on narrow laptop widths before mobile breakpoint */
@media (min-width: 981px) and (max-width: 1180px) {
  body.page-home {
    --home-left-edge: 28px;
  }

  .site-header__inner {
    padding-left: var(--home-left-edge, 28px);
    padding-right: 28px;
    gap: 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand__title {
    font-size: 12.5px;
    letter-spacing: 0.38em;
  }

  .brand__title::after {
    margin-left: 0.38em;
  }

  .brand__subtitle {
    font-size: 9.5px;
    letter-spacing: 0.22em;
  }

  .site-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  body.page-home .hero-kicker {
    font-size: 11px;
  }

  body.page-home .hero-title {
    font-size: clamp(27px, 3vw, 34px);
    max-width: calc(100vw - 56px);
  }
}


/* Cross-device readability fix: keep thin typography, but do not fade white text with opacity */
@media (min-width: 981px) {
  body.page-home .brand__title,
  body.page-home .brand__subtitle,
  body.page-home .nav-link,
  body.page-home .hero-kicker,
  body.page-home .hero-title,
  body.projects-page .brand__title,
  body.projects-page .brand__subtitle,
  body.projects-page .nav-link,
  body.projects-page .project-list-card__title,
  body.projects-page .card-meta {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    opacity: 1 !important;
  }

  body.page-home .brand__title::after,
  body.projects-page .brand__title::after {
    opacity: 1 !important;
  }

  body.page-home .home-intro__line {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* Final client batch: desktop logo subtitle closer to mobile proportions */
@media (min-width: 981px) {
  .brand__subtitle {
    font-size: 10px;
    letter-spacing: 0.24em;
    transform: translateY(1.2px);
  }

  body.page-home .home-intro__line {
    margin-top: 17px;
  }

  body.page-home .hero-title {
    margin-top: 17px;
  }
}

/* Final client batch: keep project list titles smaller after desktop overrides */
@media (min-width: 981px) {
  body.projects-page .project-list-card__title {
    font-size: clamp(15.3px, 1.125vw, 19.8px);
    line-height: 1.2;
    letter-spacing: 0.205em;
  }
}

/* Final polish after 0102 screenshots: desktop divider, logo subtitle and grey media letterbox */
@media (min-width: 981px) {
  .brand__subtitle {
    font-size: 11px;
    letter-spacing: 0.245em;
    transform: translateY(1.25px);
  }

  body.page-home .home-intro__line {
    margin-top: 22px;
  }

  .project-single-slider,
  .project-single-slider__viewport,
  .project-slide,
  .project-slide__media,
  .project-slide__media img,
  .publication-block--image,
  .publication-block--image img,
  .about-image,
  .project-list-card__image,
  .publication-card__cover {
    background-color: var(--page-grey) !important;
  }
}

/* 0104 surgical finish: logo proportions, readable white text, page colors, adaptive titles */
@media (min-width: 981px) {
  .brand {
    gap: 10px;
    align-items: center;
  }

  .brand__title {
    display: inline-flex;
    align-items: center;
    font-size: 15.5px;
    line-height: 1;
    letter-spacing: 0.44em;
  }

  .brand__title::after {
    display: inline-flex;
    align-items: center;
    margin-left: 0.46em;
    line-height: 1;
    transform: none;
  }

  .brand__subtitle {
    display: inline-flex;
    align-items: center;
    font-size: 9.8px;
    line-height: 1;
    letter-spacing: 0.36em;
    transform: none;
    opacity: 1;
  }

  body.has-header-fill:not(.admin-body):not(.projects-page) .brand__title,
  body.has-header-fill:not(.admin-body):not(.projects-page) .brand__subtitle,
  body.has-header-fill:not(.admin-body):not(.projects-page) .nav-link {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }

  body.has-header-fill:not(.admin-body):not(.projects-page) .brand__title::after {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    opacity: 1 !important;
  }

  body.page-home .brand__title,
  body.page-home .brand__subtitle,
  body.page-home .nav-link,
  body.projects-page .brand__title,
  body.projects-page .brand__subtitle,
  body.projects-page .nav-link {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
  }

  body.page-home .hero-kicker,
  body.page-home .hero-title,
  body.projects-page .project-list-card__title,
  body.projects-page .card-meta {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    font-weight: 400;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
  }

  body.page-home .hero-title {
    max-width: min(1040px, calc(100vw - var(--home-left-edge, 70px) * 2));
  }

  body.projects-page .project-list-card__title {
    max-width: 100%;
    font-size: clamp(13.5px, 0.97vw, 18px);
    line-height: 1.18;
    letter-spacing: 0.18em;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .publication-card__title {
    max-width: 100%;
    font-size: clamp(15px, 1.1vw, 20px);
    line-height: 1.18;
    letter-spacing: 0.17em;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (min-width: 981px) {
  body:not(.admin-body) .body-copy,
  body:not(.admin-body) .rich-text p {
    font-weight: 400;
    opacity: 1;
    color: rgba(17, 17, 17, 0.9);
  }
}

/* 0104.4 final logo optical spacing: user Architect baseline + balanced separator gaps */
@media (min-width: 981px) {
  .site-header .brand,
  .mobile-menu__brand.brand {
    gap: 10px;
  }

  .site-header .brand__title,
  .mobile-menu__brand.brand .brand__title {
    font-size: 15.5px;
    line-height: 1;
    letter-spacing: 0.44em;
  }

  .site-header .brand__title::after,
  .mobile-menu__brand.brand .brand__title::after {
    margin-left: 0.22em;
    line-height: 1;
    transform: translateY(-1.1px);
  }

  .site-header .brand__subtitle,
  .mobile-menu__brand.brand .brand__subtitle {
    font-size: 9.5px;
    line-height: 1;
    letter-spacing: 0.58em;
    transform: translateY(1.4px);
  }

  body.projects-page .site-header .brand__title,
  body.projects-page .site-header .brand__subtitle {
    font-weight: 500;
    text-shadow:
      0 0 0.35px rgba(255, 255, 255, 0.92),
      0 1px 10px rgba(0, 0, 0, 0.2) !important;
  }
}

/* 0104.4 home title responsive break control */
.hero-title__mobile-break {
  display: none;
}

/* 0104.6 desktop-only logo controls: keep desktop Y settings isolated from mobile */
@media (min-width: 981px) {
  .site-header .brand__title {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .site-header .brand__subtitle {
    font-size: 9.5px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.58em;
    transform: translateY(1.4px);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .site-header .brand__title::after {
    transform: translateY(-1.1px);
  }
}


/* 0104.13 final demo logo style: Montserrat proportions from supplied demo, desktop only */
@media (min-width: 981px) {
  .site-header .brand,
  .mobile-menu__brand.brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: left;
    white-space: nowrap;
    line-height: 1;
    transform: none;
  }

  .site-header .brand__title,
  .mobile-menu__brand.brand .brand__title {
    display: inline-flex;
    align-items: center;
    font-family: "Montserrat", var(--font-sans);
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.583em;
    text-transform: uppercase;
    padding-right: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .site-header .brand__title::after,
  .mobile-menu__brand.brand .brand__title::after {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 1px;
    height: 19px;
    margin-left: 4px;
    margin-right: 13px;
    background: currentColor;
    opacity: 1;
    transform: translateY(-1px);
    transform-origin: center center;
  }

  .site-header .brand__subtitle,
  .mobile-menu__brand.brand .brand__subtitle {
    display: inline-block;
    width: auto;
    font-family: "Montserrat", var(--font-sans);
    font-size: 10.33px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.625em;
    text-transform: uppercase;
    opacity: 1;
    padding-left: 0;
    transform: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .site-header .brand__title + .brand__subtitle,
  .mobile-menu__brand.brand .brand__title + .brand__subtitle {
    margin-top: 0;
  }
}

/* 1929222 logo axis correction: rollback lowered Architect and use even-pixel separator */
@media (min-width: 981px) {
  .site-header .brand__title::after,
  .mobile-menu__brand.brand .brand__title::after {
    width: 1px !important;
    height: 18px !important;
    opacity: 0.72 !important;
    transform: translateY(-1px) !important;
  }

  .site-header .brand__subtitle,
  .mobile-menu__brand.brand .brand__subtitle {
    transform: none !important;
  }
}
