/* =========================================================
   IBX Indonesia - Company Profile 2025
   Brand-true: white background, near-black text,
   deep red (#C00000) accent, bold Archivo grotesque,
   real logo + photography from the official profile.
   ========================================================= */

:root {
  --red:      #c00000;   /* IBX brand red */
  --red-d:    #9e0000;   /* hover / deep */
  --red-tint: #fbeaea;   /* soft red wash */
  --ink:      #14181c;   /* near-black text */
  --ink-2:    #3c444c;   /* secondary text */
  --ink-3:    #6a737b;   /* muted text */
  --paper:    #ffffff;
  --mist:     #f5f6f7;   /* alternating section bg */
  --line:     #e4e6e9;   /* hairlines */
  --dark:     #14181c;   /* footer */

  --maxw: 1200px;
  --r: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  padding: 14px 26px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(192,0,0,0.7);
}
.btn--red:hover { background: var(--red-d); box-shadow: 0 16px 32px -14px rgba(192,0,0,0.8); }

.btn--line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--line:hover { background: var(--ink); color: #fff; }

.btn--card {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 11px 18px;
  font-size: 0.84rem;
  border-radius: 4px;
}
.btn--card:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,0.5); }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand__logo { height: 34px; width: auto; }
.brand__logo--white { display: none; }

.nav__links { display: flex; gap: 26px; margin-left: auto; white-space: nowrap; }
.nav__links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -7px;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { flex-shrink: 0; padding: 11px 20px; font-size: 0.85rem; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  padding: 150px 0 80px;
  background:
    radial-gradient(60% 50% at 90% 12%, var(--red-tint), transparent 70%),
    var(--paper);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 22px;
  padding-left: 34px;
  position: relative;
}
.hero__eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--red); }
.hero__title {
  font-weight: 800;
  font-size: clamp(2.9rem, 6.6vw, 5.4rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--red); }
.hero__lede { max-width: 540px; font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--ink-2); margin: 0 0 26px; line-height: 1.65; }
.hero__meta { display: flex; flex-direction: column; gap: 3px; margin-bottom: 34px; padding-left: 18px; border-left: 3px solid var(--red); }
.hero__meta strong { font-size: 1.02rem; font-weight: 700; }
.hero__meta span { font-size: 0.9rem; color: var(--ink-3); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.45); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.hero__media-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(20,24,28,0.78);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ===================== SECTION SHELL ===================== */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }

.sec-head { max-width: 780px; margin-bottom: 56px; }
.sec-head--sm { margin-bottom: 30px; }
.kicker {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
  padding-left: 30px;
  position: relative;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--red); }

.sec-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.sec-title .hl { color: var(--red); }
.sec-intro { margin: 22px 0 0; font-size: 1.04rem; color: var(--ink-2); line-height: 1.7; }

/* ===================== ABOUT ===================== */
.about__body { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.about__col p { margin: 0 0 18px; color: var(--ink-2); }
.about__col .lead { font-size: 1.18rem; color: var(--ink); font-weight: 600; line-height: 1.5; margin-bottom: 22px; }
.about__entity { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink) !important; }
.about__entity strong { font-size: 1.05rem; }
.about__figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0,0,0,0.4); }
.about__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 11; }

.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 34px 28px; display: flex; flex-direction: column; gap: 10px; }
.stat__num { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--red); letter-spacing: -0.02em; }
.stat__label { font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; }

/* ===================== EXECUTIVE LETTER ===================== */
.letter { max-width: 820px; }
.letter__body p { color: var(--ink-2); margin: 0 0 18px; line-height: 1.78; font-size: 1.04rem; }
.letter__sub { font-weight: 800; font-size: 1.2rem; color: var(--ink); margin: 34px 0 12px; letter-spacing: -0.01em; }
.letter__closing { margin-top: 30px !important; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink) !important; font-style: italic; }
.letter__closing strong { font-style: normal; font-weight: 800; }

/* ===================== BOARD / LEADERSHIP (in Executive Letter) ===================== */
.board__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.board-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.board-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.35); }
.board-card__photo { margin: 0; overflow: hidden; background: var(--mist); }
.board-card__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; object-position: center 25%; transition: transform 0.7s var(--ease); }
.board-card:hover .board-card__photo img { transform: scale(1.04); }
.board-card__body { padding: 20px 22px 24px; border-top: 3px solid var(--red); display: flex; flex-direction: column; }
.board-card__body h3 { font-weight: 800; font-size: 1.12rem; margin: 0 0 4px; line-height: 1.15; letter-spacing: -0.01em; }
.board-card__role { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 18px; }
.board-card .btn--card { margin-top: auto; justify-content: center; }

/* ===================== STRATEGIES ===================== */
.strat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.strat-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -34px rgba(0,0,0,0.3); }
.strat-card__bar {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  min-height: 92px;
}
.strat-card--red .strat-card__bar { background: var(--red); }
.strat-card--gray .strat-card__bar { background: #7e858c; }
.strat-card__mark {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 8px;
}
.strat-card__mark img { width: 30px; height: 30px; object-fit: contain; }
.strat-card__bar h3 { font-weight: 800; font-size: 1.18rem; line-height: 1.12; letter-spacing: -0.01em; color: #fff; margin: 0; }
.strat-card__body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.strat-card__desc { color: var(--ink-2); font-size: 0.94rem; margin: 0 0 18px; line-height: 1.6; }
.taglist { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.taglist li { font-size: 0.9rem; color: var(--ink); padding-left: 22px; position: relative; }
.taglist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='%23c00000'%3E%3Cpath d='M2 1l5 4-5 4z'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ===================== MISSION ===================== */
.mission__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mission-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.mission-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.35); border-color: transparent; }
.mission-card__media { margin: 0; overflow: hidden; }
.mission-card__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 0.7s var(--ease); }
.mission-card:hover .mission-card__media img { transform: scale(1.05); }
.mission-card__body { padding: 28px 26px 30px; border-top: 3px solid var(--red); }
.mission-card h3 { font-weight: 800; font-size: 1.24rem; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.01em; }
.mission-card p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

/* ===================== INVESTORS ===================== */
.invest__list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.invest-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; background: var(--paper); padding: 38px 34px; transition: background 0.35s var(--ease); }
.invest-row:hover { background: var(--mist); }
.invest-row__head { display: flex; flex-direction: column; align-items: flex-start; }
.invest-icon {
  display: inline-flex; width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 12px; background: var(--red-tint); color: var(--red);
  margin-bottom: 18px;
}
.invest-row__head h3 { font-weight: 800; font-size: 1.45rem; margin: 0 0 12px; line-height: 1.12; letter-spacing: -0.015em; }
.invest-row__head p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; align-content: start; }
.checklist li { position: relative; padding-left: 32px; font-size: 0.96rem; color: var(--ink); line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background-color: var(--red-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c00000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* ===================== SOLUTIONS ===================== */
.sol__stack { display: flex; flex-direction: column; gap: 28px; }
.sol-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.sol-block__media { margin: 0; overflow: hidden; }
.sol-block__media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.sol-block--rev .sol-block__media { order: 2; }
.sol-block__content { padding: 42px 40px; }
.sol-block__tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--red); font-weight: 700; }
.sol-block__intro h3 { font-weight: 800; font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin: 12px 0 14px; line-height: 1.12; letter-spacing: -0.02em; }
.sol-block__intro p { color: var(--ink-2); margin: 0 0 28px; line-height: 1.65; }
.sol-block__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.sol-block__points li { display: flex; gap: 16px; align-items: flex-start; }
.pt-no {
  flex-shrink: 0;
  font-size: 0.92rem; font-weight: 800; color: #fff;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); border-radius: 8px;
}
.sol-block__points p { margin: 0; color: var(--ink); font-size: 0.95rem; line-height: 1.55; padding-top: 6px; }

/* ===================== CONTACT ===================== */
.contact__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; }
.contact__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 42px 38px; }
.contact__name { font-weight: 800; font-size: 1.55rem; margin: 0 0 18px; letter-spacing: -0.01em; }
.contact__addr { font-style: normal; color: var(--ink-2); line-height: 1.7; margin-bottom: 28px; }
.contact__rows { margin: 0 0 30px; display: grid; gap: 0; }
.contact__rows div { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__rows div:first-child { padding-top: 0; }
.contact__rows dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 700; }
.contact__rows dd { margin: 0; font-size: 1rem; font-weight: 600; }
.contact__rows dd a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 1px; transition: color 0.25s; }
.contact__rows dd a:hover { color: var(--red); }

/* Contact form */
.contact__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px 34px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact__formtitle { font-weight: 800; font-size: 1.25rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--split { flex-direction: row; gap: 16px; }
.field--split > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; }
.field label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-3); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: var(--mist);
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 12px 14px; width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.contact__form .btn { align-self: flex-start; margin-top: 4px; }
.contact__formnote { font-size: 0.82rem; color: var(--ink-3); margin: 0; }
.contact__formnote.is-error { color: var(--red); font-weight: 600; }

/* ===================== DISCLOSURES ===================== */
.disclosure { max-width: 1000px; }
.disclosure p { font-size: 0.86rem; line-height: 1.7; color: var(--ink-3); margin: 0 0 16px; }
.disclosure__legal { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.8rem !important; color: var(--ink-3) !important; }

/* ===================== FOOTER ===================== */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 58px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 36px; align-items: start; }
.footer__logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer__brand p { margin: 0; font-size: 0.9rem; max-width: 320px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.footer__nav a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500; transition: color 0.25s; }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero__inner,
  .about__body,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 130px; }
  .mission__grid,
  .strat__grid,
  .board__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .invest-row { grid-template-columns: 1fr; gap: 22px; }
  .sol-block,
  .sol-block--rev { grid-template-columns: 1fr; }
  .sol-block--rev .sol-block__media { order: 0; }
  .sol-block__media img { min-height: 260px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 10px 32px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -20px rgba(0,0,0,0.3);
  }
  .nav__links.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  .mission__grid,
  .strat__grid,
  .stats { grid-template-columns: 1fr; }
  .board__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .board-card__body { padding: 14px 14px 18px; }
  .board-card__body h3 { font-size: 1rem; }
  .sec-head { margin-bottom: 38px; }
  .field--split { flex-direction: column; gap: 18px; }
  .contact__card,
  .contact__form,
  .sol-block__content,
  .invest-row,
  .strat-card { padding-left: 24px; padding-right: 24px; }
}
