/* GreenPoint: architectural design A, square/landscape hero with optional internal pan in portfolio.js. */
body.design-a {
    --primary-color:#214c37; --accent-color:#286b44; --accent-dark:#1d5032;
    --bg-light:#f6f4ee; --header-expanded-h:96px; --header-collapsed-h:76px;
    --header-h:96px; --logo-h:76px;
    background:#f6f4ee; font-size:18px; line-height:1.7;
}
body.design-a.scrolled { --header-h:76px; --logo-h:54px; }
.design-a .main-header { padding:0 4.5vw; min-height:var(--header-h); box-shadow:none; border-bottom:1px solid #deded4; }
.design-a .header-spacer { height:var(--header-expanded-h); }
.design-a .logo-img { height:var(--logo-h); width:auto; }
.design-a .nav-left { gap:22px; }
.design-a .nav-left a { font-size:13px; letter-spacing:.7px; min-height:44px; display:inline-flex; align-items:center; }
.design-a .nav-cta { border-radius:0; padding:12px 22px; font-size:13px; }
.design-a .site-notice { background:#eeeee6; color:#59634f; border-bottom:1px solid #deded4; font-size:13px; }
.design-a .hero-scroll { margin:24px 4.5vw 0; --hero-title-size:clamp(36px,3.3vw,52px);
    --hero-max-height:max(180px,calc(100svh - var(--header-collapsed-h) - 24px)); }
.design-a .hero { min-height:0; margin:0; padding:0; display:grid; grid-template-columns:48% 52%;
                  align-items:stretch; text-align:left; background:transparent; color:#253b2b; }
.design-a .hero-media { position:relative; inset:auto; z-index:0; grid-column:2; grid-row:1;
                        width:100%; max-width:calc(var(--hero-max-height) * var(--hero-aspect,1)); height:auto;
                        aspect-ratio:var(--hero-aspect,1); align-self:start; justify-self:center; overflow:hidden; }
.design-a .hero-media::after { background:none; }
.design-a .hero-image { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-scroll.is-pinned { height:calc(var(--hero-height) + var(--hero-travel)); }
.hero-scroll.is-pinned .hero { position:sticky; top:var(--hero-top); height:var(--hero-height); }
.design-a .has-image-pan .hero-image { height:var(--hero-image-height); object-fit:cover; object-position:top;
    transform:translateY(var(--hero-offset,0px)); will-change:transform; }
.design-a .hero .hero-content { position:relative; inset:auto; grid-column:1; grid-row:1; z-index:1;
    max-width:none; max-height:none; display:flex; flex-direction:column; align-items:flex-start;
    justify-content:center; padding:20px 48px 20px 0; color:#253b2b; }
.design-a .hero-eyebrow { font-size:11px; letter-spacing:1.6px; font-weight:600; color:#477254; margin-bottom:16px; }
.design-a .hero .hero-content h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400;
    font-size:calc(var(--hero-title-size) + var(--hero-font-step)); line-height:1.13; letter-spacing:-1.2px;
    text-transform:none; margin:0 0 22px; text-shadow:none; }
.design-a .hero .hero-content p { color:#566052; background:none; border:0; border-radius:0; padding:0;
    margin:0; max-width:450px; font-size:18px; line-height:1.75; text-shadow:none; }
.design-a .hero .hero-cta { font-size:14px; letter-spacing:.4px; border-radius:0; padding:14px 26px; margin-top:24px; min-height:48px; }
.design-a .hero-project-caption { position:absolute; z-index:2; bottom:22px; left:calc(48% + 22px);
    color:white; padding:8px 13px; background:rgba(14,29,20,.72); font-size:12px; letter-spacing:.5px; }
.design-a .portfolio-section { max-width:1440px; padding:80px 4.5vw 30px; }
.design-a .section-header { text-align:left; margin-bottom:30px; }
.design-a .section-header h2 { font-family:Georgia,'Times New Roman',serif; font-weight:400;
    font-size:40px; letter-spacing:-.5px; text-transform:none; }
.design-a .section-header h2::after { width:54px; height:2px; margin:16px 0 0; }
.design-a .category-nav-wrapper { background:#e8ece3; border-color:#d7ddcf; padding:12px 4.5vw; }
.design-a .cat-btn { border-radius:0; border-color:#cbd3c6; background:transparent; color:#3b4e3f; font-size:13px; letter-spacing:.25px; }
.design-a .cat-btn.active-cat, .design-a .cat-btn:hover { background:#214c37; color:#fff; border-color:#214c37; }
.design-a .category-title { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:29px;
    letter-spacing:0; text-transform:none; border-left-width:2px; }
.design-a .project-group-heading h4 { font-size:21px; font-weight:500; letter-spacing:.3px; }
.design-a .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.design-a .project-tile { background:transparent; border:0; border-radius:0; box-shadow:none; }
.design-a .tile-media { height:auto; aspect-ratio:4 / 3; border-radius:0; }
.design-a .tile-caption { padding:16px 0 22px; }
.design-a .tile-caption p { font-size:17px; color:#304838; }
.design-a .tile-place { font-size:14px; }
.design-a .project-group { border-bottom-color:#a9afa4; margin-bottom:42px; padding-bottom:24px; }
.design-a .project-group { scroll-margin-top:calc(var(--header-h) + var(--category-nav-h,76px) + 20px); }
.design-a .project-expand { font-size:14px; padding:10px 14px; }
.design-a .map-section { padding:60px 4.5vw 20px; max-width:1440px; }
.design-a .map-card { background:#eeeee6; border:1px solid #d8ddcf; border-radius:0; box-shadow:none; }
.design-a .map-card h3 { font-size:15px; letter-spacing:1px; }
.design-a footer { background:#193727; padding:52px 4.5vw 24px; }
.design-a .page-content, .design-a .form-card { background:#fffefa; border-radius:0; box-shadow:none; }
.design-a .page-content h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; }
.design-a .page-content, .design-a .interest-section { font-size:18px; }
.design-a .company-page { max-width:none; width:calc(90% - 100px); margin:60px 100px 60px 10%; padding:0; background:transparent; }
.company-story { display:grid; grid-template-columns:minmax(0,920px) minmax(240px,1fr); align-items:stretch; }
.company-copy { position:relative; z-index:2; min-width:0; }
.company-photo { position:relative; z-index:1; margin:0 0 0 -50px; width:calc(100% + 50px); aspect-ratio:var(--company-aspect,4 / 3); align-self:start; }
.company-photo.is-portrait { --company-aspect:3 / 4; }
.company-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; }
.company-photo::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(0,0,0,.12) 45%); }
.company-page .team-section { max-width:920px; margin-top:64px; padding-right:20px; }
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
    @media(min-width:1280px) {
        .company-copy { background:linear-gradient(#fff,#fff) right top / 50px var(--company-photo-height,0px) no-repeat,
                                  linear-gradient(#253b2b,#253b2b); background-clip:text; -webkit-background-clip:text; }
        .company-copy h1, .company-copy h2, .company-copy p, .company-copy li, .company-copy a, .company-copy strong { color:transparent; -webkit-text-fill-color:transparent; }
        .company-copy a { text-decoration:underline; text-decoration-color:#286b44; }
    }
}
@media(max-width:1279px) {
    .design-a .company-page { width:80%; margin:40px 10%; }
    .company-story { grid-template-columns:minmax(0,1fr); gap:28px; }
    .company-photo { width:100%; margin:0; }
    .company-photo::after { background:none; }
    .company-page .team-section { padding-right:0; }
}
@media(max-width:1100px) {
    .design-a .category-nav .cat-btn { font-size:var(--category-font-size,12px); }
}
@media(max-width:1100px) and (min-height:601px) {
    .design-a .hero .hero-content { padding-right:30px; }
    .design-a .hero-scroll { --hero-title-size:42px; }
}
@media(max-width:900px), (max-width:1100px) and (max-height:600px) {
    body.design-a { --header-expanded-h:76px; --header-collapsed-h:76px; --header-h:76px; --logo-h:58px; }
    body.design-a.scrolled { --header-h:76px; --logo-h:54px; }
    .design-a .hero-scroll { margin:18px 16px 0; --hero-title-size:clamp(24px,6.7vw,32px); }
    .design-a .hero { grid-template-columns:minmax(0,1fr); background:#193727; }
    .design-a .hero-media { grid-column:1; width:100%; height:auto; align-self:start; background:#193727; }
    .design-a .hero-media::after { background:linear-gradient(0deg,rgba(12,29,18,.83),rgba(12,29,18,.2)); }
    .design-a .hero .hero-content { position:relative; inset:auto; padding:24px 22px 62px; color:#fff; justify-content:center;
        max-height:none; pointer-events:none; }
    .design-a .hero .hero-content a { pointer-events:auto; }
    .design-a .hero .hero-content h1 { letter-spacing:-.6px; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.35); }
    .design-a .hero .hero-content p { font-size:clamp(14.4px,3.8vw,16px); color:#fff; line-height:1.55;
        padding:8px 10px; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.12);
        text-shadow:0 1px 3px rgba(0,0,0,.9); }
    .design-a .hero-eyebrow { color:#dbe9d4; margin-bottom:16px; font-size:10px; }
    .design-a .hero-project-caption { left:16px; bottom:14px; font-size:11px; }
    .design-a .portfolio-section { padding:48px 20px 20px; }
    .design-a .section-header h2 { font-size:34px; }
    .design-a .portfolio-grid { grid-template-columns:1fr; gap:22px; }
    .design-a .map-section { padding:40px 20px 20px; }
}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape) {
    .design-a .category-nav-wrapper { padding-inline:16px; }
    .design-a .category-nav .cat-btn { padding-inline:4px; letter-spacing:0; }
    .design-a .hero-scroll { --hero-title-size:clamp(18px,2.8vw,24px); }
    .design-a .hero .hero-content { padding:12px 22px 52px; }
    .design-a .hero .hero-content h1 { margin-bottom:10px; }
    .design-a .hero-eyebrow { margin-bottom:8px; }
    .design-a .hero .hero-cta { margin-top:12px; min-height:44px; padding:10px 22px; }
}
body.design-a.portfolio-header-active { --header-h:0px; }
@media(max-width:600px) and (max-height:700px) {
    .design-a .hero-eyebrow { display:none; }
    .design-a .hero .hero-content { padding:20px 20px 60px; }
    .design-a .hero .hero-content h1 { margin-bottom:14px; }
    .design-a .hero .hero-content p { font-size:14px; line-height:1.4; }
    .design-a .hero .hero-cta { margin-top:16px; }
}
