@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #24372e;
    --muted: #66766a;
    --cream: #fbfaf7;
    --white: #fff;
    --sage: #e8efe5;
    --sage-2: #f1f5ed;
    --forest: #234637;
    --accent: #6e916d;
    --warm: #f7ecdf;
    --line: #e2e9df;
    --shadow: 0 20px 60px rgba(35, 67, 45, .09);
    --radius: 22px
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

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

button {
    cursor: pointer
}

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

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

h1,
h2,
h3,
p {
    margin: 0
}

p {
    line-height: 1.75
}

h1,
h2,
h3 {
    font-family: Manrope, Arial, sans-serif;
    letter-spacing: -.045em
}

h1 {
    font-size: clamp(3.4rem, 7vw, 6.6rem);
    line-height: 1.065;
    font-weight: 800
}

h2 {
    font-size: clamp(2.3rem, 4.6vw, 4.7rem);
    line-height: 1.12;
    font-weight: 750
}

h3 {
    line-height: 1.25
}

h1 em,
h2 em {
    font-family: Georgia, serif;
    color: var(--accent);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -.045em
}

.container {
    width: min(1200px, calc(100% - 72px));
    margin-inline: auto
}

.section {
    padding: 112px 0
}

.eyebrow {
    font-size: .73rem;
    letter-spacing: .14em;
    line-height: 1.5;
    color: #678369;
    font-weight: 800;
    margin-bottom: 20px
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.19rem);
    line-height: 1.78;
    color: var(--muted);
    max-width: 650px;
    margin-top: 24px
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    background: #fff;
    padding: 12px;
    z-index: 300
}

.skip-link:focus {
    top: 12px
}

:focus-visible {
    outline: 3px solid #82a782;
    outline-offset: 4px
}

/* Navigation and integrated photographic mega menu */
.site-header {
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 247, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(15px)
}

.header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand img {
    width: 198px;
    height: auto;
    max-height: 70px;
    object-fit: contain
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: .87rem;
    font-weight: 700;
    height: 100%
}

.site-nav>a:not(.nav-cta),
.nav-services-heading>a {
    transition: color .2s
}

.site-nav>a:not(.nav-cta):hover,
.nav-services-heading>a:hover {
    color: var(--accent)
}

.nav-cta {
    background: var(--forest);
    color: #fff !important;
    padding: 13px 23px;
    border-radius: 100px;
    transition: background .2s
}

.nav-cta:hover {
    background: #426b4c
}

.nav-cta span {
    display: none
}

.mobile-toggle {
    display: none
}

.nav-services {
    display: flex;
    position: static;
    align-self: stretch;
    align-items: center
}

.nav-services-heading {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2px
}

.nav-services-heading>a {
    height: 100%;
    display: flex;
    align-items: center
}

.nav-services-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--forest);
    background: transparent;
    display: grid;
    place-items: center;
    transition: background .2s, transform .2s
}

.nav-services-toggle:hover,
.nav-services.expanded .nav-services-toggle {
    background: var(--sage)
}

.nav-services.expanded .nav-services-toggle svg {
    transform: rotate(180deg)
}

.nav-services-toggle svg {
    transition: transform .18s
}

.nav-submenu.mega-menu {
    position: absolute;
    z-index: 110;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(180px, .84fr) minmax(0, 2.1fr);
    gap: 32px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 28px 50px rgba(25, 55, 37, .16);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease
}

.nav-services.expanded .mega-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none
}

.mega-intro {
    align-self: center;
    padding: 8px 6px 6px 0
}

.mega-eyebrow {
    display: block;
    color: #678a67;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 18px
}

.mega-intro h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -.055em;
    margin: 0 0 14px;
    color: var(--ink)
}

.mega-intro h2 em {
    font-family: Georgia, serif;
    font-style: normal;
    color: #69896d;
    font-weight: 400
}

.mega-intro p {
    font-size: .86rem;
    line-height: 1.7;
    color: var(--muted)
}

.mega-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b5cdb4;
    border-radius: 999px;
    color: var(--forest);
    font-size: .79rem;
    font-weight: 800;
    padding: 12px 16px;
    margin-top: 20px;
    transition: background .2s
}

.mega-all:hover,
.mega-all:focus-visible {
    background: var(--sage-2)
}

.mega-mini-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #728474;
    font-size: .73rem;
    margin-top: 23px
}

.mega-mini-mark {
    font-size: 24px;
    color: #87a889
}

.mega-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px
}

.mega-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    border-radius: 15px;
    background: #f7f9f5;
    border: 1px solid #e6ece4;
    transition: transform .22s, box-shadow .22s, background .22s
}

.mega-card:hover,
.mega-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(31, 63, 38, .13);
    background: white
}

.mega-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.25;
    background: #e8ede4
}

.mega-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease
}

.mega-card:hover img {
    transform: scale(1.06)
}

.mega-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 14px 18px
}

.mega-card-count {
    font-size: .63rem !important;
    letter-spacing: .11em;
    font-weight: 800;
    color: #7a967a
}

.mega-card-info strong {
    font-family: Manrope, Arial, sans-serif;
    font-size: .98rem;
    line-height: 1.25
}

.mega-card-info>span:last-child {
    font-size: .75rem;
    color: #66766a;
    line-height: 1.5
}

/* Buttons and shared */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 100px;
    padding: 16px 26px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    transition: background .2s, transform .2s, box-shadow .2s;
    white-space: normal
}

.button span {
    display: none
}

.button:not(:disabled):hover {
    transform: translateY(-2px)
}

.button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.button-dark {
    background: var(--forest);
    color: #fff
}

.button-dark:hover {
    background: #426d51;
    box-shadow: 0 12px 25px #183b2626
}

.button-light {
    background: #fff;
    color: var(--forest)
}

.button-outline {
    background: transparent;
    color: var(--forest);
    border-color: #a9bca8
}

.button-outline:hover {
    background: var(--sage)
}

.text-link {
    display: inline-block;
    color: var(--forest);
    font-weight: 800;
    font-size: .93rem;
    padding-bottom: 6px;
    border-bottom: 2px solid #a9c2a6
}

.text-link span {
    display: none
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 40px
}

.section-heading>p {
    max-width: 340px;
    color: var(--muted)
}

/* Homepage hero */
.home-hero {
    overflow: hidden;
    background: linear-gradient(135deg, #fbfaf7 15%, #f0f5ec 100%)
}

.home-hero-layout {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 7%;
    min-height: 690px;
    padding-top: 70px;
    padding-bottom: 85px
}

.home-hero-content h1 {
    font-size: clamp(3.8rem, 6.8vw, 6.8rem)
}

.eyebrow-dot {
    display: inline-block;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    background: var(--accent);
    margin-right: 6px
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 530px;
    color: #5d7365;
    line-height: 1.8;
    margin: 30px 0
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 46px;
    color: #6c7c6e;
    font-size: .81rem;
    line-height: 1.5
}

.trust-mark {
    font-size: 35px;
    color: #87a684
}

.home-hero-art {
    height: 570px;
    position: relative;
    padding: 0 50px 36px 40px
}

.hero-main-photo {
    height: 100%;
    width: 100%;
    border-radius: 130px 20px 20px 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #e3e7df
}

.hero-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-detail-photo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 38%;
    aspect-ratio: 1;
    border: 8px solid #f0f5ec;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 32px #263c2920
}

.hero-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-label {
    position: absolute;
    left: 15px;
    bottom: 70px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    color: #6f806c;
    font-weight: 800;
    font-size: .63rem;
    letter-spacing: .15em
}

.specialty-band {
    background: #e3ecdf
}

.specialty-band-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: .73rem;
    letter-spacing: .09em;
    font-weight: 800;
    color: #526d54
}

.band-dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #8fae8e;
    flex: 0 0 6px
}

/* story */
.story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center
}

.story-image {
    position: relative
}

.story-image img {
    width: 100%;
    aspect-ratio: 4/4.6;
    object-fit: cover;
    border-radius: 24px 120px 24px 24px
}

.photo-note {
    position: absolute;
    bottom: 22px;
    left: 20px;
    border-radius: 100px;
    background: #fff;
    padding: 13px 19px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--forest);
    box-shadow: 0 6px 20px #223b2618
}

.story-copy h2 {
    margin-bottom: 25px
}

.story-copy p:not(.eyebrow) {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 1.04rem
}

.story-copy .text-link {
    margin-top: 12px
}

/* services */
.home-services,
.services-overview,
.about-values {
    background: var(--sage-2)
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.service-card {
    display: block;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.service-photo {
    aspect-ratio: 1.2;
    overflow: hidden;
    background: #e4e7df
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s
}

.service-card:hover img {
    transform: scale(1.035)
}

.service-content {
    padding: 25px 25px 29px
}

.service-num {
    font-size: .7rem;
    color: #6b8a6a;
    letter-spacing: .1em;
    font-weight: 800
}

.service-content h3,
.service-content h2 {
    font-size: 1.48rem;
    margin: 11px 0 12px;
    letter-spacing: -.035em
}

.service-content p {
    font-size: .94rem;
    color: var(--muted)
}

.service-more {
    display: inline-block;
    margin-top: 16px;
    font-size: .87rem;
    color: #436b4a;
    font-weight: 800;
    border-bottom: 1px solid #a6c6a5;
    padding-bottom: 4px
}

/* process */
.process-section {
    background: #fff
}

.process-layout {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 10%;
    align-items: start
}

.process-heading>p:not(.eyebrow) {
    max-width: 390px;
    margin: 22px 0 26px;
    color: var(--muted)
}

.process-steps {
    border-top: 1px solid var(--line)
}

.process-step {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 12px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line)
}

.step-index {
    font-size: .85rem;
    color: #789777;
    font-weight: 800;
    padding-top: 5px
}

.process-step h3 {
    font-size: 1.27rem;
    margin-bottom: 9px
}

.process-step p {
    color: var(--muted);
    font-size: .96rem;
    max-width: 470px
}

.process-photo-strip {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    margin-top: 60px
}

.process-photo-strip img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    border-radius: 18px
}

/* featured */
.home-featured,
.portfolio {
    background: #fbfaf7
}

.featured-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px
}

.featured-action,
.portfolio-more {
    margin-top: 45px;
    text-align: center
}

.project-card {
    display: block;
    min-width: 0;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--ink);
    transition: transform .2s
}

.project-card:hover {
    transform: translateY(-3px)
}

.project-card[hidden] {
    display: none !important
}

.project-image {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #e8e8e0;
    aspect-ratio: 1.16;
    position: relative
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.project-card:hover img {
    transform: scale(1.035)
}

.project-zoom,
.project-arrow {
    display: none !important
}

.project-caption {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 3px
}

.project-caption strong {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 1.01rem;
    letter-spacing: -.025em
}

.project-caption small {
    display: block;
    color: var(--muted);
    margin-top: 6px;
    font-size: .81rem
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px
}

.filter {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 12px 20px;
    color: var(--forest);
    font-weight: 700;
    font-size: .84rem
}

.filter:hover,
.filter.active {
    background: var(--forest);
    color: #fff;
    border-color: var(--forest)
}

.gallery-count {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: .85rem
}

.empty-projects {
    padding: 30px;
    color: var(--muted)
}

/* end CTA */
.home-final-cta,
.portfolio-cta {
    background: #234837;
    color: #fff;
    overflow: hidden
}

.final-cta-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 8%;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 90px
}

.home-final-cta .eyebrow,
.portfolio-cta .eyebrow {
    color: #c1dcc0
}

.home-final-cta h2,
.portfolio-cta h2 {
    color: #fff
}

.home-final-cta h2 em,
.portfolio-cta h2 em {
    color: #c9e3c2
}

.home-final-cta p:not(.eyebrow) {
    margin: 25px 0;
    max-width: 550px;
    color: #e0eee0
}

.final-cta-photo img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 22px 110px 22px 22px
}

.portfolio-cta {
    padding: 70px 0
}

.portfolio-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.portfolio-cta h2 {
    font-size: clamp(2.5rem, 4.4vw, 4.4rem)
}

/* Shared inner pages */
.inner-hero {
    padding: 86px 0 92px;
    background: linear-gradient(135deg, #f1f5ed, #fbfaf7)
}

.inner-hero h1 {
    max-width: 900px
}

.inner-hero-grid {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px
}

.inner-hero-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #69846a;
    font-size: .7rem;
    letter-spacing: .1em;
    font-weight: 800
}

.inner-hero-number {
    font-family: Manrope, sans-serif;
    font-size: 4.3rem;
    line-height: 1;
    letter-spacing: -.08em;
    color: var(--forest)
}

.detail-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: start
}

.detail-two-col p {
    color: var(--muted);
    margin-bottom: 18px
}

.detail-large {
    font-size: 1.16rem !important;
    color: #425b49 !important
}

.about-values {
    background: var(--sage-2)
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.values-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px
}

.values-grid article>span {
    font-size: .76rem;
    color: #68856a;
    font-weight: 800
}

.values-grid h3 {
    font-size: 1.35rem;
    margin: 20px 0 10px
}

.values-grid p {
    color: var(--muted)
}

.about-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center
}

.about-photo-grid img {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
    border-radius: 24px
}

.about-photo-grid p:not(.eyebrow) {
    margin: 22px 0;
    color: var(--muted)
}

.service-hero {
    padding: 77px 0
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr .93fr;
    gap: 7%;
    align-items: center
}

.service-hero h1 {
    font-size: clamp(3.2rem, 5.5vw, 5.7rem)
}

.service-hero .hero-actions {
    margin-top: 30px
}

.service-hero-visual {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1.23;
    background: var(--sage)
}

.service-hero-visual img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.detail-list {
    padding: 0;
    list-style: none;
    margin: 28px 0 0
}

.detail-list li {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px
}

.detail-list li span {
    color: var(--accent)
}

.portfolio-page {
    padding-top: 86px
}

.service-projects {
    background: #fff
}

.contact,
.contact-page {
    background: var(--sage-2)
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 9%;
    align-items: start
}

.contact-copy {
    padding-top: 25px
}

.contact-copy>p:not(.eyebrow) {
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.05rem
}

.contact-footnote {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 45px;
    color: var(--muted)
}

.contact-spark {
    font-size: 2.6rem;
    color: var(--accent)
}

.contact-panel {
    background: #fff;
    padding: 36px;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
}

.form-kicker {
    font-weight: 800;
    letter-spacing: .12em;
    font-size: .74rem;
    color: var(--forest);
    margin: 0 0 26px
}

.form-kicker span {
    display: none
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
    font-size: .85rem;
    font-weight: 700
}

.contact-form label>span {
    color: #bd6153
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    background: #fafbf8;
    border: 1px solid #dbe5da;
    border-radius: 11px;
    margin-top: 8px;
    padding: 14px 15px;
    color: var(--ink);
    outline: none
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #7caa7a;
    box-shadow: 0 0 0 3px #acd0a644
}

.form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.privacy-note {
    display: block;
    font-size: .76rem;
    color: var(--muted);
    margin-top: 14px
}

.hp-field {
    position: absolute !important;
    left: -99999px !important
}

.form-message {
    padding: 13px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: .9rem
}

.form-message.error {
    background: #ffebe7;
    color: #792f23
}

.form-message.success {
    background: #e9f6e8;
    color: #1d6037
}

.form-message.setup-note {
    background: #fff3d8;
    color: #765e19
}

.project-detail-hero {
    padding: 55px 0 75px;
    background: var(--sage-2)
}

.breadcrumbs {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 60px
}

.breadcrumbs a:hover {
    text-decoration: underline
}

.project-detail-heading {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: end;
    margin-bottom: 40px
}

.project-detail-heading h1 {
    font-size: clamp(2.7rem, 5.5vw, 5.2rem)
}

.project-detail-heading .lead {
    max-width: 330px
}

.project-detail-image {
    overflow: hidden;
    border-radius: 25px;
    background: #e5e9e3
}

.project-detail-image img {
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    object-position: center;
}

.project-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%
}

.project-detail-content p:not(.eyebrow) {
    margin: 20px 0;
    color: var(--muted)
}

.related-projects {
    background: #fff
}

.not-found {
    min-height: 55vh
}

/* footer and lightbox */
.site-footer {
    background: #19392b;
    color: #f6fbf4
}

.footer-inner {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.footer-inner img {
    max-width: 170px;
    height: auto
}

.footer-inner p {
    color: #c7d9c8;
    font-size: .9rem
}

.footer-inner small {
    font-size: .78rem;
    color: #c7d9c8
}

.lightbox {
    border: 0;
    padding: 0;
    border-radius: 20px;
    width: min(850px, calc(100vw - 34px));
    max-height: calc(100dvh - 34px);
    overflow: auto
}

.lightbox::backdrop {
    background: #101e18db
}

.lightbox img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #f1f3ed
}

.lightbox-close {
    position: absolute;
    top: 13px;
    right: 13px;
    border: 0;
    background: #fff;
    border-radius: 50%;
    font-size: 26px;
    height: 42px;
    width: 42px
}

.lightbox-info {
    padding: 24px
}

.lightbox-info h3 {
    margin: 6px 0;
    font-size: 1.45rem
}

.lightbox-info p {
    color: var(--muted);
    margin-bottom: 5px
}

#lightbox-category {
    font-size: .71rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

/* Progressive enhancement: content remains visible without JS */
.js-enhanced [data-reveal] {
    transition: opacity .55s ease, transform .55s ease;
    opacity: 1
}

.js-enhanced [data-reveal].reveal-pending {
    opacity: 0;
    transform: translateY(15px)
}

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

@media(max-width:1050px) {
    .container {
        width: min(1200px, calc(100% - 48px))
    }

    .site-nav {
        gap: 15px
    }

    .brand img {
        width: 175px
    }

    .home-hero-layout {
        gap: 3%
    }

    .home-hero-art {
        height: 510px
    }

    .process-photo-strip img {
        height: 210px
    }
}

@media(max-width:780px) {
    .container {
        width: calc(100% - 36px)
    }

    .section {
        padding: 76px 0
    }

    .site-header {
        height: 76px
    }

    .brand img {
        width: 171px
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: var(--sage);
        border: 0;
        border-radius: 12px;
        height: 45px;
        width: 45px
    }

    .mobile-toggle span {
        width: 23px;
        height: 2px;
        background: var(--forest)
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        height: auto;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        background: var(--cream);
        padding: 12px 18px 24px;
        box-shadow: 0 17px 32px #182e201c;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .site-nav.open {
        display: flex
    }

    .site-nav>a:not(.nav-cta) {
        padding: 16px 8px;
        border-bottom: 1px solid var(--line)
    }

    .site-nav .nav-cta {
        text-align: center;
        margin-top: 16px
    }

    .nav-services {
        display: block;
        align-self: stretch;
        border-bottom: 1px solid var(--line)
    }

    .nav-services-heading {
        justify-content: space-between
    }

    .nav-services-heading>a {
        padding: 16px 8px;
        flex: 1
    }

    .nav-services-toggle {
        height: 43px;
        width: 43px;
        background: var(--sage)
    }

    .nav-submenu.mega-menu {
        position: static;
        display: none;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 0 16px;
        padding: 18px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: none;
        transition: none
    }

    .nav-services.expanded .mega-menu {
        display: grid
    }

    .mega-intro {
        padding: 0
    }

    .mega-intro h2 {
        font-size: 1.6rem
    }

    .mega-intro p {
        font-size: .83rem
    }

    .mega-mini-note {
        display: none
    }

    .mega-all {
        margin-top: 12px
    }

    .mega-cards {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .mega-card {
        display: grid;
        grid-template-columns: 100px 1fr;
        align-items: stretch;
        min-height: 100px
    }

    .mega-card-image {
        height: 100%;
        aspect-ratio: auto
    }

    .mega-card-info {
        justify-content: center;
        padding: 10px 12px;
        gap: 5px
    }

    .mega-card-info strong {
        font-size: .92rem
    }

    .mega-card-info>span:last-child {
        font-size: .73rem
    }

    .home-hero-layout,
    .story-layout,
    .process-layout,
    .final-cta-layout,
    .contact-grid,
    .service-hero-grid,
    .about-photo-grid,
    .detail-two-col,
    .project-detail-content {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .home-hero-layout {
        padding: 65px 0
    }

    .home-hero-art {
        height: 520px;
        max-width: 620px
    }

    .home-hero-content h1 {
        font-size: clamp(3.4rem, 10vw, 5.8rem)
    }

    .specialty-band-inner {
        overflow: auto;
        justify-content: flex-start;
        white-space: nowrap;
        padding: 16px 0
    }

    .story-image {
        max-width: 620px
    }

    .story-image img {
        aspect-ratio: 1.2
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        margin-top: 20px;
        max-width: 620px
    }

    .service-grid,
    .featured-grid,
    .project-grid,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .process-photo-strip {
        gap: 10px;
        margin-top: 36px
    }

    .process-photo-strip img {
        height: 160px
    }

    .final-cta-layout {
        padding: 75px 0
    }

    .final-cta-photo {
        max-width: 480px
    }

    .inner-hero {
        padding: 65px 0
    }

    .project-detail-heading {
        display: block
    }

    .project-detail-heading .lead {
        margin-top: 24px
    }

    .footer-inner {
        flex-wrap: wrap;
        padding: 35px 0;
        min-height: 0
    }

    .contact-copy {
        padding: 0
    }

    .portfolio-cta-inner {
        align-items: start;
        flex-direction: column
    }
}

@media(max-width:540px) {
    .mega-card {
        grid-template-columns: 86px 1fr
    }

    .mega-card-info {
        padding: 9px 11px
    }

    .nav-submenu.mega-menu {
        padding: 13px
    }

    h1 {
        font-size: clamp(3.1rem, 11vw, 4.5rem)
    }

    h2 {
        font-size: clamp(2.2rem, 9vw, 3.4rem)
    }

    .home-hero-layout {
        padding-top: 48px
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column
    }

    .hero-actions .button {
        width: 100%
    }

    .home-hero-art {
        height: 335px;
        padding: 0 25px 20px 18px
    }

    .hero-main-photo {
        border-radius: 75px 16px 16px 16px
    }

    .hero-detail-photo {
        border-width: 5px
    }

    .hero-label {
        display: none
    }

    .service-grid,
    .featured-grid,
    .project-grid,
    .values-grid {
        grid-template-columns: 1fr
    }

    .process-photo-strip {
        grid-template-columns: 1fr 1fr
    }

    .process-photo-strip img {
        height: 165px
    }

    .process-photo-strip img:last-child {
        display: none
    }

    .form-two {
        grid-template-columns: 1fr;
        gap: 0
    }

    .contact-panel {
        padding: 24px 19px
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .inner-hero-grid {
        display: block
    }

    .inner-hero-aside {
        align-items: start;
        margin-top: 30px
    }

    .project-detail-image img {
        max-height: 410px
    }

    .final-cta-photo img {
        height: 290px
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }

    .js-enhanced [data-reveal].reveal-pending {
        opacity: 1;
        transform: none
    }
}