/*
 * ARMAN VISTA REALTORS Ã¢â‚¬â€ AMIGOS
 * Homepage production stylesheet 1.4
 *
 * FINAL HOMEPAGE PASS:
 * - Frozen Mineral palette
 * - Supplied hero image support
 * - Editorial typography
 * - Refined hero CTA
 * - Stronger colour rhythm
 * - Reduced empty-space feel
 * - Denser Projects / Approach sections
 * - Responsive + reduced-motion support
 *
 * This file intentionally controls ONLY homepage components.
 */


/* Typography system Ã¢â‚¬â€ refined editorial serif + neutral UI sans */
.av-home,
.av-home button,
.av-home .button,
.av-home input,
.av-home textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.av-home h1,
.av-home h2,
.av-home h3,
.av-home .av-project-main h3,
.av-home .av-project-empty h3,
.av-home .av-location-content h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.av-home h1 em,
.av-home .av-location-content h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

/* =========================================================
   01. GLOBAL HOMEPAGE BEHAVIOUR
   ========================================================= */

.av-home {
  overflow: hidden;
}

.av-home .eyebrow {
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.av-home .button-row {
  display: flex;
  align-items: center;
  gap: 14px;
}


/* =========================================================
   02. HERO
   ========================================================= */

.av-home-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.av-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.av-hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(20, 24, 22, .76) 0%,
      rgba(20, 24, 22, .47) 38%,
      rgba(20, 24, 22, .16) 72%,
      rgba(20, 24, 22, .08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(20, 24, 22, .52) 0%,
      rgba(20, 24, 22, .08) 48%,
      rgba(20, 24, 22, .12) 100%
    );
}

.av-home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(
    calc(100% - (var(--gutter) * 2)),
    var(--container)
  );
  padding-top: 88px;
  padding-bottom: 132px;
}

.av-hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F1EDE4;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.av-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--rust);
}

.av-home-hero h1 {
  max-width: 980px;
  margin: 27px 0 25px;
  color: var(--white);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(64px, 8vw, 122px);
  line-height: .90;
  font-weight: 400;
  letter-spacing: -.055em;
}

.av-home-hero h1 em {
  color: #E9EEE8;
  font-style: italic;
}

.av-hero-intro {
  max-width: 590px;
  margin: 0 0 27px;
  color: #F1EEE7;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.46;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .20);
}

/* Hero CTA */
.av-home-hero .button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition:
    transform .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.av-home-hero .button:first-child {
  color: var(--white);
  background: #B86F52;
  border: 1px solid #B86F52;
  box-shadow: 0 9px 25px rgba(0, 0, 0, .18);
}

.av-home-hero .button:first-child:hover {
  transform: translateY(-2px);
  background: #9F5D45;
  border-color: #9F5D45;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.av-home-hero .av-hero-button-light {
  color: var(--white);
  background: rgba(250, 247, 239, .09);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  backdrop-filter: blur(5px);
}

.av-home-hero .av-hero-button-light:hover {
  transform: translateY(-2px);
  color: var(--charcoal);
  background: rgba(250, 247, 239, .94);
  border-color: rgba(250, 247, 239, .94);
}

.av-hero-bottom--image {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 22, .03),
    rgba(20, 24, 22, .44)
  );
  border-top: 1px solid rgba(255, 255, 255, .23);
}

.av-hero-bottom-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #F1EDE4;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
}

.av-scroll-note {
  margin-left: auto;
  color: #F1EDE4;
}


/* =========================================================
   03. INTRO Ã¢â‚¬â€ EUCALYPTUS
   ========================================================= */

.av-home-intro {
  background: var(--eucalyptus);
  color: var(--white);
}

.av-home-intro .container {
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: clamp(76px, 8vw, 112px);
}

.av-split {
  display: grid;
  grid-template-columns: .70fr 1.30fr;
  gap: 60px;
}

.av-home-intro .eyebrow {
  color: #E5EBE5;
}

.av-home-intro h2 {
  max-width: 900px;
  margin: 0 0 24px;
  color: var(--white);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(44px, 5vw, 76px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: -.052em;
}

.av-home-intro .lead {
  max-width: 690px;
  margin: 0;
  color: #E0E7E0;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.45;
}


/* =========================================================
   04. PROJECTS Ã¢â‚¬â€ SAND
   ========================================================= */

.av-home-projects {
  background: var(--sand);
}

.av-home-projects .container {
  padding-top: clamp(74px, 8vw, 108px);
  padding-bottom: clamp(76px, 8vw, 112px);
}

.av-home-projects .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 44px;
}

.av-home-projects .section-head > div {
  max-width: 760px;
}

.av-home-projects .section-head h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.055em;
}

.av-project-rows {
  border-top: 1px solid rgba(32, 34, 31, .22);
}

.av-project-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 54px;
  gap: 28px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid rgba(32, 34, 31, .22);
  transition:
    padding .25s ease,
    background-color .25s ease;
}

.av-project-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(249, 247, 241, .34);
}

.av-project-number {
  color: var(--rust);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
}

.av-project-main .eyebrow {
  color: #667168;
}

.av-project-main h3 {
  margin: 7px 0 5px;
  color: var(--ink);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: -.045em;
}

.av-project-main h3 a {
  color: inherit;
  text-decoration: none;
}

.av-project-main p:last-child {
  margin: 0;
  color: #676B64;
  font-size: 15px;
}

.av-project-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(32, 34, 31, .30);
  border-radius: 50%;
  text-decoration: none;
  transition:
    transform .2s ease,
    background-color .2s ease,
    color .2s ease;
}

.av-project-row:hover .av-project-arrow {
  color: var(--white);
  background: var(--charcoal);
  transform: translate(2px, -2px);
}

.av-project-empty {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid rgba(32, 34, 31, .22);
  border-bottom: 1px solid rgba(32, 34, 31, .22);
}

.av-project-empty-number {
  color: var(--rust);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.av-project-empty h3 {
  max-width: 760px;
  margin: 8px 0 10px;
  color: var(--ink);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.045em;
}

.av-project-empty p:last-child {
  margin: 0;
  color: #676B64;
}


/* =========================================================
   05. LOCATION Ã¢â‚¬â€ EUCALYPTUS FEATURE
   ========================================================= */

.av-home-location {
  background: var(--ivory);
}

.av-home-location .container {
  padding-top: clamp(66px, 7vw, 96px);
  padding-bottom: clamp(66px, 7vw, 96px);
}

.av-location-panel {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 50px);
  color: var(--white);
  border-radius: 28px;
  background:
    linear-gradient(
      120deg,
      transparent 0 48%,
      rgba(255,255,255,.07) 49%,
      transparent 50%
    ),
    repeating-linear-gradient(
      35deg,
      transparent 0 58px,
      rgba(255,255,255,.045) 59px 60px
    ),
    var(--eucalyptus);
}

.av-location-top,
.av-location-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.av-location-top .eyebrow {
  color: #E5EAE4;
}

.av-location-top > span {
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  opacity: .72;
}

.av-location-content {
  max-width: 980px;
}

.av-location-content h2 {
  margin: 0 0 27px;
  color: var(--white);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(54px, 6.6vw, 104px);
  line-height: .88;
  font-weight: 500;
  letter-spacing: -.062em;
}

.av-location-content h2 em {
  color: #E5EAE4;
  font-style: italic;
}

.av-location-content p {
  max-width: 620px;
  margin: 0;
  color: #E2E7E1;
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.45;
}

.av-location-bottom {
  color: #E5EAE4;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .15em;
  opacity: .84;
}


/* =========================================================
   06. APPROACH Ã¢â‚¬â€ SAND
   ========================================================= */

.av-home-approach {
  background: var(--sand);
}

.av-home-approach .container {
  padding-top: clamp(72px, 8vw, 104px);
  padding-bottom: clamp(72px, 8vw, 104px);
}

.av-home-approach .section-head {
  margin-bottom: 42px;
}

.av-home-approach .section-head h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.055em;
}

.av-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(32, 34, 31, .20);
}

.av-approach-grid article {
  min-height: 245px;
  padding: 27px 28px 10px 0;
  border-right: 1px solid rgba(32, 34, 31, .20);
}

.av-approach-grid article + article {
  padding-left: 28px;
}

.av-approach-grid article:last-child {
  border-right: 0;
}

.av-approach-grid article > span {
  color: var(--rust);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .10em;
}

.av-approach-grid h3 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.04em;
}

.av-approach-grid p {
  max-width: 370px;
  margin: 0;
  color: #5D615A;
  font-size: 15px;
  line-height: 1.48;
}


/* =========================================================
   07. FINAL CTA Ã¢â‚¬â€ CHARCOAL
   ========================================================= */

.av-home-cta {
  padding: clamp(78px, 9vw, 126px) 0;
  color: var(--white);
  background: var(--charcoal);
}

.av-home-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.av-home-cta .eyebrow {
  color: #BFC8C0;
}

.av-home-cta h2 {
  margin: 14px 0 0;
  color: var(--white);
  font-family:
    "Georgia",
    "Times New Roman",
    serif;
  font-size: clamp(56px, 6.6vw, 102px);
  line-height: .86;
  font-weight: 500;
  letter-spacing: -.062em;
}

.av-home-cta .button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.av-home-cta .button--light {
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--white);
}

.av-home-cta .button--light:hover {
  color: var(--white);
  background: transparent;
}

.av-cta-outline {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.34);
}

.av-cta-outline:hover {
  color: var(--charcoal);
  background: var(--white);
  border-color: var(--white);
}


/* =========================================================
   08. TABLET
   ========================================================= */

@media (max-width: 900px) {

  .av-home-hero {
    min-height: calc(100svh - 72px);
  }

  .av-home-hero-inner {
    padding-top: 76px;
    padding-bottom: 112px;
  }

  .av-home-hero h1 {
    font-size: clamp(56px, 10vw, 92px);
  }

  .av-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .av-location-panel {
    min-height: 520px;
  }

  .av-approach-grid {
    grid-template-columns: 1fr;
  }

  .av-approach-grid article,
  .av-approach-grid article + article {
    min-height: auto;
    padding: 27px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(32,34,31,.20);
  }

  .av-approach-grid article:last-child {
    border-bottom: 0;
  }

  .av-approach-grid h3 {
    margin-top: 24px;
  }

  .av-home-cta-inner {
    display: block;
  }

  .av-home-cta-inner .button-row {
    margin-top: 32px;
  }
}


/* =========================================================
   09. MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .av-home-hero {
    min-height: calc(100svh - 68px);
  }

  .av-hero-image {
    object-position: 58% center;
  }

  .av-hero-image-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(20,24,22,.80) 0%,
        rgba(20,24,22,.48) 55%,
        rgba(20,24,22,.20) 100%
      ),
      linear-gradient(
        0deg,
        rgba(20,24,22,.50) 0%,
        transparent 62%
      );
  }

  .av-home-hero-inner {
    padding-top: 64px;
    padding-bottom: 108px;
  }

  .av-home-hero h1 {
    max-width: 100%;
    margin-top: 22px;
    margin-bottom: 22px;
    font-size: clamp(52px, 14.5vw, 78px);
    line-height: .92;
  }

  .av-hero-intro {
    max-width: 430px;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .av-home-hero .button-row {
    max-width: 290px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .av-home-hero .button {
    width: 100%;
    min-height: 52px;
  }

  .av-hero-bottom-inner {
    min-height: 52px;
    gap: 18px;
    font-size: 9px;
  }

  .av-hero-bottom-inner > span:nth-child(2),
  .av-hero-bottom-inner > span:nth-child(3) {
    display: none;
  }

  .av-scroll-note {
    font-size: 9px;
  }

  .av-home-projects .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .av-home-projects .section-head .button {
    margin-top: 24px;
  }

  .av-project-row {
    grid-template-columns: 40px minmax(0, 1fr) 44px;
    gap: 12px;
    padding: 24px 0;
  }

  .av-project-row:hover {
    padding-right: 4px;
    padding-left: 4px;
  }

  .av-project-arrow {
    width: 42px;
    height: 42px;
  }

  .av-project-empty {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 34px 0;
  }

  .av-location-panel {
    min-height: 430px;
    border-radius: 20px;
    padding: 24px;
  }

  .av-location-content h2 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .av-location-bottom {
    display: grid;
    gap: 9px;
  }

  .av-home-cta-inner .button-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 290px;
  }

  .av-home-cta .button {
    width: 100%;
  }
}


/* =========================================================
   10. ACCESSIBILITY / MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .av-home-hero .button,
  .av-project-row,
  .av-project-arrow {
    transition: none;
  }
}



/* =========================================================
   HOMEPAGE REFINEMENT â€” VISUAL PROJECT DISCOVERY
   Scoped to homepage components; preserves global theme styles.
   ========================================================= */

.av-home-hero {
  min-height: min(900px, calc(100svh - 82px));
  background: #202520;
}
.av-home-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,24,22,.05) 40%, rgba(20,24,22,.48) 100%);
}
.av-home-hero-inner { z-index: 2; }
.av-home-hero h1 {
  max-width: 900px;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0,0,0,.16);
}
.av-hero-intro { max-width: 560px; }
.av-home-hero .button:first-child { box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.av-home-hero .button:focus-visible,
.av-home .av-project-card a:focus-visible,
.av-home .button:focus-visible {
  outline: 3px solid #e9e1d4;
  outline-offset: 4px;
}

.av-home-projects .section-head { align-items: end; }
.av-home-projects .section-head h2 { max-width: 760px; text-wrap: balance; }
.av-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.av-project-card {
  min-width: 0;
  background: #fbf9f4;
  border: 1px solid rgba(32,34,31,.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(32,34,31,.045);
  transition: transform .28s ease, box-shadow .28s ease;
}
.av-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(32,34,31,.12);
}
.av-project-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  color: #fffdf8;
  background:
    radial-gradient(circle at 78% 18%, rgba(233,225,212,.35), transparent 24%),
    linear-gradient(145deg, #718076 0%, #3f5148 48%, #202923 100%);
}
.av-project-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,14,.05) 25%, rgba(12,18,14,.58) 100%);
  pointer-events: none;
}
.av-project-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.av-project-card:hover .av-project-card__visual img { transform: scale(1.045); }
.av-project-card__visual-mark {
  position: absolute;
  right: 8%;
  bottom: -15%;
  z-index: 1;
  color: rgba(255,253,248,.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(120px, 18vw, 250px);
  line-height: 1;
  letter-spacing: -.09em;
}
.av-project-card__index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  color: #fffdf8;
}
.av-project-card__open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,253,248,.65);
  border-radius: 50%;
  color: #fffdf8;
  background: rgba(20,24,22,.15);
  backdrop-filter: blur(8px);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.av-project-card:hover .av-project-card__open {
  color: #202520;
  background: #f7f4ec;
  transform: rotate(45deg);
}
.av-project-card__body { padding: 24px 24px 26px; }
.av-project-card__body .eyebrow {
  color: #65776d;
  min-height: 13px;
}
.av-project-card__body h3 {
  margin: 10px 0 7px;
  color: #202520;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.5vw, 37px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.av-project-card__body h3 a { color: inherit; text-decoration: none; }
.av-project-card__location {
  margin: 0;
  color: #656a62;
  font-size: 14px;
}
.av-project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
  color: #35473d;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.av-project-card__link span { color: #b56f52; transition: transform .2s ease; }
.av-project-card__link:hover span { transform: translate(3px,-3px); }

.av-home-intro h2,
.av-home-projects .section-head h2,
.av-home-approach .section-head h2,
.av-home-cta h2 { text-wrap: balance; }
.av-location-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.av-location-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  right: -5%;
  top: 50%;
  border: 1px solid rgba(247,244,236,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(247,244,236,.025), 0 0 0 76px rgba(247,244,236,.02);
  transform: translateY(-50%);
  pointer-events: none;
}
.av-approach-grid article { transition: background-color .25s ease, padding .25s ease; }
.av-approach-grid article:hover { background: rgba(255,255,255,.24); }

@media (max-width: 900px) {
  .av-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-project-card__body { padding: 21px; }
}
@media (max-width: 600px) {
  .av-home-hero { min-height: calc(100svh - 68px); }
  .av-project-grid { grid-template-columns: 1fr; gap: 18px; }
  .av-project-card__visual { aspect-ratio: 1.22 / 1; }
  .av-project-card__body h3 { font-size: 34px; }
  .av-project-card__body { padding: 22px; }
  .av-location-panel::after { width: 78vw; right: -35%; }
}
@media (prefers-reduced-motion: reduce) {
  .av-project-card,
  .av-project-card__visual img,
  .av-project-card__open,
  .av-project-card__link span { transition: none !important; }
  .av-project-card:hover,
  .av-project-card:hover .av-project-card__visual img { transform: none !important; }
}


/* HOMEPAGE REFINEMENT V2 â€” prevent global .section padding from stacking
   with the homepage's own container spacing. Scoped to this page only. */
.av-home > .section {
  padding-block: 0 !important;
}
.av-home-intro .container,
.av-home-projects .container,
.av-home-location .container,
.av-home-approach .container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
}
.av-home-intro .container {
  padding-top: clamp(58px, 6.5vw, 84px);
  padding-bottom: clamp(58px, 6.5vw, 84px);
}
.av-home-projects .container {
  padding-top: clamp(60px, 6.5vw, 88px);
  padding-bottom: clamp(64px, 7vw, 92px);
}
.av-home-location .container {
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 78px);
}
.av-home-approach .container {
  padding-top: clamp(58px, 6.5vw, 84px);
  padding-bottom: clamp(58px, 6.5vw, 84px);
}
.av-home-intro .av-split { align-items: center; }
.av-home-projects .section-head { margin-bottom: clamp(26px, 3vw, 40px); }
.av-home-projects .section-head > div { min-width: 0; }
.av-home-location .av-location-panel { min-height: clamp(430px, 43vw, 590px); }
@media (max-width: 600px) {
  .av-home-intro .container,
  .av-home-projects .container,
  .av-home-location .container,
  .av-home-approach .container {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .av-home-projects .section-head { margin-bottom: 26px; }
  .av-home-location .av-location-panel { min-height: 420px; }
}


/* HOMEPAGE FINAL POLISH â€” visual hierarchy, imagery, interaction and mobile finish */
.av-home-hero {
  min-height: min(900px, calc(100svh - 82px));
  min-height: min(900px, calc(100vh - 82px));
}
.av-hero-image {
  object-position: center 54%;
}
.av-hero-image-overlay {
  background:
    linear-gradient(90deg, rgba(17,22,19,.78) 0%, rgba(17,22,19,.52) 39%, rgba(17,22,19,.16) 74%, rgba(17,22,19,.05) 100%),
    linear-gradient(0deg, rgba(17,22,19,.58) 0%, rgba(17,22,19,.06) 47%, rgba(17,22,19,.10) 100%);
}
.av-home-hero-inner {
  padding-top: clamp(68px, 8vh, 100px);
  padding-bottom: clamp(100px, 13vh, 148px);
}
.av-home-hero h1 {
  max-width: 900px;
  font-size: clamp(62px, 8.1vw, 118px);
  line-height: .91;
  letter-spacing: -.058em;
}
.av-hero-intro {
  max-width: 540px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}
.av-home-hero .button-row { gap: 12px; }
.av-home-hero .button { min-height: 55px; padding-inline: 25px; }
.av-home-intro h2,
.av-home-projects .section-head h2,
.av-home-approach .section-head h2,
.av-home-cta h2 { text-wrap: balance; }
.av-home-intro .lead { max-width: 640px; line-height: 1.6; }
.av-home-projects .section-head { align-items: end; }
.av-project-card {
  border-radius: 20px;
  box-shadow: 0 7px 26px rgba(32,34,31,.055);
}
.av-project-card__visual {
  aspect-ratio: 1.08 / 1;
}
.av-project-card__visual img {
  object-position: center;
}
.av-project-card__body {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.av-project-card__body h3 { line-height: 1.04; }
.av-project-card__location { line-height: 1.5; }
.av-project-card__link { margin-top: auto; padding-top: 21px; }
.av-project-card:focus-within {
  outline: 2px solid #65776d;
  outline-offset: 4px;
}
.av-location-panel {
  background:
    radial-gradient(ellipse at 83% 48%, rgba(247,244,236,.10), transparent 38%),
    repeating-linear-gradient(35deg, transparent 0 58px, rgba(255,255,255,.035) 59px 60px),
    var(--eucalyptus);
}
.av-home-cta .button { transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.av-home-cta .button:hover { transform: translateY(-2px); }

@media (min-width: 1200px) {
  .av-home-hero-inner { padding-left: clamp(0px, 1vw, 18px); }
}
@media (max-width: 900px) {
  .av-home-hero { min-height: calc(88svh - 72px); }
  .av-home-hero h1 { font-size: clamp(58px, 10vw, 88px); }
  .av-project-card__visual { aspect-ratio: 1.05 / 1; }
  .av-project-card__body { min-height: 184px; }
}
@media (max-width: 600px) {
  .av-home-hero { min-height: calc(100svh - 68px); }
  .av-hero-image { object-position: 59% center; }
  .av-hero-image-overlay {
    background:
      linear-gradient(90deg, rgba(17,22,19,.80) 0%, rgba(17,22,19,.57) 57%, rgba(17,22,19,.22) 100%),
      linear-gradient(0deg, rgba(17,22,19,.57) 0%, transparent 66%);
  }
  .av-home-hero-inner { padding-top: 56px; padding-bottom: 106px; }
  .av-home-hero h1 { font-size: clamp(51px, 13.6vw, 74px); line-height: .94; }
  .av-hero-intro { max-width: 390px; font-size: 16px; line-height: 1.52; }
  .av-home-hero .button-row { max-width: 320px; }
  .av-home-hero .button { min-height: 52px; }
  .av-project-card__visual { aspect-ratio: 1.24 / 1; }
  .av-project-card__body { min-height: 0; }
  .av-project-card__link { margin-top: 0; padding-top: 19px; }
  .av-home-cta { padding-block: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .av-home-cta .button { transition: none; }
  .av-home-cta .button:hover { transform: none; }
}