/*
Theme Name: Homirx Child
Theme URI: https://gaviaspreview.com/wp/homirx/
Author URI: https://themeforest.net/user/gavias
Author: Gaviasthemes Team
Description: Child theme for the Homirx theme.
Template: homirx
*/

/* Header: full vertical logo (no crop) + sticky scroll */
:root {
  --ag-header-h: 140px;
}

.header-main-wrapper .gsc-logo,
.header-main-wrapper .gsc-logo .site-branding-logo,
.elementor-72 .elementor-element-26d66c8,
.elementor-72 .elementor-element-26d66c8 .gsc-logo,
.elementor-72 .elementor-element-26d66c8 .gsc-logo .site-branding-logo {
  display: inline-flex !important;
  align-items: center;
  overflow: visible !important;
  max-width: none !important;
  height: auto !important;
}

.header-main-wrapper .gsc-logo .site-branding-logo img,
.elementor-72 .elementor-element-26d66c8 .gsc-logo .site-branding-logo img {
  display: block !important;
  width: auto !important;
  max-width: 72px !important;
  height: auto !important;
  max-height: 120px !important;
  object-fit: contain !important;
  object-position: center center !important;
  /* never crop the full lockup */
  clip-path: none !important;
}

.elementor-72 .elementor-element-26d66c8 > .elementor-widget-container {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  overflow: visible !important;
}

.header-main-wrapper .elementor-widget-gva_user {
  display: none !important;
}

/* Sticky / pinned main nav */
.ag-nav-spacer {
  display: none;
  width: 100%;
}

body.ag-header-is-fixed .age-nav,
body.ag-nav-pinned .age-nav {
  top: var(--ag-header-h);
}

/* Mobile/tablet: force main nav to pin at viewport top (inline styles + this backup) */
@media (max-width: 1024px) {
  .header-builder-frontend,
  .header-builder-frontend .header-builder-inner,
  .header-main-wrapper,
  .elementor-location-header,
  .elementor-72,
  .wp-site-header {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    overflow: visible !important;
  }

  .gv-sticky-menu.ag-nav-pinned-el,
  body.ag-nav-pinned .gv-sticky-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(20, 32, 44, 0.12) !important;
  }

  body.logged-in.admin-bar .gv-sticky-menu.ag-nav-pinned-el,
  body.logged-in.admin-bar.ag-nav-pinned .gv-sticky-menu {
    top: 46px !important;
  }

  .gv-sticky-menu.ag-nav-pinned-el .gsc-logo .site-branding-logo img,
  body.ag-nav-pinned .gv-sticky-menu .gsc-logo .site-branding-logo img {
    max-height: 52px !important;
  }
}

@media (min-width: 783px) and (max-width: 1024px) {
  body.logged-in.admin-bar .gv-sticky-menu.ag-nav-pinned-el,
  body.logged-in.admin-bar.ag-nav-pinned .gv-sticky-menu {
    top: 32px !important;
  }
}

@media (min-width: 1025px) {
  .header-main-wrapper .e-con-boxed > .e-con-inner {
    padding-left: 28px !important;
    padding-right: 28px !important;
    box-sizing: border-box;
  }

  .header-main-wrapper ul.gva-nav-menu > li {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-main-wrapper ul.gva-nav-menu > li > a {
    font-size: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (min-width: 1440px) {
  .header-main-wrapper .e-con-boxed > .e-con-inner {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
}

/* Mobile side drawer: no Archives / Categories boxes */
.gva-offcanvas-content.mobile .after-offcanvas,
.gva-offcanvas-content.mobile .widget_block,
.gva-offcanvas-content.mobile .wp-block-archives,
.gva-offcanvas-content.mobile .wp-block-categories,
.gva-offcanvas-content.mobile .widget_archive,
.gva-offcanvas-content.mobile .widget_categories {
  display: none !important;
}

/* Mobile header: keep bar readable and controls visible */
@media (max-width: 1024px) {
  :root {
    --ag-header-h: 72px;
  }

  .header-main-wrapper,
  .header-builder-frontend,
  .gv-sticky-menu,
  .gv-sticky-wrapper {
    overflow: visible !important;
  }

  .gv-sticky-menu,
  .gv-sticky-wrapper.is-fixed > .gv-sticky-menu {
    background: #ffffff !important;
  }

  .header-main-wrapper .gsc-logo .site-branding-logo img,
  .elementor-72 .elementor-element-26d66c8 .gsc-logo .site-branding-logo img {
    max-width: 44px !important;
    max-height: 56px !important;
  }

  .elementor-72 .elementor-element-26d66c8 > .elementor-widget-container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  /* Keep logo + hamburger on one clear row */
  .elementor-72 .elementor-element-8a90a6b {
    min-height: 64px;
    align-items: center !important;
  }

  .elementor-72 .elementor-element-137b619,
  .elementor-72 .elementor-element-137b619 .elementor-widget-container,
  .header-main-wrapper .gva-offcanvas,
  .header-main-wrapper .canvas-mobile,
  .header-main-wrapper .canvas-menu.gva-offcanvas {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header-main-wrapper .canvas-menu.gva-offcanvas .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #14202c !important;
    font-size: 22px;
    background: transparent;
  }

  .gva-offcanvas-content.mobile .top-canvas .logo-mm img {
    max-height: 48px !important;
    width: auto !important;
  }

  .gva-offcanvas-content.mobile #gva-mobile-menu ul.gva-mobile-menu > li > a {
    font-size: 16px;
    padding: 14px 0;
    color: #14202c;
  }
}

@media (max-width: 767px) {
  :root {
    --ag-header-h: 68px;
  }

  .header-main-wrapper .gsc-logo .site-branding-logo img,
  .elementor-72 .elementor-element-26d66c8 .gsc-logo .site-branding-logo img {
    max-width: 40px !important;
    max-height: 52px !important;
  }
}

/* Top contact bar: slim on tablet/mobile, phone only */
@media (max-width: 1024px) {
  .elementor-72 .elementor-element-69a7a99 {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    min-height: 0 !important;
  }

  .elementor-72 .elementor-element-69a7a99 > .e-con-inner {
    min-height: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  /* Show contact block again (Elementor hides it on tablet/mobile) */
  .elementor-72 .elementor-element-8631b05.elementor-hidden-tablet,
  .elementor-72 .elementor-element-8631b05.elementor-hidden-mobile,
  .elementor-72 .elementor-element-8631b05 {
    --display: flex !important;
    display: flex !important;
    width: auto !important;
    max-width: 100%;
    padding: 0 !important;
    flex: 1 1 auto;
  }

  .elementor-72 .elementor-element-498ad54 {
    margin: 0 !important;
  }

  .elementor-72 .elementor-element-498ad54 .elementor-icon-list-items {
    display: flex !important;
    gap: 0;
    margin: 0 !important;
  }

  /* Hide email — keep phone only */
  .elementor-72 .elementor-element-498ad54 .elementor-icon-list-item:first-child {
    display: none !important;
  }

  .elementor-72 .elementor-element-498ad54 .elementor-icon-list-text {
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: #d8d8d8 !important;
  }

  .elementor-72 .elementor-element-498ad54 .elementor-icon-list-icon {
    padding-inline-end: 4px !important;
  }

  .elementor-72 .elementor-element-498ad54 .elementor-icon-list-icon i {
    font-size: 10px !important;
  }

  /* Socials back; keep sign-in hidden */
  .elementor-72 .elementor-element-926c68b {
    --display: flex !important;
    display: flex !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .elementor-72 .elementor-element-239bb4f {
    display: block !important;
    --grid-column-gap: 8px;
    --icon-size: 12px;
  }

  .elementor-72 .elementor-element-239bb4f .elementor-social-icon {
    width: 22px !important;
    height: 22px !important;
    background: transparent !important;
  }

  .elementor-72 .elementor-element-239bb4f .elementor-social-icon i {
    font-size: 12px !important;
  }

  .elementor-72 .elementor-element-cd2e442 {
    display: none !important;
  }
}

/* Homepage: no stacked review portraits, no spinning video ring. */
body.home .review-box .image,
body.home .video-two__rotatingText {
  display: none !important;
}

body.home .gsc-testimonial .testimonial-one__image,
body.home .gsc-testimonial .testimonial-one__stars,
body.home .gsc-testimonial .testimonial-one__icon,
body.home .term-count {
  display: none !important;
}

body.home .elementor-element-bf412c0 {
  background: #f3f0ea !important;
}

body.home .testimonial-one__single {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-left: 3px solid #14202c;
  border-radius: 0;
  padding: 6px 8px 6px 28px;
}

body.home .testimonial-one__content {
  display: block;
  margin-bottom: 16px;
}

body.home .testimonial-one__quote {
  font-size: 18px;
  line-height: 1.7;
  color: #1c2430;
}

body.home .testimonial-one__name {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home .testimonial-one__job {
  color: #6d5b3e;
}

.ag-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ag-project {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e4e0d8;
  text-decoration: none;
  color: #14202c;
}

.ag-project-img {
  display: block;
  width: calc(100% + 48px);
  height: 220px;
  margin: -28px -24px 22px;
  object-fit: cover;
}

.ag-project span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-project h3 {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.3;
  color: #14202c;
}

.ag-project em {
  margin-top: auto;
  padding-top: 24px;
  font-style: normal;
  font-size: 14px;
}

.ag-projects-more {
  margin: 22px 0 0;
}

.ag-projects-more a {
  color: #14202c;
  font-weight: 600;
  text-decoration: none;
}

body.home .elementor-element-9d82836 {
  background: #14202c !important;
}

body.home .elementor-element-9d82836 .gsc-heading .title,
body.home .elementor-element-9d82836 .gsc-heading .title span,
body.home .elementor-element-9d82836 .title-desc {
  color: #fff;
}

body.home .elementor-element-9d82836 .tagline {
  color: #d7c4a3;
}

.ag-office {
  color: #e7e2d8;
  padding: 8px 8px 8px 28px;
}

.ag-office h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 26px;
}

.ag-office p {
  margin: 0 0 14px;
  line-height: 1.6;
}

.ag-office a {
  color: #fff;
}

.footer-main .elementor-element-2400d6e,
.footer-main .elementor-element-2400d6e::before {
  background-image: none !important;
}

@media (max-width: 767px) {
  .ag-projects {
    grid-template-columns: 1fr;
  }

  .ag-office {
    padding-left: 0;
  }
}

.ag-project-page {
  background: #f6f4f0;
  padding: 48px 0 80px;
}

.ag-project-page .ag-project-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.ag-project-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-project-page h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  color: #14202c;
}

.ag-project-headline {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: #3c4654;
}

.ag-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 36px;
  margin-top: 40px;
}

.ag-project-main h2,
.ag-project-aside h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  color: #14202c;
}

.ag-project-main h2:first-child,
.ag-project-aside h2:first-child {
  margin-top: 0;
}

.ag-project-main p,
.ag-project-main li {
  font-size: 17px;
  line-height: 1.7;
  color: #243040;
}

.ag-project-main ul {
  margin: 0;
  padding-left: 18px;
}

.ag-project-main li + li {
  margin-top: 8px;
}

.ag-project-aside {
  align-self: start;
  background: #14202c;
  color: #e7e2d8;
  padding: 28px 24px;
}

.ag-project-aside h2 {
  color: #fff;
}

.ag-info {
  margin: 0;
}

.ag-info div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-info dt {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d7c4a3;
}

.ag-info dd {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.ag-client {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.ag-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ag-gallery a:first-child {
  grid-column: 1 / -1;
}

.ag-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.ag-gallery a:first-child img {
  height: 460px;
}

.ag-quote {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid #14202c;
  font-size: 18px;
  line-height: 1.7;
  color: #1c2430;
}

.ag-pending {
  margin: 0;
  color: #66707c;
}

@media (max-width: 767.98px) {
  .single-page-template .single-content-inner.container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .single-page-template .single-content-inner p,
  .single-page-template .single-content-inner li {
    font-size: 15px;
    line-height: 1.65;
  }

  .single-page-template .single-content-inner h2 {
    font-size: 24px;
    line-height: 1.25;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  .single-page-template .single-content-inner.container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

body.page-id-460 .single-page-template h1.title {
  display: none;
}

body.page-id-460 .single-content-inner > .row > .col-12 > div > p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: #3c4654;
}

.ag-one {
  font-family: var(--homirx-body-font-family, inherit);
  line-height: 1.6;
  color: #243040;
}

.ag-one h2,
.ag-one h3,
.ag-one dl {
  font-family: var(--homirx-heading-font-family, inherit);
  letter-spacing: 0;
}

.ag-one p {
  margin: 0 0 14px;
}

.ag-one .ag-project-kicker {
  margin: 0 0 10px;
}

.ag-one .ag-project-headline {
  margin: 14px 0 0;
}

.ag-one .ag-quote {
  margin: 0;
  padding: 2px 0 2px 20px !important;
  border-left: 3px solid #14202c !important;
  font-style: normal;
}

.ag-one .ag-quote::before {
  display: none;
}

/* Projects page: one-page project browser. */
.ag-one {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  margin: 32px 0 16px;
  align-items: start;
}

.ag-one *,
.ag-one *::before,
.ag-one *::after {
  box-sizing: border-box;
}

.ag-one-nav {
  position: sticky;
  top: 110px;
  min-width: 0;
}

.ag-one-nav-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-one-picks {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ag-one-pick {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  text-align: left;
  background: #fff;
  border: 1px solid #e4e0d8;
  border-left: 3px solid transparent;
  border-radius: 0;
  color: #14202c;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.ag-one-pick small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7656;
}

.ag-one-pick span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.ag-one-pick:hover {
  border-color: #c9bfae;
  border-left-color: #6d5b3e;
}

.ag-one-pick:focus-visible,
.ag-one-step:focus-visible {
  outline: 2px solid #6d5b3e;
  outline-offset: 2px;
}

.ag-one-pick.is-active {
  background: #14202c;
  border-color: #14202c;
  border-left-color: #d7c4a3;
  color: #fff;
}

.ag-one-pick.is-active small {
  color: #d7c4a3;
}

.ag-one-stage {
  min-width: 0;
}

.ag-one-detail {
  animation: ag-one-in 0.35s ease;
}

.ag-one-detail[hidden] {
  display: none !important;
}

@keyframes ag-one-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ag-one-head {
  padding-bottom: 24px;
  border-bottom: 1px solid #e4e0d8;
}

.ag-one-head .ag-project-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ag-one-count {
  color: #9a8f80;
  font-variant-numeric: tabular-nums;
}

.ag-one-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: #14202c;
  overflow-wrap: anywhere;
}

.ag-one .ag-project-headline {
  font-size: clamp(16px, 1.6vw, 20px);
}

.ag-one .ag-project-layout {
  margin-top: 32px;
}

.ag-one .ag-project-main,
.ag-one .ag-project-aside {
  min-width: 0;
}

.ag-one-stage .ag-project-main h3,
.ag-one-stage .ag-project-aside h3 {
  margin: 36px 0 14px;
  font-size: 20px;
  color: #14202c;
}

.ag-one-stage .ag-project-aside h3 {
  color: #fff;
}

.ag-one-stage .ag-project-main h3:first-of-type,
.ag-one-stage .ag-project-aside h3:first-of-type {
  margin-top: 0;
}

.ag-one .ag-project-main p,
.ag-one .ag-project-main li {
  font-size: 16px;
}

.ag-one .ag-project-aside {
  position: sticky;
  top: 110px;
}

.ag-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 !important;
  list-style: none;
}

.ag-services li {
  margin: 0 !important;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4e0d8;
  font-size: 15px !important;
}

.ag-one .ag-gallery img {
  transition: transform 0.4s ease;
}

.ag-one .ag-gallery a {
  display: block;
  overflow: hidden;
}

.ag-one .ag-gallery a:hover img {
  transform: scale(1.03);
}

.ag-one-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e4e0d8;
}

.ag-one-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 64px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e4e0d8;
  color: #14202c;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.ag-one-step--next {
  text-align: right;
  align-items: flex-end;
}

.ag-one-step small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7656;
}

.ag-one-step span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.ag-one-step:hover {
  border-color: #14202c;
}

@media (max-width: 1100px) {
  .ag-one {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
  }

  .ag-one .ag-project-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ag-one .ag-project-aside {
    position: static;
    order: -1;
  }

  .ag-one .ag-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
  }

  .ag-one .ag-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .ag-one {
    display: block;
    margin-top: 20px;
  }

  .ag-one-nav {
    position: relative;
    top: auto;
    margin: 0 -20px 24px;
    padding: 14px 0 14px 20px;
    background: #f3f0ea;
    border-top: 1px solid #e4e0d8;
    border-bottom: 1px solid #e4e0d8;
  }

  .ag-one-nav-label {
    margin-bottom: 10px;
  }

  .ag-one-picks {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-right: 20px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ag-one-picks::-webkit-scrollbar {
    display: none;
  }

  .ag-one-pick {
    flex: 0 0 auto;
    width: auto;
    max-width: 230px;
    min-height: 52px;
    padding: 10px 14px;
    scroll-snap-align: start;
    border-left-width: 1px;
  }

  .ag-one-pick span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 767px) {
  .ag-one-head {
    padding-bottom: 18px;
  }

  .ag-one .ag-project-headline {
    margin-top: 10px;
  }

  .ag-one .ag-project-layout {
    margin-top: 22px;
    gap: 24px;
  }

  .ag-one .ag-project-aside {
    padding: 20px 18px;
  }

  .ag-one .ag-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .ag-one .ag-info div {
    padding: 10px 0;
  }

  .ag-one .ag-info dt {
    font-size: 11px;
  }

  .ag-one .ag-info dd {
    font-size: 15px;
  }

  .ag-one-stage .ag-project-main h3,
  .ag-one-stage .ag-project-aside h3 {
    margin: 30px 0 12px;
    font-size: 18px;
  }

  .ag-one .ag-project-main p,
  .ag-one .ag-project-main li {
    font-size: 15px;
    line-height: 1.65;
  }

  .ag-services {
    grid-template-columns: 1fr 1fr;
  }

  .ag-services li {
    padding: 9px 10px;
    font-size: 14px !important;
  }

  .ag-one .ag-gallery {
    display: flex;
    gap: 10px;
    margin: 0 -20px;
    padding: 0 20px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ag-one .ag-gallery::-webkit-scrollbar {
    display: none;
  }

  .ag-one .ag-gallery a,
  .ag-one .ag-gallery a:first-child {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }

  .ag-one .ag-gallery img,
  .ag-one .ag-gallery a:first-child img {
    height: 240px;
  }

  .ag-one .ag-quote {
    font-size: 16px;
    padding-left: 16px;
  }

  .ag-one-steps {
    gap: 8px;
    margin-top: 36px;
  }

  .ag-one-step {
    padding: 12px;
  }

  .ag-one-step span {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 380px) {
  .ag-services,
  .ag-one .ag-info {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-one-detail,
  .ag-one .ag-gallery img {
    animation: none;
    transition: none;
  }
}

@media (max-width: 800px) {
  .ag-project-page h1 {
    font-size: 34px;
  }

  .ag-project-layout,
  .ag-gallery,
  .ag-info div {
    grid-template-columns: 1fr;
  }

  .ag-gallery a:first-child img,
  .ag-gallery img {
    height: 220px;
  }

  .ag-project-page .ag-project-wrap {
    width: min(1180px, calc(100% - 28px));
  }
}
/* Contact page */
.ag-contact {
  font-family: var(--homirx-body-font-family, inherit);
  color: #2b3540;
}

.ag-contact-intro {
  max-width: 720px;
  margin: 0 0 48px;
}

.ag-contact-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-contact-intro h2 {
  margin: 0 0 16px;
  font-family: var(--homirx-heading-font-family, inherit);
  font-size: 42px;
  line-height: 1.15;
  color: #14202c;
}

.ag-contact-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #55606b;
}

.ag-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid #e4e0d8;
  background: #fff;
}

.ag-contact-panel {
  padding: 44px 40px;
  background: #14202c;
  color: #d9d4ca;
}

.ag-contact-panel h3,
.ag-contact-form h3 {
  margin: 0 0 28px;
  font-family: var(--homirx-heading-font-family, inherit);
  font-size: 24px;
  line-height: 1.3;
}

.ag-contact-panel h3 {
  color: #fff;
}

.ag-contact-list {
  margin: 0;
}

.ag-contact-list div {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-contact-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.ag-contact-list dt {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7c4a3;
}

.ag-contact-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.ag-contact-list a {
  color: #fff;
  text-decoration: none;
}

.ag-contact-list a:hover {
  text-decoration: underline;
}

.ag-contact-steps {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-contact-steps h4 {
  margin: 0 0 16px;
  font-size: 15px;
  color: #fff;
}

.ag-contact-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ag-step;
}

.ag-contact-steps li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.6;
  counter-increment: ag-step;
}

.ag-contact-steps li::before {
  content: counter(ag-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  font-weight: 600;
  color: #d7c4a3;
}

.ag-contact-form {
  padding: 44px 44px 40px;
}

.ag-contact-form h3 {
  margin-bottom: 6px;
  color: #14202c;
}

.ag-contact-form > p {
  margin: 0 0 28px;
  font-size: 14px;
  color: #6b747d;
}

.ag-contact-form .row {
  margin-left: -8px;
  margin-right: -8px;
}

.ag-contact-form .row > div {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}

.ag-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.ag-contact-form input[type="text"],
.ag-contact-form input[type="email"],
.ag-contact-form input[type="tel"],
.ag-contact-form select,
.ag-contact-form textarea {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d9d4ca;
  border-radius: 0;
  background: #faf9f6;
  font-size: 15px;
  color: #14202c;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ag-contact-form textarea {
  height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

.ag-contact-form input:focus,
.ag-contact-form select:focus,
.ag-contact-form textarea:focus {
  outline: none;
  border-color: #14202c;
  background: #fff;
}

.ag-contact-form ::placeholder {
  color: #7d858c;
  opacity: 1;
}

.ag-contact-form .form-action,
.ag-contact-form .action {
  display: block;
  margin-bottom: 0 !important;
}

.ag-contact-form input[type="submit"] {
  height: 54px;
  padding: 0 34px;
  border: 0;
  border-radius: 0;
  background: #14202c;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ag-contact-form input[type="submit"]:hover,
.ag-contact-form input[type="submit"]:focus {
  background: #6d5b3e;
}

.ag-contact-form .wpcf7-spinner {
  margin: 0 0 0 14px;
}

.ag-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.ag-contact-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 16px !important;
  font-size: 14px;
}

body.page-id-21 .elementor-widget-google_maps iframe {
  filter: grayscale(1) contrast(1.05);
}

@media (max-width: 991px) {
  .ag-contact-grid {
    grid-template-columns: 1fr;
  }

  .ag-contact-panel {
    order: 2;
  }
}

@media (max-width: 767px) {
  .ag-contact-intro {
    margin-bottom: 32px;
  }

  .ag-contact-intro h2 {
    font-size: 30px;
  }

  .ag-contact-intro p {
    font-size: 15px;
  }

  .ag-contact-panel,
  .ag-contact-form {
    padding: 30px 22px;
  }

  .ag-contact-form .row > div {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ag-contact-form input[type="submit"] {
    width: 100%;
  }

  .ag-contact-form .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
  }
}

/* About Us and News & Careers pages */
body.page-id-29,
body.page-id-23 {
  overflow-x: hidden;
}

body.page-id-29 .custom-breadcrumb,
body.page-id-23 .custom-breadcrumb,
body.page-id-29 .single-content-inner h1.title,
body.page-id-23 .single-content-inner h1.title {
  display: none;
}

body.page-id-29 .single-page-template .single-content-inner.container,
body.page-id-23 .single-page-template .single-content-inner.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-id-29 .single-content-inner > .row,
body.page-id-23 .single-content-inner > .row {
  margin: 0;
}

body.page-id-29 .single-content-inner > .row > .col-12,
body.page-id-23 .single-content-inner > .row > .col-12 {
  padding: 0;
}

.ag-page {
  font-family: var(--homirx-body-font-family, inherit);
  color: #2b3540;
}

.ag-page h1,
.ag-page h2,
.ag-page h3,
.ag-page h4 {
  font-family: var(--homirx-heading-font-family, inherit);
  color: #14202c;
}

.ag-page p {
  line-height: 1.75;
}

.ag-page {
  --ag-gutter: 40px;
  width: 100%;
  overflow-x: clip;
}

.ag-bleed {
  position: relative;
  width: 100%;
}

.ag-wrap,
.ag-page > .ag-section:not(.ag-bleed) {
  width: min(1320px, calc(100% - var(--ag-gutter) * 2));
  margin-left: auto;
  margin-right: auto;
}

.ag-page img {
  max-width: 100%;
}

.ag-kicker {
  margin: 0 0 14px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-muted {
  color: #6b747d;
  font-size: 14px;
}

/* Hero */
.ag-hero {
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  overflow: hidden;
  background: #14202c;
}

.ag-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 32, 44, 0.92) 0%, rgba(20, 32, 44, 0.7) 45%, rgba(20, 32, 44, 0.25) 100%);
}

.ag-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1290px, calc(100% - var(--ag-gutter) * 2));
  margin: 0 auto;
  padding: 120px 0 80px;
}

.ag-hero-inner > * {
  max-width: 760px;
}

.ag-hero .ag-kicker {
  color: #d7c4a3;
}

.ag-hero h1 {
  margin: 0 0 20px;
  font-size: 54px;
  line-height: 1.1;
  color: #fff;
}

.ag-hero-inner p:last-child {
  margin: 0;
  font-size: 18px;
  color: #e7e2d8;
}

/* Section navigation */
.ag-subnav {
  background: #fff;
  border-bottom: 1px solid #e4e0d8;
}

.ag-subnav .ag-wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ag-subnav .ag-wrap::-webkit-scrollbar {
  display: none;
}

.ag-subnav a {
  flex: 0 0 auto;
  padding: 20px 16px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #4a5560;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ag-subnav a:hover,
.ag-subnav a:focus {
  color: #14202c;
  border-bottom-color: #6d5b3e;
}

/* Sections */
.ag-section {
  padding: 96px 0;
  scroll-margin-top: 100px;
}

.ag-section.ag-bleed:not(.ag-dark) {
  padding-left: 0;
  padding-right: 0;
}

.ag-tint {
  background: #f3f0ea;
}

.ag-section h2 {
  margin: 0 0 20px;
  font-size: 40px;
  line-height: 1.15;
}

.ag-section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.ag-section-head p:last-child {
  margin-bottom: 0;
  font-size: 17px;
  color: #55606b;
}

.ag-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.ag-split--reverse .ag-split-media {
  order: -1;
}

.ag-split-text p {
  color: #4a5560;
}

.ag-split-media {
  margin: 0;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.ag-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-split-media .ag-cover {
  min-height: 420px;
}

.ag-wide-media {
  margin: 48px 0 0;
  height: 420px;
  overflow: hidden;
}

/* Facts strip */
.ag-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 64px 0 48px;
  border-top: 1px solid #e4e0d8;
  border-bottom: 1px solid #e4e0d8;
}

.ag-facts div {
  padding: 28px 24px;
  border-left: 1px solid #e4e0d8;
}

.ag-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.ag-facts dt {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-facts dd {
  margin: 0;
  font-family: var(--homirx-heading-font-family, inherit);
  font-size: 22px;
  line-height: 1.3;
  color: #14202c;
}

/* Cards and tiles */
.ag-cards {
  display: grid;
  gap: 24px;
}

.ag-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ag-card {
  padding: 40px;
  background: #f6f4f0;
  border-top: 3px solid #14202c;
}

.ag-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.ag-card p:last-child {
  margin-bottom: 0;
}

.ag-grid-3,
.ag-grid-4 {
  display: grid;
  gap: 20px;
}

.ag-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.ag-testimonials .ag-grid-3,
#testimonials .ag-grid-3 {
  margin-top: 0;
}

.ag-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-tile {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #e4e0d8;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ag-tile:hover {
  border-color: #14202c;
  transform: translateY(-2px);
}

.ag-tile h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.ag-tile p {
  margin: 0;
  font-size: 15px;
  color: #55606b;
}

/* Dark vision band */
.ag-dark {
  overflow: hidden;
  background: #14202c;
}

.ag-dark-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.ag-dark .ag-wrap {
  position: relative;
  z-index: 1;
}

.ag-dark h2,
.ag-dark h3,
.ag-dark h4 {
  color: #fff;
}

.ag-dark .ag-kicker {
  color: #d7c4a3;
}

.ag-dark h2 {
  margin-bottom: 40px;
}

.ag-card--glass {
  background: rgba(255, 255, 255, 0.06);
  border-top-color: #d7c4a3;
  color: #e7e2d8;
  backdrop-filter: blur(2px);
}

.ag-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ag-value;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ag-values li {
  position: relative;
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  counter-increment: ag-value;
}

.ag-values li::before {
  content: counter(ag-value, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #d7c4a3;
}

.ag-values h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ag-values p {
  margin: 0;
  font-size: 15px;
  color: #c9c3b8;
}

/* Leadership */
.ag-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ag-person {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid #e4e0d8;
}

.ag-person-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ece8e1;
}

.ag-monogram {
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #14202c;
  color: #d7c4a3;
  font-family: var(--homirx-heading-font-family, inherit);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ag-person h3 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.3;
}

.ag-person-role {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.5 !important;
  color: #6d5b3e;
}

.ag-person > p {
  margin: 0;
  font-size: 15px;
  color: #4a5560;
}

.ag-person details {
  margin-top: auto;
  padding-top: 16px;
}

.ag-person summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #14202c;
  list-style: none;
}

.ag-person summary::-webkit-details-marker {
  display: none;
}

.ag-person summary::after {
  content: "+";
  margin-left: 8px;
}

.ag-person details[open] summary::after {
  content: "–";
}

.ag-person details p {
  margin: 14px 0 0;
  font-size: 15px;
  color: #4a5560;
}

.ag-note {
  margin-top: 40px;
  padding: 32px 36px;
  border-left: 3px solid #6d5b3e;
  background: #f6f4f0;
}

.ag-note h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.ag-note p {
  margin: 0;
  color: #4a5560;
}

/* Accreditations */
.ag-accred {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.ag-accred h2 {
  margin-bottom: 16px;
}

.ag-badge {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e4e0d8;
}

.ag-badge-mark {
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid #6d5b3e;
  border-radius: 50%;
  font-weight: 700;
  color: #6d5b3e;
}

.ag-badge h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.ag-badge p {
  margin: 0;
  color: #4a5560;
}

.ag-accred-list .ag-muted {
  margin: 16px 0 0;
}

/* Chips */
.ag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ag-chips li {
  margin: 0;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #ddd7cc;
  font-size: 14px;
  line-height: 1.4;
  color: #14202c;
}

/* Quality process */
.ag-process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ag-process;
}

.ag-process li {
  position: relative;
  padding: 0 20px 0 0;
  counter-increment: ag-process;
}

.ag-process li::before {
  content: counter(ag-process, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  background: #14202c;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.ag-process li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 44px;
  right: 0;
  height: 1px;
  background: #d9d4ca;
}

.ag-process li:last-child::after {
  display: none;
}

.ag-process h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.ag-process p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65 !important;
  color: #55606b;
}

/* Testimonials */
.ag-testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 36px 32px;
  background: #fff;
  border-left: 3px solid #14202c;
}

.ag-testimonial blockquote {
  margin: 0 0 28px;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 16px;
  font-style: normal;
  line-height: 1.75;
  color: #2b3540;
}

.ag-testimonial blockquote::before {
  display: none !important;
}

.ag-testimonial figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.ag-testimonial figcaption strong {
  color: #14202c;
}

.ag-testimonial figcaption span {
  color: #6d5b3e;
}

/* CTA band */
.ag-cta {
  padding: 72px 0;
  background: #14202c;
}

.ag-cta .ag-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ag-cta h2 {
  margin: 0 0 10px;
  font-size: 34px;
  color: #fff;
}

.ag-cta p {
  margin: 0;
  color: #c9c3b8;
}

.ag-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.ag-btn {
  display: inline-block;
  padding: 16px 28px;
  background: #d7c4a3;
  border: 1px solid #d7c4a3;
  color: #14202c;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ag-btn:hover,
.ag-btn:focus {
  background: #fff;
  border-color: #fff;
  color: #14202c;
}

.ag-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.ag-btn--ghost:hover,
.ag-btn--ghost:focus {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* News */
.ag-news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ag-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4e0d8;
}

.ag-news-card--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.ag-news-media {
  display: block;
  height: 230px;
  overflow: hidden;
  background: #e9e5de;
}

.ag-news-card--lead .ag-news-media {
  height: 100%;
  min-height: 400px;
}

.ag-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ag-news-card:hover .ag-news-media img {
  transform: scale(1.04);
}

.ag-news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.ag-news-card--lead .ag-news-body {
  justify-content: center;
  padding: 48px;
}

.ag-news-meta {
  margin: 0 0 10px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.ag-news-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
}

.ag-news-card--lead h3 {
  font-size: 32px;
  line-height: 1.2;
}

.ag-news-card h3 a {
  color: #14202c;
  text-decoration: none;
}

.ag-news-card h3 a:hover {
  color: #6d5b3e;
}

.ag-news-body > p:not(.ag-news-meta) {
  margin: 0 0 20px;
  font-size: 15px;
  color: #55606b;
}

.ag-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #14202c;
  text-decoration: none;
}

.ag-link::after {
  content: " →";
}

.ag-link:hover {
  color: #6d5b3e;
}

/* Careers */
.ag-subhead {
  margin: 32px 0 0;
  font-size: 18px;
}

.ag-subhead--spaced {
  margin: 64px 0 24px;
  font-size: 24px;
}

#careers .ag-split {
  align-items: stretch;
}

/* Responsive */
@media (max-width: 1100px) {
  .ag-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  .ag-process li:nth-child(3)::after {
    display: none;
  }

  .ag-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ag-page {
    --ag-gutter: 32px;
  }

  .ag-hero {
    min-height: 480px;
  }

  .ag-hero h1 {
    font-size: 42px;
  }

  .ag-section {
    padding: 72px 0;
  }

  .ag-section h2 {
    font-size: 32px;
  }

  .ag-split,
  .ag-accred {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ag-split--reverse .ag-split-media,
  .ag-split .ag-split-media {
    order: -1;
  }

  .ag-split-media,
  .ag-split-media .ag-cover {
    min-height: 320px;
  }

  .ag-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .ag-facts div:nth-child(n+3) {
    border-top: 1px solid #e4e0d8;
  }

  .ag-values,
  .ag-grid-3,
  .ag-news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ag-news-card--lead {
    grid-template-columns: 1fr;
  }

  .ag-news-card--lead .ag-news-media {
    min-height: 300px;
  }

  .ag-news-card--lead .ag-news-body {
    padding: 32px;
  }

  .ag-cta .ag-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .ag-page {
    --ag-gutter: 20px;
  }

  .ag-hero {
    min-height: 440px;
  }

  .ag-hero::after {
    background: linear-gradient(180deg, rgba(20, 32, 44, 0.45) 0%, rgba(20, 32, 44, 0.92) 70%);
  }

  .ag-hero-inner {
    padding: 100px 0 44px;
  }

  .ag-hero h1 {
    font-size: 32px;
  }

  .ag-hero-inner p:last-child {
    font-size: 16px;
  }

  .ag-subnav a {
    padding: 16px 12px;
    font-size: 13px;
  }

  .ag-section {
    padding: 56px 0;
    scroll-margin-top: 80px;
  }

  .ag-section h2 {
    font-size: 27px;
  }

  .ag-section-head {
    margin-bottom: 32px;
  }

  .ag-section-head p:last-child {
    font-size: 15px;
  }

  .ag-page p {
    font-size: 15px;
  }

  .ag-split-media,
  .ag-split-media .ag-cover {
    min-height: 240px;
  }

  .ag-wide-media {
    height: 240px;
    margin-top: 36px;
  }

  .ag-facts {
    margin: 40px 0 32px;
  }

  .ag-facts div {
    padding: 20px 16px;
  }

  .ag-facts dd {
    font-size: 17px;
  }

  .ag-cards--2,
  .ag-values,
  .ag-grid-3,
  .ag-grid-4,
  .ag-team,
  .ag-news {
    grid-template-columns: 1fr;
  }

  .ag-grid-3 {
    margin-top: 36px;
  }

  .ag-card {
    padding: 28px 24px;
  }

  .ag-card h3 {
    font-size: 21px;
  }

  .ag-values {
    margin-top: 36px;
  }

  .ag-values li {
    padding: 22px 0;
  }

  .ag-person {
    padding: 26px 22px;
  }

  .ag-note {
    padding: 24px 22px;
  }

  .ag-badge {
    flex-direction: column;
    gap: 16px;
    padding: 24px 22px;
  }

  .ag-process {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .ag-process li {
    padding: 0 0 28px 64px;
  }

  .ag-process li::before {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .ag-process li::after,
  .ag-process li:nth-child(3)::after {
    display: block;
    top: 44px;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .ag-process li:last-child::after {
    display: none;
  }

  .ag-testimonial {
    padding: 28px 24px;
  }

  .ag-chips li {
    padding: 8px 12px;
    font-size: 13px;
  }

  .ag-news-media {
    height: 200px;
  }

  .ag-news-card--lead .ag-news-media {
    min-height: 220px;
  }

  .ag-news-card--lead h3 {
    font-size: 24px;
  }

  .ag-news-body,
  .ag-news-card--lead .ag-news-body {
    padding: 24px 22px;
  }

  .ag-subhead--spaced {
    margin-top: 44px;
    font-size: 21px;
  }

  .ag-cta {
    padding: 56px 0;
  }

  .ag-cta h2 {
    font-size: 27px;
  }

  .ag-cta-actions,
  .ag-btn {
    width: 100%;
  }

  .ag-btn {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .ag-subnav .ag-wrap {
    width: 100%;
    padding: 0 10px;
    scroll-snap-type: x proximity;
  }

  .ag-subnav a {
    scroll-snap-align: start;
  }

  .ag-split-text h2,
  .ag-section-head h2 {
    margin-bottom: 14px;
  }

  .ag-person-head {
    align-items: flex-start;
  }

  .ag-monogram {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .ag-process li {
    padding-right: 0;
  }
}

@media (max-width: 420px) {
  .ag-hero {
    min-height: 400px;
  }

  .ag-hero h1 {
    font-size: 28px;
  }

  .ag-section h2,
  .ag-cta h2 {
    font-size: 24px;
  }

  .ag-facts {
    grid-template-columns: 1fr;
  }

  .ag-facts div,
  .ag-facts div:nth-child(3) {
    padding: 16px 0;
    border-left: 0;
  }

  .ag-facts div + div {
    border-top: 1px solid #e4e0d8;
  }

  .ag-news-card--lead h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-tile,
  .ag-news-media img {
    transition: none;
  }
}

/* Picture-led homepage */
body.home .elementor-element-d0f6e89 {
  min-height: 88vh;
  justify-content: center;
}

body.home .elementor-element-d0f6e89 > .elementor-background-overlay,
body.home .elementor-element-d0f6e89::before {
  background: linear-gradient(90deg, rgba(14, 22, 31, 0.86) 0%, rgba(14, 22, 31, 0.55) 55%, rgba(14, 22, 31, 0.3) 100%) !important;
  opacity: 1 !important;
}

.agh {
  --ag-gutter: 40px;
  font-family: var(--homirx-body-font-family, inherit);
  color: #2b3540;
  overflow-x: clip;
}

.agh h2,
.agh strong {
  font-family: var(--homirx-heading-font-family, inherit);
}

.agh-wrap {
  width: min(1290px, calc(100% - var(--ag-gutter) * 2));
  margin: 0 auto;
}

.agh .ag-kicker {
  margin-bottom: 12px !important;
}

.agh h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  color: #14202c;
}

.agh-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.agh-head-note {
  max-width: 380px;
  margin: 0;
  color: #55606b;
  line-height: 1.7;
}

.agh-head--light h2 {
  color: #fff;
}

.agh-head--light .ag-kicker {
  color: #d7c4a3;
}

.agh-head--light .ag-link {
  color: #fff;
}

.ag-btn--dark {
  background: #14202c;
  border-color: #14202c;
  color: #fff;
}

.ag-btn--dark:hover,
.ag-btn--dark:focus {
  background: #6d5b3e;
  border-color: #6d5b3e;
  color: #fff;
}

/* Gateway tiles */
.agh-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #14202c;
}

.agh-tile {
  position: relative;
  display: block;
  height: 460px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.agh-tile-img,
.agh-project-img,
.agh-sector-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.agh-tile::after,
.agh-project::after,
.agh-sector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 31, 0) 30%, rgba(14, 22, 31, 0.88) 100%);
  transition: background-color 0.3s ease;
}

.agh-tile:hover .agh-tile-img,
.agh-project:hover .agh-project-img,
.agh-sector:hover .agh-sector-img {
  transform: scale(1.06);
}

.agh-tile + .agh-tile {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.agh-tile-body {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 34px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agh-tile-body strong {
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}

.agh-tile-body span {
  font-size: 15px;
  line-height: 1.6;
  color: #e3ddd2;
}

.agh-tile-body em,
.agh-news-card em {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7c4a3;
}

.agh-tile-body em::after,
.agh-news-card em::after {
  content: " →";
}

/* Statement */
.agh-statement {
  padding: 120px 0;
}

.agh-statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: center;
}

.agh-statement-text h2 {
  margin-bottom: 24px;
}

.agh-statement-text p {
  color: #4a5560;
  font-size: 16px;
  line-height: 1.8;
}

.agh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.agh-statement-media {
  position: relative;
  margin: 0;
  padding: 0 0 70px 70px;
}

.agh-statement-main {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.agh-statement-inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 220px;
  object-fit: cover;
  border: 8px solid #fff;
}

.agh-statement-square {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 110px;
  height: 110px;
  background: #d7262c;
}

/* Featured project mosaic */
.agh-featured {
  padding: 0 0 120px;
}

.agh-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 16px;
}

.agh-project {
  position: relative;
  display: block;
  overflow: hidden;
  background: #14202c;
  color: #fff;
  text-decoration: none;
}

.agh-project:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.agh-project:nth-child(4),
.agh-project:nth-child(5),
.agh-project:nth-child(6) {
  grid-column: span 2;
}

.agh-project-body {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agh-project-body small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d7c4a3;
}

.agh-project-body strong {
  font-size: 21px;
  line-height: 1.25;
  color: #fff;
}

.agh-project:first-child .agh-project-body strong {
  font-size: 34px;
}

.agh-project:first-child .agh-project-body {
  left: 40px;
  bottom: 40px;
}

/* Sectors */
.agh-sectors {
  padding: 110px 0;
  background: #14202c;
}

.agh-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.agh-sector {
  position: relative;
  display: block;
  height: 420px;
  overflow: hidden;
  text-decoration: none;
}

.agh-sector strong {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  padding-top: 16px;
  border-top: 2px solid #d7c4a3;
  font-size: 24px;
  color: #fff;
}

/* Site photo wall */
.agh-site {
  padding: 120px 0 0;
}

.agh-photo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 6px;
}

.agh-photo-wall figure {
  margin: 0;
  overflow: hidden;
  background: #e9e5de;
}

.agh-photo-wall figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.agh-photo-wall figure:nth-child(4),
.agh-photo-wall figure:nth-child(7) {
  grid-column: span 2;
}

.agh-photo-wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.agh-photo-wall figure:hover img {
  transform: scale(1.04);
}

/* News */
.agh-news {
  padding: 120px 0;
}

.agh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.agh-news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #14202c;
  text-decoration: none;
}

.agh-news-media {
  display: block;
  height: 260px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #e9e5de;
}

.agh-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.agh-news-card:hover .agh-news-media img {
  transform: scale(1.05);
}

.agh-news-card small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d5b3e;
}

.agh-news-card strong {
  font-size: 22px;
  line-height: 1.3;
  color: #14202c;
}

.agh-news-card em {
  color: #14202c;
}

/* Photographic page banners */
.custom-breadcrumb {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}

.custom-breadcrumb .breadcrumb-overlay {
  background: linear-gradient(90deg, rgba(14, 22, 31, 0.85) 0%, rgba(14, 22, 31, 0.45) 100%) !important;
}

.custom-breadcrumb .breadcrumb-container-inner {
  padding-top: 170px !important;
  padding-bottom: 110px !important;
}

.custom-breadcrumb .heading-title {
  font-size: 54px;
  line-height: 1.1;
  color: #fff;
}

@media (max-width: 1100px) {
  .agh-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agh-tile {
    height: 380px;
  }

  .agh-tile:nth-child(3) {
    border-left: 0;
  }

  .agh-tile:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .agh-statement-grid {
    gap: 48px;
  }

  .agh-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agh-sector {
    height: 340px;
  }
}

@media (max-width: 991px) {
  .agh {
    --ag-gutter: 32px;
  }

  .agh h2 {
    font-size: 34px;
  }

  .agh-statement,
  .agh-news {
    padding: 80px 0;
  }

  .agh-site,
  .agh-sectors {
    padding-top: 80px;
  }

  .agh-sectors {
    padding-bottom: 80px;
  }

  .agh-featured {
    padding-bottom: 80px;
  }

  .agh-statement-grid {
    grid-template-columns: 1fr;
  }

  .agh-statement-main {
    height: 420px;
  }

  .agh-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  .agh-project:first-child {
    grid-row: span 1;
  }

  .agh-project:nth-child(4),
  .agh-project:nth-child(5) {
    grid-column: span 1;
  }

  .agh-photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .agh-photo-wall figure:nth-child(4),
  .agh-photo-wall figure:nth-child(7) {
    grid-column: span 1;
  }

  .agh-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agh-news-card:nth-child(3) {
    display: none;
  }

  .custom-breadcrumb .breadcrumb-container-inner {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
  }

  .custom-breadcrumb .heading-title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  body.home .elementor-element-d0f6e89 {
    min-height: 78vh;
  }

  body.home .elementor-element-d0f6e89 > .elementor-background-overlay,
  body.home .elementor-element-d0f6e89::before {
    background: linear-gradient(180deg, rgba(14, 22, 31, 0.5) 0%, rgba(14, 22, 31, 0.88) 100%) !important;
  }

  .agh {
    --ag-gutter: 20px;
  }

  .agh h2 {
    font-size: 28px;
  }

  .agh-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }

  .agh-tiles {
    grid-template-columns: 1fr;
  }

  .agh-tile {
    height: 300px;
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .agh-tile-body {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }

  .agh-tile-body strong {
    font-size: 22px;
  }

  .agh-statement,
  .agh-news {
    padding: 60px 0;
  }

  .agh-site,
  .agh-sectors {
    padding-top: 60px;
  }

  .agh-sectors,
  .agh-featured {
    padding-bottom: 60px;
  }

  .agh-statement-text p {
    font-size: 15px;
  }

  .agh-actions {
    gap: 20px;
  }

  .agh-statement-media {
    padding: 0 0 50px 30px;
  }

  .agh-statement-main {
    height: 300px;
  }

  .agh-statement-inset {
    width: 46%;
    height: 130px;
    border-width: 5px;
  }

  .agh-statement-square {
    right: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
  }

  .agh-mosaic {
    display: flex;
    gap: 12px;
    margin: 0 calc(var(--ag-gutter) * -1);
    padding: 0 var(--ag-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .agh-mosaic::-webkit-scrollbar,
  .agh-sector-grid::-webkit-scrollbar {
    display: none;
  }

  .agh-project,
  .agh-project:first-child {
    flex: 0 0 82%;
    height: 340px;
    scroll-snap-align: start;
  }

  .agh-project:first-child .agh-project-body {
    left: 22px;
    bottom: 22px;
  }

  .agh-project-body {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .agh-project:first-child .agh-project-body strong,
  .agh-project-body strong {
    font-size: 22px;
  }

  .agh-sector-grid {
    gap: 10px;
  }

  .agh-sector {
    height: 220px;
  }

  .agh-sector strong {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding-top: 10px;
    font-size: 18px;
  }

  .agh-photo-wall {
    grid-auto-rows: 150px;
    gap: 4px;
  }

  .agh-news-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .agh-news-card:nth-child(3) {
    display: flex;
  }

  .agh-news-media {
    height: 220px;
  }

  .agh-news-card strong {
    font-size: 20px;
  }

  .custom-breadcrumb .breadcrumb-container-inner {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
  }

  .custom-breadcrumb .heading-title {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .agh-sector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .agh-sector {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agh-tile-img,
  .agh-project-img,
  .agh-sector-img,
  .agh-photo-wall img,
  .agh-news-media img {
    transition: none;
  }
}

/* Sticky positioning needs clip rather than hidden on the root */
html,
body {
  overflow-x: clip !important;
}

/* Match header/footer inner width to editorial body content */
.header-builder-frontend .e-con-boxed.e-con > .e-con-inner,
.footer-builder-frontend .e-con-boxed.e-con > .e-con-inner,
.elementor-location-header .e-con-boxed.e-con > .e-con-inner,
.elementor-location-footer .e-con-boxed.e-con > .e-con-inner {
  --content-width: 1320px;
  max-width: min(1320px, calc(100% - 112px));
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .header-builder-frontend .e-con-boxed.e-con > .e-con-inner,
  .footer-builder-frontend .e-con-boxed.e-con > .e-con-inner,
  .elementor-location-header .e-con-boxed.e-con > .e-con-inner,
  .elementor-location-footer .e-con-boxed.e-con > .e-con-inner {
    max-width: min(1320px, calc(100% - 72px));
  }
}

@media (max-width: 767px) {
  .header-builder-frontend .e-con-boxed.e-con > .e-con-inner,
  .footer-builder-frontend .e-con-boxed.e-con > .e-con-inner,
  .elementor-location-header .e-con-boxed.e-con > .e-con-inner,
  .elementor-location-footer .e-con-boxed.e-con > .e-con-inner {
    max-width: min(1320px, calc(100% - 40px));
  }
}

/* Hero */
body.home .elementor-element-6091385 > .elementor-background-overlay,
body.home .elementor-element-6091385::before {
  background: linear-gradient(90deg, rgba(14, 22, 31, 0.86) 0%, rgba(14, 22, 31, 0.55) 55%, rgba(14, 22, 31, 0.3) 100%) !important;
  opacity: 1 !important;
}

body.home .elementor-element-6091385 {
  min-height: 88vh;
  align-items: center;
}

body.home .elementor-element-d0f6e89 .big-title-2 {
  text-wrap: balance;
}

@media (max-width: 1024px) {
  body.home .elementor-element-6091385 {
    min-height: 72vh;
    padding-top: 140px !important;
  }

  body.home .elementor-element-205f703 {
    padding-bottom: 110px !important;
  }
}

@media (max-width: 767px) {
  body.home .elementor-element-d0f6e89 {
    min-height: 0;
  }

  body.home .elementor-element-6091385 {
    min-height: 82svh;
    padding-top: 110px !important;
  }

  body.home .elementor-element-6091385 > .elementor-background-overlay,
  body.home .elementor-element-6091385::before {
    background: linear-gradient(180deg, rgba(14, 22, 31, 0.55) 0%, rgba(14, 22, 31, 0.9) 100%) !important;
  }

  body.home .elementor-element-10ae000 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.home .elementor-element-1d5d7d1 {
    margin-bottom: 0 !important;
  }

  body.home .elementor-element-d0f6e89 .big-title-2 {
    font-size: 34px;
    line-height: 1.18;
  }

  body.home .elementor-element-205f703 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 32px 0 64px !important;
  }

  body.home .elementor-element-205f703 > .elementor-widget-button,
  body.home .elementor-element-205f703 .elementor-button {
    width: 100% !important;
  }

  body.home .elementor-element-205f703 .elementor-button {
    justify-content: center;
    padding: 15px 20px !important;
  }
}

@media (max-width: 380px) {
  body.home .elementor-element-d0f6e89 .big-title-2 {
    font-size: 29px;
  }
}

/* Gateway tiles: index and mobile stacking cards */
.agh-tile-num {
  position: absolute;
  top: 26px;
  left: 32px;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
  .agh-tiles {
    display: block;
    padding: 20px 16px 36px;
    background: #f3f0ea;
  }

  .agh-tile {
    position: sticky;
    top: calc(84px + var(--i) * 14px);
    height: min(64svh, 440px);
    margin-bottom: 18px;
    border: 0 !important;
    border-radius: 0;
    box-shadow: 0 18px 40px -18px rgba(14, 22, 31, 0.55);
    transform-origin: center top;
    will-change: transform, filter;
  }

  .agh-tile:last-child {
    margin-bottom: 0;
  }

  .agh-tile-num {
    top: 20px;
    left: 22px;
  }
}

/* Testimonials */
.agh-quotes {
  padding: 80px 0;
  background: #f3f0ea;
  text-align: center;
}

.agh-quotes-inner {
  max-width: 820px;
}

.agh-quotes-stage {
  display: grid;
}

.agh-quote {
  grid-area: 1 / 1;
  margin: 0;
}

.agh-quote.is-active {
  animation: agh-quote-in 0.5s ease both;
}

@keyframes agh-quote-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.agh-quote blockquote {
  margin: 0 0 20px;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: var(--homirx-heading-font-family, inherit);
  font-size: 22px;
  font-style: normal;
  line-height: 1.55;
  color: #14202c;
}

.agh-quote blockquote::before {
  display: none !important;
}

.agh-quote figcaption {
  font-size: 14px;
  font-weight: 600;
  color: #14202c;
}

.agh-quote figcaption span {
  font-weight: 400;
  color: #6d5b3e;
}

.agh-quotes-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.agh-quotes-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #cfc8bb;
  border-radius: 50%;
  background: transparent;
  color: #14202c;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.agh-quotes-btn:hover,
.agh-quotes-btn:focus-visible {
  border-color: #14202c;
  background: #14202c;
  color: #fff;
}

.agh-quotes-bar {
  display: flex;
  gap: 6px;
}

.agh-quotes-bar span {
  width: 22px;
  height: 3px;
  background: #d9d3c8;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.agh-quotes-bar span.is-active {
  width: 40px;
  background: #d7262c;
}

@media (max-width: 767px) {
  .agh-quotes {
    padding: 56px 0;
  }

  .agh-quote blockquote {
    font-size: 18px;
  }

  .agh-quotes-controls {
    margin-top: 24px;
  }
}

/* Site photo marquee */
.agh-site {
  padding-bottom: 120px;
}

.agh-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.agh-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: agh-marquee 70s linear infinite;
}

.agh-marquee-row--reverse .agh-marquee-track {
  animation-direction: reverse;
  animation-duration: 80s;
}

.agh-marquee:hover .agh-marquee-track {
  animation-play-state: paused;
}

@keyframes agh-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.agh-marquee figure {
  position: relative;
  flex: 0 0 auto;
  height: 300px;
  margin: 0;
  overflow: hidden;
  background: #e9e5de;
}

.agh-marquee img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  filter: saturate(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.agh-marquee figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #d7262c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.agh-marquee figure:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.agh-marquee figure:hover::after {
  transform: scaleX(1);
}

@media (max-width: 991px) {
  .agh-site {
    padding-bottom: 80px;
  }

  .agh-marquee figure {
    height: 240px;
  }
}

@media (max-width: 767px) {
  .agh-site {
    padding-bottom: 60px;
  }

  .agh-marquee,
  .agh-marquee-track {
    gap: 8px;
  }

  .agh-marquee figure {
    height: 170px;
  }

  .agh-marquee-track {
    animation-duration: 50s;
  }

  .agh-marquee-row--reverse .agh-marquee-track {
    animation-duration: 58s;
  }

  @keyframes agh-marquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-50% - 4px));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .agh-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .agh-marquee-track {
    animation: none;
  }
}

/* Footer */
.agf {
  background: #0e161f;
  color: #a9b0b7;
  font-family: var(--homirx-body-font-family, inherit);
  font-size: 15px;
}

.agf-wrap {
  width: min(1320px, calc(100% - 112px));
  margin: 0 auto;
}

.agf-top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 48px;
  padding: 80px 0 64px;
}

.agf-logo {
  display: inline-block;
  padding: 10px 12px;
  background: #fff;
}

.agf-logo img {
  display: block;
  width: 52px;
  height: auto;
}

.agf-brand p {
  max-width: 320px;
  margin: 22px 0 0;
  line-height: 1.7;
}

.agf-col h3 {
  margin: 0 0 20px;
  font-family: var(--homirx-heading-font-family, inherit);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.agf-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agf-col li {
  margin: 0 0 12px;
  line-height: 1.6;
}

.agf a {
  color: #d9dde1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.agf a:hover,
.agf a:focus {
  color: #d7c4a3;
}

.agf-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agf-bottom .agf-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 24px 0;
  font-size: 13px;
}

.agf-bottom p {
  margin: 0;
}

.agf-bottom p a + a {
  margin-left: 24px;
}

@media (max-width: 991px) {
  .agf-wrap {
    width: calc(100% - 72px);
  }

  .agf-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
    padding: 64px 0 48px;
  }

  .agf-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .agf-wrap {
    width: calc(100% - 40px);
  }

  .agf-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding: 52px 0 40px;
  }

  .agf-col:last-child {
    grid-column: 1 / -1;
  }

  .agf-bottom .agf-wrap {
    flex-direction: column;
    padding: 20px 0 24px;
  }
}

/* Editorial homepage */
.agx {
  --agx-ink: #14202c;
  --agx-muted: #5f6a74;
  --agx-paper: #f7f5f1;
  --agx-line: #e2ddd4;
  --agx-red: #d7262c;
  --agx-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --agx-gutter: 56px;
  color: var(--agx-ink);
  font-family: var(--homirx-body-font-family, inherit);
  overflow-x: clip;
}

.agx h1,
.agx h2,
.agx h3,
.agx-lede,
.agx-band-quote,
.agx-quote blockquote {
  font-family: var(--agx-serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: inherit;
}

.agx em {
  font-style: italic;
}

.agx-wrap {
  width: min(1320px, calc(100% - var(--agx-gutter) * 2));
  margin: 0 auto;
}

.agx-eyebrow {
  margin: 0 0 18px !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5 !important;
  text-transform: uppercase;
  color: #8a7350;
}

.agx-btn {
  display: inline-block;
  padding: 17px 34px;
  border: 1px solid var(--agx-ink);
  background: var(--agx-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.agx-btn:hover,
.agx-btn:focus {
  background: transparent;
  color: var(--agx-ink);
}

.agx-btn--light {
  border-color: #fff;
  background: #fff;
  color: var(--agx-ink);
}

.agx-btn--light:hover,
.agx-btn--light:focus {
  background: transparent;
  color: #fff;
}

.agx-textlink {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--agx-ink);
  text-decoration: none;
}

.agx-textlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.4s ease;
}

.agx-textlink:hover::after,
a:hover > .agx-textlink::after,
a:hover .agx-row-text .agx-textlink::after {
  transform: scaleX(0.35);
}

.agx-textlink--light {
  color: #fff;
}

/* Hero */
.agx-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - 90px);
  overflow: hidden;
  background: #0e161f;
  color: #fff;
}

.agx-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.agx-hero-slide.is-active {
  opacity: 1;
}

.agx-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.agx-hero-slide.is-active img {
  transform: scale(1);
}

.agx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 31, 0.35) 0%, rgba(14, 22, 31, 0.15) 35%, rgba(14, 22, 31, 0.85) 100%);
}

.agx-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - var(--agx-gutter) * 2));
  margin: 0 auto;
  padding: 160px 0 150px;
}

.agx-hero .agx-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.agx-hero h1 {
  max-width: 980px;
  margin: 0 0 44px;
  font-size: clamp(46px, 7.4vw, 112px);
  line-height: 0.98;
  color: #fff;
}

.agx-hero h1 em {
  color: #f0e6d6;
}

.agx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
}

.agx-hero-foot {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1320px, calc(100% - var(--agx-gutter) * 2));
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.agx-hero-count b {
  color: #fff;
  font-weight: 600;
}

.agx-hero-progress {
  position: relative;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.agx-hero-progress i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.agx-hero.is-ready .agx-hero-progress i {
  animation: agx-progress 6.5s linear forwards;
}

@keyframes agx-progress {
  to {
    transform: scaleX(1);
  }
}

.agx-hero-scroll {
  margin-left: auto;
}

/* Intro */
.agx-intro {
  padding: 150px 0 140px;
  text-align: center;
}

.agx-intro .agx-wrap {
  max-width: 1040px;
}

.agx-lede {
  margin: 0 0 44px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
}

/* Alternating rows */
.agx-rows {
  display: flex;
  flex-direction: column;
  gap: 140px;
  padding-bottom: 150px;
}

.agx-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 90px;
  width: min(1320px, calc(100% - var(--agx-gutter) * 2));
  margin: 0 auto;
  color: var(--agx-ink);
  text-decoration: none;
}

.agx-row--flip {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.agx-row--flip .agx-row-media {
  order: 2;
}

.agx-row-media {
  position: relative;
  height: 640px;
  margin: 0;
  overflow: hidden;
}

.agx-row-media img,
.agx-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.agx-row:hover .agx-row-media img,
.agx-feature:hover figure img {
  transform: scale(1.04);
}

.agx-row-text {
  position: relative;
}

.agx-row-num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--agx-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--agx-red);
}

.agx-row-text h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
}

.agx-row-text p:not(.agx-eyebrow) {
  max-width: 460px;
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--agx-muted);
}

/* Selected work */
.agx-work {
  padding: 140px 0;
  background: var(--agx-paper);
}

.agx-head {
  max-width: 820px;
  margin-bottom: 80px;
}

.agx-head h2,
.agx-gallery-head h2,
.agx-contact h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.04;
}

.agx-features {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
}

.agx-feature {
  display: block;
  color: var(--agx-ink);
  text-decoration: none;
}

.agx-feature:nth-child(2) {
  margin-top: 160px;
}

.agx-feature figure {
  height: 680px;
  margin: 0 0 28px;
  overflow: hidden;
}

.agx-feature:nth-child(2) figure {
  height: 520px;
}

.agx-feature .agx-eyebrow {
  margin-bottom: 10px !important;
}

.agx-feature h3 {
  margin: 0 0 20px;
  font-size: 38px;
  line-height: 1.1;
}

.agx-index {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 48px;
  margin-top: 120px;
  padding-top: 48px;
  border-top: 1px solid var(--agx-line);
}

.agx-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agx-index li {
  margin: 0;
  border-bottom: 1px solid var(--agx-line);
}

.agx-index li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--agx-ink);
  text-decoration: none;
  transition: padding 0.35s ease, color 0.35s ease;
}

.agx-index li a span {
  font-family: var(--agx-serif);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.2;
}

.agx-index li a small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a7350;
}

.agx-index li a:hover {
  padding-left: 18px;
  color: var(--agx-red);
}

.agx-index .agx-btn {
  grid-column: 2;
  justify-self: start;
  margin-top: 24px;
}

/* Image band */
.agx-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
  background: #0e161f;
  color: #fff;
  clip-path: inset(0);
}

.agx-band-img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agx-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 31, 0.5);
}

.agx-band .agx-wrap {
  position: relative;
  z-index: 1;
}

.agx-band-quote {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.1;
  color: #fff;
}

/* Gallery */
.agx-gallery {
  padding: 140px 0;
}

.agx-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.agx-gallery-nav {
  display: flex;
  gap: 12px;
}

.agx-gallery-nav button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid var(--agx-line);
  border-radius: 50%;
  background: transparent;
  color: var(--agx-ink);
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.agx-gallery-nav button:hover,
.agx-gallery-nav button:focus-visible {
  border-color: var(--agx-ink);
  background: var(--agx-ink);
  color: #fff;
}

.agx-gallery-track {
  display: flex;
  gap: 24px;
  padding: 0 max(var(--agx-gutter), calc((100% - 1320px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 max(var(--agx-gutter), calc((100% - 1320px) / 2));
  scrollbar-width: none;
  cursor: grab;
}

.agx-gallery-track::-webkit-scrollbar {
  display: none;
}

.agx-gallery-track figure {
  flex: 0 0 auto;
  width: min(42vw, 560px);
  margin: 0;
  scroll-snap-align: start;
}

.agx-gallery-track figure:nth-child(3n + 2) {
  width: min(30vw, 400px);
}

.agx-gallery-track img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.agx-gallery-track figure:nth-child(3n + 2) img {
  height: 440px;
}

.agx-gallery-track figcaption {
  display: flex;
  gap: 14px;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--agx-muted);
}

.agx-gallery-track figcaption span {
  font-family: var(--agx-serif);
  font-style: italic;
  color: var(--agx-red);
}

/* Testimonial */
.agx-quote {
  padding: 110px 0;
  border-top: 1px solid var(--agx-line, #e2ddd4);
  background: #fff;
  text-align: center;
}

.agx-quote .agx-wrap {
  max-width: 860px;
}

.agx-quote h2 {
  margin: 0 0 48px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  color: #14202c;
}

.agx-quote-stage {
  position: relative;
  min-height: 200px;
}

.agx-quote-item {
  margin: 0;
}

.agx-quote-item[hidden] {
  display: none !important;
}

.agx-quote-item.is-active {
  animation: agx-fade 0.7s ease both;
}

@keyframes agx-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.agx-quote blockquote,
.agx-quote blockquote.agx-quote-text,
body.home .agx-quote blockquote {
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  background: none !important;
  color: #14202c !important;
  font-family: var(--agx-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  position: static !important;
  z-index: auto !important;
}

.agx-quote blockquote::before,
.agx-quote blockquote::after,
body.home .agx-quote blockquote::before,
body.home .agx-quote blockquote::after {
  content: none !important;
  display: none !important;
}

.agx-quote blockquote p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  font-style: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.agx-quote figcaption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a7350;
}

.agx-quote-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.agx-quote-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d9d3c8;
  border-radius: 50%;
  background: transparent;
  color: #14202c;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.agx-quote-btn:hover,
.agx-quote-btn:focus-visible {
  border-color: #14202c;
  background: #14202c;
  color: #fff;
}

.agx-quote-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.agx-quote-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #14202c;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.agx-quote-dots button.is-active {
  background: #d7262c;
  border-color: #d7262c;
}

/* Contact */
.agx-contact {
  padding: 140px 0;
  background: #0e161f;
  color: #c9c3b8;
}

.agx-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 100px;
}

.agx-contact .agx-eyebrow {
  color: #cdb68f;
}

.agx-contact h2 {
  margin-bottom: 28px;
  color: #fff;
}

.agx-contact-text > p:not(.agx-eyebrow) {
  max-width: 440px;
  margin: 0 0 48px;
  font-size: 17px;
  line-height: 1.8;
}

.agx-contact dl {
  margin: 0;
}

.agx-contact dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agx-contact dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f979e;
}

.agx-contact dd {
  margin: 0;
  color: #fff;
}

.agx-contact dd a {
  color: #fff;
  text-decoration: none;
}

.agx-contact .ag-contact-form {
  padding: 0;
}

.agx-contact .ag-contact-form input[type="text"],
.agx-contact .ag-contact-form input[type="email"],
.agx-contact .ag-contact-form input[type="tel"],
.agx-contact .ag-contact-form select,
.agx-contact .ag-contact-form textarea {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  color: #fff;
}

.agx-contact .ag-contact-form select option {
  color: #14202c;
}

.agx-contact .ag-contact-form input:focus,
.agx-contact .ag-contact-form select:focus,
.agx-contact .ag-contact-form textarea:focus {
  border-bottom-color: #fff;
  background: transparent;
}

.agx-contact .ag-contact-form ::placeholder {
  color: #8f979e;
}

.agx-contact .ag-contact-form input[type="submit"] {
  background: #fff;
  color: #14202c;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.agx-contact .ag-contact-form input[type="submit"]:hover {
  background: var(--agx-red);
  color: #fff;
}

/* Reveal on scroll */
.agx-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.agx-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1100px) {
  .agx {
    --agx-gutter: 36px;
  }

  .agx-row,
  .agx-row--flip {
    gap: 56px;
  }

  .agx-row-media {
    height: 520px;
  }

  .agx-feature figure {
    height: 540px;
  }

  .agx-feature:nth-child(2) figure {
    height: 420px;
  }

  .agx-contact-grid {
    gap: 60px;
  }
}

@media (max-width: 991px) {
  .agx-intro,
  .agx-work,
  .agx-gallery,
  .agx-contact {
    padding: 100px 0;
  }

  .agx-rows {
    gap: 100px;
    padding-bottom: 100px;
  }

  .agx-row,
  .agx-row--flip {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .agx-row--flip .agx-row-media {
    order: 0;
  }

  .agx-row-media {
    height: 460px;
  }

  .agx-features {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .agx-feature:nth-child(2) {
    margin-top: 0;
  }

  .agx-feature figure,
  .agx-feature:nth-child(2) figure {
    height: 460px;
  }

  .agx-index {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 80px;
  }

  .agx-index .agx-btn {
    grid-column: 1;
  }

  .agx-gallery-track figure,
  .agx-gallery-track figure:nth-child(3n + 2) {
    width: 60vw;
  }

  .agx-gallery-track img,
  .agx-gallery-track figure:nth-child(3n + 2) img {
    height: 440px;
  }

  .agx-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .agx {
    --agx-gutter: 20px;
  }

  .agx-hero {
    min-height: 88svh;
  }

  .agx-hero-inner {
    padding: 120px 0 120px;
  }

  .agx-hero h1 {
    margin-bottom: 32px;
    font-size: 46px;
    line-height: 1.02;
  }

  .agx-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .agx-hero-actions .agx-btn {
    width: 100%;
    text-align: center;
  }

  .agx-hero-foot {
    bottom: 28px;
  }

  .agx-hero-scroll {
    display: none;
  }

  .agx-intro {
    padding: 80px 0;
  }

  .agx-lede {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .agx-rows {
    gap: 0;
    padding: 0 16px 60px;
  }

  .agx-row,
  .agx-row--flip {
    position: sticky;
    top: calc(84px + var(--i) * 14px);
    display: block;
    width: 100%;
    height: min(72svh, 560px);
    margin-bottom: 18px;
    overflow: hidden;
    background: #0e161f;
    box-shadow: 0 20px 40px -20px rgba(14, 22, 31, 0.6);
    transform-origin: center top;
    will-change: transform, filter;
  }

  .agx-row:last-child {
    margin-bottom: 0;
  }

  .agx-row.agx-reveal {
    opacity: 1;
    transform: none;
  }

  .agx-row-media {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .agx-row-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 22, 31, 0) 25%, rgba(14, 22, 31, 0.92) 100%);
  }

  .agx-row-text {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 28px;
    z-index: 1;
    color: #fff;
  }

  .agx-row-num {
    margin-bottom: 14px;
    font-size: 18px;
    color: #ff6b6f;
  }

  .agx-row-text .agx-eyebrow {
    margin-bottom: 10px !important;
    color: #e3d4bb;
  }

  .agx-row-text h2 {
    margin-bottom: 14px;
    font-size: 30px;
    color: #fff;
  }

  .agx-row-text p:not(.agx-eyebrow) {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
  }

  .agx-row-text .agx-textlink {
    color: #fff;
  }

  .agx-work,
  .agx-gallery,
  .agx-contact {
    padding: 72px 0;
  }

  .agx-head {
    margin-bottom: 44px;
  }

  .agx-features {
    gap: 48px;
  }

  .agx-feature figure,
  .agx-feature:nth-child(2) figure {
    height: 340px;
    margin-bottom: 20px;
  }

  .agx-feature h3 {
    font-size: 30px;
  }

  .agx-index {
    margin-top: 56px;
    padding-top: 32px;
  }

  .agx-index li a {
    padding: 18px 0;
  }

  .agx-index li a span {
    font-size: 23px;
  }

  .agx-index li a small {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .agx-index .agx-btn {
    width: 100%;
    text-align: center;
  }

  .agx-band {
    min-height: 70svh;
  }

  .agx-band-img {
    position: absolute;
  }

  .agx-band-quote {
    font-size: 34px;
  }

  .agx-gallery-head {
    margin-bottom: 32px;
  }

  .agx-gallery-nav button {
    width: 46px;
    height: 46px;
  }

  .agx-gallery-track {
    gap: 14px;
  }

  .agx-gallery-track figure,
  .agx-gallery-track figure:nth-child(3n + 2) {
    width: 80vw;
  }

  .agx-gallery-track img,
  .agx-gallery-track figure:nth-child(3n + 2) img {
    height: 380px;
  }

  .agx-quote {
    padding: 72px 0;
  }

  .agx-quote h2 {
    margin-bottom: 32px;
    font-size: 32px;
  }

  .agx-quote blockquote,
  body.home .agx-quote blockquote {
    font-size: 24px !important;
  }

  .agx-quote-stage {
    min-height: 180px;
  }

  .agx-quote-controls {
    margin-top: 28px;
  }

  .agx-contact-grid {
    gap: 48px;
  }

  .agx-contact dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agx-hero-slide,
  .agx-hero-slide img,
  .agx-row-media img,
  .agx-feature figure img,
  .agx-reveal {
    transition: none;
  }

  .agx-hero.is-ready .agx-hero-progress i {
    animation: none;
  }
}

/* Merged Expertise + Sectors page */
body.page-id-457 .custom-breadcrumb,
body.page-id-457 .single-content-inner h1.title {
  display: none;
}

body.page-id-457 .single-page-template .single-content-inner.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-id-457 .single-content-inner > .row,
body.page-id-457 .single-content-inner > .row > .col-12 {
  margin: 0;
  padding: 0;
}

.age-hero {
  min-height: 72svh;
}

.age-hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.age-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.96);
  border-bottom: 1px solid var(--agx-line, #e2ddd4);
  backdrop-filter: blur(10px);
}

body.header-is-fixed .age-nav,
body.ag-header-is-fixed .age-nav {
  top: var(--ag-header-h, 84px);
}

.age-nav .agx-wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.age-nav .agx-wrap::-webkit-scrollbar {
  display: none;
}

.age-nav a {
  flex: 0 0 auto;
  padding: 18px 16px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6a74;
  text-decoration: none;
  white-space: nowrap;
}

.age-nav a:hover,
.age-nav a:focus {
  color: #14202c;
  border-bottom-color: #d7262c;
}

.age-intro {
  padding: 120px 0 100px;
}

.age-services {
  padding: 0 0 130px;
}

.age-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

.age-services-text h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
}

.age-services-text p {
  max-width: 460px;
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.8;
  color: #5f6a74;
}

.age-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e2ddd4;
}

.age-services-list li {
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid #e2ddd4;
  font-size: 15px;
  line-height: 1.5;
  color: #14202c;
}

.age-services-list li:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid #e2ddd4;
}

.age-services-list li:nth-child(even) {
  padding-left: 28px;
}

.age-pc {
  padding: 120px 0;
  background: #f7f5f1;
}

.age-pc-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 70px;
  align-items: center;
  margin-bottom: 64px;
}

.age-pc-media {
  margin: 0;
  height: 520px;
  overflow: hidden;
}

.age-pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age-pc-text h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
}

.age-pc-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #5f6a74;
}

.age-pc-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.age-pc-items article {
  padding: 28px 24px;
  background: #fff;
  border-top: 3px solid #14202c;
}

.age-pc-items h3 {
  margin: 0 0 12px;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.age-pc-items p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5f6a74;
}

.age-caps {
  padding: 120px 0;
}

.age-caps .agx-head {
  margin-bottom: 56px;
}

.age-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #e2ddd4;
}

.age-caps-grid article {
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid #e2ddd4;
}

.age-caps-grid article:nth-child(3n + 2) {
  padding-left: 32px;
  padding-right: 32px;
}

.age-caps-grid article:nth-child(3n) {
  padding-left: 32px;
  padding-right: 0;
}

.age-caps-grid article:nth-child(3n + 1),
.age-caps-grid article:nth-child(3n + 2) {
  border-right: 1px solid #e2ddd4;
}

.age-caps-grid span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 20px;
  font-style: italic;
  color: #d7262c;
}

.age-caps-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.age-caps-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5f6a74;
}

.age-sectors {
  padding: 40px 0 40px;
  background: #f7f5f1;
}

.age-sectors .agx-head {
  margin-bottom: 40px;
}

.age-head-note {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5f6a74;
}

.age-sector-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 80px;
}

.age-sector-picks a {
  padding: 12px 18px;
  border: 1px solid #d9d3c8;
  background: #fff;
  color: #14202c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.age-sector-picks a:hover,
.age-sector-picks a:focus {
  border-color: #14202c;
  background: #14202c;
  color: #fff;
}

.age-sector {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 70px;
  align-items: center;
  width: min(1320px, calc(100% - var(--agx-gutter, 56px) * 2));
  margin: 0 auto 110px;
  scroll-margin-top: 90px;
}

.age-sector--flip .age-sector-media {
  order: 2;
}

.age-sector-media {
  position: relative;
  margin: 0;
  height: 620px;
  overflow: hidden;
}

.age-sector-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age-sector-num {
  position: absolute;
  left: 28px;
  bottom: 28px;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.age-sector-text h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
}

.age-sector-lead {
  margin: 0 0 16px !important;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4 !important;
  color: #14202c !important;
}

.age-sector-text > p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #5f6a74;
}

.age-sector-text ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.age-sector-text li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #14202c;
}

.age-sector-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: #d7262c;
}

.age-sector-projects {
  margin: 0 !important;
  padding-top: 22px;
  border-top: 1px solid #e2ddd4;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #5f6a74 !important;
}

.age-sector-projects strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7350;
}

.age-cta {
  padding: 120px 0;
}

.age-cta .agx-contact-grid {
  align-items: center;
}

.age-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.age-cta-media {
  margin: 0;
  height: 480px;
  overflow: hidden;
}

.age-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .age-services-grid,
  .age-pc-grid,
  .age-sector,
  .age-sector--flip {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .age-sector--flip .age-sector-media {
    order: 0;
  }

  .age-pc-items,
  .age-caps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .age-caps-grid article,
  .age-caps-grid article:nth-child(3n),
  .age-caps-grid article:nth-child(3n + 1),
  .age-caps-grid article:nth-child(3n + 2) {
    padding: 28px 20px;
    border-right: 0;
  }

  .age-caps-grid article:nth-child(odd) {
    border-right: 1px solid #e2ddd4;
  }

  .age-sector-media,
  .age-pc-media {
    height: 420px;
  }

  .age-cta-media {
    height: 340px;
  }
}

@media (max-width: 767px) {
  .age-hero {
    min-height: 70svh;
  }

  .age-hero-lead {
    font-size: 16px;
  }

  .age-nav a {
    padding: 14px 12px;
    font-size: 12px;
  }

  .age-intro,
  .age-pc,
  .age-caps,
  .age-cta {
    padding: 72px 0;
  }

  .age-services {
    padding-bottom: 72px;
  }

  .age-services-list,
  .age-sector-text ul,
  .age-pc-items,
  .age-caps-grid {
    grid-template-columns: 1fr;
  }

  .age-services-list li,
  .age-services-list li:nth-child(odd),
  .age-services-list li:nth-child(even) {
    padding: 16px 0;
    border-right: 0;
  }

  .age-caps-grid article,
  .age-caps-grid article:nth-child(odd) {
    padding: 24px 0;
    border-right: 0;
  }

  .age-sector {
    margin-bottom: 72px;
  }

  .age-sector-media,
  .age-pc-media {
    height: 300px;
  }

  .age-sector-num {
    left: 18px;
    bottom: 18px;
    font-size: 48px;
  }

  .age-sector-lead {
    font-size: 20px !important;
  }

  .age-sector-picks {
    margin-bottom: 48px;
  }

  .age-cta-media {
    display: none;
  }

  .age-cta-actions .agx-btn {
    width: 100%;
    text-align: center;
  }
}

/* Shared page shell for About / News / Contact / Projects */
body.page-id-460 .custom-breadcrumb,
body.page-id-460 .single-content-inner h1.title,
body.page-id-21 .custom-breadcrumb,
body.page-id-21 .single-content-inner h1.title {
  display: none;
}

body.page-id-460 .single-page-template .single-content-inner.container,
body.page-id-21 .single-page-template .single-content-inner.container,
body.page-id-29 .single-page-template .single-content-inner.container,
body.page-id-23 .single-page-template .single-content-inner.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-id-460 .single-content-inner > .row,
body.page-id-460 .single-content-inner > .row > .col-12,
body.page-id-21 .single-content-inner > .row,
body.page-id-21 .single-content-inner > .row > .col-12 {
  margin: 0;
  padding: 0;
}

.ag-about .ag-kicker,
.ag-newscareers .ag-kicker,
.ag-about .ag-section-head h2,
.ag-newscareers .ag-section-head h2,
.ag-about .ag-split-text h2,
.ag-newscareers .ag-split-text h2 {
  font-family: var(--agx-serif, "Cormorant Garamond", Georgia, serif);
}

.ag-about .ag-kicker,
.ag-newscareers .ag-kicker {
  font-family: var(--homirx-body-font-family, inherit);
  letter-spacing: 0.22em;
  color: #8a7350;
}

.ag-about .ag-section h2,
.ag-newscareers .ag-section h2,
.ag-about .ag-person h3,
.ag-about .ag-card h3 {
  font-family: var(--agx-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 300;
}

.ag-about .ag-section,
.ag-newscareers .ag-section {
  scroll-margin-top: 90px;
}

/* Editorial Contact */
.agc-main {
  padding: 100px 0 120px;
  background: #f7f5f1;
}

.agc-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.agc-panel h2,
.agc-form h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
}

.agc-list {
  margin: 0;
}

.agc-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #e2ddd4;
}

.agc-list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a7350;
}

.agc-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #14202c;
}

.agc-list a {
  color: #14202c;
  text-decoration: none;
}

.agc-list a:hover {
  color: #d7262c;
}

.agc-steps {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e2ddd4;
}

.agc-steps h3 {
  margin: 0 0 16px;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 24px;
  font-weight: 400;
}

.agc-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: agc;
}

.agc-steps li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 36px;
  font-size: 15px;
  line-height: 1.6;
  color: #5f6a74;
  counter-increment: agc;
}

.agc-steps li::before {
  content: counter(agc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-size: 12px;
  font-weight: 600;
  color: #d7262c;
}

#contact-form {
  scroll-margin-top: var(--ag-header-h, 140px);
}

.agc-form {
  padding: 48px;
  background: #fff;
  border: 1px solid #e2ddd4;
}

.agc-form-note {
  margin: -12px 0 28px;
  font-size: 14px;
  color: #6b747d;
}

.agc-form.ag-contact-form input[type="text"],
.agc-form.ag-contact-form input[type="email"],
.agc-form.ag-contact-form input[type="tel"],
.agc-form.ag-contact-form select,
.agc-form.ag-contact-form textarea {
  background: #f7f5f1;
  border-color: #e2ddd4;
}

.agc-form.ag-contact-form input[type="submit"] {
  background: #14202c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.agc-form.ag-contact-form input[type="submit"]:hover {
  background: #d7262c;
}

@media (max-width: 991px) {
  .agc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agc-form {
    padding: 32px 22px;
  }

  .agc-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Editorial Projects board */
.agp-hero {
  min-height: 70svh;
}

.agp-hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.agp-board {
  padding: 80px 0 100px;
  background: #f7f5f1;
}

.agp-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.agp-nav {
  position: sticky;
  top: 110px;
}

.agp-picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  padding-right: 6px;
}

.agp-pick {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #e2ddd4;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.agp-pick img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.agp-pick small {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7350;
}

.agp-pick strong {
  display: block;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: #14202c;
}

.agp-pick:hover {
  border-color: #14202c;
}

.agp-pick.is-active {
  border-color: #14202c;
  background: #14202c;
}

.agp-pick.is-active small {
  color: #cdb68f;
}

.agp-pick.is-active strong {
  color: #fff;
}

.agp-detail {
  animation: agp-in 0.45s ease;
}

.agp-detail[hidden] {
  display: none;
}

@keyframes agp-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.agp-head {
  margin-bottom: 36px;
}

.agp-head .agx-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.agp-count {
  color: #8a7350;
}

.agp-head h2 {
  margin: 0 0 16px;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.05;
}

.agp-headline {
  max-width: 720px;
  margin: 0;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: #5f6a74;
}

.agp-feature {
  margin: 0 0 48px;
  height: min(56vh, 520px);
  overflow: hidden;
}

.agp-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agp-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 48px;
  align-items: start;
}

.agp-main section {
  margin-bottom: 44px;
}

.agp-main h3,
.agp-aside h3 {
  margin: 0 0 18px;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #14202c;
}

.agp-main p,
.agp-main li {
  font-size: 16px;
  line-height: 1.75;
  color: #5f6a74;
}

.agp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agp-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 18px;
  color: #14202c;
}

.agp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: #d7262c;
}

.agp-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agp-services li {
  padding: 10px 14px;
  border: 1px solid #e2ddd4;
  background: #fff;
  font-size: 13px;
  color: #14202c;
}

.agp-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.agp-gallery a {
  display: block;
  overflow: hidden;
  background: #e9e5de;
}

.agp-gallery img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.agp-gallery a:first-child {
  grid-column: 1 / -1;
}

.agp-gallery a:first-child img {
  height: 360px;
}

.agp-gallery a:hover img {
  transform: scale(1.04);
}

.agp-quote {
  margin: 0;
  padding: 28px 0 28px 24px !important;
  border: 0 !important;
  border-left: 3px solid #d7262c !important;
  background: none !important;
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.45;
  color: #14202c;
}

.agp-quote::before {
  display: none !important;
}

.agp-pending {
  margin: 0;
  padding: 20px 22px;
  border: 1px dashed #d9d3c8;
  background: #fff;
  font-size: 15px;
  color: #6b747d;
}

.agp-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agp-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #e2ddd4;
}

.agp-card dl {
  margin: 0;
}

.agp-card dl div {
  padding: 14px 0;
  border-top: 1px solid #eee9e1;
}

.agp-card dl div:first-child {
  padding-top: 0;
  border-top: 0;
}

.agp-card dt {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7350;
}

.agp-card dd,
.agp-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #14202c;
}

.agp-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #e2ddd4;
}

.agp-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid #e2ddd4;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.agp-step--next {
  text-align: right;
}

.agp-step small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a7350;
}

.agp-step span {
  font-family: var(--agx-serif, Georgia, serif);
  font-size: 22px;
  line-height: 1.25;
  color: #14202c;
}

.agp-step:hover {
  border-color: #14202c;
  background: #14202c;
}

.agp-step:hover small,
.agp-step:hover span {
  color: #fff;
}

.agp-cta {
  padding: 100px 0;
}

.agp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .agp-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
  }

  .agp-body {
    grid-template-columns: 1fr;
  }

  .agp-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .agp-board {
    padding: 40px 0 72px;
  }

  .agp-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .agp-nav {
    position: static;
  }

  .agp-picks {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .agp-picks::-webkit-scrollbar {
    display: none;
  }

  .agp-pick {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .agp-aside {
    grid-template-columns: 1fr;
  }

  .agp-feature {
    height: 280px;
  }

  .agp-gallery a:first-child img,
  .agp-gallery img {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .agp-hero {
    min-height: 68svh;
  }

  .agp-hero-lead {
    font-size: 16px;
  }

  .agp-head h2 {
    font-size: 36px;
  }

  .agp-headline {
    font-size: 20px;
  }

  .agp-gallery {
    grid-template-columns: 1fr;
  }

  .agp-steps {
    grid-template-columns: 1fr;
  }

  .agp-step,
  .agp-step--next {
    text-align: left;
  }

  .agp-cta-actions .agx-btn {
    width: 100%;
    text-align: center;
  }
}
