:root {
  --ink: #101418;
  --charcoal: #1a2127;
  --charcoal-2: #242d34;
  --gold: #b78a45;
  --gold-deep: #947037;
  --sand: #e9e1d4;
  --stone: #f2f2ef;
  --white: #fff;
  --muted: #657078;
  --line: rgba(16, 20, 24, 0.14);
  --shadow: 0 22px 70px rgba(16, 20, 24, 0.13);
  --radius: 0;
  --shell: 1180px;
  --header-height: 88px;
  --font: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.shell,
.am-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section,
.am-section {
  padding-block: clamp(70px, 8vw, 112px);
}

.content-narrow {
  max-width: 860px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--white);
  background: var(--ink);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.eyebrow,
.am-eyebrow,
.am-mini-title {
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow--center {
  text-align: center;
}

.button,
.am-btn {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible,
.am-btn:hover,
.am-btn:focus-visible {
  transform: translateY(-2px);
}

.button--gold,
.am-btn--gold {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.button--gold:hover,
.button--gold:focus-visible,
.am-btn--gold:hover,
.am-btn--gold:focus-visible {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.button--outline,
.am-btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(16, 20, 24, 0.45);
  backdrop-filter: blur(8px);
}

.button--outline:hover,
.button--outline:focus-visible,
.am-btn--ghost:hover,
.am-btn--ghost:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-row,
.am-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.2em;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

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

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 32px rgba(16, 20, 24, 0.08);
}

.site-header__inner {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(210px, 268px) 1fr auto;
  gap: 26px;
  align-items: center;
}

.site-brand {
  min-width: 0;
}

.brand-lockup,
.custom-logo-link {
  display: flex;
  max-width: 258px;
  align-items: center;
  gap: 11px;
}

.brand-lockup__icon {
  width: 46px;
  flex: 0 0 46px;
}

.brand-lockup__word {
  width: 194px;
  min-width: 0;
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 250px;
  max-height: 62px;
}

.primary-navigation {
  justify-self: end;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  display: block;
  padding-block: 12px;
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.028em;
  text-transform: uppercase;
}

.primary-navigation > ul > li > a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation > ul > li:hover > a::after,
.primary-navigation > ul > li.current-menu-item > a::after,
.primary-navigation > ul > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  display: block;
  visibility: hidden;
  width: 240px;
  padding: 12px 20px;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.site-header__cta {
  max-width: 160px;
  padding-inline: 18px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 1px;
  margin-block: 6px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Home hero */
.home-hero {
  position: relative;
  min-height: min(650px, calc(100svh - var(--header-height)));
  overflow: hidden;
  background-color: #dfe3e4;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.48) 52%, rgba(255, 255, 255, 0.04) 79%);
}

.home-hero__veil::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.04), transparent 65%, rgba(16, 20, 24, 0.08));
  content: "";
}

.home-hero__inner {
  position: relative;
  display: flex;
  min-height: inherit;
  align-items: center;
  padding-block: 70px 84px;
}

.home-hero__content {
  width: min(585px, 57%);
}

.home-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(2.55rem, 4.55vw, 5rem);
  font-weight: 540;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.home-hero h1 span {
  color: var(--gold);
  font-weight: 650;
}

.home-hero p {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.75;
}

/* Services */
.services-section {
  padding-block: 32px 54px;
  background: var(--white);
}

.services-section > .shell > .eyebrow {
  margin-bottom: 2px;
  transform: translateY(-2px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.service-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.service-card:first-child {
  border-left: 1px solid var(--line);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-card h2 {
  min-height: 38px;
  margin-bottom: 13px;
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.015em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 22px;
  color: #32383d;
  font-size: 0.78rem;
  line-height: 1.65;
}

.service-card .text-link {
  margin-top: auto;
  font-size: 0.67rem;
}

/* Audience */
.audience-section {
  padding-block: 0 54px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.audience-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--charcoal);
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
}

.audience-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 18, 0.42), rgba(10, 15, 18, 0.88));
  content: "";
  transition: background 250ms ease;
}

.audience-card:hover::before {
  background: linear-gradient(180deg, rgba(10, 15, 18, 0.34), rgba(10, 15, 18, 0.82));
}

.audience-card__content {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 32px 30px;
}

.audience-card .eyebrow {
  margin-bottom: 13px;
  color: #d5ac6c;
}

.audience-card h2 {
  max-width: 330px;
  margin-bottom: 18px;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.audience-card ul {
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.audience-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
  font-size: 0.79rem;
  line-height: 1.45;
}

.audience-card li::before {
  position: absolute;
  left: 0;
  color: #d5ac6c;
  content: "✓";
  font-weight: 700;
}

.audience-card .button {
  margin-top: auto;
  font-size: 0.65rem;
}

/* Projects */
.projects-section {
  padding-block: 12px 66px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-heading .eyebrow {
  margin: 0;
}

.project-grid,
.property-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.project-card,
.property-card,
.post-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 20, 24, 0.07);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.project-card:hover,
.property-card:hover,
.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.project-card__image,
.property-card__media,
.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.48 / 1;
  background: var(--stone);
}

.project-card__image img,
.property-card__media img,
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover img,
.property-card:hover img,
.post-card:hover img {
  transform: scale(1.035);
}

.project-card__body,
.property-card__body,
.post-card__body {
  padding: 14px 16px 17px;
}

.project-card h2,
.property-card h2,
.post-card h2 {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.project-card p,
.property-card p,
.post-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.project-card strong {
  display: block;
  margin-top: 9px;
  color: var(--gold-deep);
  font-size: 0.88rem;
}

/* Method */
.method-section {
  padding-block: 44px;
  background: var(--stone);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) 4fr;
  gap: 46px;
  align-items: center;
}

.method-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.method-intro .button {
  font-size: 0.64rem;
}

.method-steps {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.method-steps li {
  position: relative;
  min-height: 164px;
  padding: 48px 20px 0 0;
}

.method-steps li:not(:last-child)::after {
  position: absolute;
  top: 16px;
  right: 14px;
  width: calc(100% - 66px);
  height: 1px;
  background: rgba(16, 20, 24, 0.28);
  content: "";
}

.method-steps li > span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--gold-deep);
  background: var(--white);
  border: 1px solid rgba(183, 138, 69, 0.45);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 750;
}

.method-steps h3 {
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.method-steps p {
  margin: 0;
  color: #4d565c;
  font-size: 0.7rem;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  color: var(--white);
  background: var(--charcoal);
}

.site-footer__cta {
  display: grid;
  min-height: 190px;
  grid-template-columns: minmax(260px, 1.5fr) auto minmax(260px, 1fr) 150px;
  gap: 38px;
  align-items: center;
  padding-block: 42px;
}

.site-footer .eyebrow {
  margin-bottom: 10px;
  color: #d5ac6c;
}

.site-footer h2 {
  max-width: 440px;
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  font-weight: 420;
  line-height: 1.3;
}

.site-footer__contact {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
}

.site-footer__contact a:hover {
  color: #d5ac6c;
}

.site-footer__mark .brand-lockup {
  display: block;
  width: 120px;
  margin-left: auto;
}

.site-footer__mark .brand-lockup__icon {
  width: 70px;
  margin: 0 auto 10px;
}

.site-footer__mark .brand-lockup__word {
  width: 120px;
}

.site-footer__bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom ul {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Pages and property system */
.page-hero {
  padding-block: clamp(90px, 10vw, 150px);
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), #2b363d);
}

.page-hero--compact {
  padding-block: clamp(62px, 7vw, 100px);
}

.page-hero .eyebrow {
  color: #d5ac6c;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 470;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.page-hero--compact h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.archive-section {
  background: #f7f7f5;
}

.property-search {
  display: grid;
  margin-bottom: 36px;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.property-search label span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-search input,
.am-field input,
.am-field select,
.am-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.property-grid,
.post-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card__price {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 9px 13px;
  color: var(--white);
  background: var(--gold);
  font-size: 0.82rem;
}

.property-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dfe3e2, #eef0ee);
}

.property-card .eyebrow {
  margin-bottom: 8px;
  font-size: 0.65rem;
}

.property-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-block: 8px 15px;
  color: var(--muted);
  font-size: 0.72rem;
}

.property-card__facts span:not(:last-child)::after {
  padding-left: 14px;
  color: var(--line);
  content: "·";
}

.property-card .text-link {
  font-size: 0.67rem;
}

.empty-state {
  padding: clamp(48px, 7vw, 90px);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
}

.pagination {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.property-hero {
  position: relative;
  display: flex;
  min-height: min(690px, calc(100svh - var(--header-height)));
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.property-hero__image,
.property-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.property-hero__image {
  object-fit: cover;
}

.property-hero__shade {
  background: linear-gradient(180deg, rgba(13, 17, 20, 0.05) 20%, rgba(13, 17, 20, 0.88));
}

.property-hero__content {
  position: relative;
  padding-block: 80px;
}

.property-hero__content .eyebrow {
  color: #e3bd81;
}

.property-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.6vw, 5.7rem);
  font-weight: 470;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.property-hero__price {
  color: #e3bd81;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 620;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.property-facts {
  display: grid;
  margin-bottom: 46px;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.property-facts div {
  padding-block: 20px;
}

.property-facts span,
.property-facts strong {
  display: block;
}

.property-facts span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-facts strong {
  font-size: 1.05rem;
}

.property-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 34px;
  color: var(--white);
  background: var(--charcoal);
}

.property-aside .eyebrow {
  color: #d5ac6c;
}

.property-aside h2 {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.property-aside p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.entry-content {
  font-size: 1.02rem;
}

.entry-content > * {
  margin-block: 0 1.4em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
  font-weight: 540;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.entry-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.entry-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-featured {
  margin: 0 0 40px;
}

.error-page {
  display: flex;
  min-height: 70svh;
  align-items: center;
}

.error-page .button-row {
  margin-top: 30px;
}

.error-page .button--outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Existing v1.2.3 HTML compatibility */
.am-page {
  overflow: clip;
}

.am-section--stone,
.am-industrial {
  background: var(--stone);
}

.am-section--white {
  background: var(--white);
}

.am-section--dark,
.am-section--blue,
.am-contact-band {
  color: var(--white);
  background: var(--charcoal);
}

.am-title {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 490;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.am-title--small {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.am-lead {
  max-width: 780px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.am-copy {
  color: var(--muted);
}

.am-section--dark .am-copy,
.am-section--blue .am-copy,
.am-section--dark .am-lead,
.am-section--blue .am-lead {
  color: rgba(255, 255, 255, 0.72);
}

.am-two-col,
.am-contact-grid,
.am-bim-panel,
.am-media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.am-two-col--top {
  align-items: start;
}

.am-grid-4,
.am-metric-grid,
.am-trust-grid,
.am-client-grid,
.am-team-grid,
.am-accreditation-grid,
.am-entity-mini-grid,
.am-media-brand-grid,
.am-press-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.am-feature-card,
.am-metric,
.am-trust,
.am-client,
.am-team-card,
.am-accreditation-card,
.am-entity-mini,
.am-brand-card,
.am-press-card {
  display: block;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.am-feature-card__num,
.am-project-card__num,
.am-process__item > span,
.am-trust > span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 750;
}

.am-feature-card h3,
.am-process h3,
.am-trust h3 {
  margin-top: 18px;
  font-size: 1.2rem;
}

.am-process {
  display: grid;
  margin-block: 48px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.am-process__item {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.am-check-grid {
  display: grid;
  margin-block: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.am-check {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.am-project-card-grid {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.am-project-card {
  display: flex;
  min-height: 300px;
  align-items: end;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal));
}

.am-project-card--featured {
  grid-column: span 2;
}

.am-project-card__body p {
  color: rgba(255, 255, 255, 0.65);
}

.am-brand-card,
.am-press-card {
  padding: 0;
  overflow: hidden;
}

.am-brand-card__media,
.am-press-card__media {
  aspect-ratio: 16 / 9;
  margin: 0;
}

.am-brand-card__media img,
.am-press-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-brand-card__body,
.am-press-card__body {
  padding: 20px;
}

.am-contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.am-contact-item b,
.am-contact-item span,
.am-contact-item a {
  display: block;
}

.am-contact-item b,
.am-field label {
  margin-bottom: 5px;
  color: #d5ac6c;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.am-contact-form {
  padding: 34px;
  color: var(--ink);
  background: var(--white);
}

.am-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.am-field:last-of-type {
  grid-column: 1 / -1;
}

.am-field textarea {
  min-height: 120px;
}

.am-form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: 220px 1fr auto;
    gap: 16px;
  }

  .primary-navigation ul {
    gap: 14px;
  }

  .primary-navigation a {
    font-size: 0.63rem;
  }

  .site-header__cta {
    max-width: 138px;
    padding-inline: 12px;
    font-size: 0.62rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .service-card:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .site-footer__cta {
    grid-template-columns: 1.4fr auto 1fr;
  }

  .site-footer__mark {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

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

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .brand-lockup {
    max-width: 220px;
  }

  .brand-lockup__icon {
    width: 40px;
    flex-basis: 40px;
  }

  .brand-lockup__word {
    width: 168px;
  }

  .menu-toggle {
    z-index: 2;
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-open .menu-toggle > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle > span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    z-index: 1;
    inset: var(--header-height) 0 0;
    visibility: hidden;
    padding: 28px 24px 70px;
    background: var(--white);
    opacity: 0;
    overflow-y: auto;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .admin-bar .primary-navigation {
    top: calc(var(--header-height) + 46px);
  }

  .nav-open .primary-navigation {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .primary-navigation ul {
    display: block;
  }

  .primary-navigation a {
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }

  .primary-navigation .sub-menu {
    position: static;
    visibility: visible;
    width: auto;
    padding: 0 0 0 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .site-header__cta {
    display: none;
  }

  .home-hero {
    min-height: 630px;
    background-position: 62% center;
  }

  .home-hero__veil {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.86) 50%, rgba(255, 255, 255, 0.25));
  }

  .home-hero__content {
    width: min(590px, 78%);
  }

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

  .audience-card,
  .audience-card__content {
    min-height: 390px;
  }

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

  .method-layout {
    grid-template-columns: 1fr;
  }

  .site-footer__cta {
    grid-template-columns: 1fr auto;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .property-layout {
    grid-template-columns: 1fr;
  }

  .property-aside {
    position: static;
  }

  .am-grid-4,
  .am-metric-grid,
  .am-trust-grid,
  .am-client-grid,
  .am-team-grid,
  .am-accreditation-grid,
  .am-entity-mini-grid,
  .am-media-brand-grid,
  .am-press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell,
  .am-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .section,
  .am-section {
    padding-block: 64px;
  }

  .home-hero {
    min-height: 690px;
    background-position: 67% center;
  }

  .home-hero__veil {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86) 64%, rgba(255, 255, 255, 0.38));
  }

  .home-hero__inner {
    align-items: flex-start;
    padding-block: 68px;
  }

  .home-hero__content {
    width: 100%;
  }

  .home-hero h1 {
    font-size: clamp(2.35rem, 11.4vw, 4rem);
  }

  .home-hero p {
    font-size: 0.93rem;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 280px;
    padding-inline: 14px;
  }

  .service-card:nth-child(4) {
    border-left: 0;
  }

  .service-card:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .service-card:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .audience-card__content {
    padding: 30px 24px;
  }

  .project-grid,
  .property-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 12px;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li {
    min-height: 0;
    padding: 0 0 30px 55px;
  }

  .method-steps li:not(:last-child)::after {
    top: 34px;
    right: auto;
    bottom: 0;
    left: 17px;
    width: 1px;
    height: auto;
  }

  .site-footer__cta {
    display: block;
  }

  .site-footer__cta .button {
    width: 100%;
    margin-block: 26px;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__bottom ul {
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .property-search {
    grid-template-columns: 1fr;
  }

  .property-search .button {
    width: 100%;
  }

  .property-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-hero {
    min-height: 560px;
  }

  .property-hero__content {
    padding-block: 54px;
  }

  .am-two-col,
  .am-contact-grid,
  .am-bim-panel,
  .am-media-split,
  .am-grid-4,
  .am-metric-grid,
  .am-trust-grid,
  .am-client-grid,
  .am-team-grid,
  .am-accreditation-grid,
  .am-entity-mini-grid,
  .am-media-brand-grid,
  .am-press-grid,
  .am-project-card-grid,
  .am-form-grid {
    grid-template-columns: 1fr;
  }

  .am-project-card--featured,
  .am-field:last-of-type {
    grid-column: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Cinematic home: transparent navigation over a full-viewport visual. */
.brand-lockup__words {
  position: relative;
  display: grid;
  width: 194px;
  min-width: 0;
  align-items: center;
}

.brand-lockup__words .brand-lockup__word {
  width: 100%;
  grid-area: 1 / 1;
  transition: opacity 220ms ease;
}

.brand-lockup__word--scrolled {
  opacity: 0;
}

.is-aristone-home .site-header {
  position: fixed;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 12, 15, 0.5), transparent);
  border-color: transparent;
  box-shadow: none;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.is-aristone-home .site-header.is-scrolled,
.is-aristone-home.nav-open .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(16, 20, 24, 0.1);
  backdrop-filter: blur(16px);
}

.is-aristone-home .site-header.is-scrolled .brand-lockup__word--primary,
.is-aristone-home.nav-open .site-header .brand-lockup__word--primary {
  opacity: 0;
}

.is-aristone-home .site-header.is-scrolled .brand-lockup__word--scrolled,
.is-aristone-home.nav-open .site-header .brand-lockup__word--scrolled {
  opacity: 1;
}

.is-aristone-home .site-header:not(.is-scrolled) .primary-navigation > ul > li > a::after {
  background: #d8ad6d;
}

.is-aristone-home .site-header:not(.is-scrolled) .primary-navigation .sub-menu {
  color: var(--ink);
}

.is-aristone-home .site-header:not(.is-scrolled) .menu-toggle > span:not(.screen-reader-text) {
  background: var(--white);
}

.is-aristone-home.nav-open .site-header .menu-toggle > span:not(.screen-reader-text),
.is-aristone-home .site-header.is-scrolled .menu-toggle > span:not(.screen-reader-text) {
  background: var(--ink);
}

.home-hero--cinematic {
  min-height: 100svh;
  color: var(--white);
  background-color: #11171c;
  background-position: center;
}

.home-hero__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero--cinematic .home-hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 11, 14, 0.9) 0%, rgba(7, 11, 14, 0.68) 47%, rgba(7, 11, 14, 0.14) 80%),
    linear-gradient(0deg, rgba(7, 11, 14, 0.72) 0%, transparent 48%, rgba(7, 11, 14, 0.3) 100%);
}

.home-hero--cinematic .home-hero__veil::after {
  background: radial-gradient(circle at 72% 48%, transparent 0%, rgba(7, 11, 14, 0.2) 68%, rgba(7, 11, 14, 0.44) 100%);
}

.home-hero--cinematic .home-hero__inner {
  z-index: 2;
  min-height: 100svh;
  align-items: flex-end;
  padding-block: calc(var(--header-height) + 72px) clamp(96px, 13vh, 142px);
}

.home-hero--cinematic .home-hero__content {
  width: min(760px, 73%);
}

.home-hero__kicker {
  margin-bottom: 22px !important;
  color: #e1bd84;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.home-hero--cinematic h1 {
  max-width: 750px;
  margin-bottom: 25px;
  color: var(--white);
  font-size: clamp(3rem, 6.3vw, 6.15rem);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.home-hero--cinematic h1 span {
  color: #d7a960;
  font-weight: 570;
}

.home-hero--cinematic .home-hero__content > p:not(.home-hero__kicker) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.home-hero--cinematic .button--outline {
  color: var(--white);
  background: rgba(12, 17, 20, 0.18);
  border-color: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(8px);
}

.home-hero--cinematic .button--outline:hover,
.home-hero--cinematic .button--outline:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.home-hero__scroll {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.home-hero__scroll i::after {
  position: absolute;
  top: -18px;
  left: 0;
  width: 1px;
  height: 18px;
  background: var(--white);
  content: "";
  animation: aristone-scroll-cue 2s ease-in-out infinite;
}

@keyframes aristone-scroll-cue {
  0% { transform: translateY(0); }
  70%, 100% { transform: translateY(62px); }
}

@media (max-width: 900px) {
  .brand-lockup__words {
    width: 168px;
  }

  .is-aristone-home .primary-navigation {
    color: var(--ink);
  }

  .home-hero--cinematic,
  .home-hero--cinematic .home-hero__inner {
    min-height: 100svh;
  }

  .home-hero--cinematic .home-hero__veil {
    background:
      linear-gradient(90deg, rgba(7, 11, 14, 0.88), rgba(7, 11, 14, 0.5)),
      linear-gradient(0deg, rgba(7, 11, 14, 0.78), transparent 58%);
  }

  .home-hero--cinematic .home-hero__content {
    width: min(690px, 88%);
  }
}

@media (max-width: 680px) {
  .home-hero--cinematic,
  .home-hero--cinematic .home-hero__inner {
    min-height: max(720px, 100svh);
  }

  .home-hero--cinematic {
    background-position: 62% center;
  }

  .home-hero--cinematic .home-hero__inner {
    align-items: flex-end;
    padding-block: calc(var(--header-height) + 46px) 74px;
  }

  .home-hero--cinematic .home-hero__content {
    width: 100%;
  }

  .home-hero--cinematic h1 {
    font-size: clamp(2.65rem, 13vw, 4.45rem);
    line-height: 0.98;
  }

  .home-hero__kicker {
    font-size: 0.62rem !important;
    letter-spacing: 0.12em;
  }

  .home-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__scroll i::after {
    animation: none;
  }
}
