/* ============ Tokens ============ */
:root{
  --bg:#FAFAF8;
  --bg-alt:#F2F1EC;
  --ink:#0A0A0A;
  --ink-soft:#5C5C5C;
  --ink-faint:#8A8A8A;
  --line:#E4E3DC;
  --gold:#D4AF37;
  --gold-dim:#B5952C;
  --green:#1E7B34;
  --red:#B3261E;
  --radius:2px;
  --container:1240px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
.container{max-width:var(--container);margin:0 auto;padding:0 40px;}
.accent{ color:var(--ink); border-bottom:3px solid var(--gold); }

/* ============ Buttons ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:16px 34px;border-radius:var(--radius);font-weight:700;font-size:13px;
  letter-spacing:1px;text-transform:uppercase;border:1.5px solid transparent;cursor:pointer;
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--ink);color:#fff;}
.btn-primary:hover{background:var(--gold-dim);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{border-color:var(--ink);}
.btn-line{background:transparent;color:var(--ink);border:none;border-bottom:1.5px solid var(--ink);border-radius:0;padding:0 0 4px;}
.btn-line:hover{color:var(--gold-dim);border-color:var(--gold-dim);}
.btn-lg{padding:18px 40px;font-size:14px;}
.full-width{width:100%;}

/* ============ Ticker ============ */
/* TradingView's Ticker Tape widget renders its own inner layout — this
   wrapper just gives it a black strip to sit in. */
.ticker-bar{
  background:var(--ink);
  overflow:hidden;
  display:flex;
  align-items:center;
}
.ticker-bar .tradingview-widget-container{ min-height:40px; flex:1 1 auto; min-width:0; line-height:0; }
.ticker-delay-note{
  flex:0 0 auto; order:2;
  font-size:9.5px; font-weight:600; letter-spacing:0.3px; text-transform:uppercase;
  color:rgba(255,255,255,0.4); padding:0 12px; white-space:nowrap;
}
@media (max-width:600px){
  .ticker-delay-note{ display:none; }
}

.news-ticker-bar{
  background:#111111; border-top:1px solid rgba(255,255,255,0.08);
  display:flex; align-items:center; gap:14px; padding:0 20px;
}
.news-ticker-label{
  flex:0 0 auto; display:flex; align-items:center; gap:7px;
  color:var(--gold); font-size:11px; font-weight:800; letter-spacing:1.2px;
  text-transform:uppercase; padding:9px 0;
}
.news-ticker-label::before{
  content:""; width:7px; height:7px; border-radius:50%; background:#E0483E;
  animation:newsPulse 1.6s ease-in-out infinite;
}
@keyframes newsPulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.25; } }
.news-ticker-viewport{ flex:1 1 auto; min-width:0; overflow:hidden; }
.news-ticker-track{
  display:flex; align-items:center; gap:16px; white-space:nowrap;
  width:max-content;
  animation:newsScroll 55s linear infinite;
  padding:9px 0;
}
.news-ticker-viewport:hover .news-ticker-track{ animation-play-state:paused; }
.news-ticker-item{ color:#EDEDED; font-size:12.5px; letter-spacing:0.2px; }
.news-ticker-item a{ color:inherit; }
.news-ticker-item a:hover{ color:var(--gold); }
.news-ticker-sep{ color:var(--gold-dim); }
@keyframes newsScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (max-width:600px){
  .news-ticker-label span{ display:none; }
}

/* ============ Header ============ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,250,248,0.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:92px; gap:20px; }
.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand-logo{ width:60px; height:60px; border-radius:50%; object-fit:contain; }
.brand-word{ color:var(--ink); font-size:15px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; }
.brand-word em{ font-style:normal; border-bottom:2px solid var(--gold); }
.main-nav{ display:flex; gap:13px; flex:1; justify-content:center; }
.main-nav a{ position:relative; color:var(--ink-soft); font-size:12px; font-weight:600; letter-spacing:0.2px; text-transform:uppercase; transition:color .15s ease; padding-bottom:4px; white-space:nowrap; }
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1.5px;
  background:var(--gold); transition:right .2s ease;
}
.main-nav a:hover{ color:var(--ink); }
.main-nav a:hover::after{ right:0; }
.main-nav a.active{ color:var(--ink); }
.main-nav a.active::after{ right:0; background:var(--gold-dim); }
.main-nav .has-dropdown{ display:flex; align-items:center; }
.header-cta{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.header-cta .btn{ padding:11px 16px; font-size:11px; white-space:nowrap; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ width:22px; height:1.5px; background:var(--ink); display:block; }
.mobile-cta{ display:none; }

/* ============ Hero ============ */
.hero{
  position:relative; overflow:hidden;
  background:var(--bg);
  padding:120px 0 0;
}
.hero-candles{ position:absolute; inset:0; width:100%; height:100%; opacity:0.16; pointer-events:none; }
.hero-inner{ position:relative; padding-bottom:74px; }
.eyebrow{ font-size:12px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--ink-faint); margin-bottom:30px; }
.hero .eyebrow{ color:var(--ink); font-weight:800; }
.hero h1{
  font-size:104px; line-height:0.96; font-weight:800; margin:0 0 40px; letter-spacing:-3px;
}
.hero-sub{ font-size:18px; line-height:1.65; color:var(--ink-soft); max-width:540px; margin:0 0 46px; }
.hero-actions{ display:flex; gap:32px; align-items:center; flex-wrap:wrap; }
.hero-stats{ position:relative; border-top:1px solid var(--line); }
.hero-stats-inner{ display:flex; gap:70px; flex-wrap:wrap; padding:44px 0; }
.trust-item{ display:flex; flex-direction:column; gap:6px; }
.trust-item strong{ font-size:24px; color:var(--ink); font-weight:800; }
.trust-item span{ font-size:12px; color:var(--ink-faint); letter-spacing:0.6px; text-transform:uppercase; font-weight:600; }

/* ============ Section shell ============ */
section{ padding:110px 0; }
.section-head{ max-width:640px; margin:0 auto 60px; text-align:center; }
.eyebrow{ text-align:inherit; }
.section-head h2, .about h2{ font-size:42px; font-weight:800; line-height:1.2; margin:0; letter-spacing:-1px; }

/* ============ Services ============ */
.services{ border-top:1px solid var(--line); }
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
.service-card{
  padding:36px 30px; border-left:1px solid var(--line);
  transition:background .2s ease;
}
.service-card:last-child{ border-right:1px solid var(--line); }
.service-card:hover{ background:var(--bg-alt); }
.service-num{ display:block; font-size:13px; font-weight:700; color:var(--gold-dim); letter-spacing:1px; margin-bottom:22px; }
.service-card h3{ font-size:18px; font-weight:800; margin:0 0 12px; letter-spacing:-0.2px; }
.service-card p{ font-size:14px; color:var(--ink-soft); line-height:1.65; margin:0; }

/* ============ Live Markets ============ */
.markets{ background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.markets-card{ background:var(--bg); border:1px solid var(--line); }
.markets-card-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 24px; border-bottom:1px solid var(--line);
  font-size:12px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:var(--ink-soft);
}
.live-dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--green); box-shadow:0 0 0 0 rgba(30,123,52,0.5);
  animation:liveDotPulse 2s ease-out infinite;
}
@keyframes liveDotPulse{
  0%{ box-shadow:0 0 0 0 rgba(30,123,52,0.45); }
  70%{ box-shadow:0 0 0 8px rgba(30,123,52,0); }
  100%{ box-shadow:0 0 0 0 rgba(30,123,52,0); }
}
.chart-widget-wrap{ height:440px; }
@media (prefers-reduced-motion:reduce){ .live-dot{ animation:none; } }

/* ============ IPO Watch ============ */
.ipo-watch{ background:var(--ink); color:#fff; }
.ipo-watch .eyebrow{ color:#8A8A8A; }
.ipo-watch .accent{ color:#fff; }
.ipo-watch-page{ padding:34px 4px; margin:28px 0; border-radius:var(--radius); }
.ipo-watch-page .ipo-card{ margin:0; max-width:none; }

/* ============ Live IPO widget states (JS-populated) ============ */
.ipo-price-band{ font-size:22px; font-weight:800; color:var(--gold); }
.ipo-cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top:26px; }
.ipo-cta-row .btn{ padding:13px 24px; font-size:11.5px; }
.ipo-card{ max-width:860px; margin:0 auto; border:1px solid rgba(255,255,255,0.16); padding:38px; }
.ipo-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; flex-wrap:wrap; gap:14px; }
.ipo-name{ font-size:19px; font-weight:800; }
.ipo-status{ margin-top:6px; font-size:13.5px; color:#9A9A9A; }
.ipo-badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--red); color:#FF8A80; padding:8px 18px;
  font-weight:700; font-size:12px; letter-spacing:1px; text-transform:uppercase;
}
.ipo-badge::before{
  content:""; width:7px; height:7px; border-radius:50%; background:#FF8A80;
  animation:liveDotPulseRed 1.6s ease-out infinite;
}
@keyframes liveDotPulseRed{
  0%{ box-shadow:0 0 0 0 rgba(255,138,128,0.5); }
  70%{ box-shadow:0 0 0 7px rgba(255,138,128,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,138,128,0); }
}
.ipo-stats{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(255,255,255,0.14); }
.ipo-stat{ padding:22px 4px 0; display:flex; flex-direction:column; gap:8px; border-right:1px solid rgba(255,255,255,0.1); }
.ipo-stat:last-child{ border-right:none; }
.ipo-stat .label{ font-size:11px; letter-spacing:1px; text-transform:uppercase; color:#8A8A8A; font-weight:700; }
.ipo-stat .value{ font-size:20px; font-weight:800; }
.ipo-stat .value.up{ color:#5FD186; }
.ipo-note{ margin-top:24px; font-size:12.5px; color:#7A7A7A; line-height:1.6; }

/* ============ Insights ============ */
.insights-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.insight-card{ background:var(--bg); padding:36px; transition:background .2s ease; }
.insight-card:hover{ background:var(--bg-alt); }
.insight-tag{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--gold-dim); margin-bottom:18px; }
.insight-card h3{ font-size:18px; font-weight:800; margin:0 0 12px; line-height:1.4; letter-spacing:-0.2px; }
.insight-card p{ font-size:14px; color:var(--ink-soft); line-height:1.65; margin:0; }

/* ============ About ============ */
.about{ border-top:1px solid var(--line); }
.about-inner{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:70px; align-items:center; }
.about-copy p{ font-size:16px; line-height:1.8; color:var(--ink-soft); margin:22px 0 28px; }
.about-list{ margin:0 0 32px; display:flex; flex-direction:column; gap:13px; }
.about-list li{ position:relative; padding-left:26px; font-size:14.5px; color:var(--ink); }
.about-list li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--gold-dim); font-weight:800; }
.about-stats{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); }
.stat-box{ background:var(--bg); padding:30px 22px; text-align:center; }
.stat-num{ font-size:26px; font-weight:800; color:var(--ink); }
.stat-label{ margin-top:8px; font-size:11.5px; letter-spacing:0.6px; color:var(--ink-faint); text-transform:uppercase; font-weight:700; }

/* ============ CTA band ============ */
.cta-band{ background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:70px 0; }
.cta-band-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.cta-band h2{ font-size:28px; font-weight:800; margin:0 0 8px; letter-spacing:-0.5px; }
.cta-band p{ margin:0; color:var(--ink-soft); font-size:15px; }

/* ============ Contact ============ */
.contact-inner{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; }
.contact-line{ display:flex; gap:14px; align-items:flex-start; margin:24px 0; }
.contact-line svg{ width:20px; height:20px; flex:0 0 auto; margin-top:2px; }
.contact-line p{ margin:0; font-size:15px; line-height:1.6; color:var(--ink-soft); }
.contact-form{ border:1px solid var(--line); padding:38px; display:flex; flex-direction:column; gap:16px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; padding:15px 16px; border:1.5px solid var(--line); border-radius:var(--radius);
  font-family:inherit; font-size:14.5px; color:var(--ink); background:var(--bg);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{ outline:none; border-color:var(--gold-dim); box-shadow:0 0 0 3px rgba(212,175,55,0.15); }
.form-note{ font-size:12px; color:var(--ink-faint); margin:0; text-align:center; }

/* ============ Footer ============ */
.site-footer{ background:var(--ink); color:#B4B4B4; }
/* Keep the 40px side padding inherited from .container — using the padding
   shorthand with 0 here silently zeroed it, which pushed the footer hard
   against the screen edge on anything narrower than the 1240px container. */
.footer-inner{ display:flex; justify-content:space-between; gap:40px; padding:64px 40px 44px; flex-wrap:wrap; }
.footer-brand{ display:flex; gap:20px; align-items:center; }
/* The logo art is navy-on-navy at the edges, which disappears against the
   near-black footer — the light ring gives it a defined edge so it reads
   as a deliberate badge rather than fading out. */
.footer-logo{
  width:104px; height:104px; border-radius:50%; background:#fff; object-fit:contain;
  flex-shrink:0; box-shadow:0 0 0 2px rgba(255,255,255,0.22);
}
.footer-word{ color:#fff; font-size:20px; font-weight:800; letter-spacing:-0.2px; }
.footer-tag{ font-size:13px; color:var(--gold); margin-top:4px; }
@media (max-width:760px){
  .footer-logo{ width:84px; height:84px; }
  .footer-brand{ gap:16px; }
}
/* Brand-coloured social buttons. Each platform keeps its own official
   colour so the row is instantly recognisable on the dark footer. */
.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{
  width:46px; height:46px; border-radius:50%; border:none;
  display:flex; align-items:center; justify-content:center;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.footer-social a:hover{ transform:translateY(-3px); filter:brightness(1.12); box-shadow:0 6px 16px rgba(0,0,0,0.45); }
.footer-social svg{ width:24px; height:24px; display:block; }
.footer-social .fs-ig{ background:radial-gradient(circle at 28% 105%, #FDF497 0%, #FD5949 45%, #D6249F 62%, #285AEB 92%); }
.footer-social .fs-fb{ background:#1877F2; }
.footer-social .fs-wa{ background:#25D366; }
.footer-social .fs-yt{ background:#FF0000; }
.footer-social .fs-yt svg{ width:26px; height:26px; }
/* Columns flex to fill whatever the brand block leaves, and spread evenly
   if they ever wrap onto their own row — so the footer stays balanced
   rather than leaving dead space on the right. */
.footer-links{ display:flex; gap:40px; flex-wrap:wrap; flex:1 1 560px; justify-content:space-between; }
.footer-links h4{ color:#fff; font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase; margin:0 0 18px; }
.footer-links a{ display:block; font-size:14px; color:#8A8A8A; margin-bottom:11px; }
.footer-links a:hover{ color:var(--gold); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:24px 40px; font-size:12px; color:#6E6E6E; }
.footer-bottom p{ margin:0; }
.disclaimer{ max-width:640px; }

/* ============ Nav dropdown ============ */
.has-dropdown{ position:relative; }
.dropdown-toggle{ display:flex; align-items:center; gap:5px; }
.dropdown-toggle .caret{ width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-top:-3px; transition:transform .15s ease; }
.has-dropdown:hover .caret{ transform:rotate(-135deg); margin-top:2px; }
.dropdown-menu{
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  background:var(--bg); border:1px solid var(--line); min-width:220px;
  padding:10px 0; opacity:0; visibility:hidden; transform:translate(-50%,6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  box-shadow:0 18px 40px rgba(10,10,10,0.08);
}
.has-dropdown:hover .dropdown-menu{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.dropdown-menu a{
  display:block; padding:11px 22px; font-size:13px; font-weight:600; text-transform:none;
  letter-spacing:0; color:var(--ink-soft); white-space:nowrap;
}
.dropdown-menu a::after{ display:none; }
.dropdown-menu a:hover{ background:var(--bg-alt); color:var(--ink); }
@media (max-width:760px){
  .dropdown-menu{ position:static; transform:none; opacity:1; visibility:visible; display:none; box-shadow:none; border:none; padding:0 0 0 16px; min-width:0; }
  .has-dropdown.open .dropdown-menu{ display:block; }
  .dropdown-toggle .caret{ display:none; }
}

/* ============ Inner page hero ============ */
.page-hero{ padding:64px 0 54px; border-bottom:1px solid var(--line); }
.page-hero .eyebrow{ margin-bottom:18px; }
.page-hero h1{ font-size:48px; font-weight:800; line-height:1.1; margin:0 0 16px; letter-spacing:-1px; }
.page-hero p{ font-size:16px; color:var(--ink-soft); max-width:640px; line-height:1.7; margin:0; }
.breadcrumb{ font-size:12.5px; color:var(--ink-faint); margin-bottom:16px; }
.breadcrumb a{ color:var(--ink-faint); }
.breadcrumb a:hover{ color:var(--ink); }

/* ============ Prose / content section ============ */
.prose{ max-width:760px; }
.prose p{ font-size:16px; line-height:1.85; color:var(--ink-soft); margin:0 0 22px; }
.prose h3{ font-size:20px; font-weight:800; margin:36px 0 14px; letter-spacing:-0.3px; }
.content-section{ padding:80px 0; border-top:1px solid var(--line); }
.content-section:first-child{ border-top:none; }
.note-box{ border:1px solid var(--line); background:var(--bg-alt); padding:22px 26px; font-size:13.5px; color:var(--ink-soft); line-height:1.7; margin:28px 0; }
.mosl-link{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; border:1px solid var(--gold); background:rgba(212,175,55,0.06); padding:18px 24px; margin:28px 0; font-size:13px; }
.mosl-link span{ color:var(--ink-soft); }
.mosl-link a{ font-weight:800; color:var(--ink); border-bottom:1.5px solid var(--gold); white-space:nowrap; }
.mosl-link a:hover{ color:var(--gold-dim); }

/* ============ Product / card grid (reusable) ============ */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.card-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.card-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
.plain-card{ background:var(--bg); padding:32px; transition:background .2s ease; }
.plain-card:hover{ background:var(--bg-alt); }
.plain-card h3{ font-size:17px; font-weight:800; margin:0 0 10px; letter-spacing:-0.2px; }
.plain-card p{ font-size:14px; color:var(--ink-soft); line-height:1.65; margin:0; }
.plain-card a.card-link{ display:inline-block; margin-top:14px; font-size:12.5px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; border-bottom:1.5px solid var(--gold); }

/* ============ About page — two-column with visual ============ */
.about-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:60px; align-items:start; }
.about-grid .prose{ max-width:none; }
.about-visual{ position:sticky; top:110px; }
.about-visual img,
.about-visual svg{ display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:var(--radius); }
@media (max-width:860px){
  .about-grid{ grid-template-columns:1fr; gap:36px; }
  .about-visual{ position:static; order:-1; }
  .about-visual img{ max-height:340px; object-fit:cover; }
}

/* ============ Appointment page — form + video panel ============ */
.appointment-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:start; }
.appointment-grid .contact-form{ max-width:none; }
.appointment-visual{ position:sticky; top:110px; }
.video-frame{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; line-height:0; background:var(--ink); }
.video-frame video{ display:block; width:100%; height:auto; }

/* Full-width landscape brand reel (technology page) */
.video-banner{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; line-height:0; background:#062456; margin:0 0 46px; }
.video-banner video{ display:block; width:100%; height:auto; }
.appointment-visual > svg{ display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:var(--radius); }
.visual-caption{ margin-top:38px; padding-top:34px; border-top:1px solid var(--line); }
.visual-caption h3{ font-size:19px; font-weight:800; margin:0 0 10px; letter-spacing:-0.3px; }
.visual-caption p{ font-size:14.5px; line-height:1.75; color:var(--ink-soft); margin:0 0 18px; }
@media (max-width:900px){
  .appointment-grid{ grid-template-columns:1fr; gap:40px; }
  .appointment-visual{ position:static; order:-1; }
  .video-frame,
  .appointment-visual > svg{ max-width:340px; margin:0 auto; }
}

/* ============ Team ============ */
.team-photo{ margin:0 0 44px; }
.team-photo img{ width:100%; border:1px solid var(--line); object-fit:cover; max-height:520px; }
.team-photo .team-photo-caption{ font-size:12.5px; color:var(--ink-faint); margin-top:10px; letter-spacing:0.2px; }
.team-card{ background:var(--bg); border:1px solid var(--line); padding:34px; text-align:center; }
.team-avatar{ width:88px; height:88px; border-radius:50%; background:var(--bg-alt); border:1px solid var(--line); margin:0 auto 20px; display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:800; color:var(--ink-faint); }
.team-card h3{ font-size:17px; font-weight:800; margin:0 0 4px; }
.team-card .role{ font-size:12.5px; color:var(--gold-dim); font-weight:700; text-transform:uppercase; letter-spacing:0.6px; margin-bottom:14px; }
.team-card p{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; margin:0; }

/* ============ Download list ============ */
.download-list{ border:1px solid var(--line); }
.download-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 26px; border-bottom:1px solid var(--line); }
.download-row:last-child{ border-bottom:none; }
.download-row .dl-name{ font-size:15px; font-weight:600; }
.download-row .dl-type{ font-size:11.5px; color:var(--ink-faint); text-transform:uppercase; letter-spacing:0.5px; margin-top:4px; }
.download-row .btn{ padding:10px 20px; font-size:11.5px; }

/* ============ Gallery ============ */
.gallery-empty{ border:1px dashed var(--line); padding:60px 30px; text-align:center; color:var(--ink-soft); }
.gallery-empty h3{ font-size:18px; font-weight:800; margin:0 0 10px; color:var(--ink); }

.gallery-group{ margin:0 0 64px; }
.gallery-group:last-child{ margin-bottom:0; }
.gallery-group h3{ font-size:20px; font-weight:800; margin:0 0 6px; letter-spacing:-0.3px; }
.gallery-group .gallery-group-sub{ font-size:13.5px; color:var(--ink-soft); margin:0 0 24px; }
.photo-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.photo-grid a{ position:relative; display:block; aspect-ratio:4/3; overflow:hidden; background:var(--bg-alt); border:1px solid var(--line); }
.photo-grid img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.photo-grid a:hover img{ transform:scale(1.06); }

/* Lightbox: pure-CSS, opened via :target so it needs no JS */
.lightbox{
  position:fixed; inset:0; z-index:1000; display:none;
  align-items:center; justify-content:center;
  background:rgba(10,10,10,0.92); padding:40px;
}
.lightbox:target{ display:flex; }
.lightbox img{ max-width:100%; max-height:86vh; object-fit:contain; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.lightbox .lightbox-caption{ position:absolute; left:0; right:0; bottom:18px; text-align:center; color:#fff; font-size:13px; letter-spacing:0.3px; opacity:0.85; }
.lightbox .lightbox-close{
  position:absolute; top:22px; right:28px; color:#fff; font-size:30px; line-height:1;
  font-weight:300; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,0.4); border-radius:50%;
}
.lightbox .lightbox-close:hover{ background:rgba(255,255,255,0.1); }

@media (max-width:760px){
  .photo-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ============ Simple list (usages, benefits) ============ */
.check-list{ display:flex; flex-direction:column; gap:13px; margin:24px 0; }
.check-list li{ position:relative; padding-left:26px; font-size:15px; color:var(--ink-soft); line-height:1.6; }
.check-list li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--gold-dim); font-weight:800; }

/* ============ Scroll reveal ============ */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ============ Responsive ============ */
@media (max-width:980px){
  .about-inner, .contact-inner{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .service-card{ border-top:1px solid var(--line); }
  .insights-grid{ grid-template-columns:1fr; }
  .ipo-stats{ grid-template-columns:repeat(2,1fr); }
  .ipo-stat{ border-bottom:1px solid rgba(255,255,255,0.1); padding-bottom:18px; }
  .about-stats{ margin-top:10px; }
  .hero h1{ font-size:72px; }
}
/* Widened from 760px: some phone browsers (zoomed-out page-zoom settings,
   "Desktop site" mode, larger-DPI devices) report a CSS viewport well past
   their physical screen width — a tighter breakpoint left real phones
   showing the full desktop nav, overflowing the screen. 1024px covers
   those cases while still only affecting tablet-and-below widths. */
@media (max-width:1024px){
  .main-nav, .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .main-nav.open{
    display:flex; position:absolute; top:82px; left:0; right:0; background:var(--bg);
    flex-direction:column; padding:20px 32px; gap:18px; border-bottom:1px solid var(--line);
    z-index:99; max-height:calc(100vh - 82px); overflow-y:auto;
  }
  .main-nav.open .mobile-cta{
    display:flex; flex-direction:column; gap:10px; margin-top:8px;
    padding-top:18px; border-top:1px solid var(--line);
  }
  .main-nav.open .mobile-cta .btn{ padding:14px 20px; font-size:12.5px; }
}
@media (max-width:760px){
  .services-grid{ grid-template-columns:1fr; }
  .service-card{ border-left:none; border-top:1px solid var(--line); }
  .service-card:last-child{ border-right:none; }
  .form-row{ grid-template-columns:1fr; }
  .hero{ padding:80px 0 0; }
  .hero h1{ font-size:52px; letter-spacing:-2px; }
  .hero-sub{ font-size:16px; }
  section{ padding:72px 0; }
  .cta-band-inner{ text-align:center; justify-content:center; }
  .footer-inner{ flex-direction:column; }
  /* space-between leaves ragged gaps once the columns wrap on a phone */
  .footer-links{ justify-content:flex-start; gap:30px 44px; flex:1 1 auto; }
  .chart-widget-wrap{ height:320px; }
  .hero-stats-inner{ gap:36px; padding:32px 0; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4{ grid-template-columns:1fr; }
  .page-hero h1{ font-size:34px; }
  .download-row{ flex-direction:column; align-items:flex-start; gap:10px; }
}
