/* =====================================================================
   Honesty Builders & Developers — site stylesheet
   Palette drawn from the company logo: petrol teal, orange, olive.
   Type: Marcellus (display) + Jost (body).
   ===================================================================== */

:root {
    --ink:        #0e2b36;
    --ink-2:      #10333f;
    --teal:       #175064;
    --teal-2:     #21657d;
    --orange:     #e0912f;
    --orange-deep:#a8650a;
    --olive:      #7d8c26;
    --royal:      #2b49b8;

    --paper:      #f7f5ef;
    --paper-2:    #efece1;
    --card:       #ffffff;
    --cream:      #f4f1e9;

    --text:       #22333a;
    --muted:      #5c6d74;
    --line:       #e2ddcf;
    --line-dark:  rgba(244, 241, 233, .14);

    --font-display: 'Marcellus', Georgia, 'Times New Roman', serif;
    --font-body:    'Jost', 'Segoe UI', Tahoma, sans-serif;

    --shadow-soft: 0 18px 45px -18px rgba(14, 43, 54, .25);
    --ease: cubic-bezier(.2, .6, .2, 1);

    --towers-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23ffffff' fill-opacity='0.045'%3E%3Crect x='12' y='38' width='16' height='122'/%3E%3Crect x='46' y='12' width='24' height='148'/%3E%3Crect x='88' y='56' width='14' height='104'/%3E%3Crect x='118' y='28' width='22' height='132'/%3E%3C/g%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

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

html { scroll-behavior: smooth; }

/* The off-canvas mobile menu slides in from beyond the right edge;
   clip keeps it from creating horizontal scroll (clip, unlike hidden,
   does not break position:sticky). */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1rem; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--orange-deep); }

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

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

.container--wide { width: min(100% - 2.75rem, 1320px); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 300;
    background: var(--ink); color: #fff; padding: .7rem 1.2rem;
}
.skip-link:focus { left: 0; color: #fff; }

::selection { background: var(--orange); color: var(--ink); }

/* ------------------------------------------------------------------ */
/* Shared elements                                                     */
/* ------------------------------------------------------------------ */

.tricolor {
    height: 4px; width: 100%;
    background: linear-gradient(90deg,
        var(--orange) 0 33.4%, var(--teal) 33.4% 66.7%, var(--olive) 66.7% 100%);
}

.rule {
    height: 3px; width: 72px; border: 0; margin: 1.1rem 0 1.4rem;
    background: linear-gradient(90deg,
        var(--orange) 0 33.4%, var(--teal) 33.4% 66.7%, var(--olive) 66.7% 100%);
}
.rule--center { margin-inline: auto; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .65rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .24em;
    text-transform: uppercase; color: var(--orange-deep);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--orange);
}
.eyebrow--light { color: var(--orange); }

.lede { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }

.section { padding: clamp(4.25rem, 8.5vw, 7.25rem) 0; }
.section--alt  { background: var(--paper-2); }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.section--dark {
    background: var(--ink) var(--towers-light);
    color: var(--cream);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .lede { color: rgba(244, 241, 233, .78); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

.chip {
    display: inline-block; font-size: .68rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase;
    padding: .34rem .7rem; background: var(--ink); color: var(--cream);
}
.chip--accent { background: var(--orange); color: var(--ink); }
.chip--soft {
    background: rgba(224, 145, 47, .16); color: var(--orange);
    padding: .18rem .5rem; font-size: .6rem;
}

.note {
    font-size: .92rem; color: var(--muted);
    border-left: 3px solid var(--orange); padding-left: .9rem;
}

.placeholder-copy { color: var(--muted); font-style: italic; }

/* Buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 2rem; border: 1px solid transparent; border-radius: 2px;
    font-family: var(--font-body); font-size: .82rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease),
                border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--orange); color: var(--ink); }
.btn--accent:hover { background: var(--ink); color: var(--cream); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--orange); color: var(--ink); }

.btn--ghost { border-color: rgba(244, 241, 233, .55); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }

.arrow-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--teal);
}
.arrow-link svg { transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ------------------------------------------------------------------ */
/* Top bar + header                                                    */
/* ------------------------------------------------------------------ */

.topbar { background: var(--ink); color: #b9c6c3; font-size: .84rem; }
.topbar__inner {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 40px; gap: 1rem;
}
.topbar__group { display: flex; gap: 1.6rem; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: #b9c6c3; }
.topbar__item:hover { color: var(--orange); }

.site-header {
    position: sticky; top: 0; z-index: 120;
    background: rgba(247, 245, 239, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { background: #fffdf8; box-shadow: 0 10px 30px -18px rgba(14, 43, 54, .35); }

.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; min-height: 86px;
}

.brand { display: inline-flex; align-items: center; }
.logo-img { height: 62px; width: auto; display: block; }
.logo-svg { height: 54px; width: auto; display: block; }
.logo-svg--footer { height: 72px; }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav ul { display: flex; gap: 1.55rem; align-items: center; }
.site-nav a:not(.btn) {
    position: relative; font-size: .93rem; font-weight: 500;
    color: var(--ink); padding: .35rem 0; white-space: nowrap;
}
.site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--orange);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--orange-deep); }
.site-nav__cta { padding: .75rem 1.5rem; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: .6rem; cursor: pointer; z-index: 200;
}
.nav-toggle span {
    width: 26px; height: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open span { background: var(--cream); }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
    position: relative; display: flex; align-items: flex-end;
    min-height: min(92vh, 880px); color: var(--cream); overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background-color: var(--ink-2);
    background-size: cover; background-position: center;
}
.hero__bg::before {
    content: ""; position: absolute; inset: 0;
    background: var(--towers-light);
}
.hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(14, 43, 54, .42) 0%, rgba(14, 43, 54, .28) 45%, rgba(10, 30, 38, .88) 100%);
}
.hero__content { position: relative; padding: 9rem 0 5.5rem; }
.hero__content h1 { color: #fff; max-width: 16ch; margin-bottom: 1.2rem; }
.hero__sub {
    font-family: var(--font-display); font-size: 1.35rem;
    letter-spacing: .06em; color: var(--orange); margin-bottom: .4rem;
}
.hero__lede { font-size: 1.18rem; color: rgba(244, 241, 233, .85); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero--page { min-height: 420px; align-items: flex-end; }
.hero--page .hero__content { padding: 8rem 0 3.5rem; }

.breadcrumb {
    display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(244, 241, 233, .7); margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(244, 241, 233, .7); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span[aria-hidden] { color: var(--orange); }

/* Tagline strip */

.strip {
    background: var(--teal); color: var(--cream);
}
.strip__inner {
    display: flex; align-items: center; justify-content: center; gap: 1.4rem;
    padding: 1.15rem 0; text-align: center;
}
.strip__text {
    font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.3rem);
    letter-spacing: .34em; text-transform: uppercase; white-space: nowrap;
}
.strip__bars { display: inline-flex; gap: 5px; }
.strip__bars i { width: 7px; border-radius: 1px; }
.strip__bars i:nth-child(1) { height: 16px; background: var(--orange); align-self: flex-end; }
.strip__bars i:nth-child(2) { height: 26px; background: var(--cream); }
.strip__bars i:nth-child(3) { height: 20px; background: var(--olive); align-self: flex-end; }

/* ------------------------------------------------------------------ */
/* Cards & grids                                                       */
/* ------------------------------------------------------------------ */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

.project-card {
    display: flex; flex-direction: column; background: var(--card);
    border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.project-card__media {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    background: var(--ink-2) var(--towers-light);
}
.project-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__media .chip { position: absolute; top: 1rem; left: 1rem; z-index: 2; }

.project-card__body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.project-card__body h3 { font-size: 1.45rem; margin: 0; }
.project-card__loc {
    display: flex; align-items: center; gap: .45rem;
    font-size: .9rem; color: var(--muted);
}
.project-card__desc { font-size: .97rem; color: var(--muted); margin: .2rem 0 1rem; }
.project-card__body .arrow-link { margin-top: auto; }

.feature {
    background: var(--card); border: 1px solid var(--line);
    padding: 1.9rem 1.6rem;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature__icon {
    width: 54px; height: 54px; display: grid; place-items: center;
    border: 1px solid var(--line); color: var(--orange-deep); margin-bottom: 1.1rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Quick facts */

.facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.fact { background: var(--card); padding: 1.5rem 1.6rem; }
.fact span {
    display: block; font-size: .72rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
    margin-bottom: .45rem;
}
.fact b { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; color: var(--ink); }

/* Specs */

.spec { border-top: 2px solid var(--ink); padding-top: 1.15rem; }
.spec h3 { font-size: 1.18rem; margin-bottom: .7rem; }
.spec li {
    position: relative; padding: .3rem 0 .3rem 1.2rem;
    font-size: .96rem; color: var(--text);
}
.spec li::before {
    content: ""; position: absolute; left: 0; top: .82em;
    width: 7px; height: 7px; background: var(--orange);
}

/* Checklist (location features etc.) */

.checklist li {
    position: relative; padding: .5rem 0 .5rem 2.1rem; font-size: 1.02rem;
}
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .72em;
    width: 18px; height: 10px;
    border-left: 2.5px solid var(--olive); border-bottom: 2.5px solid var(--olive);
    transform: rotate(-45deg);
}

/* Value rows (Our Approach) */

.value-row {
    display: grid; grid-template-columns: 130px 1fr; gap: clamp(1rem, 4vw, 3rem);
    align-items: start; padding: 2.6rem 0; border-bottom: 1px solid var(--line);
}
.value-row:first-of-type { border-top: 1px solid var(--line); }
.value-row__num {
    font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.6rem);
    line-height: 1; color: transparent;
    -webkit-text-stroke: 1.4px var(--orange);
}
@supports not (-webkit-text-stroke: 1px black) {
    .value-row__num { color: var(--line); }
}
.value-row h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.value-row p { max-width: 62ch; color: var(--muted); margin: 0; }

/* Split layouts */

.split {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.split--media-right .split__media { order: 2; }

.frame { position: relative; }
.frame img { width: 100%; box-shadow: var(--shadow-soft); }
.frame::after {
    content: ""; position: absolute; inset: 0;
    transform: translate(16px, 16px);
    border: 1px solid var(--orange); z-index: -1;
}
.frame--portrait img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }

/* Media banner image */

.media-banner { border: 1px solid var(--line); background: var(--ink-2) var(--towers-light); }
.media-banner img { width: 100%; max-height: 640px; object-fit: cover; }

/* Credentials */

.cred {
    display: flex; gap: 1.2rem; align-items: flex-start;
    background: var(--card); border: 1px solid var(--line); padding: 1.7rem;
}
.cred__icon { color: var(--olive); flex: none; }
.cred__icon svg { width: 34px; height: 34px; }
.cred h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.cred p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Team strip */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.5rem; }
.team-card { border: 1px solid var(--line); background: var(--card); padding: 1.5rem 1.6rem; }
.team-card span {
    display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--muted); margin-bottom: .4rem;
}
.team-card b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }

/* CTA band */

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 22ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.6rem; }
.cta-band em { font-style: normal; color: var(--orange); }

/* ------------------------------------------------------------------ */
/* Gallery + lightbox                                                  */
/* ------------------------------------------------------------------ */

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter-btn {
    font-family: var(--font-body); font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    padding: .55rem 1.1rem; background: var(--card);
    border: 1px solid var(--line); color: var(--muted); cursor: pointer;
    transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.4rem;
}
.gallery-item {
    position: relative; overflow: hidden; cursor: zoom-in;
    aspect-ratio: 4 / 3; border: 1px solid var(--line);
    background: var(--ink-2) var(--towers-light); padding: 0; display: block; width: 100%;
}
.gallery-item--tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.2rem .95rem;
    background: linear-gradient(180deg, transparent, rgba(10, 30, 38, .85));
    color: var(--cream); font-size: .9rem; letter-spacing: .04em; text-align: left;
}
.gallery-item.is-hidden { display: none; }

.lightbox {
    position: fixed; inset: 0; z-index: 400; display: none;
    background: rgba(8, 22, 28, .95);
    align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
    padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: min(92vw, 1200px); max-height: 78vh; object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__caption { color: var(--cream); font-size: .95rem; letter-spacing: .05em; }
.lightbox__close, .lightbox__prev, .lightbox__next {
    position: absolute; background: none; border: 1px solid rgba(244, 241, 233, .35);
    color: var(--cream); width: 46px; height: 46px; cursor: pointer;
    display: grid; place-items: center; font-size: 1.2rem;
    transition: all .25s var(--ease);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
    background: var(--orange); color: var(--ink); border-color: var(--orange);
}
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------------ */
/* Forms & contact                                                     */
/* ------------------------------------------------------------------ */

.form-card { background: var(--card); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.6rem); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1.4rem; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
    display: block; font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
    margin-bottom: .45rem;
}
.form-field label em { color: var(--orange-deep); font-style: normal; }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%; padding: .9rem 1rem;
    font-family: var(--font-body); font-size: 1rem; color: var(--text);
    background: var(--paper); border: 1px solid var(--line); border-radius: 2px;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(23, 80, 100, .14);
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 1.05rem 1.3rem; margin-bottom: 1.8rem; border-left: 4px solid; font-size: .98rem; }
.alert--success { background: #eef3e4; border-color: var(--olive); color: #3c4a12; }
.alert--error   { background: #f9ecec; border-color: #b04a3a; color: #7c2d20; }

.info-card {
    background: var(--card); border: 1px solid var(--line); padding: 1.6rem;
    display: flex; flex-direction: column; gap: .4rem;
}
.info-card .ico { width: 26px; height: 26px; color: var(--orange-deep); margin-bottom: .5rem; }
.info-card h3 { font-size: 1.05rem; margin: 0; }
.info-card p, .info-card a { font-size: .95rem; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--orange-deep); }

.map-embed {
    border: 1px solid var(--line); background: var(--paper-2);
    aspect-ratio: 21 / 9; min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer { background: var(--ink) var(--towers-light); color: #b9c6c3; }
.site-footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: clamp(2rem, 5vw, 3.5rem); padding: 4.5rem 0 3rem;
}
.site-footer__brand .logo-svg { margin-bottom: 1.2rem; }
.site-footer__tagline { font-size: 1.02rem; color: #d5ddd2; max-width: 30ch; }
.site-footer__tagline strong { color: var(--orange); font-weight: 600; }

.site-footer h3 {
    color: var(--cream); font-size: .92rem; letter-spacing: .2em;
    text-transform: uppercase; margin-bottom: 1.2rem;
}
.site-footer__col li { margin-bottom: .55rem; }
.site-footer__col a { color: #b9c6c3; font-size: .97rem; }
.site-footer__col a:hover { color: var(--orange); }

.site-footer__contact li {
    display: flex; gap: .7rem; align-items: flex-start;
    font-size: .95rem; margin-bottom: .85rem;
}
.site-footer__contact .ico { margin-top: .2rem; color: var(--orange); }
.site-footer__contact a { color: #b9c6c3; }
.site-footer__contact a:hover { color: var(--orange); }

.site-footer__bottom { border-top: 1px solid var(--line-dark); }
.site-footer__bottom-inner {
    display: flex; flex-wrap: wrap; gap: .6rem 2rem;
    align-items: center; justify-content: space-between;
    padding: 1.3rem 0; font-size: .86rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal a { color: #b9c6c3; }
.site-footer__legal a:hover { color: var(--orange); }
.site-footer__legal span { margin: 0 .5rem; color: var(--line-dark); }

/* Sticky mobile bar */

.mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 150;
    display: none; grid-template-columns: 1fr 1fr 1fr;
    background: var(--ink-2); border-top: 1px solid var(--line-dark);
}
.mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .85rem .4rem; color: var(--cream);
    font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.mobile-bar__cta { background: var(--orange); color: var(--ink) !important; }

/* ------------------------------------------------------------------ */
/* Reveal animations                                                   */
/* ------------------------------------------------------------------ */

/* Only hide reveal targets when JS is confirmed present (html.js),
   so content stays visible without JavaScript. */
.js .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .85s var(--ease), transform .85s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .project-card__media img, .gallery-item img { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1120px) {
    .site-nav ul { gap: 1.1rem; }
    .site-nav a:not(.btn) { font-size: .88rem; }
}

@media (max-width: 1020px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: 0; z-index: 160;
        flex-direction: column; justify-content: center; gap: 0;
        background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
        background-blend-mode: normal;
        transform: translateX(100%); visibility: hidden;
        transition: transform .45s var(--ease), visibility .45s;
    }
    .site-nav.is-open { transform: none; visibility: visible; }
    .site-nav ul { flex-direction: column; gap: .4rem; text-align: center; }
    .site-nav a:not(.btn) {
        font-family: var(--font-display); font-size: 1.7rem;
        color: var(--cream); padding: .55rem 0;
    }
    .site-nav a.is-active { color: var(--orange); }
    .site-nav__cta { margin-top: 2rem; }
    body.nav-locked { overflow: hidden; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split--media-right .split__media { order: 0; }
}

@media (max-width: 860px) {
    .topbar { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .value-row { grid-template-columns: 1fr; gap: .4rem; }
}

@media (max-width: 768px) {
    .mobile-bar { display: grid; }
    body { padding-bottom: 52px; }
    .hero { min-height: 78vh; }
    .hero__content { padding: 7rem 0 4rem; }
}

@media (max-width: 640px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; padding-top: 3.5rem; }
    .logo-svg { height: 44px; }
    .logo-img { height: 48px; }
    .strip__text { letter-spacing: .22em; white-space: normal; }
    .hero__actions .btn { width: 100%; }
    .lightbox__prev, .lightbox__next { display: none; }
}
