:root {
    --ay-green: #216648;
    --ay-green-light: #dce9e2;
    --ay-dark: #111714;
    --ay-text: #202824;
    --ay-soft: #f3f5f3;
    --ay-line: #d9dfdb;
}

.ay-project, .ay-project * { box-sizing: border-box; }
.ay-project {
    background: #fff;
    color: var(--ay-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow: hidden;
}
.ay-project img { display: block; width: 100%; }
.ay-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ay-section { padding: 105px 0; }
.ay-section--soft { background: var(--ay-soft); }
.ay-section--dark { background: var(--ay-dark); color: #fff; }
.ay-grid { display: grid; gap: 64px; }
.ay-grid--intro { grid-template-columns: .85fr 1.15fr; align-items: start; }
.ay-grid--buildings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.ay-kicker, .ay-eyebrow {
    color: var(--ay-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    margin: 0 0 18px;
}
.ay-eyebrow { color: #b9dec9; }
.ay-project h1, .ay-project h2, .ay-project h3, .ay-project p { margin-top: 0; }
.ay-project h1 {
    color: #fff;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 30px;
    max-width: 850px;
}
.ay-project h2 {
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin-bottom: 0;
}
.ay-project h3 { font-size: 25px; line-height: 1.2; margin-bottom: 7px; }

.ay-hero { min-height: 88vh; position: relative; display: flex; align-items: flex-end; }
.ay-hero__media, .ay-hero__overlay { position: absolute; inset: 0; }
.ay-hero__media img { height: 100%; object-fit: cover; }
.ay-hero__overlay { background: linear-gradient(90deg, rgba(10,18,14,.91) 0%, rgba(10,18,14,.54) 50%, rgba(10,18,14,.12) 100%); }
.ay-hero__content { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 90px; }
.ay-hero__lead { color: rgba(255,255,255,.86); font-size: 19px; max-width: 710px; margin-bottom: 36px; }
.ay-button {
    align-items: center;
    background: var(--ay-green);
    color: #fff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    letter-spacing: .08em;
    min-height: 54px;
    padding: 0 27px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: transform .2s, background .2s;
}
.ay-button:hover { background: #2a7b59; transform: translateY(-2px); }
.ay-button--dark { background: var(--ay-dark); }

.ay-copy { border-left: 1px solid var(--ay-line); padding-left: 55px; }
.ay-copy p { font-size: 18px; margin-bottom: 20px; }
.ay-heading { margin-bottom: 48px; max-width: 760px; }
.ay-heading--split { align-items: end; display: flex; justify-content: space-between; max-width: none; gap: 70px; }
.ay-heading--split > p { max-width: 390px; margin-bottom: 5px; }
.ay-heading--light .ay-kicker { color: #8fc8a9; }

.ay-building { background: #fff; box-shadow: 0 12px 35px rgba(15, 30, 21, .07); overflow: hidden; }
.ay-building > img { aspect-ratio: 4 / 3; object-fit: cover; background: #dfe2e0; }
.ay-building--portrait > img { background: #e8ece9; object-fit: contain; }
.ay-building__body { display: flex; gap: 24px; padding: 29px 30px 32px; }
.ay-building__body > span { color: var(--ay-green); font-size: 13px; font-weight: 800; padding-top: 5px; }
.ay-building__body p { color: #657069; margin-bottom: 0; }

.ay-scope__grid { border-left: 1px solid var(--ay-line); border-top: 1px solid var(--ay-line); display: grid; grid-template-columns: repeat(3, 1fr); }
.ay-scope__item { border-bottom: 1px solid var(--ay-line); border-right: 1px solid var(--ay-line); display: flex; min-height: 115px; padding: 25px; flex-direction: column; justify-content: space-between; }
.ay-scope__item b { color: var(--ay-green); font-size: 12px; }
.ay-scope__item span { font-size: 17px; font-weight: 700; }

.ay-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.ay-filters button {
    background: transparent;
    border: 1px solid rgba(255,255,255,.26);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    min-height: 42px;
    padding: 0 18px;
}
.ay-filters button:hover, .ay-filters button.is-active { background: var(--ay-green); border-color: var(--ay-green); }
.ay-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ay-gallery__item {
    aspect-ratio: 1 / 1;
    background: #212a25;
    border: 0;
    cursor: pointer;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
}
.ay-gallery__item.is-hidden { display: none; }
.ay-gallery__item img { height: 100%; object-fit: cover; transition: transform .45s, opacity .3s; }
.ay-gallery__item:hover img { opacity: .78; transform: scale(1.04); }
.ay-gallery__zoom {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--ay-dark);
    display: flex;
    font-size: 23px;
    height: 42px;
    justify-content: center;
    opacity: 0;
    position: absolute;
    right: 14px;
    top: 14px;
    transform: translateY(-6px);
    transition: .25s;
    width: 42px;
}
.ay-gallery__item:hover .ay-gallery__zoom { opacity: 1; transform: translateY(0); }

.ay-cta__inner { align-items: center; display: flex; gap: 50px; justify-content: space-between; }
.ay-cta__inner h2 { max-width: 760px; }

.ay-contact-section { background: #f3f5f3; }
.ay-direct-contacts { border-top: 1px solid var(--ay-line); min-width: min(100%, 410px); }
.ay-direct-contacts a {
    align-items: center;
    border-bottom: 1px solid var(--ay-line);
    color: var(--ay-text);
    display: flex;
    gap: 22px;
    justify-content: space-between;
    padding: 15px 0;
    text-decoration: none;
}
.ay-direct-contacts a:hover strong { color: var(--ay-green); }
.ay-direct-contacts span { color: #6c7771; font-size: 13px; }
.ay-direct-contacts strong { font-size: 15px; transition: color .2s; }
.ay-contact-box { background: #fff; border: 1px solid var(--ay-line); padding: clamp(24px, 4vw, 48px); }
.ay-form-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ay-contact-form label { display: block; }
.ay-contact-form label > span {
    color: #53605a;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.ay-contact-form input, .ay-contact-form textarea {
    appearance: none;
    background: #f8faf9;
    border: 1px solid #ccd6d0;
    border-radius: 0;
    color: #17201c;
    font: inherit;
    outline: 0;
    padding: 13px 14px;
    width: 100%;
}
.ay-contact-form input:focus, .ay-contact-form textarea:focus { border-color: var(--ay-green); box-shadow: 0 0 0 2px rgba(33,102,72,.1); }
.ay-contact-form textarea { min-height: 135px; resize: vertical; }
.ay-form-wide { grid-column: 1 / -1; }
.ay-form-hp { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.ay-contact-form button {
    background: var(--ay-green);
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-top: 24px;
    min-height: 53px;
    padding: 0 25px;
    text-transform: uppercase;
}
.ay-contact-form button:hover { background: #2a7b59; }
.ay-form-message { font-weight: 700; margin: 0 0 20px; padding: 13px 15px; }
.ay-form-message--success { background: #e4f3ea; color: #145b3c; }
.ay-form-message--error { background: #f9e7e5; color: #8a2b21; }
.ay-home-contact-form { grid-column: 1 / -1; margin-top: 15px; }
.contact .ay-home-contact-form .ay-contact-box { background: #151d19; border-color: rgba(255,255,255,.14); }
.contact .ay-home-contact-form label > span { color: #b8c2bd; }
.contact .ay-home-contact-form input,
.contact .ay-home-contact-form textarea { background: #0c110f; border-color: rgba(255,255,255,.2); color: #fff; }

.ay-lightbox {
    align-items: center;
    background: rgba(6,10,8,.96);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 60px 80px;
    position: fixed;
    z-index: 999999;
}
.ay-lightbox[hidden] { display: none; }
.ay-lightbox img { height: 100%; max-height: 88vh; max-width: min(1200px, 88vw); object-fit: contain; width: auto; }
.ay-lightbox button { background: none; border: 0; color: #fff; cursor: pointer; position: absolute; }
.ay-lightbox__close { font-size: 44px; right: 25px; top: 12px; }
.ay-lightbox__prev, .ay-lightbox__next { font-size: 62px; top: 50%; transform: translateY(-50%); }
.ay-lightbox__prev { left: 22px; }
.ay-lightbox__next { right: 22px; }
body.ay-no-scroll { overflow: hidden; }

.ay-home-card {
    background: var(--ay-dark);
    color: #fff !important;
    display: block;
    grid-column: 1 / -1;
    min-height: 430px;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
}
.ay-home-card__image, .ay-home-card__shade { inset: 0; position: absolute; }
.ay-home-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
    width: 100%;
}
.ay-home-card__shade {
    background: linear-gradient(90deg, rgba(8,16,12,.9) 0%, rgba(8,16,12,.48) 57%, rgba(8,16,12,.08) 100%);
}
.ay-home-card__content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    min-height: 430px;
    padding: clamp(30px, 5vw, 60px);
    position: relative;
    z-index: 2;
}
.ay-home-card__content small {
    color: #b9dec9;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.ay-home-card__content strong {
    color: #fff;
    font-size: clamp(38px, 5vw, 67px);
    letter-spacing: -.045em;
    line-height: 1;
    max-width: 720px;
}
.ay-home-card__content em {
    border-bottom: 1px solid rgba(255,255,255,.5);
    color: #fff;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .06em;
    margin-top: 32px;
    padding-bottom: 5px;
    text-transform: uppercase;
}
.ay-home-card__content em b { color: #9bd2b3; font-size: 20px; margin-left: 9px; }
.ay-home-card:hover .ay-home-card__image img { transform: scale(1.035); }
.ay-home-card:hover .ay-home-card__content em { border-color: #9bd2b3; }
.ay-projects-drop:hover > .subnav,
.ay-projects-drop:focus-within > .subnav,
.ay-projects-drop.is-open > .subnav { display: block; }
.ay-projects-drop > a { align-items: center; display: inline-flex; gap: 5px; }
.ay-projects-drop > a::after { content: "▾"; font-size: .8em; }

@media (max-width: 900px) {
    .ay-section { padding: 76px 0; }
    .ay-grid--intro { grid-template-columns: 1fr; gap: 35px; }
    .ay-copy { border-left: 0; border-top: 1px solid var(--ay-line); padding: 32px 0 0; }
    .ay-heading--split { align-items: start; flex-direction: column; gap: 24px; }
    .ay-scope__grid { grid-template-columns: repeat(2, 1fr); }
    .ay-gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .ay-projects-drop { width: 100%; }
    .ay-projects-drop > .subnav { padding-left: 14px; position: static; }
}
@media (max-width: 640px) {
    .ay-shell { width: min(100% - 28px, 1180px); }
    .ay-section { padding: 62px 0; }
    .ay-hero { min-height: 760px; }
    .ay-hero__content { padding-bottom: 60px; }
    .ay-hero__overlay { background: linear-gradient(0deg, rgba(10,18,14,.96) 0%, rgba(10,18,14,.42) 76%, rgba(10,18,14,.22) 100%); }
    .ay-hero__lead { font-size: 17px; }
    .ay-grid--buildings { grid-template-columns: 1fr; }
    .ay-scope__grid { grid-template-columns: 1fr 1fr; }
    .ay-scope__item { min-height: 105px; padding: 18px; }
    .ay-scope__item span { font-size: 15px; }
    .ay-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .ay-gallery__item.is-hidden { display: none !important; }
    .ay-cta__inner { align-items: flex-start; flex-direction: column; }
    .ay-lightbox { padding: 55px 38px; }
    .ay-lightbox__prev { left: 3px; }
    .ay-lightbox__next { right: 3px; }
    .ay-home-card, .ay-home-card__content { min-height: 390px; }
    .ay-home-card__shade { background: linear-gradient(0deg, rgba(8,16,12,.94) 0%, rgba(8,16,12,.35) 78%, rgba(8,16,12,.12) 100%); }
    .ay-form-grid { grid-template-columns: 1fr; }
    .ay-form-wide { grid-column: auto; }
    .ay-direct-contacts a { align-items: flex-start; flex-direction: column; gap: 2px; }
    .ay-contact-form button { width: 100%; }
}
