/* ==========================================================================
   Prime Briica — site design system
   Loaded after the legacy inline styles in index.php, so rules here take
   precedence. Tokens reuse the legacy variable names (--navy, --gold, …)
   so older component styles pick up the refined palette automatically.
   ========================================================================== */

:root {
    /* Palette — deep navy, warm paper, restrained brass */
    --navy: #17212e;
    --navy-light: #243142;
    --navy-deep: #101822;
    --gold: #a9875a;
    --gold-dark: #8c6d43;
    --gold-soft: #c9ae84;
    --cream: #f3efe7;
    --paper: #faf8f4;
    --white: #ffffff;
    --ink: #17212e;
    --ink-2: #3a4450;
    --muted: #646d78;
    --gray: #646d78;
    --gray-light: #e3ded4;
    --line: rgba(23, 33, 46, 0.12);
    --line-strong: rgba(23, 33, 46, 0.24);
    --line-inverse: rgba(255, 255, 255, 0.16);

    --shadow-sm: 0 1px 2px rgba(16, 24, 34, 0.06);
    --shadow-md: 0 12px 28px -18px rgba(16, 24, 34, 0.35);
    --shadow-lg: 0 28px 56px -28px rgba(16, 24, 34, 0.4);

    /* Type */
    --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --font-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --fs-display: clamp(2.3rem, 1.45rem + 2.7vw, 3.9rem);
    --fs-h1: clamp(2.1rem, 1.5rem + 1.9vw, 3.25rem);
    --fs-h2: clamp(1.8rem, 1.35rem + 1.45vw, 2.75rem);
    --fs-h3: clamp(1.3rem, 1.15rem + 0.45vw, 1.6rem);
    --fs-lede: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);

    /* Layout */
    --container: 1320px;
    --gutter: clamp(20px, 4.5vw, 56px);
    --content: calc(min(100vw, var(--container)) - 2 * var(--gutter));
    --section: clamp(72px, 5rem + 4vw, 136px);
    --nav-h: 76px;
    --radius: 2px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1079.98px) {
    :root { --nav-h: 64px; }
}

/* ── Base ───────────────────────────────────────────────────────────────── */

html {
    overflow-x: clip;
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.nav-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.012em;
    color: inherit;
    text-wrap: balance;
}

p { text-wrap: pretty; }

img { max-width: 100%; }

a { color: inherit; }

::selection { background: var(--navy); color: var(--paper); }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Legacy entrance animations are removed — the site should feel calm */
.hero-bg, .hero-content, .hero-content h1, .hero-content .subtitle,
.hero-services, .hero-buttons, .section { animation: none; }

/* ── Layout primitives ──────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding: var(--section) 0;
}

.section-alt { background: var(--paper); }

.section-dark {
    background: var(--navy);
    color: var(--paper);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.section-dark .eyebrow { color: var(--gold-soft); }

.lede {
    font-size: var(--fs-lede);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 36rem;
}

.section-dark .lede { color: rgba(250, 248, 244, 0.78); }

/* Section header: left-aligned editorial heading with an optional aside */
.section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem 4rem;
    text-align: left;
    margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-header h2 {
    display: block;
    font-size: var(--fs-h2);
    margin: 0;
    color: var(--ink);
}

.section-header h2::after { display: none; }

.section-header p {
    margin: 0;
    font-size: var(--fs-lede);
    color: var(--muted);
    max-width: 34rem;
}

.section-header .eyebrow {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    color: var(--gold-dark);
    max-width: none;
}

.section-dark .section-header h2 { color: var(--paper); }
.section-dark .section-header p { color: rgba(250, 248, 244, 0.72); }

@media (min-width: 900px) {
    .section-header--split {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: end;
    }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
    transform: none;
}

.btn:hover { transform: none; box-shadow: none; }

.btn svg { flex: none; width: 16px; height: 16px; }
.btn { white-space: nowrap; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
    background: var(--navy);
    color: var(--paper);
    border-color: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.section-dark .btn-primary,
.footer .btn-primary {
    background: var(--paper);
    color: var(--navy);
    border-color: var(--paper);
}

.section-dark .btn-primary:hover { background: var(--white); border-color: var(--white); }

.section-dark .btn-secondary {
    color: var(--paper);
    border-color: rgba(250, 248, 244, 0.35);
}

.section-dark .btn-secondary:hover { border-color: var(--paper); color: var(--paper); }

.btn-full { width: 100%; }

/* Text link with an understated arrow and animated underline */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0;
    background: none;
    border: 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}

.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(3px); }
.section-dark .link-arrow { color: var(--paper); }

/* ── Navigation ─────────────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    height: var(--nav-h);
    padding: 0;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 1000;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.navbar.scrolled {
    padding: 0;
    background: rgba(250, 248, 244, 0.98);
    border-bottom-color: var(--line);
}

.nav-container {
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
}

.logo-img {
    height: 34px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-mark {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--ink);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
}

.logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.2vw, 2.25rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.15rem;
    width: auto;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: auto; transform: scaleX(1); }

/* "Contact" is the one call to action in the bar */
.nav-links .nav-cta a {
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-links .nav-cta a::after { display: none; }
.nav-links .nav-cta a:hover,
.nav-links .nav-cta a.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.nav-panel-contact { display: none; }

.mobile-menu-btn {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    line-height: 0;
}

.mobile-menu-btn .bar {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}

.mobile-menu-btn .bar:nth-child(1) { top: 16px; }
.mobile-menu-btn .bar:nth-child(2) { top: 22px; }
.mobile-menu-btn .bar:nth-child(3) { top: 28px; }
.mobile-menu-btn[aria-expanded="true"] .bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] .bar:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1079.98px) {
    .logo { font-size: 1.3rem; }
    .logo-mark { width: 30px; height: 30px; font-size: 1.05rem; }
    .logo-img { height: 30px; }

    .mobile-menu-btn { display: block; }

    /* Full-height panel under the bar */
    .nav-links,
    .nav-links.open {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: none;
        padding: 0.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
        background: var(--paper);
        border-top: 1px solid var(--line);
        box-shadow: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    }

    .nav-links.open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
    }

    .nav-links li { border-bottom: 1px solid var(--line); }

    .nav-links a,
    .nav-links.open a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1.05rem 0;
        font-family: var(--font-serif);
        font-size: 1.5rem;
        font-weight: 400;
        letter-spacing: -0.01em;
        color: var(--ink);
    }

    .nav-links a::after,
    .nav-links.open a::after { display: none; }

    .nav-links a.active,
    .nav-links.open a.active { color: var(--ink); }

    .nav-links a.active::before {
        content: '';
        order: 2;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gold);
    }

    .nav-links .nav-cta a,
    .nav-links .nav-cta a:hover,
    .nav-links .nav-cta a.active {
        padding: 1.05rem 0;
        border: 0;
        background: none;
        color: var(--ink);
    }

    .nav-panel-contact {
        display: block;
        border-bottom: 0 !important;
        margin-top: auto;
        padding-top: 2.5rem;
        font-size: 0.9375rem;
        color: var(--muted);
    }

    .nav-panel-contact span {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--gold-dark);
    }

    .nav-panel-contact a,
    .nav-links.open .nav-panel-contact a {
        display: block;
        padding: 0.2rem 0;
        font-family: var(--font-sans);
        font-size: 1rem;
        color: var(--ink);
    }
}

/* ── Home: hero ─────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    padding-top: var(--nav-h);
    overflow: hidden;
    background: var(--paper);
}

/* Copy sits on the container; the image bleeds to the right edge */
.hero-grid {
    display: grid;
    grid-template-columns:
        [full-start] minmax(var(--gutter), 1fr)
        [copy-start] minmax(0, 35rem) [copy-end]
        clamp(2.5rem, 5vw, 6rem)
        [media-start] minmax(0, calc(var(--container) - 35rem - 6rem - 2 * var(--gutter)))
        minmax(0, 1fr) [full-end];
    min-height: clamp(560px, calc(100svh - var(--nav-h)), 860px);
}

.hero-copy {
    grid-column: copy;
    align-self: center;
    padding-block: clamp(3rem, 6vw, 6rem);
}

.hero-copy h1 {
    margin: 0 0 1.5rem;
    font-size: var(--fs-display);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.hero-copy h1 em {
    font-style: italic;
    color: var(--gold-dark);
}

.hero-copy .lede { margin: 0 0 2.25rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.hero-media {
    grid-column: media-start / full-end;
    position: relative;
    min-height: 100%;
    background: var(--cream);
}

.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 30%;
}

/* A quiet credential plate overlapping the image edge */
.hero-plate {
    position: absolute;
    left: 0;
    bottom: clamp(2rem, 5vw, 4rem);
    transform: translateX(-2.5rem);
    max-width: 15rem;
    padding: 1.5rem 1.75rem;
    background: var(--paper);
    border-top: 2px solid var(--gold);
}

.hero-plate strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
}

.hero-plate span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--muted);
}

/* Hero title lines are spans (one per written line) */
.hero-title-line { display: block; }
.hero-cta svg { display: none; }
.hero-label-line { display: inline; }

/* ── Mobile & tablet hero ── */
@media (max-width: 899.98px) {
    .hero-grid {
        grid-template-columns: [full-start] var(--gutter) [copy-start media-start] minmax(0, 1fr) [copy-end] var(--gutter) [full-end];
        min-height: 0;
    }

    .hero-copy { padding-block: clamp(2.25rem, 6vw, 3.5rem) 2.25rem; }
    .hero-copy .lede { margin-bottom: 1.75rem; }

    .hero-media {
        grid-column: full;
        aspect-ratio: 16 / 10;
        min-height: 260px;
    }

    .hero-plate {
        left: var(--gutter);
        bottom: 0;
        transform: none;
        max-width: none;
        padding: 1rem 1.25rem;
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
    }

    .hero-plate strong { font-size: 1.9rem; }
    .hero-plate span { margin: 0; font-size: 0.8125rem; }
}

/* ── Phone hero: set deliberately for 320–430px ── */
@media (max-width: 599.98px) {
    .hero-copy { padding-block: clamp(2rem, 8vw, 2.75rem) 0; }

    /* Service label: a short brass rule, then two balanced lines */
    .hero-label {
        display: block;
        margin: 0 0 1.4rem;
        font-size: 0.6875rem;
        line-height: 1.75;
        letter-spacing: 0.16em;
        color: var(--gold-dark);
    }

    .hero-label::before {
        content: '';
        display: block;
        width: 24px;
        height: 1px;
        margin-bottom: 1rem;
        background: currentColor;
        opacity: 0.55;
    }

    .hero-label-line { display: block; white-space: nowrap; }
    .hero-label-sep { display: none; }

    /* Headline: sized so "Professional Services" always holds one line */
    .hero-copy h1 {
        margin: 0 0 1.15rem;
        font-size: clamp(1.8rem, calc((100vw - 2 * var(--gutter)) / 9.4), 2.45rem);
        line-height: 1.08;
        letter-spacing: -0.022em;
    }

    .hero-title-line.is-set { white-space: nowrap; }

    .hero-copy .lede {
        max-width: 30rem;
        margin: 0 0 1.9rem;
        font-size: 1rem;
        line-height: 1.6;
        color: var(--ink-2);
    }

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

    /* Primary action: full width, label left, arrow right */
    .hero-cta {
        justify-content: space-between;
        min-height: 56px;
        padding: 0 1.25rem 0 1.35rem;
        font-size: 0.9375rem;
        letter-spacing: 0.02em;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s var(--ease);
    }

    .hero-cta svg {
        display: block;
        width: 18px;
        height: 18px;
        transition: transform 0.3s var(--ease);
    }

    .hero-cta:hover svg,
    .hero-cta:active svg { transform: translateX(3px); }
    .hero-cta:active { background: var(--navy-deep); border-color: var(--navy-deep); }

    /* Secondary action: quiet underlined text, full-height tap target */
    .hero-invoice {
        align-self: flex-start;
        min-height: 44px;
        padding: 0;
        font-weight: 500;
        color: var(--ink-2);
        background-image: none;
        text-decoration: underline;
        text-decoration-color: var(--line-strong);
        text-decoration-thickness: 1px;
        text-underline-offset: 5px;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
    }

    .hero-invoice:hover,
    .hero-invoice:active { color: var(--ink); text-decoration-color: var(--ink); }
    .hero-invoice:active svg { transform: translateX(3px); }

    /* Trust strip: three equal columns with hairline dividers */
    .hero-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin: 1.5rem 0 0;
        padding: 0;
        border-top: 1px solid var(--line);
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0.01em;
        color: var(--muted);
    }

    .hero-meta li {
        padding: 0.95rem 0.75rem 1.4rem;
        border-left: 1px solid var(--line);
    }

    .hero-meta li:first-child { padding-left: 0; border-left: 0; }
    .hero-meta li span { display: block; }
    .hero-meta li span:first-child { color: var(--ink); }

    /* Photograph: aligned to the text column on the left, bleeding off the right
       edge — the same move the desktop layout makes */
    .hero-media {
        grid-column: copy-start / full-end;
        aspect-ratio: 4 / 5;
        max-height: 560px;
        min-height: 0;
    }

    .hero-media img { object-position: 80% 30%; }

    .hero-plate {
        left: 0;
        bottom: 0;
        gap: 0.6rem;
        padding: 0.85rem 1.15rem 0.9rem 0;
        background: var(--paper);
        border-top: 0;
    }

    .hero-plate strong { font-size: 1.75rem; }
    .hero-plate span { font-size: 0.8125rem; color: var(--ink-2); }
}

@media (max-width: 359.98px) {
    .hero-meta li { padding-inline: 0.55rem; }
    .hero-meta { font-size: 0.71875rem; }
    .hero-plate span { max-width: 11rem; line-height: 1.35; }
}

/* ── Home: portfolio ────────────────────────────────────────────────────── */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    align-items: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    color: var(--ink);
    text-decoration: none;
}

.portfolio-item:nth-child(even) { margin-top: clamp(0rem, 4vw, 4rem); }

.portfolio-figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin: 0 0 1.4rem;
    background: var(--cream);
}

.portfolio-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.portfolio-item:hover .portfolio-figure img { transform: scale(1.035); }

.portfolio-index {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
}

.portfolio-item h3 {
    margin: 0.5rem 0 0.5rem;
    font-size: var(--fs-h3);
}

.portfolio-item p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.975rem;
}

.portfolio-item .link-arrow { align-self: flex-start; }
.portfolio-item:hover .link-arrow { background-size: 100% 1px; }
.portfolio-item:hover .link-arrow svg { transform: translateX(3px); }

@media (max-width: 1023.98px) {
    .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
    .portfolio-item:nth-child(even) { margin-top: 0; }
    .portfolio-figure { aspect-ratio: 4 / 3; }
}

@media (max-width: 599.98px) {
    .portfolio-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.75rem; }
    .portfolio-figure { aspect-ratio: 3 / 2; margin-bottom: 1.1rem; }
}

/* ── Home: why choose us ────────────────────────────────────────────────── */

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.why-intro h2 {
    margin: 0 0 1.5rem;
    font-size: var(--fs-h2);
    color: var(--paper);
}

.why-figure {
    margin: 2.5rem 0 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.why-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.02);
    opacity: 0.92;
}

.why-list {
    padding-top: 0.25rem !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(2rem, 4vw, 4rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-item {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--line-inverse);
}

.why-item .why-num {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
}

.why-item h3 {
    margin: 0 0 0.75rem;
    font-size: var(--fs-h3);
    color: var(--paper);
}

.why-item p {
    margin: 0;
    color: rgba(250, 248, 244, 0.7);
    font-size: 0.975rem;
}

@media (max-width: 899.98px) {
    .why-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .why-figure { display: none; }
}

@media (max-width: 559.98px) {
    .why-list { grid-template-columns: minmax(0, 1fr); }
    .why-item { padding: 1.5rem 0 1.75rem; }
    .why-item .why-num { margin-bottom: 0.75rem; }
}

/* ── CTA band ───────────────────────────────────────────────────────────── */

.cta-section {
    padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
    border-top: 1px solid var(--line);
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2rem 4rem;
    align-items: end;
}

.cta-section h2 {
    margin: 0 0 1rem;
    font-size: var(--fs-h2);
    color: var(--ink);
}

.cta-section p {
    margin: 0;
    font-size: var(--fs-lede);
    color: var(--muted);
}

.cta-btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cta-btn-row .btn { min-width: 11rem; }
.cta-btn-invoice { margin: 0; }

@media (max-width: 799.98px) {
    .cta-grid { grid-template-columns: minmax(0, 1fr); }
    .cta-btn-row { justify-content: flex-start; }
}

@media (max-width: 479.98px) {
    .cta-btn-row { flex-direction: column; }
    .cta-btn-row .btn { width: 100%; }
}

/* ── Inner page header ──────────────────────────────────────────────────── */

.page-header {
    position: relative;
    padding-top: var(--nav-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.page-header__grid {
    display: grid;
    grid-template-columns:
        [full-start] minmax(var(--gutter), 1fr)
        [copy-start] minmax(0, 38rem) [copy-end]
        clamp(2rem, 5vw, 6rem)
        [media-start] minmax(0, calc(var(--container) - 38rem - 6rem - 2 * var(--gutter)))
        minmax(0, 1fr) [full-end];
}

.page-header__copy {
    grid-column: copy;
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
    align-self: center;
}

.page-header:not(.has-media) .page-header__copy { grid-column: copy-start / media-end; max-width: 46rem; }

.page-header h1 {
    margin: 0 0 1.25rem;
    font-size: var(--fs-h1);
    letter-spacing: -0.018em;
    color: var(--ink);
}

.page-header .lede { margin: 0; }

.page-header__media {
    grid-column: media-start / full-end;
    position: relative;
    min-height: 100%;
    background: var(--cream);
}

.page-header__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 899.98px) {
    .page-header__grid {
        grid-template-columns: [full-start] var(--gutter) [copy-start media-start] minmax(0, 1fr) [copy-end media-end] var(--gutter) [full-end];
    }

    .page-header__copy { padding-block: 2.75rem 2.5rem; }

    .page-header__media {
        grid-column: full;
        aspect-ratio: 16 / 9;
        max-height: 46svh;
    }
}

/* ── Portfolio page rows ────────────────────────────────────────────────── */

.portfolio-rows { display: grid; gap: clamp(4rem, 8vw, 8rem); }

.portfolio-row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}

.portfolio-row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.portfolio-row:nth-child(even) .portfolio-row__media { order: 2; }

.portfolio-row__media {
    margin: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--cream);
    cursor: pointer;
}

.portfolio-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.portfolio-row:hover .portfolio-row__media img { transform: scale(1.03); }

.portfolio-row h2 {
    margin: 0.5rem 0 1rem;
    font-size: var(--fs-h2);
}

.portfolio-row p {
    margin: 0 0 1.75rem;
    font-size: var(--fs-lede);
    color: var(--ink-2);
}

@media (max-width: 799.98px) {
    .portfolio-row,
    .portfolio-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .portfolio-row:nth-child(even) .portfolio-row__media { order: 0; }
}

/* ── Service content (consulting, procurement, equipment, contact) ─────── */

.service-content { padding: var(--section) 0; }

/* Numbered list — used for "What we procure" */
.procure-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(1.5rem, 3vw, 3rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.procure-list li {
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--line-strong);
}

.procure-list .procure-num {
    display: block;
    margin-bottom: 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
}

.procure-list h3 { margin: 0 0 0.5rem; font-size: var(--fs-h3); }
.procure-list p { margin: 0; color: var(--muted); }

@media (max-width: 899.98px) {
    .procure-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
    .procure-list .procure-num { margin-bottom: 1.25rem; }
}

@media (max-width: 479.98px) {
    .procure-list { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
}

/* Legacy card grid (kept for any remaining uses) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 0;
}

.service-card {
    padding: 2rem 0 0;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: none;
}

.service-card:hover { transform: none; box-shadow: none; }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); margin-bottom: 1.25rem; }
.service-icon { width: 36px; height: 36px; margin: 0 0 1.5rem; color: var(--gold-dark); }

/* Consulting services */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 0;
    margin-top: 0;
    border-top: 1px solid var(--line-strong);
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 2.25rem clamp(1.5rem, 2.5vw, 2.5rem) 2.5rem;
    background: var(--white);
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    transition: background-color 0.3s var(--ease);
}

.pricing-card:hover { transform: none; border-color: var(--line); background: var(--paper); }
.pricing-card.featured { border-color: var(--line); }

.pricing-card.featured::before {
    content: 'Most requested';
    position: static;
    align-self: flex-start;
    order: -1;
    transform: none;
    margin-bottom: 1.25rem;
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.pricing-card h3 { font-size: var(--fs-h3); margin: 0 0 0.75rem; }
.pricing-card > p { color: var(--muted); margin: 0; }

.price {
    margin: 1.5rem 0 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
}

.price-unit {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--muted);
}

.features-list { margin: 1rem 0 2rem; }

.features-list li {
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--ink-2);
}

.checkmark { color: var(--gold-dark); }
.pricing-card .btn { margin-top: auto; }

/* Forms — flat, two-column on wide screens */
.form-section {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    grid-auto-rows: min-content;
    column-gap: clamp(2rem, 6vw, 6rem);
    margin-top: var(--section);
    padding: clamp(2.5rem, 4vw, 3.5rem) 0 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: none;
}

.form-section > h3 {
    grid-column: 1;
    margin: 0 0 1rem;
    font-size: var(--fs-h2);
    line-height: 1.12;
}

.form-section > p {
    grid-column: 1;
    margin: 0;
    color: var(--muted);
    font-size: var(--fs-lede);
}

.form-section > form {
    grid-column: 2;
    grid-row: 1 / span 4;
}

/* When a form is the first thing in the content area, it doesn't need a divider above it */
.service-content .container > .form-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.form-section--flush {
    display: block;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.form-section--flush > h3 { margin-bottom: 1.75rem; font-size: var(--fs-h3); }

@media (max-width: 899.98px) {
    .form-section { grid-template-columns: minmax(0, 1fr); }
    .form-section > form { grid-column: 1; grid-row: auto; margin-top: 2rem; }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 0 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.8rem 0.95rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(169, 135, 90, 0.18);
}

.form-group textarea { min-height: 140px; }

.alert-success,
.alert-error {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    margin-top: 0;
}

.contact-info { gap: 0; border-top: 1px solid var(--line-strong); align-self: start; }

.contact-item {
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--gold-dark);
}

.contact-icon svg { width: 16px; height: 16px; }

.contact-item-content h3 {
    margin: 0 0 0.3rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-item-content p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ink);
    overflow-wrap: anywhere;
}

@media (max-width: 899.98px) {
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer {
    padding: clamp(4rem, 3rem + 3vw, 6rem) 0 0;
    background: var(--navy-deep);
    color: rgba(250, 248, 244, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr));
    gap: 2.5rem clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.footer-brand .logo { color: var(--paper); margin-bottom: 1.25rem; }
.footer-brand .logo-mark { border-color: rgba(250, 248, 244, 0.6); color: var(--paper); }

.footer-brand p {
    max-width: 24rem;
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.65;
}

.footer-col h3 {
    margin: 0 0 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-col a,
.footer-col p {
    display: inline;
    margin: 0;
    font-size: 0.95rem;
    color: rgba(250, 248, 244, 0.78);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-inverse);
    text-align: left;
    font-size: 0.8125rem;
    color: rgba(250, 248, 244, 0.55);
}

.footer-bottom p { margin: 0; }

.footer-top-link {
    padding: 0.4rem 0;
    background: none;
    border: 0;
    font: inherit;
    color: rgba(250, 248, 244, 0.72);
    cursor: pointer;
    transition: color 0.2s var(--ease);
}

.footer-top-link:hover { color: var(--white); }

@media (max-width: 899.98px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 419.98px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* ── Modals ─────────────────────────────────────────────────────────────── */

.modal { background: rgba(16, 24, 34, 0.62); padding: 1rem; }

.modal-content {
    width: 100%;
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-lg);
    transform: translateY(8px);
}

.modal.active .modal-content { transform: none; }
.modal-content h2 { font-size: var(--fs-h3); }

.modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
    line-height: 1;
}

/* ── Real estate & equipment: align with the brand system ──────────────── */

.re-card, .re-list-card, .re-all-card, .re-deal-card, .re-loc-card,
.re-showcase-card, .eq-card, .prop-detail-price-card, .prop-detail-inquiry-card {
    border-radius: var(--radius);
    box-shadow: none;
}

.re-list-card, .re-all-card, .re-deal-card, .eq-card {
    border: 1px solid var(--line);
    transition: border-color 0.3s var(--ease);
}

.re-list-card:hover, .re-all-card:hover, .re-deal-card:hover, .eq-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line-strong);
}

.re-section-hd h2, .re-rent-hd h2, .re-showcase-text h2, .re-why-cta h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.012em;
}

/* ── Real estate, property detail, equipment & invoice components ─────────
   These pages keep their structure; this layer brings them into the same
   typographic and visual system (serif headings, square corners, hairlines). */

/* Headings: serif, regular weight */
.re-hero-title, .re-section-hd h2, .re-rent-hd-left h2, .re-showcase-text h2,
.re-why-cta h2, .re-newsletter h3, .re-loc-info h3, .prop-detail-title,
.prop-detail-section-title, .prop-detail-inquiry-card h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.015em;
}

.re-hero-title {
    font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem);
    line-height: 1.06;
    text-transform: none;
}

.re-section-hd h2, .re-rent-hd-left h2, .re-showcase-text h2, .re-why-cta h2 { font-size: var(--fs-h2); }

/* Card titles: sans, medium — easier to scan in dense grids */
.re-list-card-body h3, .re-all-card-body h3, .re-deal-card-body h4,
.re-showcase-card-info h4, .re-card-title, .eq-card-name, .gi-card-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

/* Figures */
.re-stat-num, .re-all-card-price, .re-deal-price, .re-list-spec-val,
.prop-detail-price-val, .prop-detail-spec-val, .prop-detail-price-spec-val,
.eq-price-amount, .re-list-card-price-overlay {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.re-stat-num { font-size: 2.4rem; }

/* Labels and small UI text: lighter weight */
.re-feature-text h4, .re-search-field label, .prop-detail-price-label,
.eq-rate-label, .eq-rate-value, .gi-card-price, .inv-preview-co, .inv-preview-total,
.prop-detail-features li span, .prop-detail-back, .re-see-all,
.re-all-card-actions button, .re-list-card-actions button, .re-search-btn,
.re-btn-blue, .eq-rent-btn, .prop-detail-inquiry-btn {
    font-weight: 600;
}

/* Square the corners and remove floating shadows */
.re-search-bar, .re-all-card, .re-deal-card, .re-list-card, .re-loc-card,
.re-showcase-card, .re-testi-card, .re-testi-img, .re-feature-icon, .re-btn-blue,
.re-see-all, .re-newsletter-form input, .re-list-card-actions button,
.re-all-card-actions button, .prop-gallery, .prop-detail-price-card,
.prop-detail-inquiry-card, .prop-detail-inquiry-card input,
.prop-detail-inquiry-card textarea, .prop-detail-specs-bar, .prop-detail-features li,
.prop-detail-price-spec, .prop-detail-inquiry-btn, .eq-card, .eq-card-icon,
.eq-price-block, .eq-rates, .eq-rent-btn, .gi-card, .gi-custom-fields,
.pay-method-card, .inv-preview {
    border-radius: var(--radius);
}

.re-search-bar, .re-showcase-card, .re-testi-card, .re-all-card, .re-list-card,
.re-deal-card, .prop-detail-price-card, .prop-detail-inquiry-card, .eq-card,
.gi-card.active, .pay-method-card.active,
.re-all-card:hover, .re-list-card:hover, .re-deal-card:hover, .eq-card:hover {
    box-shadow: none;
}

.re-gallery-nav, .prop-gallery-nav, .prop-detail-gallery-nav { box-shadow: none; }

/* Real estate hero: lighter overlay, cleaner search */
.re-search-bar { border: 1px solid var(--line); }
.re-search-btn { border-radius: 0; }

/* Features bar: drop the icon tiles, keep the line icons */
.re-feature-icon { background: none; width: auto; height: auto; }
.re-feature-icon svg { stroke: var(--gold-dark); width: 22px; height: 22px; }

/* Buttons inside listings follow the global button style */
.re-btn-blue, .re-list-card-actions button:first-child, .re-all-card-actions button:first-child {
    background: var(--navy);
    color: var(--paper);
}

.re-see-all {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--ink);
}

.re-see-all:hover { border-color: var(--ink); background: none; }

/* Badges: small uppercase labels instead of pills */
.re-list-card-type-badge, .re-badge, .gi-cat-badge {
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.re-list-card-type-badge, .re-badge {
    background: var(--paper);
    color: var(--ink);
}

.re-badge-sale { background: var(--navy); color: var(--paper); }

.re-rent-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.9em;
    height: 1.9em;
    margin-left: 0.5rem;
    padding: 0 0.45em;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    vertical-align: middle;
}

.re-list-card-price-overlay {
    border-radius: 0;
    background: rgba(16, 24, 34, 0.82);
    font-size: 1.15rem;
}

.re-filter-tab { border-radius: 0; }
.re-filter-tab.active { background: var(--navy); border-color: var(--navy); color: var(--paper); }

.prop-photo-badge, .prop-gallery-counter, .prop-detail-gallery-counter, .prop-detail-amenity-tag {
    border-radius: 0;
    font-weight: 600;
}

/* Equipment cards */
.eq-card::before { display: none; }
.eq-card-icon { background: none; border: 1px solid var(--line-strong); color: var(--gold-dark); }
.eq-card:hover .eq-card-icon { background: none; color: var(--gold-dark); }
.eq-price-block { background: var(--paper); border: 1px solid var(--line); }
.eq-price-amount { color: var(--ink); }
.eq-rates { border: 1px solid var(--line); }
.eq-rent-btn { background: var(--navy); box-shadow: none; }
.eq-rent-btn:hover { background: var(--navy-light); box-shadow: none; transform: none; }

/* Get-invoice modal */
.gi-card { border: 1px solid var(--line); }
.gi-card.active { border-color: var(--ink); background: var(--paper); }
.pay-method-card.active { border-color: var(--ink); }

/* Real estate hero: clear the fixed bar, lighter image treatment */
.re-hero { min-height: clamp(460px, 62svh, 620px); }
.re-hero-bg { filter: brightness(0.62) saturate(0.9); }
.re-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(16, 24, 34, 0.55) 0%, rgba(16, 24, 34, 0.15) 60%, rgba(16, 24, 34, 0) 100%);
}
.re-hero-content {
    max-width: var(--container);
    padding: calc(var(--nav-h) + 3.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
}
.re-hero-title { max-width: 40rem; margin-bottom: 1rem; }

.re-why-cta h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    max-width: 32rem;
    line-height: 1.2;
}

/* Equipment duration selector: a quiet control row, not a banner */
.rental-duration-bar {
    margin-bottom: 2.5rem;
    padding: 1.1rem 0;
    background: none;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.rental-duration-label { color: var(--ink); font-weight: 600; }

.rental-days-input {
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
}

.rental-days-input:focus { border-color: var(--ink); background: var(--white); }
.rental-days-suffix { color: var(--muted); }
.rental-duration-hint { color: var(--gold-dark); opacity: 1; }

.eq-card-avail { color: #3d7a55; font-weight: 600; letter-spacing: 0.1em; }
.eq-card-avail-dot { background: #3d7a55; animation: none; }

@media (max-width: 768px) {
    .rental-duration-bar { padding: 1rem 0; border-radius: 0; }
    .re-hero { min-height: 0; }
    .re-hero-content { padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 2.25rem; }
    .re-search-bar, .re-search-btn { border-radius: var(--radius); }
}

/* Real estate sections share the site container and gutter */
.re-features-inner, .re-showcase-inner, .re-locations-inner, .re-why-cta-inner,
.re-rent-section-inner, .re-deals-inner, .re-all-props-inner,
.re-testimonials-inner, .re-newsletter-inner {
    max-width: var(--container);
    padding-inline: var(--gutter);
}

.re-showcase-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .re-showcase-inner { grid-template-columns: minmax(0, 1fr); }
}

.re-stats-row { flex-wrap: wrap; row-gap: 1rem; }
@media (max-width: 479.98px) { .re-stat-num { font-size: 2rem; } }


/* Property detail gallery: quieter controls */
.prop-detail-gallery-nav { border-radius: 0; background: rgba(250, 248, 244, 0.92); }
.prop-detail-gallery-nav:hover { background: var(--paper); transform: translateY(-50%); }
.prop-detail-thumbs-bar img, .prop-detail-thumb { border-radius: 0; }