/* ═══════════════════════════════════════════════════════════════════════════
 * SWANKHAUS · SHARED STYLES
 *
 *   The five HTML pages (index, listings, property, saved, invest) all share
 *   the same design tokens, reset, and base header chrome. Page-specific
 *   styles (globe overlays, gallery, charts, etc.) continue to live in each
 *   page's inline <style> block. Nothing in this file overrides a page-level
 *   style — page styles can always tighten the defaults below.
 *
 *   Token values are the canonical set from saved.html / invest.html. Pages
 *   that previously declared slightly different hex values (e.g. listings.html
 *   used #080808 for --bg) continue to work because their inline rule wins
 *   cascade-wise; this file just guarantees a sensible default for any page
 *   that drops a token.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* §1  DESIGN TOKENS — canonical Swankhaus palette */
:root {
    --bg:          #0a0a0c;
    --surface:     rgba(255, 255, 255, 0.03);
    --surface2:    rgba(255, 255, 255, 0.05);
    --border:      rgba(255, 255, 255, 0.07);
    --gold:        #c9a84c;
    --text:        rgba(255, 255, 255, 0.88);
    --text-sec:    rgba(255, 255, 255, 0.55);
    --text-mute:   rgba(255, 255, 255, 0.38);
}

/* §2  RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* §3  BASE TYPOGRAPHY */
html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

/* §4  SHARED HEADER CHROME
 *     A 60-px sticky header with a hairline border, generous side-padding,
 *     and an optional frosted-glass effect. Apply via class="swk-header" —
 *     pages that need a different height (property.html uses 56 px) or want
 *     the rule on the bare <header> element can keep their inline overrides. */
.swk-header {
    position: sticky;
    top: 0;
    z-index: 300;
    height: 60px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 12, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* §5  REUSABLE BUTTONS — outline + filled gold variants used on multiple
 *     pages (property.html action row, future CTAs). Pages can still scope
 *     their own .btn-outline / .btn-gold to override these defaults. */
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 7px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.40);
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.30);
    color: rgba(255, 255, 255, 0.70);
}

.btn-gold {
    background: var(--gold);
    border: 0;
    border-radius: 20px;
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    transition: filter 0.2s, background 0.2s;
}
.btn-gold:hover { background: #e8c870; }

/* §6  BRAND MARK — V1 roof + chimney + drifting smoke.
 *     Inline SVG sized in `em` so it scales with the wordmark beside it.
 *     ViewBox `-3 -12 38 38` is a square crop that includes the smoke trail
 *     above the chimney. The mark always leads the wordmark — right-side
 *     margin only. Use `.swk-mark--lg` for hero placements. */
.swk-mark {
    display: inline-block;
    width: 1.55em;
    height: 1.55em;
    vertical-align: -0.36em;
    margin: 0 0.28em 0 0;
    overflow: visible;
}
.swk-mark--lg {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin: 0;
}
