/*
 * hubculture.city design system: "faceted emerald" (home page and section pages).
 * Cues from the live site and the Hub Culture ecosystem: the low-poly emerald facet fields and the
 * faceted gem (hubculture.city), the Hub orb's concentric rings in magenta, indigo and cyan
 * (Hub Culture), ultra.exchange's night navy, gaia.club's violet and cyan. Geometric uppercase
 * display type (Montserrat), quiet Inter for reading.
 */
.page-ec {
    --night: #040a1c;
    --navy: #081634;
    --navy-2: #0c1f45;
    --ink: #eaf2ff;
    --muted: #9aabcf;
    --line: rgba(154, 171, 207, .16);
    --emerald: #00a58f;  /* the Emerald City stone */
    --ven: #60bf93;      /* Ven */
    --emerald-hi: #4fe3cc;
    --emerald-deep: #006050;
    --magenta: #e6007e;
    --indigo: #4b3fc9;
    --cyan: #009ee3;
    --violet: #7209b7;
    --sky: #6be1fb;
    --ring: linear-gradient(90deg, var(--magenta), var(--indigo) 50%, var(--cyan));
    --max: 1180px;
    background: var(--night) !important;
    color: var(--ink);
    font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.page-ec main { overflow: hidden; }
.page-ec a { color: inherit; }
.page-ec .ec-defs { position: absolute; }
.ec-wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; position: relative; }

/* ---- Header: a solid night bar on section pages; see-through over the home hero ---- */
.page-ec header { position: sticky; top: 0; z-index: 20; background: rgba(4, 10, 28, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.page-ec.page-home header { position: absolute; left: 0; right: 0; background: linear-gradient(#040a1ccc, transparent); border-bottom: 0; backdrop-filter: none; }
.page-ec header .nav-link.active, .page-ec header .nav-link[aria-current="page"] { color: var(--emerald-hi) !important; }
.page-ec header .navbar { padding: 14px 0; }
.page-ec header .navbar-brand img { width: 44px; filter: drop-shadow(0 6px 18px rgba(0, 165, 143, .45)); }
.page-ec header .navbar-brand { margin-left: 30px; } /* clear of the Hub globe button */
.page-ec header .nav-link { white-space: nowrap; font: 600 11.5px/1 Montserrat, sans-serif !important; letter-spacing: .12em; text-transform: uppercase; color: rgba(234, 242, 255, .78) !important; padding: 10px 12px !important; }
.page-ec header .nav-link:hover { color: #fff !important; }
.page-ec header .navbar-toggler { border-color: var(--line); filter: invert(1); }
.page-ec header .dropdown-menu { background: var(--navy); border: 1px solid var(--line); border-radius: 12px; }
.page-ec header .dropdown-item { color: var(--ink); font-size: 14px; }
.page-ec header .dropdown-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
@media (max-width: 991px) { .page-ec header .navbar-collapse { background: var(--navy); border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin-top: 8px; } }

/* ---- Shared type ---- */
.ec-kicker { margin: 0 0 10px; font: 700 11.5px/1 Montserrat, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--emerald-hi); }
.ec-display { margin: 0; font: 900 clamp(60px, 11.5vw, 152px)/.86 Montserrat, sans-serif; letter-spacing: -.01em; text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 30%, #bfeedd 70%, #6ff5c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-h2 { margin: 0; font: 800 clamp(28px, 4vw, 48px)/1.05 Montserrat, sans-serif; letter-spacing: -.01em; color: var(--ink); }
.ec-h3 { margin: 48px 0 18px; font: 700 15px/1.4 Montserrat, sans-serif; letter-spacing: .04em; color: var(--ink); max-width: 720px; }
.ec-index { font: 900 14px/1 Montserrat, sans-serif; letter-spacing: .1em; color: transparent; -webkit-text-stroke: 1px rgba(79, 227, 204, .7); font-size: 56px; line-height: .9; }
.ec-muted { color: var(--muted); }
.page-ec p { color: var(--muted); }

/* ---- Facets: the site's low-poly emerald field, deepened into night navy ---- */
.ec-facets { position: absolute; inset: 0; background: url(../images/bg/hub-city-e1583174168168.jpg) center/cover no-repeat; opacity: .55; mix-blend-mode: screen; }
.ec-facets::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 700px at 70% 10%, transparent, var(--night) 75%), linear-gradient(180deg, rgba(4, 10, 28, .2), var(--night)); }
.ec-facets--dim { opacity: .22; }

/* ---- 01 Hero ---- */
.ec-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; background: radial-gradient(900px 600px at 15% 100%, rgba(114, 9, 183, .22), transparent 60%), var(--night); }
.ec-hero__inner { z-index: 2; }
.ec-hero__mark { width: 84px; height: 84px; margin-bottom: 26px; filter: drop-shadow(0 18px 40px rgba(0, 165, 143, .55)); animation: ec-float 6s ease-in-out infinite; }
.ec-hero__mark img, .ec-mark { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes ec-float { 50% { transform: translateY(-8px) rotate(3deg); } }
.ec-lede { max-width: 560px; margin: 28px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #c9d6f2 !important; }
.ec-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ec-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 700 13px/1 Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important;
    color: var(--ink) !important; background: rgba(255, 255, 255, .06); border: 1px solid rgba(154, 171, 207, .3); backdrop-filter: blur(8px); transition: transform .15s, background .2s, border-color .2s; }
.ec-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(154, 171, 207, .6); transform: translateY(-1px); }
.ec-btn--primary { color: #03241a !important; background: linear-gradient(90deg, var(--emerald-hi), var(--emerald)); border: 0; box-shadow: 0 12px 40px rgba(0, 165, 143, .35); }
.ec-btn--primary:hover { background: linear-gradient(90deg, #a2ffe0, var(--emerald-hi)); }
.ec-btn--ghost { background: transparent; border-color: transparent; padding: 0 12px; }
.ec-btn--ghost:hover { background: transparent; border-color: transparent; text-decoration: underline !important; text-underline-offset: 6px; }
.ec-worlds { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 44px 0 0; padding: 0; font: 600 12px/1 Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ec-worlds li, .ec-worlds a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.ec-worlds a:hover { color: var(--ink); }
.ec-worlds .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }

/* The Hub orb: three concentric rings in the ring colours, slowly turning. */
.ec-orbit { position: absolute; right: -8vw; top: 50%; width: min(78vw, 860px); aspect-ratio: 1; transform: translateY(-50%); z-index: 1; pointer-events: none; }
.ec-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; background: var(--ring) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; animation: ec-spin 60s linear infinite; }
.ec-orbit i:nth-child(2) { inset: 13%; opacity: .4; animation-duration: 80s; animation-direction: reverse; }
.ec-orbit i:nth-child(3) { inset: 27%; opacity: .3; animation-duration: 100s; background: linear-gradient(90deg, var(--cyan), var(--emerald)) border-box; }
@keyframes ec-spin { to { transform: rotate(360deg); } }
/* The city inside the orb: two views cut as faceted emerald gems. */
.ec-hero__art { position: absolute; right: max(2vw, calc((100vw - var(--max)) / 2 - 20px)); top: 50%; width: min(34vw, 470px); aspect-ratio: 1; transform: translateY(-46%); margin: 0; z-index: 1; }
.ec-hero__art img { position: absolute; object-fit: cover; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: 0 30px 80px #0009; }
.ec-hero__art img:first-child { inset: 0 8% 8% 0; width: 92%; height: 92%; filter: saturate(1.1) contrast(1.05); }
.ec-hero__art img:last-child { right: -4%; bottom: -6%; width: 42%; height: 42%; outline: 2px solid var(--emerald); }
.ec-hero__art::after { content: ""; position: absolute; inset: 0 8% 8% 0; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
    background: linear-gradient(135deg, rgba(79, 227, 204, .28), transparent 40%, transparent 60%, rgba(75, 63, 201, .35)); pointer-events: none; }
@media (max-width: 1100px) { .ec-hero__art { display: none; } }
.ec-scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(154, 171, 207, .45); border-radius: 14px; transform: translateX(-50%); z-index: 2; }
.ec-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--emerald-hi); animation: ec-wheel 1.8s ease-in-out infinite; }
@keyframes ec-wheel { 60% { transform: translateY(12px); opacity: 0; } }

/* ---- Sections ---- */
.ec-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.ec-section + .ec-section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--max), calc(100% - 40px)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.ec-head { display: flex; gap: 28px; align-items: flex-end; margin-bottom: 44px; }
.ec-head--stack { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 0; }
.ec-head--stack .ec-index { margin-bottom: 22px; }

/* 02 Inside: a filmstrip that scrolls sideways */
.ec-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 420px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px max(20px, calc((100vw - var(--max)) / 2)) 26px; scrollbar-width: thin; scrollbar-color: var(--emerald) transparent; outline: none; }
.ec-shot { margin: 0; scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy); }
.ec-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; filter: saturate(1.05); }
.ec-shot:hover img { transform: scale(1.06); }
.ec-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: flex; gap: 12px; align-items: baseline; background: linear-gradient(transparent, rgba(4, 10, 28, .9)); font: 700 13px/1 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ec-shot figcaption span { color: var(--emerald-hi); font-size: 11px; }

/* 03 About */
.ec-split { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.ec-big { font: 600 clamp(20px, 2.1vw, 27px)/1.45 Montserrat, sans-serif !important; color: var(--ink) !important; letter-spacing: -.005em; margin: 0 0 22px; }
.ec-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ec-tile { padding: 30px 28px; background: var(--night); display: flex; flex-direction: column; gap: 8px; position: relative; }
.ec-tile::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--ring); margin-bottom: 14px; }
.ec-tile b { font: 700 17px/1.3 Montserrat, sans-serif; color: var(--ink); }
.ec-tile span { color: var(--muted); font-size: 15px; }

/* 04 Technology */
.ec-tech { background: linear-gradient(180deg, var(--night), var(--navy) 40%, var(--night)); }
.ec-intro { max-width: 760px; font-size: 18px; margin: 0 0 40px; }
.ec-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ec-service { position: relative; padding: 26px 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(12, 31, 69, .9), rgba(8, 22, 52, .9)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.ec-service::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; background: radial-gradient(circle, rgba(0, 165, 143, .18), transparent 70%); }
.ec-glyph { width: 46px; height: 46px; margin-bottom: 16px; display: grid; place-items: center; font: 900 15px/1 Montserrat, sans-serif; color: #03241a; background: linear-gradient(135deg, var(--emerald-hi), var(--emerald));
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.ec-service:nth-child(2) .ec-glyph { background: linear-gradient(135deg, var(--sky), var(--cyan)); }
.ec-service:nth-child(3) .ec-glyph { background: linear-gradient(135deg, #b98cff, var(--violet)); color: #fff; }
.ec-service:nth-child(4) .ec-glyph { background: linear-gradient(135deg, #ff7fc0, var(--magenta)); color: #fff; }
.ec-service b { font: 800 19px/1.2 Montserrat, sans-serif; color: var(--ink); }
.ec-service small { color: var(--muted); font-size: 14px; }
.ec-events { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: ev; }
.ec-events li { counter-increment: ev; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); font: 600 15px/1.35 Montserrat, sans-serif; color: var(--ink); display: flex; gap: 12px; }
.ec-events li::before { content: counter(ev, decimal-leading-zero); color: var(--emerald-hi); font-size: 11px; letter-spacing: .1em; padding-top: 3px; }

/* 05 Phases: a timeline on a Hub-ring line */
.ec-timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.ec-timeline::before { content: ""; position: absolute; top: 21px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--indigo), var(--magenta)); opacity: .7; }
.ec-timeline li { position: relative; padding-top: 64px; }
.ec-timeline li::before { content: ""; position: absolute; top: 10px; left: 0; width: 24px; height: 24px; background: var(--night); border: 2px solid var(--emerald-hi);
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: inset 0 0 0 4px var(--night), inset 0 0 0 12px var(--emerald); }
.ec-phase { font: 800 11.5px/1 Montserrat, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--emerald-hi); display: block; margin-bottom: 12px; }
.ec-timeline b { display: block; font: 800 20px/1.25 Montserrat, sans-serif; color: var(--ink); margin-bottom: 10px; }
.ec-timeline p { font-size: 15px; margin: 0; }

/* 06 Land */
.ec-land__grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ec-land__grid .ec-head p { margin-top: 18px; }
.ec-land__grid a { color: var(--emerald-hi); }
.ec-map { background: url(../images/bg/hub-city-e1583174168168.jpg) center/cover; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.ec-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(160deg) saturate(.7) brightness(.95) contrast(.95); }
.ec-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(79, 227, 204, .2), inset 0 0 120px rgba(4, 10, 28, .6); }

/* 07 Network */
.ec-net { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.ec-net__item { position: relative; padding: 28px 26px; background: var(--night); text-decoration: none !important; display: flex; flex-direction: column; gap: 6px; transition: background .25s; }
.ec-net__item b { font: 800 18px/1.2 Montserrat, sans-serif; color: var(--ink); }
.ec-net__item small { color: var(--muted); font-size: 14px; }
.ec-net__item span { position: absolute; top: 24px; right: 24px; color: var(--muted); transition: transform .2s, color .2s; }
.ec-net__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ring); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ec-net__item:hover { background: var(--navy); }
.ec-net__item:hover::after { transform: scaleX(1); }
.ec-net__item:hover span { color: var(--emerald-hi); transform: translate(2px, -2px); }

/* 08 Contact */
.ec-contact { padding-bottom: clamp(90px, 12vw, 150px); }
.ec-contact .ec-facets { opacity: .3; }
.ec-contact .ec-facets::after { background: linear-gradient(180deg, var(--night), rgba(4, 10, 28, .55) 50%, var(--night)); }
.ec-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.ec-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 18px; }
.ec-chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font: 600 12px/1 Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ec-lines { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ec-lines > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ec-lines dt { font: 700 11.5px/1.6 Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ec-lines dd { margin: 0; font-size: 17px; color: var(--ink); }
.ec-lines dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(79, 227, 204, .4); }
.ec-lines dd a:hover { color: var(--emerald-hi); }
.ec-lines .ec-social { display: flex; gap: 10px; border-bottom: 0; }
.ec-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .2s, border-color .2s; }
.ec-social a:hover { background: rgba(0, 165, 143, .15); border-color: var(--emerald); color: #fff; }

/* Footer */
.page-ec footer { background: var(--night) !important; border-top: 1px solid var(--line); }
.page-ec footer .text-white { color: var(--muted) !important; font-size: 13px; letter-spacing: .04em; }

/* Modals (sign in / sign up) in the same language */
.page-ec .modal-content { background: var(--navy); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; }
.page-ec .modal-content .card { background: transparent; border: 0; }
.page-ec .modal-content .text-muted { color: var(--muted) !important; }
.page-ec .modal-content .form-control { background: #071230; border: 1px solid #22355f; color: var(--ink); border-radius: 12px; height: 48px; }
.page-ec .modal-content .form-control:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 158, 227, .2); }
.page-ec .modal-content .btn-primary { background: linear-gradient(90deg, #0f9e70, var(--emerald)); border: 0; border-radius: 12px; height: 48px; font: 700 14px Montserrat, sans-serif; letter-spacing: .08em; }
.page-ec .modal-content .close { color: var(--ink); text-shadow: none; opacity: .7; }
.page-ec .modal-content .card-footer { background: transparent; border-top: 1px solid var(--line); }
.page-ec .modal-content a { color: var(--sky); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ec-services { grid-template-columns: repeat(2, 1fr); }
    .ec-events { grid-template-columns: repeat(2, 1fr); }
    .ec-timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .ec-timeline::before { display: none; }
    .ec-net { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .ec-split, .ec-land__grid, .ec-contact__grid { grid-template-columns: 1fr; }
    .ec-tiles { grid-template-columns: 1fr; }
    .ec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .ec-index { font-size: 44px; }
    .ec-orbit { right: -40vw; width: 120vw; opacity: .6; }
    .ec-timeline { grid-template-columns: 1fr; }
    .ec-timeline li { padding: 0 0 0 44px; }
    .ec-timeline li::before { top: 2px; }
    .ec-net { grid-template-columns: 1fr; }
    .ec-events { grid-template-columns: 1fr; }
    .ec-services { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ec-lines > div { grid-template-columns: 1fr; gap: 6px; }
    .ec-actions .ec-btn { flex: 1 1 100%; justify-content: center; }
    .ec-btn--ghost { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ec-orbit i, .ec-hero__mark, .ec-scroll span { animation: none; }
    .ec-shot img { transition: none; }
}


/* =========================================================================================
   Section pages (Overview, Access, Citizenship, Governance, Investment, Sustainability)
   ========================================================================================= */
.ec-pagehero { position: relative; padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); overflow: hidden; background: radial-gradient(800px 500px at 10% 100%, rgba(114, 9, 183, .2), transparent 60%), var(--night); }
.ec-pagehero .ec-wrap { z-index: 2; }
.ec-pagehero h1 { margin: 0; font: 900 clamp(44px, 7.5vw, 96px)/.92 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: -.01em;
    background: linear-gradient(180deg, #fff 35%, #bfeedd 75%, #6ff5c6); -webkit-background-clip: text; background-clip: text; color: transparent; max-width: 15ch; }
.ec-pagehero .ec-lede { max-width: 640px; }
.ec-pagehero .ec-orbit { width: min(60vw, 640px); right: -10vw; opacity: .7; }
.ec-pagehero--media { display: block; }
.ec-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.ec-gemframe { position: relative; aspect-ratio: 1; }
.ec-gemframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: 0 30px 80px #0009; }
.ec-gemframe img + img { inset: auto -6% -6% auto; width: 44%; height: 44%; outline: 2px solid var(--emerald); }

.ec-prose { max-width: 780px; }
.ec-prose p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.ec-prose p:first-child { font: 600 clamp(19px, 1.9vw, 24px)/1.5 Montserrat, sans-serif; color: var(--ink) !important; }
.ec-prose a { color: var(--emerald-hi); }
.ec-prose h3 { margin: 34px 0 10px; font: 800 20px/1.3 Montserrat, sans-serif; color: var(--ink); }
.ec-cols { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }

.ec-statement { margin: 0; font: 700 clamp(24px, 3.2vw, 40px)/1.3 Montserrat, sans-serif; color: var(--ink); max-width: 980px; letter-spacing: -.01em; }
.ec-statement em { font-style: normal; color: var(--emerald-hi); }

.ec-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 48px; }
.ec-stat { padding: 30px 26px; background: var(--night); }
.ec-stat b { display: block; font: 900 clamp(34px, 4.4vw, 56px)/1 Montserrat, sans-serif; background: linear-gradient(90deg, var(--emerald-hi), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ec-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

.ec-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ec-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(12, 31, 69, .9), rgba(8, 22, 52, .9)); border: 1px solid var(--line); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.ec-card:hover { border-color: rgba(79, 227, 204, .45); transform: translateY(-2px); }
.ec-card .ec-glyph { font-size: 22px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; background: rgba(0, 165, 143, .14); color: inherit; }
.ec-card b { font: 800 18px/1.25 Montserrat, sans-serif; color: var(--ink); }
.ec-card p { margin: 0; font-size: 14.5px; line-height: 1.55; flex: 1; }
.ec-card .ec-more { margin-top: 10px; font: 700 11.5px/1 Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-hi); }

.ec-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.ec-tier { padding: 28px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); position: relative; overflow: hidden; }
.ec-tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ring); }
.ec-tier small { font: 700 11.5px/1 Montserrat, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ec-tier b { display: block; margin: 12px 0 4px; font: 900 48px/1 Montserrat, sans-serif; color: var(--ink); }
.ec-tier span { color: var(--muted); font-size: 14px; }

.ec-levels { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ec-levels li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font: 600 13px/1 Montserrat, sans-serif; color: var(--ink); }
.ec-levels li:first-child { border-color: rgba(79, 227, 204, .5); color: var(--emerald-hi); }

.ec-media2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.ec-media2 img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); display: block; }

.ec-band { padding: clamp(60px, 8vw, 100px) 0; background: linear-gradient(180deg, var(--night), var(--navy) 50%, var(--night)); position: relative; overflow: hidden; }
.ec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 34px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(0, 165, 143, .14), rgba(75, 63, 201, .14)); }
.ec-cta h3 { margin: 0; font: 800 clamp(20px, 2.4vw, 28px)/1.2 Montserrat, sans-serif; color: var(--ink); }
.ec-cta p { margin: 6px 0 0; }

@media (max-width: 860px) {
    .ec-hero-grid, .ec-cols { grid-template-columns: 1fr; }
    .ec-gemframe { max-width: 420px; }
    .ec-stats, .ec-tiers { grid-template-columns: 1fr; }
    .ec-media2 { grid-template-columns: 1fr; }
}

/* Ven and Ultra accents: Ven's green for anything priced or paid in Ven. */
.ec-ven { color: var(--ven); font-weight: 700; }
.ec-ven::before { content: "V"; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .3em; border-radius: 50%; background: var(--ven); color: #062a1c; font: 900 .7em/1 Montserrat, sans-serif; vertical-align: .1em; }
.ec-pagehero .ec-mark { width: 64px; height: 64px; margin-bottom: 22px; filter: drop-shadow(0 14px 30px rgba(0, 165, 143, .5)); }

/* Bond tables (Investment) */
.ec-bonds { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ec-bond { display: grid; grid-template-columns: 2.2fr .8fr .7fr 1.1fr 1.1fr 1fr; gap: 12px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.ec-bond:first-child { border-top: 0; }
.ec-bond--head { background: rgba(255, 255, 255, .03); font: 700 11px/1 Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ec-bond b { display: block; font: 700 15px/1.3 Montserrat, sans-serif; }
.ec-bond small { color: var(--muted); font-size: 12.5px; }
.ec-bond__rate { font: 900 22px/1 Montserrat, sans-serif; color: var(--emerald-hi); }
.ec-btn--small { height: 36px; padding: 0 14px; font-size: 11px; }
@media (max-width: 860px) {
    .ec-bond { grid-template-columns: 1fr 1fr; }
    .ec-bond--head { display: none; }
    .ec-bond > span:first-child { grid-column: 1 / -1; }
}
