/* Starfetch Investment Limited — brand stylesheet
   Palette: lime #B4E717 · forest #1C4B42 · ink #10201C · mist #F4F6F4 */
:root {
  --lime: #B4E717;
  --lime-dark: #8FB90F;
  --forest: #1C4B42;
  --forest-deep: #12332D;
  --ink: #10201C;
  --mist: #F4F6F4;
  --grey: #5A6663;
  --line: #E2E7E4;
  --radius: 14px;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.65; font-size: 16.5px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand .brand-name { font-weight: 800; letter-spacing: .4px; color: var(--forest); font-size: 1.05rem; line-height: 1.1; }
.brand .brand-name span { display: block; font-size: .58rem; letter-spacing: 2.6px; color: var(--grey); font-weight: 700; }
nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
nav.main-nav a:hover { color: var(--forest); }
nav.main-nav a.active { color: var(--forest); border-bottom: 2px solid var(--lime); padding-bottom: 3px; }
.btn {
  display: inline-block; background: var(--lime); color: var(--forest-deep);
  font-weight: 700; padding: 12px 24px; border-radius: 999px; text-decoration: none;
  border: none; cursor: pointer; font-size: .95rem; transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--lime-dark); transform: translateY(-1px); }
.btn.btn-outline { background: transparent; border: 2px solid var(--forest); color: var(--forest); }
.btn.btn-dark { background: var(--forest); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--forest); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); padding: 84px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .74rem; font-weight: 800; color: var(--forest); }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--lime); margin-right: 10px; vertical-align: middle; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12; color: var(--forest-deep); margin: 14px 0 18px; }
h1 em { font-style: normal; color: var(--forest); box-shadow: inset 0 -0.35em 0 var(--lime); }
.hero p.lead { font-size: 1.12rem; color: var(--grey); max-width: 34em; }
.hero-ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.stat-chips { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .82rem; font-weight: 700; color: var(--forest); }
.hero-card { background: var(--forest); border-radius: var(--radius); padding: 34px 30px; color: #E8F0EC; box-shadow: 0 24px 48px rgba(18,51,45,.18); }
.hero-card h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.hero-card ul { list-style: none; margin-top: 14px; }
.hero-card li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.hero-card li:last-child { border-bottom: none; }
.hero-card li::before { content: "✦"; position: absolute; left: 2px; color: var(--lime); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--mist); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--forest-deep); line-height: 1.2; margin: 12px 0 16px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--grey); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 14px 30px rgba(18,51,45,.10); transform: translateY(-2px); }
.card .num { font-weight: 800; color: var(--lime-dark); font-size: .95rem; letter-spacing: 1px; }
.card h3 { color: var(--forest-deep); margin: 10px 0 8px; font-size: 1.16rem; }
.card p { color: var(--grey); font-size: .95rem; }
.card a.more { font-weight: 700; font-size: .9rem; text-decoration: none; display: inline-block; margin-top: 12px; }
.card a.more::after { content: " →"; }
.card.dark { background: var(--forest); border-color: var(--forest); }
.card.dark h3, .card.dark .num { color: #fff; }
.card.dark p { color: #CFE0D8; }

/* Trust strip */
.trust-strip { background: var(--forest-deep); color: #CFE0D8; padding: 16px 0; font-size: .86rem; }
.trust-strip .wrap { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; text-align: center; }
.trust-strip strong { color: #fff; }

/* Values / numbered list */
.values { counter-reset: v; }
.value-row { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-row .v-num { font-size: 1.6rem; font-weight: 800; color: var(--lime-dark); min-width: 56px; }
.value-row h3 { color: var(--forest-deep); margin-bottom: 6px; }
.value-row p { color: var(--grey); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 20px; color: var(--forest-deep); list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 20px; color: var(--lime-dark); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--grey); }

/* Forms */
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--forest-deep); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); border-color: var(--forest); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--grey); margin: 14px 0; }
.consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--forest); flex: none; }
.form-note { font-size: .8rem; color: var(--grey); margin-top: 10px; }
.newsletter-band { background: var(--forest); color: #DFEAE4; }
.newsletter-band h2 { color: #fff; }
.newsletter-band form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.newsletter-band input[type="text"], .newsletter-band input[type="email"] { flex: 1 1 220px; border: none; }
.newsletter-band .consent { color: #B9CDC5; }
.newsletter-band a { color: var(--lime); }

/* Tools */
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.result-box { background: var(--mist); border-radius: var(--radius); padding: 26px; }
.result-box h3 { color: var(--forest-deep); margin-bottom: 12px; }
.big-figure { font-size: 2rem; font-weight: 800; color: var(--forest); }
.bar-row { margin: 10px 0; font-size: .85rem; }
.bar-row .bar { height: 14px; border-radius: 7px; background: var(--lime); margin-top: 4px; min-width: 2%; }
.bar-row .bar.alt { background: var(--forest); }
.bar-row .bar.mid { background: var(--lime-dark); }
.disclaimer { font-size: .78rem; color: var(--grey); border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; }
.range-out { font-weight: 800; color: var(--forest); }

/* Imagery */
.img-rounded { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; }
.who-media img { border-radius: var(--radius); box-shadow: 0 20px 44px rgba(18,51,45,.16); }
.hero-media { position: relative; min-height: 340px; }
.hero-media .hm-main {
  width: 88%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 5/4;
  box-shadow: 0 24px 48px rgba(18,51,45,.20);
}
.hero-media .hm-float {
  position: absolute; right: 0; bottom: -26px; width: 52%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 18px 36px rgba(18,51,45,.22);
}
.hero-media .hm-chip {
  position: absolute; top: 18px; right: 6px; background: var(--forest); color: #fff;
  font-weight: 700; font-size: .82rem; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18,51,45,.28);
}
.svc-card { padding: 0 0 26px; overflow: hidden; }
.svc-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 18px; }
.svc-card .num, .svc-card h3, .svc-card p, .svc-card a.more { margin-left: 26px; margin-right: 26px; }
.card.dark .img-rounded { aspect-ratio: 16/9; object-fit: cover; }
.tick-list { list-style: none; margin-top: 16px; }
.tick-list li { padding: 8px 0 8px 32px; position: relative; color: var(--grey); }
.tick-list li::before { content: "✦"; position: absolute; left: 4px; color: var(--lime-dark); font-weight: 700; }
.why-band { background: var(--forest-deep); }

/* Scroll-reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* Hero — stacked layout with gallery */
.hero-stack { padding: 64px 0 72px; }
.hero-text { text-align: center; max-width: 840px; margin: 0 auto; }
.hero-text .lead { margin: 0 auto; }
.hero-text .hero-ctas, .hero-text .stat-chips { justify-content: center; }
.gallery {
  position: relative; margin-top: 44px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 2 / 1; max-height: 620px; background: var(--forest-deep);
  box-shadow: 0 26px 56px rgba(18,51,45,.22);
}
.g-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.g-slide.active { opacity: 1; z-index: 1; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.g-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--forest-deep); font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .12s ease;
}
.g-arrow:hover { background: var(--lime); }
.g-prev { left: 16px; } .g-next { right: 16px; }
.g-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.g-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.55); padding: 0;
}
.g-dots button.active { background: var(--lime); width: 26px; border-radius: 999px; }
.gallery .hm-chip { position: absolute; top: 16px; right: 16px; z-index: 3; background: var(--forest); color: #fff; font-weight: 700; font-size: .82rem; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(18,51,45,.28); }
.g-macro { background: linear-gradient(135deg, var(--forest-deep), var(--forest)); display: flex; align-items: center; justify-content: center; }
.g-macro-inner { text-align: center; padding: 30px; width: 100%; }
.g-macro-stats { display: flex; justify-content: center; gap: clamp(20px, 6vw, 90px); margin-top: 22px; flex-wrap: wrap; }
.g-macro-stat .val { font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 800; color: var(--lime); line-height: 1.05; }
.g-macro-stat .lbl { color: #fff; font-weight: 700; margin-top: 6px; font-size: .95rem; }
.g-macro-stat .asof { color: #B9CDC5; font-size: .74rem; margin-top: 4px; }
.g-macro-note { color: #B9CDC5; font-size: .8rem; margin-top: 26px; }

/* Who-we-are photo */
.who-photo { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 44px rgba(18,51,45,.16); border-bottom: 6px solid var(--lime); }

/* Market pulse — distinct dark section */
.market-section { background: var(--forest-deep); }
.market-section h2, .market-section .news-block h3 { color: #fff; }
.market-section .section-head p { color: #B9CDC5; }
.market-section .eyebrow { color: var(--lime); }
.market-section .card { border: none; }
.market-section .form-note { color: #B9CDC5; }

/* Market ticker (TradingView embed container) */
.ngx-ticker { border-bottom: 1px solid var(--line); background: #fff; min-height: 46px; }

/* Macro stat cards */
.macro-card { text-align: center; }
.macro-value { font-size: 2.4rem; font-weight: 800; color: var(--forest); line-height: 1.1; }
.macro-card h3 { margin-top: 6px; }
.macro-asof { font-size: .74rem !important; color: var(--grey); margin-top: 10px; }

/* News marquee */
.news-block { margin-top: 34px; }
.news-block h3 { color: var(--forest-deep); margin-bottom: 14px; }
.news-track-outer { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.news-track { display: flex; width: max-content; animation: news-scroll 60s linear infinite; }
.news-track:hover { animation-play-state: paused; }
.news-track.static { animation: none; flex-wrap: wrap; width: 100%; }
.news-item {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 14px 26px; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.news-item:hover { color: var(--forest); }
.news-star { color: var(--lime-dark); }
.news-date { color: var(--grey); font-weight: 400; font-size: .78rem; }
@keyframes news-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .news-track { animation: none; flex-wrap: wrap; width: 100%; } }

/* Leave-a-message widget */
.msg-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; font-size: .92rem; }
.msg-fab {
  background: var(--forest); color: #fff; border: none; border-radius: 999px;
  padding: 14px 22px; font-weight: 700; font-size: .92rem; cursor: pointer;
  box-shadow: 0 12px 28px rgba(18,51,45,.35); display: flex; align-items: center; gap: 8px;
  transition: transform .12s ease, background .12s ease;
}
.msg-fab:hover { background: var(--forest-deep); transform: translateY(-2px); }
.msg-fab .msg-fab-icon { color: var(--lime); font-size: 1.05rem; }
.msg-panel {
  position: absolute; right: 0; bottom: 66px; width: min(340px, calc(100vw - 44px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  box-shadow: 0 24px 56px rgba(18,51,45,.28);
}
.msg-head { display: flex; justify-content: space-between; align-items: center; color: var(--forest-deep); }
.msg-close { background: none; border: none; font-size: 1.5rem; color: var(--grey); cursor: pointer; line-height: 1; }
.msg-sub { font-size: .8rem; color: var(--grey); margin: 6px 0 12px; }
.msg-panel .field { margin-bottom: 10px; }
.msg-panel .consent { font-size: .74rem; margin: 10px 0; }
.msg-alt { font-size: .78rem; color: var(--grey); margin-top: 10px; text-align: center; }

/* Footer */
footer { background: var(--forest-deep); color: #B9CDC5; padding: 56px 0 30px; font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
footer h4 { color: #fff; margin-bottom: 12px; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; }
footer a { color: #DFEAE4; text-decoration: none; display: block; padding: 4px 0; }
footer a:hover { color: var(--lime); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 20px; font-size: .78rem; }
.footer-legal p { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 880px) {
  .hero .wrap, .tool-grid, .grid-3, .grid-2, footer .wrap { grid-template-columns: 1fr; }
  nav.main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 22px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .gallery { aspect-ratio: 4 / 3; }
  .hero-media { margin-top: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  section { padding: 52px 0; }
  .hero-stack { padding: 44px 0 56px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .gallery { aspect-ratio: 1 / 1; max-height: 480px; border-radius: 10px; }
  .g-arrow { width: 38px; height: 38px; }
  .gallery .hm-chip { font-size: .7rem; padding: 8px 12px; top: 10px; right: 10px; }
  .g-macro-note { display: none; }
  .macro-value { font-size: 1.9rem; }
  .news-item { padding: 12px 16px; font-size: .82rem; }
  .msg-fab { padding: 12px 16px; font-size: .84rem; }
  .tool-panel, .result-box { padding: 20px 16px; }
  .value-row { flex-direction: column; gap: 6px; }
  footer .wrap { gap: 24px; }
}
