/*
Theme Name: Padma Global Nusatama
Theme URI: https://www.padmaglobal.co.id/
Author: PT Padma Global Nusatama
Author URI: https://www.padmaglobal.co.id/
Description: WordPress theme resmi PT Padma Global Nusatama — dark multi-page, GDP Venture-inspired.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: padma-global
Tags: one-page, business, custom-colors, responsive-layout, accessibility-ready
*/

/* =========================================================================
   DESIGN TOKENS
   ========================================================================= */
:root {
  --bg:         #090909;
  --bg-2:       #0f0f0f;
  --bg-card:    #141414;
  --bg-card-2:  #1a1a1a;
  --ink:        #ffffff;
  --ink-2:      rgba(255,255,255,.60);
  --ink-3:      rgba(255,255,255,.35);
  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.14);
  --plum:       #9B6DFF;
  --plum-2:     #C4ABFF;
  --brass:      #E8A730;
  --brass-2:    #F5C558;
  --c-mpt:      #4A90E2;
  --c-lab:      #27AE60;
  --maxw:       1200px;
  --rad:        10px;
  --rad-lg:     18px;
  --shadow:     0 24px 60px rgba(0,0,0,.8);
  --f-display:  "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body:     "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --f-mono:     "IBM Plex Mono", ui-monospace, monospace;
  --ease:       cubic-bezier(.22,.68,0,1.2);
}

/* =========================================================================
   BASE RESET
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(15px,.45vw + 13.5px,17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px,4vw,48px); }

/* =========================================================================
   TYPE PRIMITIVES
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.04;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content:""; width:22px; height:1px; background:var(--brass); }
.lede   { color: var(--ink-2); max-width: 62ch; line-height: 1.7; }
.clause { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.skip { position:absolute; left:-9999px; top:0; background:var(--plum); color:#fff; padding:12px 18px; border-radius:0 0 10px 0; z-index:200; }
.skip:focus { left:0; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,9,.4);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease,
              backdrop-filter .3s ease, box-shadow .3s ease,
              transform .28s ease-in-out;
  animation: heroDown .5s cubic-bezier(.2,.7,.2,1);
}
.head--scrolled {
  background: rgba(9,9,9,.92);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.head--hidden { transform: translateY(-100%); }
.head__row {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px; gap: 20px;
}

/* brand */
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--f-display); font-weight: 800; font-size: 16px;
  letter-spacing: -.02em; color: #fff; flex-shrink: 0;
}
.brand__logo  { height: 38px; width: auto; display: block; flex: none; }
.brand span   { display: flex; flex-direction: column; }
.brand span small {
  font-family: var(--f-mono); font-weight: 400; font-size: 9px;
  letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase;
}
.foot .brand__logo { height: 42px; }

/* nav links */
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) {
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  position: relative; transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn).active { color: var(--ink); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 100%; background: var(--plum);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after { transform: scaleX(1); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 600; font-size: 13.5px;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease,
              color .2s ease, border-color .2s ease;
}
.btn--ink   { background: #fff; color: #090909; border-color: #fff; }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 0 26px 4px rgba(255,255,255,.18); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: rgba(255,255,255,.38); transform: translateY(-2px); }
.btn--plum  { background: var(--plum); color: #fff; }
.btn--plum:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(155,109,255,.28); }
.btn--brass { background: var(--brass); color: #090909; }
.btn--brass:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(232,167,48,.22); }
.btn svg    { width: 14px; height: 14px; flex: none; transition: transform .22s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--lg    { padding: 14px 30px; font-size: 15px; }

/* =========================================================================
   CUSTOM CURSOR — desktop only (fine pointer), progressive enhancement
   ========================================================================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity .3s ease;
  will-change: transform;
}
.cursor::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--plum);
  border-radius: 50%;
  transition: opacity .2s ease;
}
.cursor__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  border: 1.5px solid var(--plum);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(.4);
  opacity: 0;
  transition: transform .25s var(--ease), opacity .25s ease;
}
.cursor.is-hover::before { opacity: 0; }
.cursor.is-hover .cursor__ring { transform: translate(-50%,-50%) scale(1); opacity: 1; }

/* mobile menu */
.menu-toggle {
  display: none; background: none;
  border: 1px solid var(--line-2); border-radius: 9px;
  width: 42px; height: 42px; cursor: pointer; flex: none;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: .25s; }

/* =========================================================================
   SECTION SCAFFOLD
   ========================================================================= */
.sec { padding-block: clamp(72px,9vw,120px); position: relative; }
.sec--alt    { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec--card   { background: var(--bg-card); border-block: 1px solid var(--line); }
.sec--flush  { padding-block: 0; }

.sec__head { max-width: 800px; margin-bottom: clamp(40px,5.5vw,64px); }
.sec__head h2  { font-size: clamp(28px,3.6vw,48px); margin-top: 14px; }
.sec__head .lede { margin-top: 18px; }

/* scroll-reveal */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal.is-in, .reveal-left.is-in, .reveal-right.is-in { opacity: 1; transform: none; }

.reveal.d1, .reveal-left.d1, .reveal-right.d1 { transition-delay: .08s; }
.reveal.d2, .reveal-left.d2, .reveal-right.d2 { transition-delay: .16s; }
.reveal.d3, .reveal-left.d3, .reveal-right.d3 { transition-delay: .24s; }
.reveal.d4, .reveal-left.d4, .reveal-right.d4 { transition-delay: .32s; }

/* =========================================================================
   HOMEPAGE HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  padding-block: clamp(80px,10vw,140px);
  overflow: hidden;
  background: var(--bg);
}
/* grid noise */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 100%);
}
/* glow */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 5% 55%, rgba(155,109,255,.09), transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 15%, rgba(74,144,226,.09), transparent 55%);
}
/* ambient orbs — slow circular drift behind hero content.
   z-index:1 lifts them above the static ::before/::after glow layers
   (which otherwise paint on top and mask the motion), while staying
   below .hero__inner (also z-index:1, but later in DOM so it wins ties). */
.hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  will-change: transform;
}
.hero-orb--plum {
  width: 560px; height: 560px;
  left: 2%; top: 28%;
  background: radial-gradient(circle, rgba(155,109,255,.10), transparent 70%);
  animation: orbFloatA 22s ease-in-out infinite;
}
.hero-orb--brass {
  width: 420px; height: 420px;
  right: 6%; top: 6%;
  background: radial-gradient(circle, rgba(232,167,48,.08), transparent 70%);
  animation: orbFloatB 26s ease-in-out infinite;
  animation-delay: -8s;
}
@keyframes orbFloatA {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(110px,-80px); }
  50%  { transform: translate(20px,130px); }
  75%  { transform: translate(-100px,30px); }
  100% { transform: translate(0,0); }
}
@keyframes orbFloatB {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-90px,70px); }
  50%  { transform: translate(-120px,-60px); }
  75%  { transform: translate(60px,-95px); }
  100% { transform: translate(0,0); }
}

/* animated globe — 3D wireframe sphere drawn on canvas, purely ambient */
.hero-globe {
  position: absolute;
  z-index: 1;
  right: -18%;
  top: -22%;
  width: clamp(560px,56vw,880px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .8;
  -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 100%);
          mask-image: radial-gradient(circle, #000 60%, transparent 100%);
}
.hero-globe__canvas { width: 100%; height: 100%; display: block; }

@media (max-width: 860px) {
  .hero-globe { display: none; }
}

.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__inner .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(42px,7vw,88px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.035em;
  color: #fff;
}
.hero h1 em  { font-style: normal; color: var(--plum-2); }
.hero h1 .h1-brass { color: var(--brass-2); }
.hero__sub {
  margin-top: 28px;
  font-size: clamp(16px,1.4vw,19px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* =========================================================================
   HERO ENTRANCE — orchestrated page-load sequence (above-the-fold, no JS needed)
   ========================================================================= */
@keyframes heroDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:none; } }
@keyframes heroUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

.hero-eyebrow { animation: heroUp .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: .1s; }

.hero-line { display: block; animation: heroUp .6s var(--ease) both; }
.hero-line:nth-child(1) { animation-delay: .2s; }
.hero-line:nth-child(2) { animation-delay: .28s; }
.hero-line:nth-child(3) { animation-delay: .36s; }

.hero-sub,
.hero-cta { animation: heroUp .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: .48s; }

/* marquee ticker */
.ledger {
  border-block: 1px solid var(--line);
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.ledger__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ledger__item {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .09em;
  color: var(--ink-3); padding: 13px 30px;
  display: flex; align-items: center; gap: 30px; white-space: nowrap; text-transform: uppercase;
}
.ledger__item::after { content:"◆"; color:var(--brass); font-size:7px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   STATS ROW — GDP Venture style horizontal numbers
   ========================================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  border-block: 1px solid var(--line);
  padding-block: 0;
}
.stats-row__item {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stats-row__item:last-child { border-right: none; }
.stats-row__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px,4.5vw,56px);
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stats-row__num em { font-style: normal; color: var(--brass-2); }
.stats-row__label { font-size: 13px; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }

/* =========================================================================
   PORTFOLIO PREVIEW STRIP (homepage)
   ========================================================================= */
.port-strip__logos {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; margin-block: 32px;
}
.port-strip__logo-tile {
  width: 160px; height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  display: grid; place-items: center;
  padding: 14px;
  overflow: hidden;
  transition: border-color .22s, background .22s;
}
.port-strip__logo-tile:hover { border-color: var(--line-2); background: var(--bg-card-2); }
.port-strip__logo-tile img { max-width: 100%; max-height: 48px; object-fit: contain; }

.port-strip__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: color .2s, gap .2s, border-color .2s;
}
.port-strip__link:hover { color: #fff; gap: 13px; border-color: var(--ink-2); }
.port-strip__link svg { width: 14px; height: 14px; }

/* External link icon — replaces ↗ emoji to prevent colored rendering */
.ext-icon {
  width: 10px; height: 10px;
  vertical-align: middle;
  margin-left: 4px;
  opacity: .5;
  flex-shrink: 0;
}

/* =========================================================================
   ABOUT TEASER — split text (homepage)
   ========================================================================= */
.split-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px,5vw,80px);
  align-items: start;
}
.split-about__quote {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px,3vw,36px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  position: sticky; top: 100px;
}
.split-about__quote em { font-style: normal; color: var(--plum-2); }
.split-about__body p {
  color: var(--ink-2); line-height: 1.8; margin-bottom: 20px;
  font-size: clamp(15px,.4vw + 14px,17px);
}
.split-about__body p:last-child { margin-bottom: 0; }

/* =========================================================================
   FEATURED PLATFORMS — homepage cards
   ========================================================================= */
.plats-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 16px;
}
.plat-home {
  --accent: var(--plum);
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: clamp(28px,3.5vw,44px);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
  display: flex; flex-direction: column; gap: 20px;
}
.plat-home::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  opacity: .4;
  box-shadow: 0 0 0 0 transparent;
  transition: opacity .26s ease, box-shadow .26s ease;
}
.plat-home:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.plat-home:hover::before { opacity: 1; box-shadow: 0 0 16px 1px var(--accent); }

.plat-home__badge {
  width: 54px; height: 54px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card-2); border: 1px solid var(--line);
  transition: transform .28s cubic-bezier(.22,.68,0,1.4);
}
.plat-home:hover .plat-home__badge { transform: scale(1.08); }
.plat-home__badge img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.plat-home__code {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.plat-home h3 { font-size: clamp(20px,2.2vw,26px); color: #fff; margin-bottom: 10px; }
.plat-home p  { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.plat-home__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--line);
  margin-top: auto;
}
.plat-home__metrics { display: flex; gap: 24px; }
.plat-home__metric b { font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--accent); display: block; }
.plat-home__metric span { font-size: 11px; color: var(--ink-3); }
.plat-home__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--accent);
  transition: gap .2s;
}
.plat-home__link:hover { gap: 12px; }
.plat-home__link svg { width: 14px; height: 14px; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  border-top: 1px solid var(--line);
  padding-block: clamp(64px,8vw,100px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(155,109,255,.08), transparent 60%);
}
.cta-band h2 {
  font-size: clamp(28px,4vw,52px);
  letter-spacing: -.03em;
  position: relative; z-index: 1;
}
.cta-band p { margin-top: 18px; color: var(--ink-2); font-size: clamp(15px,1.3vw,18px); position: relative; z-index: 1; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; position: relative; z-index: 1; }

/* =========================================================================
   PAGE HERO (inner pages)
   ========================================================================= */
.page-hero {
  padding-top: clamp(64px,8vw,110px);
  padding-bottom: clamp(52px,6vw,88px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 80% at 0% 50%, rgba(155,109,255,.07), transparent 55%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero__inner .clause { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(34px,5vw,64px); letter-spacing: -.035em; color: #fff; }
.page-hero .lede { margin-top: 18px; font-size: clamp(15px,1.2vw,18px); max-width: 55ch; }

/* =========================================================================
   PLATFORM PAGE
   ========================================================================= */
.plat-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
.plat-detail-card {
  --accent: var(--plum);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: clamp(28px,3.5vw,48px);
  overflow: hidden; position: relative;
  transition: border-color .25s;
}
.plat-detail-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.plat-detail-card:hover { border-color: var(--line-2); }

.plat-detail-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.plat-detail-card__logo {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--bg-card-2); border: 1px solid var(--line);
  display: grid; place-items: center; flex: none;
}
.plat-detail-card__logo img { width: 44px; height: 44px; object-fit: contain; }
.plat-detail-card__code { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.plat-detail-card h3 { font-size: clamp(22px,2.5vw,30px); color: #fff; margin-top: 2px; }
.plat-detail-card .plat-role { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }

.plat-detail-card p { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin-bottom: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font-family: var(--f-mono); font-size: 11px;
  padding: 5px 11px; border-radius: 6px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--ink-3); letter-spacing: .03em;
}

.plat-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.plat-metric {
  background: var(--bg-card-2); border: 1px solid var(--line);
  border-radius: var(--rad); padding: 16px;
}
.plat-metric b { font-family: var(--f-display); font-size: 26px; font-weight: 800; color: var(--accent); display: block; line-height: 1; }
.plat-metric span { font-size: 12px; color: var(--ink-3); margin-top: 5px; display: block; line-height: 1.35; }

.plat-visit {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--accent);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: gap .2s, border-color .2s;
}
.plat-visit:hover { gap: 14px; border-color: var(--accent); }
.plat-visit svg { width: 14px; height: 14px; }

/* pillars */
.pillars { display: grid; gap: 14px; }
.pillar {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--bg-card);
  transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pillar__no { font-family: var(--f-mono); font-size: 12px; color: var(--brass); padding-top: 2px; }
.pillar h3  { font-size: 17px; margin-bottom: 5px; }
.pillar p   { color: var(--ink-2); font-size: 14px; }

/* =========================================================================
   PORTFOLIO PAGE
   ========================================================================= */
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tab {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; padding: 8px 16px;
  border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-3);
  cursor: pointer; transition: all .2s ease;
}
.filter-tab:hover { border-color: var(--line-2); color: var(--ink-2); }
.filter-tab.active {
  background: #fff; color: #090909;
  border-color: #fff;
}

.portfolio-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 14px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 32px 24px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
  min-height: 220px;
  position: relative; overflow: hidden;
  transition: transform .24s ease, box-shadow .3s ease, border-color .24s ease, background .24s ease;
  cursor: default;
}
.portfolio-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--plum), var(--c-mpt));
  opacity: 0; transition: opacity .28s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
  background: var(--bg-card-2);
}
.portfolio-card:hover::after { opacity: 1; }
.portfolio-card__logo {
  width: 100%; height: 64px;
  display: flex; align-items: center;
}
.portfolio-card__logo img {
  max-width: 100%; max-height: 56px;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(1);
}
.portfolio-card__name {
  font-family: var(--f-display); font-weight: 700;
  font-size: 18px; color: #fff;
}
.portfolio-card__tag {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-top: auto;
}

/* =========================================================================
   LOGO BOX — white-bg tile for displaying logos on dark cards
   ========================================================================= */
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 170px;
  flex-shrink: 0;
}
.logo-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* =========================================================================
   LOGO CLIP UTILITY — show only icon mark, hide bottom text portion
   Mutu PT logo has icon in top ~50% of image; clip the rest.
   ========================================================================= */
.logo-clip {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}
.logo-clip img {
  /* render image at 2× display height so text falls outside visible area */
  width: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
}
/* badge size — small, white bg so icon reads on dark card */
.logo-clip--badge {
  width: 40px; height: 40px;
  background: #fff; border-radius: 6px; padding: 3px;
}
.logo-clip--badge img { height: 74px; }

/* strip size */
.logo-clip--strip { height: 48px; }
.logo-clip--strip img { height: 96px; }

/* platform-row size */
.logo-clip--row { height: 52px; }
.logo-clip--row img { height: 104px; }

/* =========================================================================
   PLATFORM LIST — GDP Venture row style
   ========================================================================= */
.platform-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.platform-row {
  --accent: var(--plum);
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, box-shadow .2s ease;
}
.platform-row:hover {
  background: var(--bg-card);
  box-shadow: inset 3px 0 0 var(--accent);
}

.platform-row__logo {
  height: 64px;
  display: flex;
  align-items: center;
}

.platform-row__body { min-width: 0; }
.platform-row__tag {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.platform-row__name {
  font-size: clamp(20px,2.2vw,26px);
  font-weight: 700; color: #fff;
  margin-bottom: 4px;
  transition: transform .22s ease;
}
.platform-row:hover .platform-row__name { transform: translateX(4px); }
.platform-row__url {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: .03em;
}

.platform-row__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-3); white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px;
  transition: color .2s, border-color .2s, gap .2s;
  flex-shrink: 0;
}
.platform-row__cta svg { width: 13px; height: 13px; }
.platform-row:hover .platform-row__cta {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  gap: 12px;
}

@media (max-width: 680px) {
  .platform-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 14px 16px;
    padding: 24px 0;
  }
  .platform-row__logo { grid-column: 1; grid-row: 1; height: 48px; }
  .platform-row__body { grid-column: 1 / -1; grid-row: 2; }
  .platform-row__cta  { grid-column: 2; grid-row: 1; align-self: center; }
  .platform-row::before { display: none; }
}

/* =========================================================================
   ABOUT PAGE — TEAM / LEADERS
   ========================================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 16px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .3s ease, border-color .22s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }

.team-card__photo {
  width: 100%; aspect-ratio: 3/4;
  background: var(--bg-card-2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { padding: 20px; }
.team-card__name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-card__title { font-size: 13px; color: var(--ink-3); font-family: var(--f-mono); letter-spacing: .05em; }

/* values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 14px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 28px;
  transition: border-color .2s;
}
.value-card:hover { border-color: var(--line-2); }
.value-card__num {
  font-family: var(--f-mono); font-size: 11px; color: var(--brass);
  letter-spacing: .14em; margin-bottom: 12px;
}
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* =========================================================================
   CREDIBILITY / SEALS
   ========================================================================= */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.seals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seal-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--rad); padding: 22px;
  transition: border-color .2s;
}
.seal-card:hover { border-color: var(--line-2); }
.seal-card .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--brass); text-transform: uppercase; }
.seal-card h3  { font-size: 15px; margin: 8px 0 5px; color: #fff; }
.seal-card p   { font-size: 13px; color: var(--ink-2); }

/* stats grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden;
}
.stat-box { background: var(--bg-card); padding: 28px 22px; }
.stat-box b {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(30px,4vw,44px); letter-spacing: -.04em;
  color: #fff; line-height: 1;
}
.stat-box b em { font-style: normal; color: var(--brass-2); }
.stat-box span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 24px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(16px,1.6vw,21px); letter-spacing: -.015em;
  color: #fff; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--plum-2); }
.faq summary .ic {
  flex: none; width: 28px; height: 28px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: .25s; color: var(--plum-2);
}
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--plum); color: #fff; border-color: var(--plum); }
.faq p { padding: 0 4px 26px; color: var(--ink-2); max-width: 75ch; line-height: 1.8; }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px,6vw,80px);
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  --accent: var(--plum);
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--rad-lg); padding: 28px;
  transition: border-color .22s, transform .22s;
}
.contact-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.contact-card__logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg-card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.contact-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.contact-card h3 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.contact-card__url { font-family: var(--f-mono); font-size: 12px; color: var(--accent); margin-bottom: 18px; display: block; }
.contact-links { display: grid; gap: 10px; }
.contact-links a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-2); transition: color .2s;
}
.contact-links a:hover { color: var(--accent); }
.contact-links svg { width: 15px; height: 15px; flex: none; color: var(--ink-3); }

.contact-info h3 { font-size: clamp(22px,2.5vw,30px); margin-bottom: 18px; }
.contact-info p  { color: var(--ink-2); line-height: 1.75; margin-bottom: 28px; }
.hq-box {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px; border: 1px solid var(--line);
  border-radius: var(--rad); background: var(--bg-card);
  font-size: 14px; color: var(--ink-2);
}
.hq-box svg { width: 17px; height: 17px; color: var(--brass); flex: none; margin-top: 1px; }
.hq-box b { color: #fff; font-weight: 600; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot {
  background: var(--bg-2);
  color: var(--ink-2);
  padding-block: clamp(56px,7vw,84px) 32px;
  border-top: 1px solid var(--line);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot .brand { color: #fff; }
.foot .brand span small { color: var(--ink-3); }
.foot__about { margin-top: 16px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); max-width: 38ch; }
.foot__social { display: flex; gap: 10px; margin-top: 20px; }
.foot__social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-3); transition: border-color .2s, color .2s;
}
.foot__social a:hover { border-color: var(--line-2); color: #fff; }
.foot__social svg { width: 15px; height: 15px; }

.foot h4 {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 18px; font-weight: 500;
}
.foot ul { display: grid; gap: 11px; }
.foot ul a { font-size: 13.5px; color: var(--ink-2); transition: color .2s, padding-left .2s; }
.foot ul a:hover { color: #fff; padding-left: 4px; }

.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 28px; font-size: 11.5px; color: var(--ink-3);
  font-family: var(--f-mono); letter-spacing: .04em;
}
.foot__legal a { transition: color .2s; }
.foot__legal a:hover { color: var(--ink-2); }

/* =========================================================================
   DEFAULT PAGE (page.php)
   ========================================================================= */
.page-content-area { padding-block: clamp(56px,7vw,88px); }
.page-entry-title {
  font-size: clamp(28px,4vw,52px); margin-bottom: 28px; color: #fff;
}
.page-entry-content {
  max-width: 740px; color: var(--ink-2); line-height: 1.8;
}
.page-entry-content h2 { font-size: clamp(22px,2.5vw,30px); margin: 36px 0 14px; color: #fff; }
.page-entry-content h3 { font-size: clamp(18px,2vw,24px); margin: 28px 0 10px; color: #fff; }
.page-entry-content p  { margin-bottom: 18px; }
.page-entry-content a  { color: var(--plum-2); border-bottom: 1px solid rgba(196,171,255,.3); transition: border-color .2s; }
.page-entry-content a:hover { border-color: var(--plum-2); }
.page-entry-content ul, .page-entry-content ol { padding-left: 22px; margin-bottom: 18px; }
.page-entry-content li { margin-bottom: 6px; }
.page-entry-content strong { color: #fff; }

/* =========================================================================
   DIAGRAM (hero SVG)
   ========================================================================= */
.diagram-wrap { flex-shrink: 0; }
.diagram { width: 100%; height: auto; }
.diagram .conn { stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw 1.1s ease forwards; }
.diagram .conn.c2 { animation-delay: .2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.diagram .node-label { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.diagram .node-sub   { font-family: var(--f-body); font-size: 11px; fill: var(--ink-3); }

/* =========================================================================
   PAGE TRANSITIONS — Cross-document View Transitions API
   Unsupported browsers fall back to a normal, unanimated navigation with
   zero extra code (progressive enhancement, no JS required).
   ========================================================================= */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) { animation: page-fade-out .2s ease both; }
::view-transition-new(root) { animation: page-fade-in .4s ease both; }
@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .plat-detail { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .plats-home { grid-template-columns: 1fr; }
  .split-about { grid-template-columns: 1fr; }
  .split-about__quote { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; gap: 36px; }
  .portfolio-full { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .port-strip__logos { gap: 10px; }
  .port-strip__logo-tile { width: 130px; height: 68px; }
}

@media (max-width: 680px) {
  .nav, .head .btn { display: none; }
  .menu-toggle { display: block; }
  .head__row { height: 60px; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(9,9,9,.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 26px clamp(20px,4vw,40px) 30px;
  }
  .nav.open a:not(.btn) { font-size: 16px; }
  .nav.open .btn { display: inline-flex; margin-top: 8px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row__item { border-right: none; border-bottom: 1px solid var(--line); }
  .stats-row__item:last-child { border-bottom: none; }
  .seals-grid, .stats-grid { grid-template-columns: 1fr; }
  .portfolio-full { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .plat-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .diagram .conn { stroke-dashoffset: 0; }
  .hero-orb { display: none; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
