:root {
    --ink: #252522;
    --paper: #fff;
    --orange: #ef5900;
    --line: #d4d4cd;
    --muted: #65655e;
    --rail: 228px;
    --serif: Georgia, 'Times New Roman', serif
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    padding-left: var(--rail);
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.8 Arial, Helvetica, sans-serif
}

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

img {
    max-width: 100%
}

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

button {
    cursor: pointer
}

h1,
h2,
p {
    margin-top: 0
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px
}

.container {
    width: 100%;
    margin: 0
}

.site-rail {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--rail);
    height: 100dvh;
    background: white;
    border-right: 1px solid var(--line);
    padding: 35px 26px;
    display: flex;
    flex-direction: column;
    z-index: 40
}

.rail-top {
    display: flex;
    flex-direction: column;
    height: 100%
}

.brand {
    display: block;
    width: 178px;
    height: 76px;
    overflow: hidden;
    flex-shrink: 0
}

.brand-logo {
    position: relative;
    width: 205px;
    height: 205px;
    max-width: none;
    object-fit: contain;
    left: -14px;
    top: -64px
}

.rail-nav {
    width: 100%;
    margin-top: clamp(65px, 15vh, 160px);
    display: flex;
    flex-direction: column;
    gap: 0
}

.rail-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #e7e7e1;
    min-height: 61px;
    font-size: 14px
}

.rail-link:before {
    content: attr(data-number);
    font-size: 11px;
    color: #78786e;
    font-family: monospace
}

.rail-link[aria-current=page] {
    color: #b84300
}

.rail-link:hover {
    color: #b84300
}

.rail-link[aria-current=page]:after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--orange);
    margin-left: auto
}

.rail-link:last-child {
    font-size: 13px;
    font-weight: 700;
    color: #ae3f00;
    margin-top: 28px;
    border: 0
}

.rail-foot {
    font-size: 12px;
    line-height: 1.9;
    color: #74746a;
    border-top: 1px solid var(--line);
    padding-top: 23px
}

.menu {
    display: none
}

.mobile-nav[hidden] {
    display: none !important
}

.home-stage {
    position: relative;
    min-height: 760px;
    height: 100svh;
    max-height: 1100px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #33352f;
    color: #fff;
    overflow: hidden
}

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

.home-stage:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #11150d08 15%, #11150d42 40%, #11150dcc 100%);
    z-index: -1
}

.stage-copy {
    padding: 60px 6.5% 90px;
    width: 100%
}

.kicker {
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase
}

.stage-copy .kicker {
    margin-bottom: 26px;
    color: #f4f2e9
}

.stage-copy h1 {
    font: normal clamp(70px, 7.5vw, 116px)/.97 var(--serif);
    letter-spacing: -.045em;
    max-width: 980px;
    margin: 0 0 40px;
    text-wrap: balance
}

.stage-copy h1 em {
    display: block;
    font-weight: normal;
    font-size: .87em;
    line-height: 1.05;
    max-width: 800px;
    margin-top: 12px
}

.cta {
    display: flex;
    align-items: center;
    gap: 26px
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    min-height: 55px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
    transition: background .2s, color .2s
}

.pill-accent {
    background: #fff;
    color: #282922
}

.pill-accent:hover {
    background: var(--orange);
    color: #fff
}

.pill-ghost {
    color: #fff;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid #d5d9ca
}

.pill-ghost:hover {
    color: #ffbd96
}

.image-credit {
    position: absolute;
    bottom: 22px;
    right: 27px;
    font-size: 12px;
    color: #e6e7dc
}

.home-intro {
    padding: 110px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.home-intro h2 {
    font: normal clamp(44px, 4.5vw, 68px)/1.06 var(--serif);
    letter-spacing: -.045em;
    max-width: 430px
}

.lead {
    font-size: 18px;
    line-height: 1.85
}

.meta {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 22px;
    margin-top: 30px;
    font-size: 12px
}

.meta-title {
    color: var(--muted);
    margin-bottom: 5px
}

.meta-text {
    line-height: 1.5
}

.service-ribbon {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 6%;
    font-size: 12px;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
    line-height: 2
}

.home-statement {
    padding: 110px 8% 125px;
    background: #f0f0ea
}

.statement-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.statement-layout h2 {
    font: normal clamp(48px, 5vw, 80px)/1.08 var(--serif);
    letter-spacing: -.05em;
    max-width: 400px
}

.manifesto-copy p {
    margin-bottom: 24px
}

.muted {
    color: var(--muted)
}

.contact-section {
    padding: 95px 8% 100px;
    background: #272a24;
    color: #fff
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px
}

.contact-left h2 {
    font: normal clamp(48px, 5vw, 78px)/1.04 var(--serif);
    letter-spacing: -.04em
}

.contact-section .muted {
    color: #bac1b2
}

.info {
    margin-top: 45px
}

.info-row {
    display: block;
    border-top: 1px solid #555b4f;
    padding: 18px 0;
    font-size: 14px
}

.info-k {
    color: #adb6a3;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 5px
}

.info-v {
    max-width: 300px
}

.info-v a {
    text-decoration: underline;
    text-underline-offset: 4px
}

.form {
    padding: 0;
    background: transparent
}

label {
    display: block;
    margin-bottom: 25px
}

label span {
    display: block;
    font-size: 13px;
    margin-bottom: 8px
}

input,
select,
textarea {
    border: 0;
    border-bottom: 1px solid #7b8273;
    background: #34392f;
    color: #fff;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    min-height: 52px;
    border-radius: 0
}

input::placeholder,
textarea::placeholder {
    color: #b6bdad;
    opacity: 1
}

select option {
    background: #34392f
}

textarea {
    resize: vertical;
    min-height: 140px
}

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

.form .pill-accent {
    background: var(--orange);
    color: #fff;
    width: 100%
}

.form button:disabled {
    background: #565e4d;
    color: #d4dbca;
    cursor: not-allowed
}

.tiny {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 16px
}

.form-status {
    font-size: 13px;
    color: #d5dacb
}

.site-footer {
    padding: 55px 7% 30px;
    overflow: hidden;
    background: #fff
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    font-size: 12px
}

.footer-inner a {
    margin: 0 7px
}

.footer-inner a:hover {
    text-decoration: underline
}

.section-head h1,
.legal-hero h1 {
    font: normal clamp(56px, 7vw, 100px)/1 var(--serif);
    letter-spacing: -.05em;
    margin: 0 0 28px
}

.section-head h2 {
    font: normal clamp(44px, 5vw, 68px)/1.05 var(--serif);
    letter-spacing: -.045em;
    margin-bottom: 22px
}

.section-head>p {
    font-size: 18px;
    max-width: 600px
}

.service-page,
.about-story,
.work-page,
.legal-page {
    padding: 85px 8% 100px
}

.service-page>.section-head {
    margin-bottom: 70px;
    max-width: 800px
}

.service-index {
    border-top: 1px solid var(--ink)
}

.service-row {
    border-bottom: 1px solid var(--line)
}

.service-row summary {
    list-style: none;
    display: grid;
    grid-template-columns: 44px 1fr 25px;
    gap: 20px;
    align-items: center;
    padding: 27px 0;
    cursor: pointer;
    font: normal clamp(28px, 3.6vw, 53px)/1.15 var(--serif);
    letter-spacing: -.035em
}

.service-row summary::-webkit-details-marker {
    display: none
}

.service-row summary:before {
    content: attr(data-number);
    font: 12px/1.5 monospace;
    color: #77786e;
    letter-spacing: 0
}

.service-row summary:after {
    content: '+';
    font: normal 24px/1 Arial;
    text-align: center
}

.service-row[open] summary:after {
    content: '−'
}

.service-row[open] summary {
    color: #a84711
}

.service-row>p {
    margin: 0 65px 30px;
    max-width: 580px;
    color: var(--muted);
    font-size: 17px
}

.standard-section {
    padding: 85px 8%;
    background: #efefe8
}

.standard-section>.section-head {
    margin-bottom: 55px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px
}

.step-num {
    font: italic 42px/1.2 var(--serif);
    border-bottom: 1px solid #a6ab9a;
    padding-bottom: 20px;
    margin-bottom: 22px
}

.step-desc {
    font-size: 15px;
    line-height: 1.9;
    color: #5e6555
}

.about-story .section-head {
    padding-bottom: 45px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 45px
}

.story-layout h2 {
    font-size: 14px;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 32px;
    font-weight: 500
}

.story-layout .manifesto-copy {
    columns: 2;
    column-gap: 48px;
    font-size: 17px
}

.story-layout .manifesto-copy p {
    break-inside: avoid
}

.family-section {
    background: #f0f0ea;
    padding: 80px 8% 100px
}

.family-section .section-head {
    margin-bottom: 65px
}

.family-profile {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    padding: 42px 0;
    border-top: 1px solid #b8bdaf
}

.family-profile h2 {
    position: sticky;
    top: 35px;
    align-self: start;
    font: normal clamp(33px, 3.7vw, 54px)/1.07 var(--serif);
    letter-spacing: -.04em
}

.family-profile h2:before {
    content: attr(data-number);
    font: 12px/1.5 monospace;
    color: #717b65;
    display: block;
    margin-bottom: 25px;
    letter-spacing: 0
}

.family-profile .manifesto-copy {
    font-size: 16px
}

.work-page .section-head {
    padding-bottom: 35px;
    margin-bottom: 45px
}

.project-index {
    border-top: 1px solid var(--ink)
}

.project-entry {
    position: relative;
    margin: 0;
    padding: 35px 0;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px 25px;
    border-bottom: 1px solid var(--line)
}

.project-entry:before {
    content: attr(data-number);
    font: 12px/1.5 monospace;
    color: #767b6d;
    align-self: center
}

.project-entry figcaption {
    font: normal clamp(29px, 3.5vw, 50px)/1.15 var(--serif);
    letter-spacing: -.035em
}

.project-state {
    grid-column: 2;
    font-size: 12px;
    color: #757b6d
}

.legal-hero {
    border-bottom: 1px solid var(--line);
    padding-bottom: 35px;
    margin-bottom: 45px
}

.legal-hero h1 {
    margin-top: 25px
}

.legal-hero .lead {
    max-width: 720px
}

.legal-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 50px
}

.legal-index {
    display: flex;
    flex-direction: column;
    align-self: start;
    position: sticky;
    top: 35px;
    font-size: 13px;
    gap: 17px
}

.legal-index a {
    line-height: 1.6;
    color: #666f5c
}

.legal-index a:hover {
    color: #a84000
}

.legal-content h2 {
    font: normal 28px/1.2 var(--serif);
    margin: 38px 0 16px;
    letter-spacing: -.025em
}

.legal-content p,
.legal-content li {
    color: #5e6457
}

.legal-content ul {
    padding-left: 22px
}

.legal-content strong {
    color: var(--ink)
}

@media(min-width:1700px) {
    :root {
        --rail: 260px
    }

    .site-rail {
        padding: 42px 36px
    }

    .brand {
        width: 190px
    }

    .stage-copy {
        padding-left: 8%
    }
}

@media(max-width:1150px) {
    :root {
        --rail: 190px
    }

    .site-rail {
        padding: 28px 18px
    }

    .brand {
        width: 154px;
        height: 70px
    }

    .brand-logo {
        width: 179px;
        height: 179px;
        top: -55px;
        left: -12px
    }

    .rail-nav {
        margin-top: 80px
    }

    .home-stage {
        min-height: 670px
    }

    .stage-copy h1 {
        font-size: 79px
    }

    .home-intro,
    .statement-layout,
    .contact-layout {
        gap: 35px
    }

    .home-intro,
    .home-statement,
    .contact-section {
        padding: 75px 6%
    }

    .steps {
        gap: 25px
    }

    .legal-layout {
        grid-template-columns: 160px 1fr;
        gap: 30px
    }

    .family-profile {
        gap: 35px
    }

    .service-page,
    .about-story,
    .work-page,
    .legal-page,
    .family-section,
    .standard-section {
        padding-left: 6%;
        padding-right: 6%
    }
}

@media(max-width:850px) {
    :root {
        --rail: 0px
    }

    html {
        scroll-padding-top: 110px
    }

    body {
        padding-top: 82px
    }

    .site-rail {
        height: 82px;
        width: 100%;
        padding: 6px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        display: block
    }

    .rail-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .brand {
        width: 178px;
        height: 65px
    }

    .brand-logo {
        width: 205px;
        height: 205px;
        top: -70px;
        left: -14px
    }

    .rail-nav,
    .rail-foot {
        display: none
    }

    .menu {
        display: block;
        width: 46px;
        height: 46px;
        border: 1px solid #c6c9bf;
        background: #fff;
        padding: 11px
    }

    .menu span {
        display: block;
        height: 1px;
        margin: 7px 0;
        background: var(--ink)
    }

    .mobile-nav {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        height: calc(100dvh - 82px);
        overflow: auto;
        background: #fff;
        padding: 25px 32px 40px
    }

    .mobile-nav a {
        display: block;
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
        font: normal 36px/1.2 var(--serif)
    }

    .mobile-nav a[aria-current=page] {
        color: #b84300
    }

    .mobile-nav .pill {
        background: none;
        color: #a53c00;
        font-size: 27px;
        text-align: left;
        justify-content: flex-start
    }

    .home-stage {
        height: calc(100svh - 82px);
        min-height: 620px
    }

    .stage-copy {
        padding: 55px 7% 80px
    }

    .stage-copy h1 {
        font-size: clamp(65px, 10.5vw, 90px)
    }

    .home-intro h2 {
        font-size: 53px
    }

    .home-intro {
        padding: 65px 7%
    }

    .family-profile h2,
    .legal-index {
        position: static
    }

    .legal-layout {
        grid-template-columns: 1fr
    }

    .legal-index {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 20px;
        padding-bottom: 25px;
        border-bottom: 1px solid var(--line)
    }

    .site-footer {
        padding-top: 40px
    }

    .footer-inner {
        align-items: flex-start
    }

    .section-head h1,
    .legal-hero h1 {
        font-size: 72px
    }

    .service-page,
    .about-story,
    .work-page,
    .legal-page {
        padding-top: 60px
    }
}

@media(max-width:580px) {
    .site-rail {
        padding-left: 20px;
        padding-right: 20px
    }

    .home-stage {
        min-height: 640px;
        height: calc(100svh - 82px);
        max-height: 850px
    }

    .stage-image {
        object-position: 58% center
    }

    .stage-copy {
        padding: 40px 24px 85px
    }

    .stage-copy h1 {
        font-size: 62px;
        letter-spacing: -.055em;
        line-height: 1.01
    }

    .stage-copy h1 em {
        font-size: .9em;
        margin-top: 10px;
        line-height: 1.06
    }

    .stage-copy .kicker {
        font-size: 11px;
        letter-spacing: .11em;
        margin-bottom: 22px
    }

    .cta {
        gap: 23px
    }

    .pill {
        font-size: 13px;
        padding: 14px 18px
    }

    .pill-ghost {
        padding-left: 0;
        padding-right: 0
    }

    .image-credit {
        font-size: 11px;
        right: 24px;
        bottom: 21px
    }

    .home-intro,
    .statement-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .home-intro,
    .home-statement,
    .contact-section {
        padding: 60px 24px
    }

    .home-intro h2 {
        font-size: 48px;
        margin-bottom: 5px;
        max-width: 320px
    }

    .lead {
        font-size: 17px
    }

    .meta {
        margin-top: 25px;
        gap: 17px
    }

    .meta-item:nth-child(2) {
        order: 3;
        width: 100%
    }

    .service-ribbon {
        font-size: 11px;
        padding: 22px 24px;
        letter-spacing: .05em
    }

    .statement-layout h2 {
        font-size: 58px;
        max-width: 320px;
        margin-bottom: 15px
    }

    .contact-left h2 {
        font-size: 57px;
        max-width: 300px
    }

    .info {
        margin-top: 30px
    }

    .contact-layout {
        gap: 40px
    }

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

    .site-footer {
        padding: 40px 24px 25px
    }

    .footer-inner {
        display: block;
        font-size: 11px
    }

    .footer-inner>div+div {
        margin-top: 14px
    }

    .footer-inner a:first-child {
        margin-left: 0
    }

    .service-page,
    .about-story,
    .work-page,
    .legal-page,
    .family-section,
    .standard-section {
        padding: 55px 24px
    }

    .section-head h1,
    .legal-hero h1 {
        font-size: 53px
    }

    .section-head h2 {
        font-size: 45px
    }

    .section-head>p {
        font-size: 17px
    }

    .service-page>.section-head {
        margin-bottom: 45px
    }

    .service-row summary {
        grid-template-columns: 25px 1fr 20px;
        gap: 10px;
        font-size: 31px;
        padding: 25px 0
    }

    .service-row>p {
        margin: 0 0 26px 35px;
        font-size: 16px
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .step-num {
        font-size: 40px
    }

    .step-desc {
        font-size: 16px
    }

    .story-layout .manifesto-copy {
        columns: 1
    }

    .family-section .section-head {
        margin-bottom: 40px
    }

    .family-profile {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 35px 0
    }

    .family-profile h2 {
        font-size: 40px;
        margin-bottom: 0
    }

    .family-profile h2:before {
        margin-bottom: 16px
    }

    .project-entry {
        grid-template-columns: 25px 1fr;
        gap: 12px;
        padding: 28px 0
    }

    .project-entry figcaption {
        font-size: 31px
    }

    .project-state {
        font-size: 11px
    }

    .legal-hero .lead {
        font-size: 17px
    }

    .legal-content h2 {
        font-size: 28px
    }

    .legal-index {
        font-size: 12px
    }

    .work-page .section-head {
        margin-bottom: 25px
    }
}

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

    * {
        transition: none !important
    }
}

.footer-identity {
    border-bottom: 1px solid var(--line);
    padding: 15px 0 36px;
    margin-bottom: 22px
}

.footer-logo {
    display: block;
    position: relative;
    overflow: hidden;
    width: 55.25%;
    margin-inline: auto;
    aspect-ratio: 2.8
}

.footer-logo img {
    position: absolute;
    width: 119.4%;
    max-width: none;
    height: auto;
    left: -10.4%;
    top: -115.4%
}

@media(max-width:580px) {
    .footer-identity {
        padding: 0 0 25px
    }
}

.project-thumb {
    grid-column: 2 / -1;
    width: 100%;
    max-width: 650px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
}
/* Work gallery previews + full-image lightbox */
.project-thumb {
    grid-column: 2 / -1;
    width: 100%;
    max-width: 650px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    cursor: zoom-in;
}

.project-thumb:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px;
}

body.modal-open {
    overflow: hidden;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 28px;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.image-modal.is-open {
    display: flex;
}

.image-modal-content {
    display: block;
    width: auto;
    height: auto;
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.image-modal-close {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font: 36px/1 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
    background: var(--orange);
}

@media(max-width:850px) {
    .project-thumb {
        height: 320px;
        max-width: none;
        margin-top: 12px;
    }

    .image-modal {
        padding: 16px;
    }

    .image-modal-content {
        max-width: 96vw;
        max-height: 88vh;
    }

    .image-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media(max-width:580px) {
    .project-thumb {
        height: 240px;
        border-radius: 6px;
    }
}

.home-stage .stage-copy {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  width: auto;
  max-width: 900px;
}

.license-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  color: white;
  background: transparent;

  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;

  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.home-stage .stage-copy {
  position: absolute;
  left: 3%;
  top: 36%;
  transform: none;
  text-align: left;
  width: auto;
  max-width: 1000px;
}

/* FINAL FOOTER ROW FIX */
.site-footer .footer-bottom-row {
  display: grid !important;
  grid-template-columns: max-content 1fr max-content !important;
  align-items: center !important;
  width: 100% !important;
  column-gap: 40px !important;
}

.site-footer .footer-left {
  grid-column: 1 !important;
  justify-self: start !important;
  position: static !important;
  transform: none !important;
  white-space: nowrap !important;
}

.site-footer .footer-center {
  grid-column: 2 !important;
  justify-self: center !important;

  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;

  margin: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-weight: 600 !important;
}

.site-footer .footer-right {
  grid-column: 3 !important;
  justify-self: end !important;

  position: static !important;
  transform: none !important;

  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  text-align: right !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {

  .license-badge {
    font-size: clamp(10px, 3.2vw, 13px);
    width: calc(100% - 30px);
    max-width: 100%;
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
  }

  .footer-center {
    font-size: clamp(10px, 3.2vw, 13px);
    white-space: normal !important;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

}

@media (max-width: 768px) {
  .site-footer .footer-center {
    font-size: clamp(10px, 3vw, 13px) !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

/* MOBILE FOOTER FIX */
@media (max-width: 768px) {

  .site-footer .footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px 25px !important;
    box-sizing: border-box !important;
  }

  .site-footer .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    gap: 12px !important;
  }

  .site-footer .footer-left,
  .site-footer .footer-center,
  .site-footer .footer-right {
    position: static !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    justify-self: auto !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .site-footer .footer-center {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
  }

  .site-footer .footer-right {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 10px !important;

    font-size: 13px !important;
  }

}

/* HOMEPAGE HERO SLIDESHOW */

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;

  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}