/* =========================================================================
   PARADISO BUILDERS - DESIGN SYSTEM
   Clean institutional. White ground, generous whitespace, one clean sans
   (Inter) at every size. Warm clay primary accent with a per-card colour
   rotation (clay, teal, ochre, indigo) and a deep-teal CTA band. Built to read as a disciplined
   residential development company: serious, confident, modern, timeless.
   No film grain, no decorative gradients, no display tricks.
   ========================================================================= */

:root {
    /* ----- Palette ----- */
    --bg:               #FFFFFF;   /* white ground */
    --bg-soft:          #F5F6F8;   /* cool light gray, alternating sections */
    --bg-deep:          #EAEDF1;   /* slightly deeper cool gray */
    --surface:          #FFFFFF;
    --ink:              #161A21;   /* cool near-black, primary text */
    --ink-soft:         #232831;
    --text:             #161A21;
    --text-muted:       #545A66;
    --text-subtle:      #899099;
    --rule:             #E3E6EB;   /* cool hairline divider */
    --rule-strong:      #C9CED7;
    /* Primary accent: warm clay. Cards rotate clay/teal/ochre/indigo via --c. */
    --accent:           #BD5B3D;   /* clay / terracotta, primary accent */
    --accent-hover:     #9E4730;
    --accent-ink:       #9A4023;   /* darker clay for text on white */
    --accent-soft:      #F6E7DF;
    --panel:            #1E4D49;   /* deep teal panel for the dark CTA band */
    --card-tint:        #F7F5F2;

    /* ----- Typography ----- */
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

    /* ----- Layout ----- */
    --container-max: 1240px;
    --container-narrow: 760px;
    --gutter:        clamp(1.5rem, 5vw, 6rem);
    --section-y:     clamp(5rem, 10vw, 9.5rem);

    /* ----- Misc ----- */
    --radius-sm: 2px;
    --radius-md: 3px;
    --shadow-soft: 0 1px 2px rgba(20, 20, 18, 0.04), 0 12px 32px rgba(20, 20, 18, 0.05);

    /* ----- Motion ----- */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 180ms var(--ease-out);
    --transition-mid:  340ms var(--ease-out);
    --duration-reveal: 720ms;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, blockquote, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ----- Base ----- */
html, body { background: var(--bg); color: var(--text); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    font-feature-settings: "kern", "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
}

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

/* ----- Typography ----- */
.display {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.5rem, 5.6vw, 4.75rem);
    line-height: 1.04;
    letter-spacing: -0.028em;
    max-width: 20ch;
    color: var(--ink);
}
.h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.024em;
    max-width: 24ch;
    color: var(--ink);
}
.h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.625rem, 2.8vw, 2.375rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    max-width: 30ch;
    color: var(--ink);
}
.h3 {
    font-family: var(--font-body);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: var(--ink);
}

/* Emphasis in headings carries the navy accent (no italics) */
.display em, .h1 em, .h2 em,
.display--italic, .h1--italic, .h2--italic {
    font-style: normal;
    color: var(--accent);
}

.lede {
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 58ch;
    letter-spacing: -0.003em;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: var(--accent);
}
.eyebrow--warm { color: var(--accent-ink); }
.eyebrow--warm::before { background: var(--accent); }

/* Folio - kept for any numeric labels, now in the sans */
.folio {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-subtle);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.folio strong { color: var(--ink); font-weight: 600; }
.folio em { font-style: normal; color: var(--accent-ink); font-weight: 600; }

p { color: var(--text); }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }

/* Threshold rule - retained as a quiet hairline if used */
.threshold { width: 100%; height: 1px; background: var(--rule); display: block; }
.threshold svg { display: none; }

a.link {
    color: var(--accent-ink);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    padding-bottom: 1px;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
a.link:hover { border-bottom-color: var(--accent); color: var(--accent-hover); }

a.link-arrow {
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
    transition: gap var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    font-size: 0.9375rem;
    letter-spacing: -0.005em;
}
a.link-arrow:hover { gap: 1rem; color: var(--accent-ink); border-bottom-color: var(--accent); }
a.link-arrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }

/* ----- Layout primitives ----- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.section-folio {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--text-subtle);
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.section-folio__num strong { color: var(--accent-ink); font-weight: 600; }
.section-folio__line { flex: 1; height: 1px; background: var(--rule); max-width: 80px; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 1.875rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--bg);
    border-radius: 0;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform 200ms var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--warm { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--warm:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ===========================================================================
   TOPBAR - single thin brass hairline, the one minimal brand signal
   =========================================================================== */
.topbar { height: 3px; background: var(--accent); }

/* ===========================================================================
   NAV
   =========================================================================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    backdrop-filter: saturate(120%) blur(12px);
    -webkit-backdrop-filter: saturate(120%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-mid), background var(--transition-mid);
}
.nav.is-scrolled { border-bottom-color: var(--rule); background: color-mix(in srgb, var(--bg) 97%, transparent); }
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 2rem;
}
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav__link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: -0.003em;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}
.nav__link:hover { color: var(--ink); }
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-mid);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

.nav__cta { display: inline-flex; }

.nav__toggle {
    display: none;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ===========================================================================
   BRAND LOGO
   =========================================================================== */
.brand { display: inline-block; line-height: 0; text-decoration: none; transition: opacity var(--transition-fast); }
.brand:hover { opacity: 0.72; }
.brand__svg { display: block; width: auto; max-width: 100%; }
.brand--sm .brand__svg { height: 26px; }
.brand--md .brand__svg { height: clamp(38px, 4.8vw, 54px); }
.brand--lg .brand__svg { height: 64px; }
.brand--xl .brand__svg { height: clamp(84px, 10vw, 120px); }

.logo { color: var(--ink); text-decoration: none; }
.logo__word, .logo__sub, .logo__rule { display: none; }

/* ===========================================================================
   HERO - quiet editorial spread, white ground
   =========================================================================== */
.hero {
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 9vw, 8.5rem);
    background: var(--bg);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.75rem, 5vw, 4.5rem);
    align-items: end;
}
@media (min-width: 980px) {
    .hero__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

.hero__vfolio, .hero__seal { display: none !important; }

.hero__eyebrow { margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem); }
.hero__title { margin-bottom: clamp(1.5rem, 2.4vw, 2.25rem); }
.hero__lede { margin-bottom: clamp(2rem, 3.2vw, 2.75rem); max-width: 56ch; }
.hero__title em { font-style: normal; color: var(--accent); }

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

.hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    border-top: 1px solid var(--rule-strong);
    padding-top: 2rem;
    align-self: end;
}
.hero__meta-item dt {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 0.5rem;
}
.hero__meta-item dd {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* ===========================================================================
   METRICS - quiet stat band (homepage)
   =========================================================================== */
.metrics { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg); }
.metrics .container { padding-block: clamp(3rem, 6vw, 5rem); }
.metrics__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}
@media (min-width: 880px) { .metrics__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.metric { display: flex; flex-direction: column; gap: 0.5rem; }
.metric__figure {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--accent);
}
.metric__figure sup { font-size: 0.5em; vertical-align: super; color: var(--accent-ink); font-weight: 400; }
.metric__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-subtle);
}
.metric__note { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ===========================================================================
   SERVICES
   =========================================================================== */
.services { border-top: 1px solid var(--rule); background: var(--bg-soft); }
.services__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 880px) {
    .services__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; align-items: end; }
}
.services__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}
@media (min-width: 720px)  { .services__list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1080px) { .services__list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.service {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 2rem 1.75rem;
    border: 1px solid var(--rule);
    border-top: 3px solid var(--c, var(--accent));
    background: var(--cbg, var(--card-tint));
    box-shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 10px 24px rgba(20, 20, 20, 0.06);
    transition: transform var(--transition-mid), box-shadow var(--transition-mid), background var(--transition-mid);
}
.service:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 20, 20, 0.08), 0 18px 38px rgba(20, 20, 20, 0.12); background: color-mix(in srgb, var(--c, var(--accent)) 8%, var(--surface)); }
/* Per-card colour rotation: clay / teal / ochre / indigo */
.service:nth-child(1) { --c: #BD5B3D; --cbg: #F8ECE6; }
.service:nth-child(2) { --c: #2C6E68; --cbg: #E6F1EF; }
.service:nth-child(3) { --c: #B98330; --cbg: #F8F1E0; }
.service:nth-child(4) { --c: #41508A; --cbg: #ECEEF8; }
.service__num {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--c, var(--accent-ink));
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}
.service__num em { font-style: normal; font-weight: 600; color: var(--c, var(--accent-ink)); }
.service__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.service__copy { font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); max-width: 34ch; }

/* ===========================================================================
   WORK - selected projects
   =========================================================================== */
.work { background: var(--bg); border-top: 1px solid var(--rule); }
.work__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: clamp(2.75rem, 5vw, 4rem);
}
@media (min-width: 880px) {
    .work__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; align-items: end; }
}
.work__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 2.5rem;
}
@media (min-width: 720px)  { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work__grid { grid-template-columns: repeat(3, 1fr); } }

.project-card { display: flex; flex-direction: column; gap: 1.125rem; color: var(--text); }
.project-card__media {
    aspect-ratio: 4 / 5;
    background: var(--bg-deep);
    overflow: hidden;
    position: relative;
}
.project-card__media img,
.project-card__media .placeholder {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease-out);
}
.project-card:hover .project-card__media img { transform: scale(1.03); }
.project-card__media .placeholder {
    display: flex; align-items: flex-end;
    padding: 1.5rem;
    background: var(--bg-deep);
    color: var(--text-subtle);
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-weight: 600;
}
.project-card__media .placeholder em { color: var(--text-muted); }

.project-card__num {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: var(--text-subtle);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.project-card__num em { font-style: normal; color: var(--accent-ink); }

.project-card__meta {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-subtle);
}
.project-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.project-card__copy { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; max-width: 40ch; }

.work__cta { margin-top: clamp(2.75rem, 5vw, 4rem); }

/* ===========================================================================
   MARKETS - two states, clean
   =========================================================================== */
.markets { border-top: 1px solid var(--rule); background: var(--bg-soft); }
.markets__head { margin-bottom: clamp(3rem, 6vw, 4.5rem); max-width: 56ch; }
.markets__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 880px) { .markets__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

.market { padding-top: 2rem; border-top: 1px solid var(--ink); position: relative; }
.market > * { position: relative; z-index: 1; }
.market__label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 1rem;
}
.market__label em { font-style: normal; color: var(--c, var(--accent-ink)); }
.market__name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.018em;
    margin-bottom: 1.25rem;
    color: var(--ink);
}
.market__copy { font-size: 1rem; line-height: 1.7; color: var(--text-muted); max-width: 52ch; }
/* Two-column market / mission / vision blocks render as cards with a navy cap */
.markets__grid .market {
    background: var(--cbg, var(--card-tint));
    border: 1px solid var(--rule);
    border-top: 3px solid var(--c, var(--accent));
    padding: 2.25rem 2rem 2rem;
    box-shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 10px 24px rgba(20, 20, 20, 0.06);
    transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.markets__grid .market:nth-child(1) { --c: #BD5B3D; --cbg: #F8ECE6; }
.markets__grid .market:nth-child(2) { --c: #2C6E68; --cbg: #E6F1EF; }
.markets__grid .market:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(20, 20, 20, 0.08), 0 18px 38px rgba(20, 20, 20, 0.12);
}

.market__list { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.market__list li {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: color-mix(in srgb, var(--c, var(--accent)) 78%, #000);
    padding: 0.4375rem 0.875rem;
    border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 32%, transparent);
    background: color-mix(in srgb, var(--c, var(--accent)) 12%, #fff);
    letter-spacing: -0.003em;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.market__list li:hover { background: var(--c, var(--accent)); color: #fff; border-color: var(--c, var(--accent)); }

/* ===========================================================================
   TENETS - clean light callout (was a gradient panel)
   =========================================================================== */
.tenets { background: #F6F1EC; border-top: 1px solid var(--rule); position: relative; overflow: hidden; }
.tenets::before { display: none; }
.tenets__giant-mark { display: none !important; }
.tenets .container { padding-block: var(--section-y); position: relative; z-index: 1; }
.tenets__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 56ch; }
.tenets__head .eyebrow { color: var(--text-subtle); margin-bottom: 1.25rem; }
.tenets__head .eyebrow::before { background: var(--accent); }
.tenets__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.018em;
    color: var(--ink);
    max-width: 24ch;
}
.tenets__title em { font-style: normal; color: var(--accent); }
.tenets__list { display: grid; grid-template-columns: 1fr; gap: 2.5rem; counter-reset: tenet; }
@media (min-width: 880px) { .tenets__list { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } }

.tenet { border-top: 1px solid var(--rule-strong); padding-top: 1.75rem; color: var(--text); position: relative; }
.tenet__num {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent-ink);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    display: block;
}
.tenet__title {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.012em;
    margin-bottom: 0.875rem;
    color: var(--ink);
}
.tenet__copy { font-size: 1rem; line-height: 1.65; color: var(--text-muted); max-width: 38ch; }

/* ===========================================================================
   INVESTORS BANNER - the single dark moment, deep charcoal, calm
   =========================================================================== */
.invest-banner { background: var(--panel); color: var(--bg); position: relative; overflow: hidden; }
.invest-banner::before { display: none; }
.invest-banner .container { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; z-index: 1; }
.invest-banner__inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; }
@media (min-width: 880px) {
    .invest-banner__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 5rem; }
}
.invest-banner__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 20ch;
    color: var(--bg);
}
.invest-banner__title em { font-style: normal; color: color-mix(in srgb, var(--accent) 35%, white); }
.invest-banner .eyebrow { color: rgba(255, 255, 255, 0.55); margin-bottom: 1.5rem; }
.invest-banner .eyebrow::before { background: var(--accent); }
.invest-banner__copy {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 48ch;
    margin-bottom: 2rem;
}
.invest-banner .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.invest-banner .btn:hover { background: transparent; color: var(--bg); border-color: rgba(255,255,255,0.5); }

.invest-banner__points { display: flex; flex-direction: column; gap: 0; }
.invest-banner__point {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--bg);
    transition: padding-left var(--transition-mid);
}
.invest-banner__point:last-child { border-bottom: 0; }
.invest-banner__point:hover { padding-left: 0.625rem; }
.invest-banner__point span:first-child {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    flex-shrink: 0;
    width: 2.25rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--accent) 75%, white);
}
.invest-banner__point span:last-child { font-size: 0.9375rem; line-height: 1.5; letter-spacing: -0.003em; color: rgba(255,255,255,0.9); }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.footer { background: var(--bg); border-top: 1px solid var(--ink); color: var(--text); position: relative; }
.footer::before { display: none; }
.footer .container { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px)  { .footer__top { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 4rem; } }

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 1.5rem;
}
.footer__col h4 em { font-style: normal; color: var(--accent-ink); }
.footer__col li { margin-bottom: 0.75rem; font-size: 0.9375rem; }
.footer__col a { color: var(--text-muted); transition: color var(--transition-fast); }
.footer__col a:hover { color: var(--ink); }
.footer__col li:not(:has(a)) { color: var(--text-muted); }
.footer__social { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer__social svg { width: 18px; height: 18px; flex: none; }
.footer__about p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; max-width: 42ch; margin-top: 1.5rem; }
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-subtle);
    letter-spacing: 0.02em;
}
.footer__admin {
    margin-left: auto;
    color: var(--text-subtle);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}
.footer__admin:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.footer__colophon {
    margin-top: 0.5rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: var(--text-subtle);
    letter-spacing: 0.04em;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    line-height: 1.6;
}
.footer__colophon em { font-style: italic; color: var(--text-muted); }

/* ===========================================================================
   PAGE HEADER
   =========================================================================== */
.page-head {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
}
.page-head .eyebrow { margin-bottom: 1.5rem; }
.page-head__title { margin-bottom: 1.5rem; }
.page-head__title em { font-style: normal; color: var(--accent); }

/* ===========================================================================
   FORMS
   =========================================================================== */
.field { margin-bottom: 1.5rem; }
.field label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 0.625rem;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--surface);
    border: 1px solid var(--rule-strong);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    letter-spacing: -0.003em;
}
.field input:focus,
.field textarea:focus,
.field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 168px; resize: vertical; }
.field--error input,
.field--error textarea,
.field--error select { border-color: #B23A3A; }
.field__error {
    display: block;
    font-size: 0.8125rem;
    color: #B23A3A;
    margin-top: 0.375rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-family: var(--font-body);
}

.flash { padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9375rem; border-left: 3px solid; background: var(--bg-soft); }
.flash--success { border-color: var(--accent); color: var(--accent-ink); }
.flash--error   { border-color: #B23A3A; color: #8E2A2A; background: #FBE9E9; }

/* helper text in admin forms */
.helper, .muted-tiny { color: var(--text-subtle); }

/* ===========================================================================
   ANIMATIONS
   =========================================================================== */
@keyframes paradiso-reveal-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero .reveal { opacity: 0; animation: paradiso-reveal-up var(--duration-reveal) var(--ease-out) forwards; }
.hero .reveal:nth-child(1) { animation-delay: 80ms; }
.hero .reveal:nth-child(2) { animation-delay: 180ms; }
.hero .reveal:nth-child(3) { animation-delay: 280ms; }
.hero .reveal:nth-child(4) { animation-delay: 380ms; }
.hero .reveal:nth-child(5) { animation-delay: 480ms; }
.hero__meta.reveal { animation-delay: 560ms; }

.reveal-on-scroll {
    transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out);
}
.reveal-on-scroll.pre-reveal { opacity: 0; transform: translateY(24px); }
.reveal-on-scroll.delay-1 { transition-delay: 70ms; }
.reveal-on-scroll.delay-2 { transition-delay: 140ms; }
.reveal-on-scroll.delay-3 { transition-delay: 210ms; }
.reveal-on-scroll.delay-4 { transition-delay: 280ms; }

/* ===========================================================================
   UTILITIES
   =========================================================================== */
.hide-mobile { display: initial; }
@media (max-width: 779px) {
    .hide-mobile { display: none; }
    .nav__menu { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; }
    .nav.is-open .nav__drawer {
        display: flex;
        position: fixed;
        inset: 84px 0 0 0;
        background: var(--bg);
        flex-direction: column;
        padding: 3rem var(--gutter);
        gap: 1.75rem;
        z-index: 40;
        border-top: 1px solid var(--rule);
    }
    .nav.is-open .nav__drawer .nav__link {
        font-family: var(--font-display);
        font-size: 1.875rem;
        font-weight: 600;
        color: var(--ink);
    }
    .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
    .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--bg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-on-scroll.pre-reveal { opacity: 1; transform: none; }
    .hero .reveal { opacity: 1; animation: none; }
}

/* ============================================================
   Institutional marketing redesign (mk-*)
   Elegant serif display + Inter body, primary teal, white space
   ============================================================ */
:root {
  --mk-ink: #20211E; --mk-teal: #1E4D49; --mk-muted: #6E6A62; --mk-line: #ECE8E1;
  --mk-bg: #FCFBF8;        /* warm white */
  --mk-soft: #F4EFE7;      /* light warm wash for section contrast */
  --mk-wood: #5A4632;      /* elegant wood brown band */
  --mk-wood-deep: #3F3022;
  --mk-gold: #C7A66A;      /* warm accent that reads on wood */
}
.mk-container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.mk-display { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -0.01em; color: var(--mk-ink); margin: 0; }
.mk-display em { font-style: italic; color: var(--mk-teal); }
.mk-display--sm { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.mk-h2 { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; color: var(--mk-ink); margin: 0; }
.mk-h2 em { font-style: italic; color: var(--mk-teal); }
.mk-h2--light, .mk-kicker--light, .mk-prose--light { color: #fff; }
.mk-h2--light em { color: #D8C08A; } /* warm accent reads on the dark teal band */
.mk-eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 600; color: var(--mk-teal); margin: 0 0 1.5rem; }
.mk-kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 600; color: var(--mk-muted); margin: 0 0 1rem; }
.mk-kicker--light { color: rgba(255,255,255,.7); }
.mk-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--mk-muted); max-width: 640px; margin: 1.75rem 0 0; }

/* Hero */
.mk-hero { padding: clamp(5rem, 12vw, 9rem) 0 clamp(3rem, 7vw, 6rem); background: var(--mk-bg); border-bottom: 1px solid var(--mk-line); }
.mk-hero__ctas { display: flex; gap: 0.9rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* Buttons */
.mk-btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 2px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; transition: all .15s; cursor: pointer; }
.mk-btn--solid { background: var(--mk-teal); color: #fff; }
.mk-btn--solid:hover { background: #163b38; }
.mk-btn--ghost { background: transparent; color: var(--mk-ink); border: 1px solid var(--mk-line); }
.mk-btn--ghost:hover { border-color: var(--mk-teal); color: var(--mk-teal); }

/* Live metrics */
.mk-metrics { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.mk-metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.mk-metric { text-align: center; }
.mk-metric__num { display: block; font-family: "Lora", serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; color: var(--mk-teal); line-height: 1; }
.mk-metric__label { display: block; margin-top: 0.6rem; font-size: 0.82rem; color: var(--mk-muted); letter-spacing: 0.02em; }
.mk-metrics__live { text-align: center; margin-top: 2rem; font-size: 0.74rem; color: var(--mk-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.mk-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2F9E6B; margin-right: 0.5rem; animation: mk-pulse 2s infinite; }
@keyframes mk-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Sections */
.mk-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.mk-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.mk-prose p { font-size: 1.05rem; line-height: 1.75; color: var(--mk-muted); margin: 0 0 1.25rem; }
.mk-prose--light p { color: rgba(255,255,255,.82); }
.mk-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.mk-pillar { padding-top: 1.5rem; border-top: 2px solid var(--mk-teal); }
.mk-pillar h3 { font-size: 1.05rem; font-weight: 600; color: var(--mk-ink); margin: 0 0 0.5rem; }
.mk-pillar p { font-size: 0.92rem; line-height: 1.55; color: var(--mk-muted); margin: 0; }

/* Markets (dark band) */
.mk-markets { background: var(--mk-teal); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0; }

/* Projects gallery */
.mk-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.mk-tile { text-decoration: none; color: inherit; display: block; }
.mk-tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #EDEFEE; border-radius: 3px; }
.mk-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mk-tile:hover .mk-tile__media img { transform: scale(1.04); }
.mk-tile__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Lora", serif; font-style: italic; color: #A9B0AD; font-size: 1.1rem; }
.mk-tile__status { position: absolute; top: 0.8rem; left: 0.8rem; background: rgba(255,255,255,.92); color: var(--mk-teal); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border-radius: 2px; }
.mk-tile__body { padding: 1rem 0.25rem 0; }
.mk-tile__title { font-family: "Lora", serif; font-size: 1.5rem; font-weight: 600; margin: 0; color: var(--mk-ink); }
.mk-tile__loc { font-size: 0.85rem; color: var(--mk-muted); margin: 0.2rem 0 0; }
.mk-more { text-align: center; margin-top: 2.5rem; }
.mk-more > summary { list-style: none; display: inline-block; }
.mk-more > summary::-webkit-details-marker { display: none; }

/* Closing CTA */
.mk-cta { background: var(--mk-bg); border-top: 1px solid var(--mk-line); padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; }
.mk-cta .mk-btn { margin-top: 2rem; }

@media (max-width: 860px) {
  .mk-metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .mk-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .mk-pillars { grid-template-columns: repeat(2, 1fr); }
  .mk-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) { .mk-gallery { grid-template-columns: 1fr; } .mk-pillars { grid-template-columns: 1fr; } }

/* Marketing metric suffix + grid variants */
.mk-metric__suffix { font-size: 0.5em; color: var(--mk-muted); font-weight: 500; }
.mk-metrics__grid--1 { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
.mk-metrics__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
.mk-metrics__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto; }

/* Marketing contact section */
.mk-address { font-style: normal; color: var(--mk-muted); line-height: 1.7; margin-top: 1.5rem; font-size: 1rem; }
.mk-address strong { color: var(--mk-ink); }
.mk-form { display: flex; flex-direction: column; gap: 1.1rem; }
.mk-field { display: flex; flex-direction: column; gap: 0.4rem; }
.mk-field label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mk-muted); }
.mk-field input, .mk-field textarea { padding: 0.8rem 0.9rem; border: 1px solid var(--mk-line); border-radius: 2px; font: inherit; font-size: 0.95rem; background: #fff; color: var(--mk-ink); }
.mk-field input:focus, .mk-field textarea:focus { outline: none; border-color: var(--mk-teal); }
.mk-form .mk-btn { align-self: flex-start; margin-top: 0.5rem; border: none; }

/* ===== Palette refinement: warm whites, wood band, gold accent ===== */
.mk-hero { background: var(--mk-bg); }
.mk-band-soft { background: var(--mk-soft); }       /* light contrast section (About) */
.mk-display em { color: var(--mk-wood); }            /* wood accent on light grounds */
.mk-h2 em { color: var(--mk-wood); }
/* Markets stays a band but in elegant wood brown, gold emphasis */
.mk-markets { background: linear-gradient(160deg, var(--mk-wood) 0%, var(--mk-wood-deep) 100%); }
.mk-h2--light em { color: var(--mk-gold); }
/* Alternate clean white / warm white between the open sections */
#what { background: #fff; }
#projects { background: var(--mk-bg); }
#contact { background: #fff; }
.mk-cta { background: var(--mk-soft); }
.mk-pillar { border-top-color: var(--mk-wood); }
.mk-tile__status { color: var(--mk-wood); }
.mk-metric__num { color: var(--mk-wood); }
.mk-btn--solid { background: var(--mk-wood); }
.mk-btn--solid:hover { background: var(--mk-wood-deep); }

/* ===== More contrast: alternating washes + primary footer ===== */
.mk-metrics { background: #EBE3D4; border-block: 1px solid #DED4C2; }
.mk-metric__label { color: var(--mk-muted); }
.mk-hero { border-bottom: 1px solid var(--mk-line); }
/* a slim wood rule under the hero headline for warmth */
.mk-eyebrow { color: var(--mk-wood); }
.mk-kicker { color: var(--mk-wood); }
/* Public footer becomes a deep teal primary band */
.footer { background: #173b38 !important; color: #EAF0EE !important; }
.footer h4 { color: #fff !important; }
.footer a { color: #C9D6D2 !important; }
.footer a:hover { color: var(--mk-gold) !important; }
.footer__about p { color: #AFC0BB !important; }

/* ===== Hero pop: warm gradient ground + accent rule, stronger CTA ===== */
.mk-hero {
  background: #FFFFFF;
  position: relative;
}
.mk-eyebrow { display: inline-flex; align-items: center; gap: .8rem; }
.mk-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--mk-wood); display: inline-block; }
.mk-hero .mk-display { position: relative; }
.mk-hero__ctas .mk-btn--solid { box-shadow: 0 10px 24px rgba(90,70,50,.22); }
/* Footer logo: ensure the white lockup shows full-strength on the teal band */
.footer .brand__svg { filter: none; }

/* ============================================================
   Header recolor, footer legibility, editorial hero, pillar cards
   ============================================================ */
/* Solid teal header (contrast by colour, no accent lines) */
.nav { background: #173B38; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; }
.nav__link { color: #C7D3CF; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__cta.btn--ghost { color: #fff; border-color: rgba(255,255,255,.38); background: transparent; }
.nav__cta.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.nav__toggle span { background: #fff; }

/* Footer: every text element readable on the teal band */
.footer li, .footer p, .footer span, .footer__bottom, .footer__bottom * { color: #B7C4C0 !important; }
.footer h4 { color: #fff !important; }
.footer a { color: #E4EBE8 !important; }
.footer a:hover { color: var(--mk-gold) !important; }

/* Editorial split hero with a real photo */
.mk-hero:not(.mk-hero--media) .mk-hero__text { max-width: 1120px; margin: 0 auto; padding: clamp(4.5rem,11vw,8rem) 2rem clamp(3rem,7vw,5.5rem); }
.mk-hero--media { display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: stretch; min-height: clamp(400px, 52vh, 520px); }
.mk-hero--media .mk-hero__text { padding: clamp(2.75rem,5vw,4.5rem) clamp(2rem,4vw,4.5rem); display: flex; flex-direction: column; justify-content: center; }
.mk-hero__media { position: relative; overflow: hidden; background: var(--mk-soft); }
.mk-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-hero__caption { position: absolute; left: 1.1rem; bottom: 1.1rem; background: rgba(26,21,16,.62); color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 2px; }
@media (max-width: 880px) { .mk-hero--media { grid-template-columns: 1fr; min-height: 0; } .mk-hero__media { min-height: 300px; order: -1; } }

/* Pillar cards: soft ground + sober colour-top */
.mk-pillars { gap: 1.1rem; }
.mk-pillar { background: var(--mk-soft); border-top: 3px solid var(--mk-wood); padding: 1.5rem 1.4rem 1.7rem; border-radius: 0 0 5px 5px; box-shadow: 0 1px 2px rgba(40,30,20,.04); }
.mk-pillar:nth-child(2) { border-top-color: var(--mk-teal); }
.mk-pillar:nth-child(3) { border-top-color: #927152; }
.mk-pillar:nth-child(4) { border-top-color: #4C5E56; }

/* ============================================================
   AUTHORITATIVE marketing type + colour system (last = wins)
   Headings: Fraunces (serif). Labels + body: Inter (sans).
   Light grounds -> dark ink + wood accent. Dark wood band -> all light.
   ============================================================ */
.mk-display, .mk-h2, .mk-tile__title, .mk-pillar h3, .mk-metric__num {
  font-family: "Lora", Georgia, serif;
}
.mk-eyebrow, .mk-kicker, .mk-lede, .mk-prose, .mk-prose p,
.mk-metric__label, .mk-metric__suffix, .mk-pillar p, .mk-tile__loc, .mk-address {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* On light grounds */
.mk-display, .mk-h2 { color: var(--mk-ink); }
.mk-display em, .mk-h2 em { color: var(--mk-wood); }
.mk-eyebrow, .mk-kicker { color: var(--mk-wood); }
.mk-pillar h3 { color: var(--mk-ink); font-weight: 600; }
.mk-pillar p, .mk-lede, .mk-prose p { color: var(--mk-muted); }

/* On the dark wood "markets" band: force light, win over everything */
.mk-markets .mk-h2,      .mk-h2--light        { color: #FBF7EF !important; }
.mk-markets .mk-h2 em,   .mk-h2--light em     { color: var(--mk-gold) !important; }
.mk-markets .mk-kicker,  .mk-kicker--light    { color: rgba(255,255,255,.72) !important; }
.mk-markets .mk-prose p, .mk-prose--light p   { color: rgba(255,255,255,.86) !important; }
.mk-markets .mk-prose strong, .mk-prose--light strong { color: #fff !important; }

/* Quieter selection so it never reads as a dark box on dark bands */
.mk-markets ::selection { background: rgba(255,255,255,.22); color: #fff; }

/* ============================================================
   FINAL marketing system (authoritative, last in file = wins)
   Type:  Lora (serif) for headings, Inter for everything else.
   Color: ink on light grounds, wood/gold/teal accents, all-light
          on the dark wood band, legible light footer.
   ============================================================ */

/* --- Type roles --- */
.mk-display, .mk-h2, .mk-tile__title, .mk-pillar h3, .mk-metric__num {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
}
.mk-display em, .mk-h2 em { font-style: italic; font-weight: 500; }
.mk-eyebrow, .mk-kicker, .mk-lede, .mk-prose, .mk-prose p, .mk-metric__label,
.mk-metric__suffix, .mk-pillar p, .mk-tile__loc, .mk-address,
.nav__link, .nav__cta, .footer { font-family: "Inter", -apple-system, "Segoe UI", sans-serif; }

/* --- Colour on light grounds --- */
.mk-display, .mk-h2 { color: var(--mk-ink); }
.mk-display em, .mk-h2 em, .mk-eyebrow, .mk-kicker, .mk-metric__num { color: var(--mk-wood); }
.mk-pillar h3 { color: var(--mk-ink); font-weight: 600; }
.mk-lede, .mk-prose p, .mk-pillar p, .mk-metric__label, .mk-tile__loc, .mk-address { color: var(--mk-muted); }

/* --- Dark wood "markets" band: scoped, so it always wins --- */
.mk-markets .mk-h2 { color: #FBF7EF; }
.mk-markets .mk-h2 em { color: var(--mk-gold); }
.mk-markets .mk-kicker { color: rgba(255,255,255,.74); }
.mk-markets .mk-prose p { color: rgba(255,255,255,.86); }
.mk-markets .mk-prose strong { color: #fff; }
.mk-markets ::selection { background: rgba(255,255,255,.22); color: #fff; }

/* --- Nav: solid light header, dark prominent links, subtle elevation --- */
.nav {
  background: #FFFFFF;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(32,33,30,.06), 0 8px 24px rgba(32,33,30,.04);
}
.nav__link { color: #2B2D29; font-weight: 500; }
.nav__link:hover, .nav__link.is-active { color: #000; }
.nav__cta.btn--ghost { color: var(--mk-ink); border: 1px solid var(--rule-strong); background: transparent; }
.nav__cta.btn--ghost:hover { background: var(--mk-ink); color: #fff; border-color: var(--mk-ink); }
.nav__toggle span { background: var(--mk-ink); }

/* --- Footer: deep teal, legible light text --- */
.footer { background: #173B38; color: #C4D1CD; }
.footer h4 { color: #FFFFFF; }
.footer a { color: #E6ECE9; }
.footer a:hover { color: var(--mk-gold); }
.footer li, .footer p, .footer span, .footer__bottom, .footer__bottom * { color: #AEBEB9; }
.footer__about p { color: #B9C7C2; }

/* ===== Operational transparency (platform) section ===== */
.mk-platform__head { max-width: 660px; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.mk-platform__head .mk-prose { margin-top: 1.25rem; }
.mk-platform__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.mk-platform__shot {
  margin: 0; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--mk-line); box-shadow: 0 24px 60px rgba(20, 33, 30, 0.16);
}
.mk-platform__shot img { display: block; width: 100%; height: auto; }
.mk-window {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.9rem;
  background: #EDE8DF; border-bottom: 1px solid var(--mk-line);
}
.mk-window__dots { display: inline-flex; gap: 0.4rem; }
.mk-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #CFC7B7; display: block; }
.mk-window__addr { font-size: 0.74rem; color: var(--mk-muted); letter-spacing: 0.02em; margin: 0 auto; }
.mk-platform__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.mk-platform__points li { padding-top: 1.1rem; border-top: 2px solid var(--mk-teal); }
.mk-platform__points h3 { font-family: "Inter", sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--mk-ink); margin: 0 0 0.35rem; }
.mk-platform__points p { font-size: 0.92rem; line-height: 1.55; color: var(--mk-muted); margin: 0; }

@media (max-width: 860px) {
  .mk-platform__grid { grid-template-columns: 1fr; }
}
