/* GrandPine Capital Enterprise Accelerator: static site styles */

@font-face { font-family: "Helvetica Neue GP"; src: local("Helvetica Neue Light"), url("../assets/fonts/HelveticaNeueLight.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvetica Neue GP"; src: local("Helvetica Neue"), url("../assets/fonts/HelveticaNeueRoman.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvetica Neue GP"; src: local("Helvetica Neue Italic"), url("../assets/fonts/HelveticaNeueItalic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Helvetica Neue GP"; src: local("Helvetica Neue Medium"), url("../assets/fonts/HelveticaNeueMedium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvetica Neue GP"; src: local("Helvetica Neue Bold"), url("../assets/fonts/HelveticaNeueBold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvetica Neue GP"; src: local("Helvetica Neue Bold Italic"), url("../assets/fonts/HelveticaNeueBoldItalic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --blue: #00539b;
  --green: #34da72;
  --ink: #1d1d1d;
  --rule: #b9bcc2;
  --white: #ffffff;
  --gutter: 90px;
  --font: "Helvetica Neue GP", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.3; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
ul { list-style: none; }

.wrap { width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 1140px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); height: 72px; display: flex; align-items: center; padding: 0 28px; }
.site-header .logo img { height: 36px; width: auto; }
.site-nav { margin-left: auto; margin-right: 110px; }
.site-nav > ul { display: flex; gap: 34px; align-items: center; }
.site-nav a, .site-nav button { font: inherit; font-size: 14px; color: var(--blue); background: none; border: 0; padding: 26px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.site-nav a:hover, .site-nav button:hover { color: var(--green); }
.site-nav .has-sub { position: relative; }
.site-nav .has-sub > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.site-nav .sub { position: absolute; top: 100%; left: -18px; min-width: 260px; background: var(--white); box-shadow: 0 10px 30px rgba(0, 40, 90, 0.12); padding: 8px 0; display: none; }
.site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { display: block; }
.site-nav .sub a { display: block; padding: 12px 18px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 24px; height: 2px; background: var(--blue); position: relative; margin: 0 auto; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 17px 20px; border: 1px solid transparent; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: #26c561; border-color: #26c561; }
.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 56px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - 72px); min-height: 640px; overflow: hidden; background: #dcdde1; display: flex; align-items: center; }
.bg-video, .bg-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; pointer-events: none; }
/* Vimeo background: keep 16:9 and cover the section */
.bg-video-frame { top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; right: auto; bottom: auto; transform: translate(-50%, -50%); }
.hero .hero-copy { position: relative; z-index: 2; margin-left: 49%; max-width: 620px; padding-right: 40px; }
.eyebrow { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
.hero h1 { font-size: 46px; font-weight: 400; line-height: 1.2; text-transform: uppercase; color: var(--blue); margin-top: 26px; letter-spacing: -0.2px; }
.hero h1 em { color: var(--green); font-style: italic; }
.hero p.lead { font-size: 15px; line-height: 1.45; color: var(--blue); max-width: 420px; margin-top: 22px; }
.hero .btn-row { margin-top: 46px; gap: 62px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--white); overflow: hidden; height: 42px; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; align-items: center; white-space: nowrap; }
.ticker-list span { color: var(--blue); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; padding: 0 50px; }
@keyframes ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-33.3333%, 0, 0); } }

/* ---------- Three pillars ---------- */
.pillars { padding: 60px 0 70px; }
.pillars-image img { width: 100%; height: auto; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 44px; }
.num { font-size: 15px; color: var(--green); }
.pillar h2, .question h2 { font-size: 35px; font-weight: 700; color: var(--blue); line-height: 1.15; margin-top: 6px; }
.pillar p.desc { font-size: 18px; line-height: 1.35; color: var(--ink); margin-top: 8px; max-width: 380px; }

/* ---------- Statement band ---------- */
.statement { position: relative; height: 100vh; min-height: 560px; background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)), url("../assets/img/whatsapp-0422.webp") center / cover no-repeat; display: flex; align-items: flex-end; }
.statement p { font-size: 32px; color: var(--blue); text-shadow: 2px 2px 5px rgba(0,0,0,.25); padding-bottom: 190px; }
.statement strong { letter-spacing: 1px; }

/* ---------- Who we are ---------- */
.who { padding: 96px 0 104px; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.kicker { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-top: 34px; }
.who h2 { font-size: 44px; font-weight: 700; line-height: 1.05; color: var(--blue); margin-top: 26px; }
.who h2 em { font-style: italic; }
.who .tagline { font-size: 18px; font-style: italic; letter-spacing: 3px; text-transform: capitalize; color: var(--blue); margin-top: 6px; }
.who .body { font-size: 20px; line-height: 1.12; color: var(--blue); margin-top: 26px; max-width: 550px; }
.who .body + .body { margin-top: 30px; line-height: 1.4; }
.facts li { border-top: 1px solid var(--rule); padding: 22px 20px 24px; }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts strong { display: block; font-size: 46px; font-weight: 700; line-height: 1; color: var(--blue); }
.facts span { display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-top: 8px; }

/* ---------- Questions (video background) ---------- */
.questions { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #f3f3f3; }
.questions::after, .formula::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); z-index: 1; }
.questions-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; height: 100%; align-items: start; padding-top: 30vh; }
.question:nth-child(2) { margin-top: 100px; }
.question:nth-child(3) { margin-top: 200px; }
.question h2 { max-width: 300px; }

/* ---------- Formula ---------- */
.formula { position: relative; overflow: hidden; background: #f6f6f6; padding: 150px 20px 160px; text-align: center; color: var(--blue); }
.formula > :not(video) { position: relative; z-index: 2; }
.formula > video { z-index: 0; }
.formula .rule-line { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }
.formula h2 { font-size: 40px; font-weight: 400; margin-top: 22px; }
.formula .big { font-size: 65px; font-weight: 700; line-height: 1.15; }
.formula .big.first { margin-top: 70px; }
.formula .big .x { font-weight: 400; }
.formula p.close { font-size: 22px; line-height: 1.3; max-width: 760px; margin: 60px auto 0; }
.formula .btn-row { justify-content: center; margin-top: 46px; gap: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--white); padding: 44px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-footer .logo img { height: 62px; width: auto; margin-left: 84px; }
.site-footer .company { font-size: 16px; margin-top: 26px; }
.contact-list { margin-top: 26px; font-size: 13px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; line-height: 1.35; }
.contact-list svg { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 2px; fill: currentColor; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.social svg { width: 15px; height: 15px; fill: var(--white); }
.social .fb { background: #1877f2; } .social .yt { background: #ff0000; } .social .ig { background: #e1306c; }
.footer-links h3 { font-size: 20px; font-style: italic; font-weight: 700; text-transform: uppercase; margin-top: 16px; }
.footer-links li { margin-top: 34px; font-size: 13px; }
.footer-links a:hover, .legal a:hover { text-decoration: underline; }
.legal { max-width: 1100px; margin: 28px auto 0; padding: 14px 20px 0; border-top: 1px solid rgba(255,255,255,.35); font-size: 12px; font-style: italic; color: rgba(255,255,255,.8); }
.legal a { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.5); }

/* ---------- Scroll reveal (progressive: content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .site-nav { margin-right: 0; }
  .hero .hero-copy { margin-left: 40%; }
  .hero h1 { font-size: 38px; }
  .formula .big { font-size: 48px; }
  .formula .btn-row { gap: 40px; }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); margin: 0; padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(0,40,90,.12); }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-nav button { padding: 14px 0; width: 100%; justify-content: space-between; }
  .site-nav .sub { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .hero { height: auto; min-height: 560px; padding: 80px 0; }
  .hero .hero-copy { margin-left: 0; padding: 0 20px; }
  .hero h1 { font-size: 30px; }
  .btn-row, .hero .btn-row, .formula .btn-row { gap: 16px; }
  .pillars-grid, .who-grid, .questions-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillar h2, .question h2 { font-size: 28px; }
  .statement { height: 70vh; }
  .statement p { font-size: 22px; padding-bottom: 60px; }
  .who { padding: 56px 0; }
  .who h2 { font-size: 34px; }
  .who .body { font-size: 18px; }
  .facts strong { font-size: 34px; }
  .questions { height: auto; padding: 80px 0; }
  .questions-grid { padding-top: 0; }
  .question:nth-child(2), .question:nth-child(3) { margin-top: 0; }
  .formula { padding: 80px 20px; }
  .formula h2 { font-size: 28px; }
  .formula .big { font-size: 30px; }
  .formula p.close { font-size: 18px; }
  .site-footer .logo img { margin-left: 0; }
  .footer-links li { margin-top: 16px; }
  .legal a { display: inline-block; margin-top: 6px; }
}
