/* =========================================================
   Lisa Lacorte Design — Portfolio detail page
   Reference artboard: 1440px
   ========================================================= */

:root {
    /* palette */
    --cream:        #FBF9F5;
    --cream-2:      #F7F3EC;
    --cream-3:      #F4EFE6;
    --white:        #FFFFFF;
    --ink:          #26261F;
    --ink-2:        #3A3931;
    --muted:        #6E6A62;
    --muted-2:      #9C978D;
    --line:         #E7E2D8;
    --line-2:       #DED8CC;
    --green-900:    #2F3A2B;
    --green-700:    #46533C;
    --tan:          #C0A17C;

    /* type */
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body:    "Montserrat", Helvetica, Arial, sans-serif;

    /* layout */
    --gutter:       76px;
    --header-h:     88px;

    /* shared with the home / about pages */
    --navy:        #10203A;   /* display headings */
    --slate:       #5D6168;   /* body copy */
    --slate-2:     #4A4E55;   /* card + label text */
    --grey-label:  #8D8E91;   /* eyebrows */
    --sage:        #97ABA1;   /* home buttons */
    --sage-hover:  #849B90;
    --sage-deep:   #8D9D91;   /* about buttons, CTA band, subscribe */
    --sage-darker: #7B8C80;
    --sage-label:  #7A8E83;
    --olive:       #4A5943;   /* send message button */
    --tan-2:       #D3BFA3;
    --sand:        #F9F6F3;
    --sand-2:      #F9F7F5;
    --hair:        #E8E4DE;
}

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

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

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    margin: 0;
}

p { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* ---------- shared bits ---------- */

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: var(--ink-2);
}

.eyebrow-rule { position: relative; padding-bottom: 14px; }
.eyebrow-rule::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 34px; height: 1px;
    background: var(--tan);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    line-height: 1;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn-solid {
    background: var(--green-700);
    color: #fff;
    padding: 16px 22px 16px 26px;
    gap: 26px;
    border-radius: 0;
}
.btn-solid:hover { color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color); }

.btn-outline {
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    padding: 13px 18px;
    gap: 22px;
    background: transparent;
    border-radius: 0;
}
.btn-outline:hover { border-color: var(--tan); color: var(--green-900); }


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 60;
}

.header-inner {
    height: var(--header-h);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img { height: 120px; width: auto; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-2);
    transition: color .25s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 1px;
    background: var(--tan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--green-900); }

.btn-contact {
    display: inline-block;
    border: 1px solid var(--tan);
    padding: 15px 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--ink-2);
    transition: background-color .25s ease, color .25s ease;
}
.btn-contact:hover { background: var(--tan); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 1px;
    margin: 0 auto;
    background: var(--ink-2);
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* =========================================================
   1. HERO
   ========================================================= */

.project-hero {
    display: grid;
    grid-template-columns: 36% 64%;
    background: var(--cream);
}

.hero-content {
    padding: 40px 60px 48px 76px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.breadcrumb {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--muted-2);
    line-height: 1;
}
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: var(--tan); }
.breadcrumb span { margin: 0 7px; }
.breadcrumb .current { color: var(--muted-2); margin: 0; }

.hero-content .eyebrow { margin-top: 40px; }

.hero-title {
    margin-top: 18px;
    font-size: 54px;
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: var(--ink);
}

.hero-text {
    margin-top: 22px;
    max-width: 360px;
    font-size: 13px;
    line-height: 2;
    color: var(--muted);
}

.hero-content .btn { margin-top: 34px; align-self: flex-start; }

.hero-image { overflow: hidden; }
.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}


/* =========================================================
   2. PROJECT META BAR
   ========================================================= */

.project-meta {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.meta-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0 var(--gutter);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 10px 26px 34px;
    position: relative;
}
.meta-item + .meta-item::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 34px;
    background: var(--line-2);
}

.meta-icon {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    display: grid;
    place-items: center;
    color: var(--tan);
}
.meta-icon svg { width: 22px; height: 22px; }

.meta-text { display: flex; flex-direction: column; line-height: 1; }

.meta-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-2);
}

.meta-value {
    margin-top: 9px;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}


/* =========================================================
   3. BEFORE / AFTER
   ========================================================= */

.before-after { padding: 26px var(--gutter) 0; }

.ba-inner {
    position: relative;
    display: flex;
    gap: 4px;
    height: 375px;
    user-select: none;
}

.ba-pane {
    position: relative;
    margin: 0;
    overflow: hidden;
    flex: 0 0 calc(50% - 2px);
    transition: flex-basis .35s cubic-bezier(.4, 0, .2, 1);
}

.ba-pane img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ba-after img { object-position: center; }

/* temporary "outgoing frame" clone used by the slide transition —
   sits directly behind the real <img> and is removed once a swap finishes */
.ba-ghost {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-tag {
    position: absolute;
    top: 0; left: 0;
    z-index: 2;
    background: var(--green-900);
    color: #fff;
    padding: 12px 26px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: calc(50% - 1px);
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    padding: 0;
    transition: left .35s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease;
}
.ba-handle:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .24); }

.ba-arrow {
    width: 37px; height: 74px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
    padding: 0;
    transition: color .25s ease, transform .25s ease;
}
.ba-arrow:hover { color: var(--tan); }
.ba-arrow[data-ba="prev"]:hover { transform: translateX(-2px); }
.ba-arrow[data-ba="next"]:hover { transform: translateX(2px); }

.ba-divider { display: none; }


/* =========================================================
   4 + 5. PANEL (story + custom work)
   ========================================================= */

.panel {
    margin: 20px var(--gutter) 0;
    border: 1px solid var(--line);
    background: var(--cream);
}

/* ---- 4. Story ---- */

.project-story {
    display: grid;
    grid-template-columns: 38% 62%;
    border-bottom: 1px solid var(--line);
}

.story-content { padding: 42px 46px 42px 42px; }

.story-title {
    margin-top: 24px;
    font-size: 31px;
    line-height: 1.25;
    color: var(--ink);
}

.story-content p {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.95;
    color: var(--muted);
}

.story-content .btn { margin-top: 30px; }

.story-image { overflow: hidden; }
.story-image img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* ---- 5. Artists & custom work ---- */

.custom-work { padding: 34px 42px 40px; }

.custom-intro {
    margin-top: 16px;
    max-width: 560px;
    font-size: 12px;
    line-height: 1.95;
    color: var(--muted);
}

.custom-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 17px;
}

.custom-card { text-align: center; }

.custom-thumb {
    overflow: hidden;
    background: var(--cream-3);
    aspect-ratio: 160 / 124;
}
.custom-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.custom-card:hover .custom-thumb img { transform: scale(1.05); }

.custom-card h3 {
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    color: var(--ink);
}

.custom-detail {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.custom-author {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ink-2);
}


/* =========================================================
   6. HIGHLIGHTS + CTA
   ========================================================= */

.project-bottom {
    margin: 20px var(--gutter) 42px;
    display: grid;
    grid-template-columns: 64.5% 35.5%;
    border: 1px solid var(--line);
}

.highlights {
    background: var(--cream-2);
    padding: 30px 42px 34px;
}

.highlight-grid {
    position: relative;
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 52px;
    row-gap: 14px;
}
.highlight-grid::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: calc(50% - .5px);
    width: 1px;
    background: var(--line-2);
}

.highlight-grid li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}
.highlight-grid li svg { flex: 0 0 auto; margin-top: 3px; color: var(--green-700); }

.project-cta {
    background: var(--green-700);
    color: #fff;
    padding: 32px 34px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1.4;
}

.cta-text {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

.btn-cta {
    margin-top: 20px;
    background: #3B4733;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    padding: 14px 20px;
    gap: 24px;
    width: 100%;
    justify-content: space-between;
    font-size: 11px;
    border-radius: 0;
}
.btn-cta:hover { color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color); }


/* =========================================================
   PORTFOLIO DETAIL — HERO ENTRANCE ANIMATION
   (top area only — breadcrumb, eyebrow, heading, copy,
   button, and the hero photo; reuses the homeFadeUp /
   homeFadeIn / homeZoomSettle keyframes defined in the
   HOME page section further down this file)
   ========================================================= */

.hero-image img           { animation: homeZoomSettle 7s cubic-bezier(.19, .69, .3, 1) both; }
.hero-content .breadcrumb { animation: homeFadeIn .8s ease .15s both; }
.hero-content .eyebrow    { animation: homeFadeIn .8s ease .35s both; }
.hero-title                { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .45s both; }
.hero-text                 { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .7s both; }
.hero-content .btn         { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .9s both; }


/* =========================================================
   FOOTER  (shared — matches the home + about mocks)
   ========================================================= */

.site-footer {
    background: #fff;
    border-top: 1px solid var(--hair);
}

.footer-inner {
    padding: 22px 56px 22px;
    display: grid;
    grid-template-columns: 342px 247px minmax(0, 1fr) auto;
    align-items: stretch;
}

.footer-logo {
    display: flex;
    align-items: center;
}
.footer-logo img { width: 302px; height: auto; }

.footer-nav {
    display: flex;
    align-items: center;
    padding-left: 80px;
    border-left: 1px solid var(--hair);
}
.footer-nav li + li { margin-top: 8px; }
.footer-nav a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--slate);
    transition: color .25s ease;
}
.footer-nav a:hover { color: var(--tan-2); }

.footer-signup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    border-left: 1px solid var(--hair);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
}

.footer-signup p {
    margin-top: 14px;
    max-width: 250px;
    font-size: 12px;
    line-height: 1.75;
    color: var(--slate);
}

.signup-form {
    margin-top: 18px;
    display: flex;
    gap: 8px;
}

.signup-form input {
    width: 245px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--hair);
    background: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--slate-2);
    outline-offset: 0;
    transition: border-color .25s ease;
}
.signup-form input::placeholder { color: #A3A7AD; }
.signup-form input:focus { border-color: var(--sage-deep); outline: none; }

.signup-form button {
    height: 44px;
    padding: 0 22px;
    border: 0;
    background: var(--sage-deep);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .25s ease;
}
.signup-form button:hover { background: var(--sage-darker); }

.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 80px;
    border-left: 1px solid var(--hair);
}
.footer-social a {
    width: 32px; height: 32px;
    display: grid;
    place-items: center;
    color: var(--slate-2);
    transition: color .25s ease, border-color .25s ease;
}
.footer-social a:hover { color: var(--sage-deep);  }


.footer-bottom-inner {
    padding: 15px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--slate);
}
.footer-bottom-inner p { line-height: 1.6; }
.footer-legal span { margin: 0 12px; color: var(--hair); }
.footer-legal a:hover { color: var(--tan-2); }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
    :root { --gutter: 48px; }
    .hero-content { padding: 36px 44px 42px 48px; }
    .nav-list, .main-nav { gap: 30px; }
    .hero-title { font-size: 48px; }
}

@media (max-width: 1199px) {
    :root { --gutter: 32px; }
    .header-inner { padding: 0 28px; }
    .nav-list, .main-nav { gap: 22px; }
    .nav-link { font-size: 11px; letter-spacing: 1.1px; }
    .btn-contact { padding: 13px 22px; }
    .hero-title { font-size: 42px; }
    .meta-item { padding-left: 22px; gap: 10px; }
    .meta-value { font-size: 11px; }
    .custom-grid { gap: 12px; }
    .footer-inner { grid-template-columns: 260px 200px minmax(0, 1fr) auto; padding: 36px 32px; }
    .footer-logo img { width: 240px; }
    .footer-nav { padding-left: 32px; }
    .footer-signup { padding-left: 32px; }
    .footer-social { padding-left: 32px; }
    .footer-bottom-inner { padding: 15px 32px; }
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 10px 28px 26px;
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-link { display: block; padding: 14px 0; }
    .nav-link::after { content: none; }
    .btn-contact { margin-top: 18px; text-align: center; }

    .project-hero { grid-template-columns: 1fr; }
    .hero-content { padding: 32px 28px 38px; }
    .hero-image img { min-height: 320px; }

    .meta-inner { grid-template-columns: repeat(3, 1fr); padding: 8px var(--gutter); }
    .meta-item { padding: 18px 10px 18px 20px; }
    .meta-item:nth-child(3n+1)::before { content: none; }

    .ba-inner { height: 300px; }

    .project-story { grid-template-columns: 1fr; }
    .story-content { padding: 32px 28px; }
    .story-image img { min-height: 300px; }

    .custom-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .custom-work { padding: 30px 28px 34px; }

    .project-bottom { grid-template-columns: 1fr; }
    .highlight-grid::after { content: none; }
    .highlights { padding: 28px; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 34px 40px;
        align-items: start;
    }
    .footer-nav { border-left: 0; padding-left: 0; justify-self: end; }
    .footer-signup { border-left: 0; padding-left: 0; }
    .footer-social { border-left: 0; padding-left: 0; grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    body { font-size: 13px; }
    .hero-title { font-size: 38px; }
    .meta-inner { grid-template-columns: repeat(2, 1fr)!important; }
    .meta-item::before { content: none !important; }

    .ba-inner { flex-direction: column; height: auto; gap: 4px; }
    .ba-pane { flex: 0 0 auto; height: 240px; }
    .ba-handle { display: none; }

    .story-title { font-size: 27px; }
    .custom-grid { grid-template-columns: repeat(2, 1fr)!important; }
    .highlight-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-nav { justify-self: start; }
    .signup-form { flex-wrap: wrap; }
    .signup-form input { width: 100%; }
    .signup-form button { width: 100%; }
    .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; padding: 15px 24px; }
}

@media (max-width: 575px) {
    :root { --gutter: 18px; }
    .header-inner { padding: 0 18px; }
    .hero-content { padding: 26px 18px 32px; }
    .hero-title { font-size: 33px; }
    .custom-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .btn-solid { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }
}


/* =========================================================
   HOME PAGE (index.php)
   Reference artboard: 1440px — values sampled from the mock
   ========================================================= */

.page-home {
    --gutter-home: 56px;
    --navy:        #10203A;   /* display headings */
    --slate:       #5D6168;   /* body copy */
    --slate-2:     #4A4E55;   /* card titles */
    --grey-label:  #8D8E91;   /* eyebrows */
    --sage:        #97ABA1;
    --sage-hover:  #849B90;
    --tan-2:       #D3BFA3;
    --sand:        #F9F6F3;
    --sand-2:      #F9F7F5;
    --hair:        #E8E4DE;
    background: #fff;
}

.page-home h1,
.page-home h2 { color: var(--navy); }


/* ---------- shared home elements ---------- */

.btn-sage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 34px;
    background: var(--sage);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    line-height: 1;
    transition: background-color .28s ease, transform .28s cubic-bezier(.25, .7, .3, 1), box-shadow .28s ease;
    border-radius: 0;
}
.btn-sage:hover {color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(46, 58, 43, .2); }

.rule-tan {
    display: block;
    width: 78px;
    height: 1px;
    background: var(--tan-2);
}

/* eyebrow with a trailing hairline (philosophy) */
.eyebrow-trail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    color: var(--grey-label);
    line-height: 1;
}
.eyebrow-trail::after {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--tan-2);
}

/* eyebrow flanked both sides (services) */
.eyebrow-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    color: var(--grey-label);
    line-height: 1;
}
.eyebrow-center::before,
.eyebrow-center::after {
    content: "";
    width: 47px;
    height: 1px;
    background: var(--tan-2);
}

.eyebrow-plain {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey-label);
    line-height: 1;
}

/* text link with a hairline underneath */
.link-underline {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 1.02px solid var(--tan-2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: var(--slate-2);
    line-height: 1;
    transition: color .25s ease, border-color .25s ease;
}
.link-underline:hover { color: var(--navy); border-color: var(--tan-2); }

.link-tan {
    display: inline-block;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--tan-2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: var(--slate-2);
    line-height: 1;
    transition: color .25s ease;
}
.link-tan:hover { color: var(--navy); }

/* text link with a hairline above it */
.link-topline {
    display: inline-block;
    padding-top: 11px;
    border-bottom: 1px solid var(--tan-2);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: var(--slate-2);
    line-height: 1;
    white-space: nowrap;
    transition: color .25s ease;
}
.link-topline:hover { color: var(--navy); }


/* =========================================================
   1. HERO
   ========================================================= */

.hero {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: clamp(560px, 50vw, 720px);
    object-fit: cover;
    object-position: center;
}

.hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

/* rotated location label */
.hero-location {
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.loc-rule {
    width: 1px;
    height: 75px;
    background: var(--hair);
}

.loc-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--grey-label);
    white-space: nowrap;
}

.hero-copy { padding-left: 172px; }

.hero-heading {
    font-size: 54px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.hero-copy .rule-tan { margin-top: 33px; }

.hero-lede {
    margin-top: 30px;
    max-width: 360px;
    font-size: 14px;
    line-height: 2.05;
    color: var(--slate);
}

.hero-copy .btn-sage { margin-top: 38px; }


/* =========================================================
   2. PHILOSOPHY
   ========================================================= */

.philosophy {
    display: grid;
    grid-template-columns: 33.6% 39.4% 27%;
    background: var(--sand-2);
    min-height: 508px;
}

.philosophy-media { overflow: hidden; }
.philosophy-media img {
    width: 100%;
    height: 100%;
    min-height: 508px;
    object-fit: cover;
}
.philosophy-media--right img { object-position: center top; }

.philosophy-copy {
    background: var(--sand-2);
    padding: 95px 60px 60px 110px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.philosophy-heading {
    margin-top: 28px;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.4;
}

.philosophy-copy p {
    margin-top: 22px;
    max-width: 392px;
    font-size: 13px;
    line-height: 2.05;
    color: var(--slate);
}

.philosophy-copy .link-underline { margin-top: 34px; }


/* =========================================================
   3. WHAT WE DO
   ========================================================= */

.services {
    background: #fff;
    padding: 67px var(--gutter-home) 68px;
    text-align: center;
}

.services-heading {
    margin-top: 26px;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
}

.services-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service {
    padding: 0 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service + .service { border-left: 1px solid var(--hair); }

.service-icon {
    display: block;
    color: #BCAE97;
    transition: color .3s ease, transform .4s cubic-bezier(.25, .7, .3, 1);
}
.service-icon svg { width: 68px; height: 68px; }

.service:hover .service-icon { color: var(--navy); transform: translateY(-6px); }

.service h3 {
    margin-top: 22px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: var(--slate-2);
}

.service p {
    margin-top: 18px;
    max-width: 205px;
    font-size: 13px;
    line-height: 2;
    color: var(--slate);
}

.services .link-tan { margin-top: 42px; }


/* =========================================================
   4. FEATURED PROJECTS
   ========================================================= */

.featured {
    background: linear-gradient(to bottom, var(--sand) 0%, #fff 100%);
    padding: 57px var(--gutter-home) 38px;
}

.featured-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.featured-heading {
    margin-top: 16px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.35;
}

.project-grid {
    margin-top: 27px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.project-card {
    display: block;
    text-align: center;
    transition: transform .4s cubic-bezier(.25, .7, .3, 1);
}
.project-card:hover { transform: translateY(-6px); }

.project-thumb {
    overflow: hidden;
    background: var(--hair);
    aspect-ratio: 193 / 140;
}
.project-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.project-card:hover .project-thumb img { transform: scale(1.045); }

.project-card h3 {
    margin-top: 25px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--slate-2);
    transition: color .25s ease;
}
.project-card:hover h3 { color: var(--navy); }

.project-card p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
    color: #8A8F96;
}


/* =========================================================
   5. COLLABORATIVE JOURNEY + TESTIMONIAL
   ========================================================= */

.collab {
    position: relative;
    background: var(--sand);
}

.collab-bg {
    width: 100%;
    height: 373px;
    object-fit: cover;
    object-position: center;
}

.collab-inner {
    position: absolute;
    inset: 0;
    padding: 0 96px 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.collab-heading {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.55;
}

.collab-copy p {
    margin-top: 20px;
    max-width: 330px;
    font-size: 13px;
    line-height: 1.95;
    color: var(--slate);
}

.collab-copy .btn-sage { margin-top: 34px; }

.testimonial {
    position: relative;
    flex: 0 0 417px;
    margin: 0;
    min-height: 250px;
    padding: 40px 37px 34px;
    background: #FCFAF8;
    box-shadow: 0 18px 44px rgba(35, 30, 24, .07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-mark {
    position: absolute;
    top: 22px; right: 30px;
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1;
    color: var(--tan-2);
}

.testimonial blockquote {
    margin: 0;
    max-width: 300px;
    font-size: 13px;
    line-height: 2;
    color: var(--slate-2);
}
.testimonial blockquote strong { font-weight: 600; color: var(--navy); }

.testimonial figcaption {
    margin-top: 26px;
    font-size: 11px;
    letter-spacing: .6px;
    color: #8A8F96;
}


/* =========================================================
   HOME — RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
    .hero-copy { padding-left: 150px; }
    .hero-heading { font-size: 48px; }
    .philosophy-copy { padding: 70px 44px 60px 74px; }
    .philosophy-heading { font-size: 34px; }
    .services-heading { font-size: 36px; }
    .collab-inner { padding: 0 56px; }
}

@media (max-width: 1199px) {
    .page-home { --gutter-home: 32px; }
    .hero-location { left: 34px; }
    .hero-copy { padding-left: 108px; }
    .hero-heading { font-size: 42px; }
    .philosophy { grid-template-columns: 30% 44% 26%; }
    .philosophy-copy { padding: 56px 34px 56px 48px; }
    .services-heading { font-size: 31px; }
    .service { padding: 0 20px; }
    .service-icon svg { width: 58px; height: 58px; }
    .featured-heading { font-size: 28px; }
    .collab-heading { font-size: 27px; }
    .testimonial { flex-basis: 350px; padding: 32px 28px; }
}

@media (max-width: 991px) {
    /* hero stacks: copy on white, photo beneath */
    .hero { display: flex; flex-direction: column-reverse; }
    .hero-bg { height: 320px; }
    .hero-inner {
        position: static;
        padding: 44px 28px 46px;
        background: #fff;
    }
    .hero-location { display: none; }
    .hero-copy { padding-left: 0; }
    .hero-heading { font-size: 38px; line-height: 1.35; }

    .philosophy { grid-template-columns: 1fr 1fr; min-height: 0; }
    .philosophy-media img { min-height: 0; height: 300px; }
    .philosophy-media--right { display: none; }
    .philosophy-copy { grid-column: 2; padding: 44px 32px; }

    .services { padding: 52px var(--gutter-home) 48px; }
    .services-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .service:nth-child(3) { border-left: 0; }
    .service p { max-width: 240px; }

    .project-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    .collab-bg { height: 620px; object-position: 70% center; }
    .collab-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 26px;
        padding: 34px 28px;
    }
    .testimonial { flex: 0 0 auto; width: 100%; max-width: 420px; min-height: 0; }
}

@media (max-width: 767px) {
    .hero-heading { font-size: 33px; }
    .hero-lede { font-size: 13px; }
    .btn-sage { width: 100%; }

    .philosophy { grid-template-columns: 1fr; }
    .philosophy-media--left img { height: 240px; }
    .philosophy-copy { grid-column: 1; padding: 38px 24px 44px; }
    .philosophy-heading { font-size: 29px; }

    .services-heading { font-size: 26px; }
    .services-grid { grid-template-columns: 1fr; row-gap: 34px; }
    .service { padding: 0; border-left: 0 !important; }

    .featured-head { flex-direction: column; align-items: flex-start; gap: 20px; }
    .featured-heading { font-size: 25px; }
    .project-grid { grid-template-columns: 1fr; gap: 26px; }

    .collab-heading { font-size: 24px; }
    .collab-bg { height: 700px; }
}

@media (max-width: 575px) {
    .page-home { --gutter-home: 18px; }
    .hero-inner { padding: 34px 18px 38px; }
    .hero-heading { font-size: 29px; }
    .collab-inner { padding: 28px 18px; }
}


/* =========================================================
   HOME — ENTRANCE & SCROLL ANIMATIONS
   ========================================================= */

@keyframes homeFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes homeFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes homeZoomSettle {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

/* hero: choreographed entrance, plays once on load */
.page-home .hero-bg              { animation: homeZoomSettle 7s cubic-bezier(.19, .69, .3, 1) both; }
.page-home .hero-location        { animation: homeFadeIn .9s ease .35s both; }
.page-home .hero-heading         { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .4s both; }
.page-home .hero-copy .rule-tan  { animation: homeFadeIn .7s ease .7s both; }
.page-home .hero-lede            { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .8s both; }
.page-home .hero-copy .btn-sage  { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) 1s both; }

/* scroll-triggered reveals — .is-visible is toggled by an IntersectionObserver */
.page-home .reveal,
.page-home .reveal-left,
.page-home .reveal-right,
.page-home .reveal-scale {
    transition: opacity .8s cubic-bezier(.19, .69, .3, 1), transform .8s cubic-bezier(.19, .69, .3, 1);
}

.page-home .reveal       { opacity: 0; transform: translateY(30px); }
.page-home .reveal-left  { opacity: 0; transform: translateX(-46px); }
.page-home .reveal-right { opacity: 0; transform: translateX(46px); }
.page-home .reveal-scale { opacity: 0; transform: translateY(18px) scale(.95); }

.page-home .reveal.is-visible,
.page-home .reveal-left.is-visible,
.page-home .reveal-right.is-visible,
.page-home .reveal-scale.is-visible {
    opacity: 1;
    transform: none;
}

/* grids: children fade up in a staggered sequence once the group scrolls into view */
.page-home .reveal-group > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.19, .69, .3, 1), transform .7s cubic-bezier(.19, .69, .3, 1);
}
.page-home .reveal-group.is-visible > * { opacity: 1; transform: none; }

.page-home .reveal-group > *:nth-child(1) { transition-delay: .05s; }
.page-home .reveal-group > *:nth-child(2) { transition-delay: .15s; }
.page-home .reveal-group > *:nth-child(3) { transition-delay: .25s; }
.page-home .reveal-group > *:nth-child(4) { transition-delay: .35s; }
.page-home .reveal-group > *:nth-child(5) { transition-delay: .45s; }
.page-home .reveal-group > *:nth-child(6) { transition-delay: .55s; }


/* =========================================================
   ABOUT PAGE (about.php)
   Reference artboard: 1440px — values sampled from the mock
   ========================================================= */

.page-about {
    --gutter-about: 56px;
    --inset:        109px;   /* text inset inside the split bands */
    background: #fff;
}

.page-about h1,
.page-about h2 { color: var(--navy); }

.page-about p { color: var(--slate); }


/* ---------- about-only shared bits ---------- */

.eyebrow-sage,
.eyebrow-tan {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    line-height: 1;
}
.eyebrow-sage { color: var(--sage-label); }
.eyebrow-tan  { color: #B49678; }

.btn-sage-deep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 30px;
    background: var(--sage-deep);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    line-height: 1;
    transition: background-color .28s ease, transform .28s cubic-bezier(.25, .7, .3, 1), box-shadow .28s ease;
    border-radius: 0;
}
.btn-sage-deep:hover { color: var(--bs-btn-active-color);
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-border-color);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(125, 141, 129, .28); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    padding: 0 30px;
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    line-height: 1;
    transition: background-color .28s ease, color .28s ease, transform .28s cubic-bezier(.25, .7, .3, 1), box-shadow .28s ease;
    border-radius: 0;
}
.btn-ghost:hover { background: #fff; color: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .18); }

.signature { width: 180px; height: auto; }
.signature--sm { width: 150px; }


/* =========================================================
   1. ABOUT HERO
   ========================================================= */

.about-hero {
    display: grid;
    grid-template-columns: 44% 56%;
    background: var(--sand-2);
    min-height: 603px;
}

.about-hero-copy {
    padding: 60px var(--inset);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-hero-copy .rule-tan { margin-top: 17px; width: 63px; }

.about-hero-heading {
    margin-top: 30px;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.22;
}

.about-hero-copy p {
    margin-top: 30px;
    max-width: 388px;
    font-size: 14px;
    line-height: 2.1;
}

.about-hero-copy .btn-sage-deep { margin-top: 38px; }

.about-hero-media { overflow: hidden; }
.about-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 603px;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   2. ABOUT LISA
   ========================================================= */

.about-bio {
    display: grid;
    grid-template-columns: 47.75% 52.25%;
    background: var(--sand-2);
    min-height: 499px;
}

.about-bio-media { overflow: hidden; }
.about-bio-media img {
    width: 100%;
    height: 100%;
    min-height: 499px;
    object-fit: cover;
}

.about-bio-copy {
    padding: 48px 70px 48px 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-bio-heading {
    margin-top: 26px;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.32;
}

.about-bio-copy p {
    margin-top: 30px;
    max-width: 445px;
    font-size: 13px;
    line-height: 2.05;
}

.about-bio-copy .signature { margin-top: 34px; }


/* =========================================================
   3. OUR PHILOSOPHY (values)
   ========================================================= */

.about-values {
    background: #fff;
    padding: 42px 70px 54px;
    text-align: center;
}

.about-values .eyebrow-center::before,
.about-values .eyebrow-center::after { width: 30px; }

.values-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.value {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.value + .value { border-left: 1px solid var(--hair); }

.value-icon { color: #BCAE97; }
.value-icon svg { width: 72px; height: 72px; }
.value-icon img { transition: transform .4s cubic-bezier(.25, .7, .3, 1); }
.value:hover .value-icon img { transform: translateY(-6px); }

.value h3 {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: var(--slate-2);
}

.value p {
    margin-top: 16px;
    max-width: 215px;
    font-size: 13px;
    line-height: 2;
}


/* =========================================================
   4. ROOTED IN LAGUNA
   ========================================================= */

.about-place {
    display: grid;
    grid-template-columns: 44.15% 55.85%;
    background: var(--sand);
    min-height: 309px;
}

.about-place-copy {
    padding: 46px var(--inset);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-place-heading {
    margin-top: 22px;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
}

.about-place-copy p {
    margin-top: 26px;
    max-width: 480px;
    font-size: 13px;
    line-height: 2.05;
}

.about-place-media { overflow: hidden; }
.about-place-media img {
    width: 100%;
    height: 100%;
    min-height: 309px;
    object-fit: cover;
}


/* =========================================================
   5. SAGE CTA BAND
   ========================================================= */

.cta-band {
    background: var(--sage-deep);
    min-height: 88px;
    padding: 20px var(--gutter-about);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.cta-band-text {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
}


/* =========================================================
   6. CONTACT
   ========================================================= */

.contact {
    position: relative;
    background: linear-gradient(90deg, #F4F1EC 0%, #F9F7F4 38%, #FCFAF8 100%);
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/contact-console-vase.webp') left center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 20%, rgba(0, 0, 0, 0) 42%);
            mask-image: linear-gradient(90deg, #000 0%, #000 20%, rgba(0, 0, 0, 0) 42%);
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: 76px var(--gutter-about) 76px 19.5%;
}

/* ---- left copy ---- */

.contact-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    max-width: 460px;
}

.contact-copy .rule-tan { margin-top: 14px; width: 56px; }

.contact-heading {
    margin: 22px 0;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.22;
}

.contact-copy p {
    margin-top: 20px;
    font-size: 13px;
    line-height: 2;
}

.contact-copy .signature { margin-top: 30px; }


/* ---- form card ---- */

.contact-card {
    width: 50%;
    background: #FCFAF9;
    border: 1px solid var(--hair);
    padding: 40px;
}

.contact-card-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
}
.contact-card .rule-tan { margin-top: 12px; width: 41px; }

.contact-form { margin-top: 28px; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field { position: relative; }
.field + .field,
.field-row + .field { margin-top: 16px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0 18px;
    border: 1px solid #E4E0D9;
    border-radius: 0;
    background: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--slate-2);
    transition: border-color .25s ease;
}

.contact-form input,
.contact-form select { height: 52px; }

.contact-form textarea {
    padding: 17px 18px;
    min-height: 145px;
    line-height: 1.8;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9AA0A6; }

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    color: var(--slate-2);
    cursor: pointer;
}
/* keep the placeholder option looking like a placeholder */
.contact-form select:has(option[value=""]:checked) { color: #9AA0A6; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--sage-deep);
    outline: none;
}

.field-chevron {
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--slate-2);
}

.btn-send {
    margin-top: 20px;
    width: 100%;
    height: 46px;
    border: 0;
    background: var(--olive);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s cubic-bezier(.25, .7, .3, 1), box-shadow .25s ease;
}
.btn-send:hover { background: #3D4A37; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(74, 89, 67, .3); }

.form-note {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    font-size: 11px;
    line-height: 1.6;
    color: #8A8F96;
}
.form-note svg { flex: 0 0 auto; }


/* =========================================================
   ABOUT — RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
    .page-about { --inset: 72px; }
    .about-hero-heading { font-size: 46px; }
    .about-bio-copy { padding: 44px 48px 44px 60px; }
    .contact-heading { font-size: 40px; }
}

@media (max-width: 1199px) {
    .page-about { --gutter-about: 32px; --inset: 44px; }
    .about-hero { grid-template-columns: 47% 53%; min-height: 0; }
    .about-hero-copy { padding: 48px var(--inset); }
    .about-hero-heading { font-size: 38px; }
    .about-hero-media img { min-height: 480px; }

    .about-bio { min-height: 0; }
    .about-bio-copy { padding: 40px 34px 40px 40px; }
    .about-bio-heading { font-size: 30px; }
    .about-bio-media img { min-height: 420px; }

    .about-values { padding: 38px 32px 46px; }
    .value { padding: 0 16px; }
    .value-icon svg { width: 60px; height: 60px; }

    .about-place-heading { font-size: 30px; }
    .cta-band-text { font-size: 25px; }

    .contact-inner { padding: 48px var(--gutter-about) 48px 26%; gap: 32px; }
    .contact-heading { font-size: 34px; }
    .contact-card { padding: 30px; }
}

@media (max-width: 991px) {
    .about-hero { grid-template-columns: 1fr; }
    .about-hero-media { order: -1; }
    .about-hero-media img { min-height: 340px; }
    .about-hero-copy { padding: 44px 28px 48px; }

    .about-bio { grid-template-columns: 1fr; }
    .about-bio-media img { min-height: 0; height: 320px; }
    .about-bio-copy { padding: 40px 28px 46px; }

    .values-grid { grid-template-columns: 1fr 1fr; row-gap: 38px; }
    .value:nth-child(3) { border-left: 0; }
    .value p { max-width: 260px; }

    .about-place { grid-template-columns: 1fr; }
    .about-place-media { order: -1; }
    .about-place-media img { min-height: 0; height: 280px; }
    .about-place-copy { padding: 40px 28px 46px; }

    .cta-band { flex-direction: column; gap: 20px; padding: 32px 28px; text-align: center; }

    /* photo moves above the copy instead of sitting behind it */
    .contact::before {
        -webkit-mask-image: none;
        mask-image: none;
        width: 100%;
        height: 260px;
        position: static;
    }
    .contact-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    .contact-copy { max-width: none; padding: 40px 28px 44px; }
    .contact-card { flex-basis: auto; margin: 0 28px 48px; }
}

@media (max-width: 767px) {
    .about-hero-heading { font-size: 32px; }
    .about-bio-heading,
    .about-place-heading { font-size: 27px; }
    .btn-sage-deep, .btn-ghost { width: 100%; }

    .values-grid { grid-template-columns: 1fr; row-gap: 34px; }
    .value { padding: 0; border-left: 0 !important; }

    .cta-band-text { font-size: 22px; }

    .contact-heading { font-size: 29px; }
    .field-row { grid-template-columns: 1fr; }
    .contact-card { padding: 26px 22px; }
}

@media (max-width: 575px) {
    .page-about { --gutter-about: 18px; --inset: 18px; }
    .about-hero-copy,
    .about-bio-copy,
    .about-place-copy { padding-left: 18px; padding-right: 18px; }
    .about-values { padding: 34px 18px 42px; }

    .about-hero-heading { font-size: 29px; }
}


/* =========================================================
   ABOUT — ENTRANCE & SCROLL ANIMATIONS
   (reuses the homeFadeUp / homeFadeIn / homeZoomSettle
   keyframes defined in the HOME page section above)
   ========================================================= */

/* hero: choreographed entrance, plays once on load */
.page-about .about-hero-media img       { animation: homeZoomSettle 7s cubic-bezier(.19, .69, .3, 1) both; }
.page-about .about-hero-copy .eyebrow-sage { animation: homeFadeIn .8s ease .3s both; }
.page-about .about-hero-copy .rule-tan  { animation: homeFadeIn .7s ease .55s both; }
.page-about .about-hero-heading         { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .4s both; }
.page-about .about-hero-copy p          { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .7s both; }
.page-about .about-hero-copy .btn-sage-deep { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .9s both; }

/* scroll-triggered reveals — .is-visible is toggled by an IntersectionObserver */
.page-about .reveal,
.page-about .reveal-left,
.page-about .reveal-right,
.page-about .reveal-scale {
    transition: opacity .8s cubic-bezier(.19, .69, .3, 1), transform .8s cubic-bezier(.19, .69, .3, 1);
}

.page-about .reveal       { opacity: 0; transform: translateY(30px); }
.page-about .reveal-left  { opacity: 0; transform: translateX(-46px); }
.page-about .reveal-right { opacity: 0; transform: translateX(46px); }
.page-about .reveal-scale { opacity: 0; transform: translateY(18px) scale(.95); }

.page-about .reveal.is-visible,
.page-about .reveal-left.is-visible,
.page-about .reveal-right.is-visible,
.page-about .reveal-scale.is-visible {
    opacity: 1;
    transform: none;
}

/* grids: children fade up in a staggered sequence once the group scrolls into view */
.page-about .reveal-group > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.19, .69, .3, 1), transform .7s cubic-bezier(.19, .69, .3, 1);
}
.page-about .reveal-group.is-visible > * { opacity: 1; transform: none; }

.page-about .reveal-group > *:nth-child(1) { transition-delay: .05s; }
.page-about .reveal-group > *:nth-child(2) { transition-delay: .15s; }
.page-about .reveal-group > *:nth-child(3) { transition-delay: .25s; }
.page-about .reveal-group > *:nth-child(4) { transition-delay: .35s; }
.page-about .reveal-group > *:nth-child(5) { transition-delay: .45s; }
.page-about .reveal-group > *:nth-child(6) { transition-delay: .55s; }


/* =========================================================
   PORTFOLIO LISTING PAGE (portfolio-listing.php)
   Reference artboard: 1440px — values sampled from the mock
   ========================================================= */

.page-portfolio {
    --gutter-portfolio: 56px;
    background: #fff;
}
.page-portfolio h1,
.page-portfolio h2 { color: var(--navy); }


/* ---------- 1. HERO ---------- */

.portfolio-hero {
    display: grid;
    grid-template-columns: 40% 60%;
    background: var(--sand-2);
    min-height: 560px;
    overflow: hidden;
}

.portfolio-hero-copy {
    padding: 56px var(--gutter-portfolio);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.portfolio-hero-heading {
    margin-top: 24px;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.22;
}

.portfolio-hero-copy p {
    margin-top: 26px;
    max-width: 400px;
    font-size: 13px;
    line-height: 2.05;
    color: var(--slate);
}

.portfolio-hero-copy .btn-sage { margin-top: 32px; }

.portfolio-hero-media { overflow: hidden; }
.portfolio-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
}


/* ---------- 2. FILTER BAR ---------- */

.portfolio-filters {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    padding: 0 var(--gutter-portfolio);
    border-bottom: 1px solid var(--hair);
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 38px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    position: relative;
    flex: 0 0 auto;
    padding: 22px 0 20px;
    border: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--slate);
    white-space: nowrap;
    cursor: pointer;
    transition: color .25s ease;
}
.filter-tab::after {
    content: "";
    position: absolute;
    left: 0; bottom: 14px;
    width: 100%; height: 1px;
    background: var(--tan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}
.filter-tab:hover { color: var(--navy); }
.filter-tab.is-active { color: var(--navy); }
.filter-tab.is-active::after { transform: scaleX(1); }

.filter-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--slate);
    cursor: pointer;
    transition: color .25s ease;
}
.filter-toggle:hover { color: var(--navy); }
.filter-toggle svg { width: 15px; height: 15px; }


/* ---------- 3. PROJECT GRID ---------- */

.portfolio-projects {
    padding: 48px var(--gutter-portfolio) 48px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 24px;
}

.portfolio-card {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .26s ease, transform .26s ease;
}
.portfolio-card.is-out {
    opacity: 0;
    transform: translateY(10px) scale(.98);
    pointer-events: none;
}
.portfolio-card[hidden] { display: none; }

.portfolio-thumb {
    overflow: hidden;
    background: var(--hair);
    aspect-ratio: 4 / 3.05;
}
.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card-body { padding: 20px;border: 1px solid #f0f0f0;
    background: #f7f5f273; }

.portfolio-card h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--navy);
}

.portfolio-card-meta {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--slate);
}
.portfolio-card-meta .dot {
    margin: 0px 10px;
    font-size: 45px;
    line-height: 0;
    vertical-align: -7px;
    color: #d6cc9b;
}

.portfolio-link-arrow {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--tan);
}
.portfolio-link-arrow svg { transition: transform .25s ease; }
.portfolio-card:hover .portfolio-link-arrow svg { transform: translateX(4px); }

.portfolio-more {
    margin-top: 44px;
    display: flex;
    justify-content: center;
}
.portfolio-more .btn-outline { min-width: 220px; justify-content: center; }

.portfolio-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: var(--slate);
}


/* ---------- 4. CTA BAND ---------- */

.portfolio-cta {
    position: relative;
    overflow: hidden;
    background: url('../img/cta-collaborative-p.webp') left center / cover no-repeat;
}


.portfolio-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 46px var(--gutter-portfolio) 46px 50%;
}

.portfolio-cta-heading {
    max-width: 420px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
}

.portfolio-cta-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
}
.portfolio-cta-side p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--slate);
}
.portfolio-cta-side .btn-sage { margin-top: 22px; }


/* =========================================================
   PORTFOLIO LISTING — RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
    .page-portfolio { --gutter-portfolio: 44px; }
    .portfolio-hero-heading { font-size: 40px; }
    .portfolio-cta-inner { padding-left: 28%; }
    .portfolio-cta-heading { font-size: 28px; }
}

@media (max-width: 1199px) {
    .page-portfolio { --gutter-portfolio: 32px; }
    .portfolio-hero-heading { font-size: 36px; }
    .portfolio-grid { gap: 28px 20px; }
    .portfolio-cta-inner { padding-left: 25%; gap: 28px; }
}

@media (max-width: 991px) {
    .portfolio-hero { grid-template-columns: 1fr; min-height: 0; }
    .portfolio-hero-media { order: -1; }
    .portfolio-hero-media img { min-height: 340px; }
    .portfolio-hero-copy { padding: 44px 28px 48px; }

    .filter-tabs { gap: 28px; }

    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }

    .portfolio-cta::before {
        -webkit-mask-image: none;
        mask-image: none;
        width: 100%;
        height: 220px;
        position: static;
    }
    .portfolio-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }
    .portfolio-cta-heading,
    .portfolio-cta-side { padding: 0 28px; max-width: none; }
    .portfolio-cta-heading { padding-top: 36px; font-size: 26px; }
    .portfolio-cta-side { padding-bottom: 40px; }
}

@media (max-width: 767px) {
    .portfolio-hero-heading { font-size: 30px; }
    .portfolio-filters { padding: 0 20px; }
    .filter-toggle span { display: none; }
    .portfolio-projects { padding: 36px 20px 12px; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
    .portfolio-more .btn-outline { width: 100%; }
}

@media (max-width: 575px) {
    .page-portfolio { --gutter-portfolio: 18px; }
    .portfolio-hero-copy { padding: 38px 18px 42px; }
}


/* =========================================================
   PORTFOLIO — HERO ENTRANCE ANIMATION
   (top area only — the "Our Portfolio" copy and the hero
   photo; reuses the homeFadeUp / homeFadeIn / homeZoomSettle
   keyframes defined in the HOME page section above)
   ========================================================= */

.page-portfolio .portfolio-hero-media img { animation: homeZoomSettle 7s cubic-bezier(.19, .69, .3, 1) both; }
.page-portfolio .portfolio-hero-copy .eyebrow { animation: homeFadeIn .8s ease .3s both; }
.page-portfolio .portfolio-hero-heading        { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .4s both; }
.page-portfolio .portfolio-hero-copy p         { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .7s both; }
.page-portfolio .portfolio-hero-copy .btn-sage { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .9s both; }


/* =========================================================
   PORTFOLIO — SCROLL ANIMATIONS BELOW THE HERO
   (filter bar + CTA reuse the simple fade-up "reveal" utility;
   project cards get their own distinct treatment — each photo
   unveils via an animated clip-path "wipe" rather than a plain
   fade, staggered across the grid's 3 columns)
   ========================================================= */

.page-portfolio .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.19, .69, .3, 1), transform .7s cubic-bezier(.19, .69, .3, 1);
}
.page-portfolio .reveal.is-visible { opacity: 1; transform: none; }

/* per-card stagger offset, read by the thumb + body transitions below */
.portfolio-card { --card-delay: 0s; }
.portfolio-grid .portfolio-card:nth-child(3n+2) { --card-delay: .12s; }
.portfolio-grid .portfolio-card:nth-child(3n+3) { --card-delay: .24s; }

.portfolio-thumb img {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.08);
    transition:
        clip-path 1.6s cubic-bezier(.22, .61, .36, 1) var(--card-delay),
        transform 1.6s cubic-bezier(.22, .61, .36, 1) var(--card-delay);
}
.portfolio-card.is-revealed .portfolio-thumb img {
    clip-path: inset(0 0 0% 0);
    transform: scale(1);
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.045); }

.portfolio-card-body {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity .6s cubic-bezier(.22, .61, .36, 1) calc(var(--card-delay) + .18s),
        transform .6s cubic-bezier(.22, .61, .36, 1) calc(var(--card-delay) + .18s);
}
.portfolio-card.is-revealed .portfolio-card-body {
    opacity: 1;
    transform: translateY(0);
}



/* =========================================================
   CONTACT PAGE (contact.php)
   Reference artboard: 1440px
   ========================================================= */

.page-contact {
    --gutter-contact: 56px;
    --inset-contact:  109px;
    background: #fff;
}
.page-contact h1,
.page-contact h2 { color: var(--navy); }
.page-contact p  { color: var(--slate); }


/* ---------- 1. HERO ---------- */

.contact-hero {
    display: grid;
    grid-template-columns: 44% 56%;
    background: var(--sand-2);
    min-height: 520px;
}

.contact-hero-copy {
    padding: 56px var(--inset-contact);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contact-hero-copy .rule-tan { margin-top: 17px; width: 63px; }

.contact-hero-heading {
    margin-top: 28px;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.24;
}

.contact-hero-copy p {
    margin-top: 26px;
    max-width: 380px;
    font-size: 13px;
    line-height: 2.05;
}

.contact-hero-copy .btn { margin-top: 34px; }

.contact-hero-media { overflow: hidden; }
.contact-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
}


/* ---------- 2. INFO + FORM ---------- */

.contact-main {
    padding: 76px var(--gutter-contact) 84px;
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 70px;
    background: #fff;
}

.contact-info { max-width: 420px; }
.contact-info .rule-tan { margin-top: 14px; width: 56px; }
.contact-info .contact-heading { margin: 22px 0 0; }
.contact-info p { margin-top: 20px; font-size: 13px; line-height: 2; }

.info-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--hair);
}
.info-row:first-child { border-top: 0; padding-top: 0; }

.info-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hair);
    border-radius: 50%;
    color: #BCAE97;
}
.info-icon svg { width: 17px; height: 17px; }

.info-text { display: flex; flex-direction: column; gap: 5px; padding-top: 3px; }

.info-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--grey-label);
}

.info-value {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--navy);
    line-height: 1.6;
}
.info-value a { transition: color .25s ease; }
.info-value a:hover { color: var(--tan); }

.contact-social {
    margin-top: 36px;
    display: flex;
    gap: 14px;
}
.contact-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hair);
    border-radius: 50%;
    color: var(--slate-2);
    transition: color .25s ease, border-color .25s ease;
}
.contact-social a:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

/* form card sits inside a grid column here, not a flex row — fill it */
.contact-main .contact-card { width: 100%; }


/* ---------- 3. HOW IT WORKS ---------- */

.process {
    padding: 64px var(--gutter-contact) 76px;
    background: var(--sand);
    text-align: center;
}

.process-heading {
    margin-top: 16px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.3;
}

.process-grid {
    position: relative;
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-line {
    position: absolute;
    top: 28px;
    left: 16.6667%;
    right: 16.6667%;
    height: 1px;
    background: var(--tan-2);
    z-index: 0;
}

.process-step { position: relative; padding: 0 20px; }

.process-number {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--sand);
    border: 1px solid var(--tan-2);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--navy);
}

.process-step h3 {
    margin-top: 22px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    color: var(--navy);
}

.process-step p {
    margin: 12px auto 0;
    max-width: 250px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--slate);
}



.about-hero-copy {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.about-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.about-hero-copy > * {
    position: relative;
    z-index: 1;
}
.portfolio-hero-copy {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.portfolio-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.portfolio-hero-copy > * {
    position: relative;
    z-index: 1;
}
.contact-hero-copy {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.contact-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.contact-hero-copy > * {
    position: relative;
    z-index: 1;
}
.hero-content {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.hero-content::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.hero-content > * {
    position: relative;
    z-index: 1;
}
/* =========================================================
   CONTACT — RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
    .page-contact { --gutter-contact: 44px; --inset-contact: 72px; }
    .contact-hero-heading { font-size: 40px; }
}

@media (max-width: 1199px) {
    .page-contact { --gutter-contact: 32px; --inset-contact: 44px; }
    .contact-hero { grid-template-columns: 47% 53%; min-height: 0; }
    .contact-hero-media img { min-height: 460px; }
    .contact-main { grid-template-columns: 40% 1fr; gap: 44px; }
    .process-heading { font-size: 29px; }
}

@media (max-width: 991px) {
    .contact-hero { grid-template-columns: 1fr; }
    .contact-hero-media { order: -1; }
    .contact-hero-media img { min-height: 340px; }
    .contact-hero-copy { padding: 44px 28px 48px; }

    .contact-main { grid-template-columns: 1fr; gap: 48px; padding: 56px 28px 64px; }
    .contact-info { max-width: none; }

    .process { padding: 48px 28px 54px; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-line { display: none; }
}

@media (max-width: 767px) {
    .contact-hero-heading { font-size: 32px; }
    .contact-main .contact-card { padding: 28px 24px; }
    .field-row { grid-template-columns: 1fr; }
    .process-heading { font-size: 26px; }
}

@media (max-width: 575px) {
    .page-contact { --gutter-contact: 18px; --inset-contact: 18px; }
    .contact-hero-copy { padding: 38px 18px 42px; }
    .contact-main { padding: 44px 18px 52px; }
    .process { padding: 40px 18px 46px; }
}
/* =========================================
   PORTFOLIO FILTER - DESKTOP
========================================= */

.portfolio-filters {
    position: relative;
}

/* Desktop shows categories */
.portfolio-filters .filter-tabs {
    display: flex;
}

/* Desktop does NOT show Filter toggle */
.portfolio-filters .filter-toggle {
    display: none;
}


/* =========================================
   PORTFOLIO FILTER - MOBILE
========================================= */

@media (max-width: 767px) {

    .portfolio-filters {
        position: relative;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        padding-left: 20px;
        padding-right: 20px;
    }


    /* Hide categories initially */
    .portfolio-filters .filter-tabs {
        display: none;

        position: absolute;

        top: calc(100% + 8px);
        left: 20px;
        right: 20px;

        z-index: 100;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 20px;

        background: #fff;

        border: 1px solid var(--hair);

        box-shadow:
            0 14px 35px rgba(16, 32, 58, 0.10);
    }


    /* Show panel when opened */
    .portfolio-filters.filters-open .filter-tabs {
        display: flex;
    }


    /* Filter button on right */
    .portfolio-filters .filter-toggle {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        gap: 9px;

        margin-left: auto;

        border: 0;

        background: transparent;

        padding: 12px 0;

        cursor: pointer;

        font-size: 11px;
        font-weight: 600;

        letter-spacing: 1.5px;

        text-transform: uppercase;
    }


    .portfolio-filters .filter-toggle svg {
        width: 20px;
        height: 20px;
    }


    /* Mobile filter items */
    .portfolio-filters .filter-tab {

        display: block;

        width: 100%;

        padding: 14px 0;

        border: 0;
        border-bottom: 1px solid var(--hair);

        background: transparent;

        text-align: left;

        cursor: pointer;
    }


    .portfolio-filters .filter-tab:last-child {
        border-bottom: 0;
    }


    /* selected item */
    .portfolio-filters .filter-tab.is-active {
        font-weight: 600;
    }

}

.signup-success {
    display: none;
    align-items: center;
    gap: 8px;

    margin-top: 12px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: .3px;
    line-height: 1.5;

    color: var(--sage-deep);
}

.signup-success span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border: 1px solid var(--sage-deep);
    border-radius: 50%;

    font-size: 10px;
}

.signup-success.show {
    display: flex;
}

.signup-form button:disabled {
    opacity: .8;
    cursor: default;
}

.contact-success {
    display: none;
    align-items: flex-start;
    gap: 12px;

    margin-top: 18px;
    padding: 16px 18px;

    border: 1px solid rgba(151, 171, 161, .4);
    background: rgba(151, 171, 161, .08);

    color: var(--slate);
}

.contact-success.show {
    display: flex;
}

.contact-success-icon {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border: 1px solid var(--sage-deep);
    border-radius: 50%;

    color: var(--sage-deep);
    font-size: 12px;
    font-weight: 600;
}

.contact-success strong {
    display: block;

    margin-bottom: 3px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;

    color: var(--navy);
}

.contact-success p {
    margin: 0;

    font-size: 11px;
    line-height: 1.6;

    color: var(--slate);
}

.contact-form input.field-error,
.contact-form textarea.field-error {
    border-color: #b66b62 !important;
}

.btn-send:disabled {
    opacity: .75;
    cursor: default;
}
.contact-success {
    display: none;
    align-items: flex-start;
    gap: 12px;

    margin-top: 16px;
    padding: 15px 17px;

    background: rgba(151, 171, 161, 0.08);
    border: 1px solid rgba(151, 171, 161, 0.35);
}

.contact-success.show {
    display: flex;
}

.contact-success-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border: 1px solid var(--sage-deep);
    border-radius: 50%;

    color: var(--sage-deep);
    font-size: 11px;
    font-weight: 600;
}

.contact-success strong {
    display: block;

    margin-bottom: 3px;

    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
}

.contact-success p {
    margin: 0;

    color: var(--slate);
    font-size: 11px;
    line-height: 1.6;
}

.contact-form input.field-error,
.contact-form textarea.field-error {
    border-color: #b9685f !important;
}

.btn-send:disabled {
    opacity: 0.75;
    cursor: default;
}
.field-row .field {
    margin-top: 0 !important;
}


/* =========================================================
   CONTACT — ANIMATIONS (CSS only, no JS)

   1. Hero — plays once on load, same as the other pages'
      heroes. Reuses the homeFadeUp / homeFadeIn / homeZoomSettle
      keyframes already defined in the HOME page section.

   2. Everything below the hero — revealed as it scrolls into
      view using native CSS scroll-driven animations
      (animation-timeline: view()). No IntersectionObserver, no
      script tag. Browsers that don't yet support it simply skip
      the whole @supports block, so that content just displays
      normally with no reveal effect — it's never stuck hidden.
   ========================================================= */

.contact-hero-media img     { animation: homeZoomSettle 7s cubic-bezier(.19, .69, .3, 1) both; }
.contact-hero-copy .eyebrow { animation: homeFadeIn .8s ease .3s both; }
.contact-hero-heading       { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .4s both; }
.contact-hero-copy p        { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .7s both; }
.contact-hero-copy .btn     { animation: homeFadeUp .9s cubic-bezier(.19, .69, .3, 1) .9s both; }

@supports (animation-timeline: view()) {

    .contact-info,
    .contact-card,
    .info-row,
    .process > .eyebrow-center,
    .process-heading,
    .process-step {
        animation: homeFadeUp .8s cubic-bezier(.19, .69, .3, 1) both;
        animation-timeline: view();
        animation-range: entry 0% cover 35%;
    }

    /* info rows sit at different scroll positions already, so they
       stagger naturally — the process steps sit side by side at the
       same scroll position, so they need an explicit stagger */
    .process-step:nth-child(3) { animation-delay: .12s; }
    .process-step:nth-child(4) { animation-delay: .24s; }
}
/* =========================================
   ABOUT PAGE CONTACT - MOBILE FIX
========================================= */

@media (max-width: 991px) {

    .page-about .contact-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    .page-about .contact-copy {
        width: 100%;
        max-width: none;
        padding: 40px 28px 44px;
    }

    .page-about .contact-card {
        width: calc(100% - 56px);
        max-width: none;
        flex-basis: auto;

        margin: 0 28px 48px;
        padding: 30px;
    }
}


@media (max-width: 767px) {

    .page-about .contact-card {
        width: calc(100% - 40px);
        margin: 0 20px 40px;
        padding: 28px 22px;
    }

    .page-about .field-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /*
       Prevent extra margin on Email.
       field-row already provides the gap.
    */
    .page-about .field-row .field {
        margin-top: 0 !important;
    }

    .page-about .contact-form input,
    .page-about .contact-form select {
        width: 100%;
        height: 52px;
    }

    .page-about .contact-form textarea {
        width: 100%;
        min-height: 160px;
    }

    .page-about .btn-send {
        width: 100%;
    }

    .page-about .form-note {
        width: 100%;
    }
}


@media (max-width: 575px) {

    .page-about .contact-copy {
        padding: 36px 18px 38px;
    }

    .page-about .contact-card {
        width: calc(100% - 36px);
        margin: 0 18px 36px;
        padding: 26px 20px;
    }

}
/* =========================================
   CONTACT PAGE - MOBILE FORM FIX
========================================= */

@media (max-width: 991px) {

    .page-contact .contact-card {
        width: 100%;
        max-width: none;
        margin: 0;
        flex-basis: auto;
    }
}

@media (max-width: 767px) {
    .logo img {
    height: 85px;
    width: auto;
}
    .footer-logo img {
        width: 100%;
    }
    .page-contact .contact-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-contact .contact-card {
        width: 100%;
        margin: 0;
        padding: 28px 24px;
    }

    .page-contact .field-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-contact .field-row .field {
        margin-top: 0 !important;
    }

    .page-contact .contact-form input,
    .page-contact .contact-form select,
    .page-contact .contact-form textarea {
        width: 100%;
    }

    .page-contact .btn-send {
        width: 100%;
    }
}

@media (max-width: 575px) {

    .page-contact .contact-main {
        padding: 44px 18px 52px;
    }

    .page-contact .contact-card {
        width: 100%;
        margin: 0;
        padding: 26px 20px;
    }
}
/* =========================================
   HOME HERO - MOBILE IMPROVEMENT
========================================= */

@media (max-width: 767px) {

    /* Image first, content second */
    .page-home .hero {
        display: flex;
        flex-direction: column;
        background: #fff;
    }

    .page-home .hero-bg {
        width: 100%;
        height: 300px;
        min-height: 0;

        object-fit: cover;
        object-position: 62% center;
    }

    .page-home .hero-inner {
        position: static;

        width: 100%;
        padding: 38px 20px 42px;

        background: #fff;
    }

    .page-home .hero-copy {
        width: 100%;
        padding-left: 0;
    }

    .page-home .hero-location {
        display: none;
    }

    .page-home .hero-heading {
        max-width: 340px;

        font-size: 34px;
        line-height: 1.18;
        letter-spacing: -0.3px;
    }

    .page-home .hero-copy .rule-tan {
        width: 78px;
        margin-top: 22px;
    }

    .page-home .hero-lede {
        max-width: 100%;
        margin-top: 24px;

        font-size: 13px;
        line-height: 1.9;
    }

    .page-home .hero-copy .btn-sage {
        width: 100%;
        margin-top: 28px;
    }
}


@media (max-width: 420px) {

    .page-home .hero-bg {
        height: 270px;
    }

    .page-home .hero-inner {
        padding: 34px 18px 38px;
    }

    .page-home .hero-heading {
        font-size: 31px;
    }
}

.services {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.services > * {
    position: relative;
    z-index: 1;
}
/* =========================================================
   HOME COLLAB — ULTRA MODERN MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .page-home .collab {
        position: relative;
        background: #f5f2ed;
        padding: 0 18px 42px;
        overflow: visible;
    }

    /* Hero image becomes a clean editorial visual */
    .page-home .collab-bg {
        width: calc(100% + 36px);

        height: 330px;

        object-fit: cover;
        object-position: center;

        display: block;
    }


    /* Main content no longer fills entire image */
    .page-home .collab-inner {
        position: relative;
        inset: auto;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 18px;

        padding: 0;

        margin-top: -82px;
    }


    /* FLOATING EDITORIAL CARD */
    .page-home .collab-copy {
        position: relative;
        z-index: 3;

        width: calc(100% - 18px);
        margin: 0 auto;

        padding: 30px 26px 26px;

        background:
            rgba(250, 248, 244, 0.94);

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        border: 1px solid rgba(255,255,255,.65);

        box-shadow:
            0 18px 45px rgba(27, 31, 28, .10);
    }


    /* Small modern accent */
    .page-home .collab-copy::before {
        content: "";
        display: block;

        width: 42px;
        height: 2px;

        margin-bottom: 20px;

        background: var(--tan-2);
    }


    .page-home .collab-heading {
        margin: 0;

        font-size: 27px;
        line-height: 1.23;
        letter-spacing: -0.3px;

        color: var(--navy);
    }


    .page-home .collab-copy p {
        margin-top: 16px;

        max-width: none;

        font-size: 12.5px;
        line-height: 1.85;

        color: var(--slate);
    }


    /* Modern CTA */
    .page-home .collab-copy .btn-sage {
        width: auto;

        margin-top: 24px;

        padding: 0 26px;

        align-self: flex-start;

        box-shadow:
            0 10px 24px rgba(90, 110, 100, .16);
    }


    /* TESTIMONIAL */
    .page-home .testimonial {
        position: relative;

        width: calc(100% - 18px);
        max-width: none;

        margin: 0 auto;

        min-height: 0;

        padding: 26px 26px 24px 34px;

        background: #fff;

        border: 0;

        box-shadow:
            0 10px 30px rgba(27, 31, 28, .06);
    }


    /* Modern vertical accent instead of normal card */
    .page-home .testimonial::before {
        content: "";

        position: absolute;
        left: 0;
        top: 24px;
        bottom: 24px;

        width: 3px;

        background: var(--sage-deep);
    }


    .page-home .testimonial-mark {
        top: 14px;
        right: 18px;

        font-size: 42px;

        color: rgba(192, 161, 124, .45);
    }


    .page-home .testimonial blockquote {
        max-width: none;

        font-size: 12.5px;
        line-height: 1.9;

        color: var(--slate-2);
    }


    .page-home .testimonial figcaption {
        margin-top: 18px;

        font-size: 10px;

        letter-spacing: 1.2px;
        text-transform: uppercase;

        color: var(--grey-label);
    }
    .about-values {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.about-values::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.about-values > * {
    position: relative;
    z-index: 1;
}
    .process {
    position: relative;
    background-color: #f8f6f2;
    overflow: hidden;
}

.process::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/bg2.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;

    opacity: 0.15; /* make pattern lighter */
    pointer-events: none;
}

.process > * {
    position: relative;
    z-index: 1;
}
}
/* =========================================================
   PORTFOLIO CTA - MODERN MOBILE
========================================================= */

@media (max-width: 767px) {

    .page-portfolio .portfolio-cta {
        position: relative;
        overflow: hidden;

        background: #f6f3ef;

        padding-bottom: 38px;

        pointer-events: auto;
    }


    /* dedicated image area */
    .page-portfolio .portfolio-cta::before {
        content: "";

        display: block;

        width: 100%;
        height: 235px;

        background:
            linear-gradient(
                180deg,
                rgba(20, 28, 30, 0.04),
                rgba(20, 28, 30, 0.20)
            ),
            url('../img/cta-collaborative-p.webp');



        position: static;

        -webkit-mask-image: none;
        mask-image: none;
    }


    /* floating content card */
    .page-portfolio .portfolio-cta-inner {
        position: relative;
        z-index: 2;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 18px;

        margin: -52px 18px 0;

        padding: 28px 24px 26px;

        background: rgba(255, 255, 255, 0.96);

        border: 1px solid rgba(220, 214, 205, 0.75);

        box-shadow:
            0 18px 45px rgba(35, 31, 26, 0.10);
    }


    /* small luxury accent */
    .page-portfolio .portfolio-cta-inner::before {
        content: "";

        width: 42px;
        height: 2px;

        background: var(--tan-2);

        margin-bottom: 2px;
    }


    .page-portfolio .portfolio-cta-heading {
        padding: 0;

        max-width: none;

        font-size: 28px;
        line-height: 1.22;

        color: var(--navy);
    }


    .page-portfolio .portfolio-cta-side {
        max-width: none;

        padding: 0;
    }


    .page-portfolio .portfolio-cta-side p {
        font-size: 13px;
        line-height: 1.85;

        color: var(--slate);
    }


    .page-portfolio .portfolio-cta-side .btn-sage {
        position: relative;
        z-index: 5;

        width: 100%;

        margin-top: 22px;

        pointer-events: auto;
    }
}


@media (max-width: 420px) {

    .page-portfolio .portfolio-cta::before {
        height: 215px;
    }

    .page-portfolio .portfolio-cta-inner {
        margin: -44px 14px 0;
        padding: 25px 21px 23px;
    }

    .page-portfolio .portfolio-cta-heading {
        font-size: 25px;
    }

}
/* =========================================================
   BEFORE / AFTER — PREMIUM MOBILE COMPARISON
========================================================= */

@media (max-width: 767px) {

    .before-after {
        padding: 28px 16px 12px;
    }

    /* subtle instruction */
    .before-after::before {
        content: "DRAG TO COMPARE";
        display: block;

        margin-bottom: 12px;

        font-family: var(--font-body);
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;

        color: var(--grey-label);
    }


    .ba-inner {
        --ba-split: 50%;

        position: relative;

        display: block;

        width: 100%;
        height: clamp(310px, 92vw, 430px);

        overflow: hidden;

        border-radius: 18px;

        background: #eee;

        box-shadow:
            0 18px 45px rgba(25, 28, 27, .12);

        /*
         * Allow normal vertical scrolling,
         * but JS handles horizontal comparison.
         */
        touch-action: pan-y;

        user-select: none;
        -webkit-user-select: none;

        cursor: ew-resize;
    }


    /* both images occupy exactly the same space */
    .ba-pane {
        position: absolute !important;
        inset: 0;

        width: 100%;
        height: 100% !important;

        margin: 0;

        flex: none !important;

        transition: none !important;
    }


    .ba-before {
        z-index: 1;
    }


    /* AFTER image sits over BEFORE */
    .ba-after {
        z-index: 2;

        clip-path:
            inset(0 0 0 var(--ba-split));

        -webkit-clip-path:
            inset(0 0 0 var(--ba-split));
    }


    .ba-pane img {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* BEFORE / AFTER badges */
    .ba-tag {
        top: 14px;

        z-index: 6;

        padding: 9px 14px;

        border-radius: 30px;

        background: rgba(25, 30, 29, .78);

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        font-size: 8px;
        letter-spacing: 1.7px;

        box-shadow:
            0 5px 15px rgba(0,0,0,.12);
    }

    .ba-before .ba-tag {
        left: 14px;
    }

    .ba-after .ba-tag {
        left: auto;
        right: 14px;
    }


    /* vertical comparison line */
    .ba-inner::after {
        content: "";

        position: absolute;

        top: 0;
        bottom: 0;
        left: var(--ba-split);

        z-index: 4;

        width: 2px;

        transform: translateX(-1px);

        background: rgba(255,255,255,.92);

        box-shadow:
            0 0 12px rgba(0,0,0,.18);

        pointer-events: none;
    }


    /* centre glass controller */
    .ba-handle {
        position: absolute;

        display: flex !important;

        top: 50%;
        left: var(--ba-split) !important;

        transform: translate(-50%, -50%);

        width: 58px;
        height: 58px;

        z-index: 7;

        border-radius: 50%;

        background: rgba(255,255,255,.92);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        border: 1px solid rgba(255,255,255,.8);

        box-shadow:
            0 10px 30px rgba(0,0,0,.20);

        transition:
            box-shadow .25s ease,
            transform .25s ease;
    }


    .ba-arrow {
        width: 29px;
        height: 58px;

        display: grid;
        place-items: center;

        padding: 0;

        color: #323733;
    }


    .ba-arrow svg {
        width: 13px;
        height: 13px;
    }


    /* divider inside circular control */
    .ba-handle::after {
        content: "";

        position: absolute;

        top: 14px;
        bottom: 14px;
        left: 50%;

        width: 1px;

        background: rgba(30,30,30,.12);
    }


    .ba-handle:active {
        transform:
            translate(-50%, -50%)
            scale(.94);
    }

}

/* =========================================================
   REFINED FOOTER — no logo / no newsletter
   ========================================================= */
.site-footer .footer-inner--refined {
    padding: 54px 56px 48px;
    display: grid;
    grid-template-columns: 1.35fr .8fr 1.15fr auto;
    gap: 58px;
    align-items: start;
}

.footer-intro .footer-kicker,
.footer-heading {
    display: block;
    margin-bottom: 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--sage-label);
}

.footer-intro h2 {
    font-family: var(--font-display);
    font-size: 29px;
    line-height: 1.28;
    color: var(--navy);
}

.footer-intro p {
    margin-top: 18px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--slate);
}

.site-footer .footer-nav {
    display: block;
    padding-left: 42px;
    border-left: 1px solid var(--hair);
}

.site-footer .footer-nav li + li { margin-top: 9px; }

.footer-cta {
    padding-left: 42px;
    border-left: 1px solid var(--hair);
}

.footer-cta h3 {
    max-width: 290px;
    font-family: var(--font-display);
    font-size: 27px;
    line-height: 1.3;
    color: var(--navy);
}

.footer-project-link {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    margin-top: 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--tan-2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--slate-2);
    transition: color .25s ease, gap .25s ease;
}
.footer-project-link:hover { color: var(--navy); gap: 34px; }

.footer-social-wrap {
    padding-left: 42px;
    border-left: 1px solid var(--hair);
}

.site-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 0;
    border-left: 0;
}

.site-footer .footer-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hair);
    color: var(--slate-2);
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.site-footer .footer-social a:hover {
    color: var(--sage-deep);
    border-color: var(--sage-deep);
    transform: translateY(-2px);
}

.footer-bottom { border-top: 1px solid var(--hair); }
.footer-separator { margin: 0 10px; color: var(--hair); }

@media (max-width: 1199px) {
    .site-footer .footer-inner--refined {
        padding: 44px 32px;
        grid-template-columns: 1.2fr .7fr 1fr auto;
        gap: 32px;
    }
    .site-footer .footer-nav,
    .footer-cta,
    .footer-social-wrap { padding-left: 28px; }
}

@media (max-width: 991px) {
    .site-footer .footer-inner--refined {
        grid-template-columns: 1fr 1fr;
        gap: 38px 44px;
    }
    .site-footer .footer-nav,
    .footer-cta,
    .footer-social-wrap {
        padding-left: 0;
        border-left: 0;
    }
    .footer-cta { padding-top: 4px; }
}

@media (max-width: 767px) {
    .site-footer .footer-inner--refined {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px 34px;
    }
    .footer-intro, .site-footer .footer-nav, .footer-cta, .footer-social-wrap {
        padding-bottom: 28px;
        border-bottom: 1px solid var(--hair);
    }
    .footer-social-wrap { padding-bottom: 0; border-bottom: 0; }
    .footer-intro h2 { font-size: 27px; }
    .footer-cta h3 { font-size: 25px; }
}


/* =========================================================
   FOOTER FINAL TOUCHES
   - keep existing footer layout
   - full-height Social divider
   - refined Meta icon
   - Privacy / Terms modal
   ========================================================= */

/* Make the Social divider run the same height as the other footer dividers */
.site-footer .footer-social-wrap {
    align-self: stretch;
}

/* Keep the corrected Meta mark crisp and centered */
.site-footer .footer-social a svg {
    display: block;
    width: 30px;
    height: 22px;
    overflow: visible;
}

/* Legal links remain visually identical to the original text links */
.footer-legal-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    cursor: pointer;
    transition: color .25s ease;
}

.footer-legal-trigger:hover {
    color: var(--tan-2);
}


/* ---------- Legal modal ---------- */

body.legal-modal-open {
    overflow: hidden;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.legal-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 32, 58, .32);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.legal-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(660px, 100%);
    max-height: min(78vh, 720px);
    overflow-y: auto;
    padding: 48px 52px 50px;
    border: 1px solid var(--hair);
    background: #FCFAF7;
    box-shadow: 0 28px 75px rgba(27, 34, 44, .16);
    outline: none;
    transform: translateY(14px) scale(.99);
    transition: transform .3s cubic-bezier(.2, .75, .3, 1);
}

.legal-modal.is-open .legal-modal-dialog {
    transform: translateY(0) scale(1);
}

.legal-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--hair);
    background: transparent;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}

.legal-modal-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1px;
    background: var(--slate-2);
}

.legal-modal-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.legal-modal-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.legal-modal-close:hover {
    border-color: var(--tan-2);
    background: #fff;
}

.legal-modal-kicker {
    display: block;
    padding-right: 58px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--sage-label);
}

.legal-modal-dialog h2 {
    margin-top: 14px;
    padding-right: 58px;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
}

.legal-modal-rule {
    display: block;
    width: 52px;
    height: 1px;
    margin: 20px 0 26px;
    background: var(--tan-2);
}

.legal-modal-content {
    color: var(--slate);
}

.legal-modal-content .legal-modal-lead {
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--slate-2);
}

.legal-modal-content h3 {
    margin: 24px 0 8px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--navy);
}

.legal-modal-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.95;
    color: var(--slate);
}

@media (max-width: 767px) {
    .legal-modal {
        padding: 16px;
    }

    .legal-modal-dialog {
        max-height: 82vh;
        padding: 38px 26px 34px;
    }

    .legal-modal-dialog h2 {
        font-size: 32px;
    }

    .legal-modal-close {
        top: 15px;
        right: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-modal,
    .legal-modal-dialog {
        transition: none !important;
    }
}
.hero-heading,
.philosophy-heading,
.services-heading,
.featured-heading,
.collab-heading,
.about-hero-heading,
.about-bio-heading,
.about-place-heading,
.cta-band-text,
.contact-heading,
.portfolio-hero-heading,
.portfolio-cta-heading,
.contact-hero-heading,
.process-heading,
.story-title,
.hero-title,
.footer-intro h2,
.footer-cta h3,
.legal-modal-dialog h2 {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 300;
}

/* =========================================================
   PORTFOLIO CTA — FULL BACKGROUND IMAGE DESKTOP FIX
   The supplied CTA artwork is the background for the WHOLE band.
   Heading + copy/button sit transparently over the pale right side.
   ========================================================= */
@media (min-width: 992px) {
    .page-portfolio .portfolio-cta {
        position: relative;
        overflow: hidden;
        min-height: clamp(180px, 11.9vw, 244px);
        background-image: url('../img/cta-collaborative-p.webp');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }

    /* Remove the old desktop split-image pseudo element. */
    .page-portfolio .portfolio-cta::before {
        content: none !important;
        display: none !important;
    }

    .page-portfolio .portfolio-cta-inner {
        position: relative;
        z-index: 1;
        min-height: clamp(180px, 11.9vw, 244px);
        width: 100%;
        margin: 0;
        padding: 0 7% 0 39%;
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
        align-items: center;
        gap: 0;
        background: transparent !important;
    }

    .page-portfolio .portfolio-cta-heading {
        margin: 0;
        max-width: 430px;
        padding: 26px 42px 26px 0;
        background: transparent !important;
        font-size: clamp(24px, 1.72vw, 31px);
        font-weight: 300;
        line-height: 1.32;
        color: var(--navy);
    }

    .page-portfolio .portfolio-cta-side {
        position: relative;
        max-width: none;
        min-height: 105px;
        padding: 10px 0 10px 42px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        background: transparent !important;
        border-left: 1px solid rgba(60, 75, 90, .18);
    }

    .page-portfolio .portfolio-cta-side p {
        margin: 0;
        max-width: 310px;
        font-size: 12px;
        line-height: 1.75;
        color: var(--slate);
    }

    .page-portfolio .portfolio-cta-side .btn-sage {
        width: auto;
        min-width: 205px;
        height: 42px;
        margin-top: 16px;
        padding: 0 25px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .page-portfolio .portfolio-cta-inner {
        padding-left: 38%;
        padding-right: 4%;
        grid-template-columns: minmax(0, 1fr) minmax(245px, .9fr);
    }

    .page-portfolio .portfolio-cta-heading {
        padding-right: 28px;
        font-size: 23px;
    }

    .page-portfolio .portfolio-cta-side {
        padding-left: 28px;
    }

    .page-portfolio .portfolio-cta-side p {
        font-size: 11px;
        line-height: 1.65;
    }

    .page-portfolio .portfolio-cta-side .btn-sage {
        min-width: 180px;
        height: 40px;
        margin-top: 12px;
        padding: 0 20px;
    }
}
