/* ============================================================
   SYAUQI — portfolio one-pager
   White ↔ deep-navy full-bleed sections · icy chrome serif wordmark ·
   electric-blue venture cards · floating chrome Roblox objects
   Palette: eltopup.id (amendment 2026-06-12 — see docs/SPEC.md §3).
   Layout class names (.section--cream / .section--black) are kept as
   light/dark slots; the actual colors live in these custom properties.
   ============================================================ */

:root {
  --bg-light: #ffffff; /* base light section */
  --bg-soft: #f9fafb; /* alternating near-white section */
  --bg-dark: #050b24; /* deep blue-navy — dark section base */
  --bg-dark-2: #081132; /* lighter navy — dark section lower ramp */
  --ink: #030712; /* text on light */
  --paper: #f9fafb; /* text on dark */
  --accent: #1364ff; /* electric blue — cards, links, favicon */
  --accent-mid: #0d4fd6; /* card gradient mid-stop */
  --accent-deep: #1e3a8a; /* deep blue — gradient depth on blue/navy panels */
  --accent-soft: #c5d7ff; /* pale ice blue — tints, accents on navy */
  --accent-tint: #e9f0ff; /* faint ice tint — light-section gradient ends */
  --panel-navy-1: #0a1838; /* venture visual panel gradient */
  --panel-navy-2: #102452; /* venture visual panel gradient */
  --border: #e5e7eb; /* soft borders */
  --gray: #6b7280; /* secondary text on light */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Lenis owns smooth scrolling; keep CSS scroll-behavior auto so it never
     fights Lenis, and so reduced-motion users get instant anchor jumps. */
  scroll-behavior: auto;
  /* clip (not hidden) avoids creating a scroll container — Lenis-safe */
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  background: var(--bg-light);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- layout primitives ---------- */

.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 2 * var(--gutter));
}

.section {
  position: relative;
  padding-block: clamp(6rem, 16vh, 11rem);
  overflow: hidden; /* clip parallaxed chrome objects */
}

.section--cream {
  /* light slot — white base (eltopup's bright base) */
  background: var(--bg-light);
  color: var(--ink);
}

.section--black {
  /* dark slot — deep blue-navy throughout: navy base, a blue radial at the
     top, and a navy ramp toward the bottom so no part of the section falls
     off to neutral black — like eltopup's blue gradient panels */
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(30, 58, 138, 0.38), transparent 72%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--paper);
}

/* alternating near-white + pale ice-blue tint bands (eltopup stat bands) */
.education {
  background: var(--bg-soft);
}

/* ---------- education — ITB showcase ---------- */

/* ghost "ITB" letters — typographic crest stand-in (no licensed logo) */
.edu-ghost {
  position: absolute;
  right: clamp(-2rem, -1vw, 0rem);
  bottom: clamp(-1rem, 2vh, 2rem);
  z-index: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: clamp(8rem, 24vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(19, 100, 255, 0.16);
  user-select: none;
  pointer-events: none;
}

.education .container {
  position: relative;
  z-index: 1;
}

.edu-showcase {
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 18px;
  background: linear-gradient(155deg, #ffffff 0%, var(--accent-tint) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(13, 38, 99, 0.08);
}

.edu-head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.edu-logo {
  display: block;
  flex: none;
  width: clamp(56px, 6vw, 72px);
  height: auto;
}

.edu-frame {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent); /* #1364FF on white = 4.89:1 (AA); sits at the
                           near-white top of the .edu-showcase gradient —
                           would drop to ~4.28:1 only at the #E9F0FF end */
  margin-bottom: 0.9rem;
}

.edu-institute {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 620;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.edu-major {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* keep the "· Entered 2024" tail as one unit so the separator never
   dangles at the end of a wrapped line on narrow viewports */
.edu-major-tail {
  white-space: nowrap;
}

.edu-major-sep {
  margin-inline: 0 0.45em;
  color: var(--accent);
}

.edu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.edu-chip {
  display: inline-block;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep); /* deep blue on pale ice — ≥4.5:1 */
  background: rgba(197, 215, 255, 0.45);
  border: 1px solid rgba(19, 100, 255, 0.25);
}

.interests {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--accent-tint) 100%);
}

/* ---------- typography ---------- */

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.62; /* ≥4.5:1 (AA) on white, #f9fafb, and the ice-tint gradient */
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.headline {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
  text-wrap: balance;
}

.body-copy {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.7;
  max-width: 58ch;
  opacity: 0.88;
}

/* editorial serif moment — large-scale narrative paragraph (reference's
   display-serif paragraph block) */
.body-copy--editorial {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 480;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 40ch;
  opacity: 1;
}

/* Drive — asymmetric editorial split: kicker/headline left, large serif
   paragraph right. Keeps the bottom-left clear for the chrome coin so the
   ornament never sits on top of the text. */
.interests-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.interests-grid .headline {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  .interests-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .interests-grid .headline {
    margin-bottom: clamp(0.5rem, 2vw, 1.5rem);
  }

  /* single column again — hide the coin so it can't overlap the paragraph */
  .chrome-float--coin2 {
    display: none;
  }
}

.placeholder {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px dashed currentColor;
  border-radius: 6px;
  padding: 0.2em 0.55em;
  opacity: 0.75;
  display: inline-block;
}

/* keyboard focus — explicit ring (UA default is distorted under the
   nav's mix-blend-mode and invisible on the blue cards) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  mix-blend-mode: difference; /* legible over white and navy alike */
  color: #eee;
}

.nav-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.lang-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0.62; /* inactive state still ≥4.5:1 (AA) on the near-white footer */
  padding: 0.2rem 0.1rem;
  transition: opacity 0.25s ease;
}

.lang-btn.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-sep {
  opacity: 0.35;
}

/* ---------- hero & chrome wordmark ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(5rem, 12vh, 8rem);
}

.hero-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: clamp(1rem, 3vh, 2.5rem);
}

.wordmark {
  position: relative;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 640;
  /* edge-to-edge presence: 6 letters at ~28vw nearly touch the container
     edges at every viewport (~94% measured), matching the reference wordmark */
  font-size: clamp(4rem, 28vw, 30rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  user-select: none;

  /* liquid chrome, cooled to icy blue-silver:
     white → pale ice (#C5D7FF family) → silver → electric-blue hints */
  background-image: linear-gradient(
    178deg,
    #ffffff 0%,
    #dbe4f8 16%,
    #7e93c7 31%,
    #f3f6fe 45%,
    #2f55b4 54%,
    #c5d7ff 65%,
    #f8faff 78%,
    #4a6ac1 91%,
    #aebfe8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.75))
    drop-shadow(0 18px 38px rgba(13, 38, 99, 0.3));
}

/* diagonal sheen pass layered over the base gradient */
.wordmark::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 8%,
    rgba(255, 255, 255, 0.85) 18%,
    rgba(255, 255, 255, 0) 27%,
    rgba(3, 7, 18, 0.35) 47%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.7) 76%,
    rgba(255, 255, 255, 0) 86%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}

/* dark under-bevel for depth */
.wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(0.018em);
  color: rgba(8, 18, 46, 0.5);
  -webkit-text-stroke: 0.01em rgba(255, 255, 255, 0.25);
}

.hero-foot {
  margin-top: clamp(2rem, 6vh, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7; /* ≥4.5:1 on white/near-white */
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: currentColor;
  opacity: 0.35;
}

/* ---------- floating chrome objects ---------- */

.chrome-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(13, 38, 99, 0.3));
  will-change: transform;
}

.chrome-float--head {
  top: 14%;
  right: clamp(2%, 8vw, 12%);
  transform: rotate(-8deg);
}

.chrome-float--coin {
  bottom: 8%;
  right: clamp(3%, 7vw, 10%);
  transform: rotate(12deg);
}

.chrome-float--brick {
  top: 12%;
  right: clamp(2%, 6vw, 9%);
  transform: rotate(6deg);
}

.chrome-float--coin2 {
  bottom: 10%;
  left: clamp(2%, 6vw, 8%);
  transform: rotate(-14deg);
}

/* ---------- statement ---------- */

.statement {
  text-align: center;
}

.statement .kicker {
  opacity: 0.65; /* ≥4.5:1 on black */
}

.statement-line {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: clamp(2.4rem, 6.5vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  text-wrap: balance;
}

.statement-body {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  max-width: 52ch;
  margin-inline: auto;
  opacity: 0.7;
}

/* ---------- visual band (abstract full-bleed image stand-in) ---------- */

.visual-band {
  position: relative;
  height: clamp(300px, 52vh, 540px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.5rem, 2vh, 1.5rem);
  overflow: hidden;
  /* icy liquid-chrome banding, same family as the wordmark gradient */
  background: linear-gradient(
    168deg,
    #f8faff 0%,
    #c5d7ff 16%,
    #2f55b4 38%,
    #f3f6fe 52%,
    #5b76c4 68%,
    #dbe4f8 86%,
    #7e93c7 100%
  );
}

.band-strip {
  white-space: nowrap;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 620;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(3, 7, 18, 0.22);
  will-change: transform;
}

.band-strip--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(3, 7, 18, 0.35);
}

/* ---------- headline on dark (ventures) ---------- */

.headline--onblack {
  color: var(--paper);
}

/* ---------- ventures ---------- */

.ventures {
  padding-block: clamp(6rem, 14vh, 10rem);
}

.ventures-head {
  text-align: center;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.ventures-head .headline {
  margin-bottom: 0;
}

.cards {
  width: min(900px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.venture-card {
  position: relative;
  /* eltopup-style electric-blue panel with deep-blue gradient depth;
     all card type is white — the lightest stop (#1364FF) holds ≥4.5:1
     against #fff, so small text passes AA only at full opacity (no
     opacity-faded text inside the card). */
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-mid) 55%, var(--accent-deep) 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  min-height: clamp(380px, 56vh, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(3, 7, 18, 0.55);
  overflow: hidden;
  will-change: transform;
}

/* navy dim veil for the stacked-behind card state — tinted toward the
   palette's navy instead of a brightness() filter, which read warm/sepia.
   main.js drives --dim from 0 → ~0.45 while the next card slides over. */
.venture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  opacity: var(--dim, 0);
  pointer-events: none;
}

.venture-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.venture-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
}

.venture-index {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff; /* full opacity for AA on the blue card */
}

.venture-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff; /* full opacity for AA on the blue card */
}

.venture-name {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
  max-width: 14ch;
}

.venture-desc {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  max-width: 46ch;
  color: #ffffff; /* full opacity for AA on the blue card */
  margin-bottom: auto;
}

.venture-metric {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff; /* full opacity for AA on the blue card */
}

/* the metric is the card's proof element — display-numeral scale, like the
   reference's giant stat on the venture cards. While the value is a
   [PLACEHOLDER: …] it renders at the same scale with a dashed underline,
   visibly pending but holding the layout the real number will occupy. */
.metric-value {
  color: var(--accent-soft); /* pale ice display numeral — large text, ≥3:1 */
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* secondary stat line under the display metric (eltopup.id site stats) */
.metric-sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
  opacity: 0.92; /* pale ice on the blue card — AA for small text */
  margin-top: 0.45em;
}

.venture-metric .placeholder {
  border: none;
  border-bottom: 2px dashed currentColor;
  border-radius: 0;
  padding: 0 0 0.1em;
  opacity: 1; /* pale-ice color already signals "pending"; AA on blue */
  font-family: var(--serif);
  font-weight: 600;
}

/* abstract visual panel — stand-in for a real screenshot/mockup */
.venture-visual {
  position: relative;
  align-self: stretch;
  min-height: 220px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--panel-navy-1) 0%, var(--bg-dark) 55%, var(--panel-navy-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---- card 03: Artha Buana field logbook ----
   Photos from the company's own documentation sit as tilted snapshot
   prints scattered on a blueprint-grid navy board; the project log reads
   over them through a gradient heavy enough at the bottom for AA text. */

.venture-visual--abw {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
}

.abw-collage {
  position: absolute;
  inset: 0;
  /* blueprint grid on the navy panel */
  background-image:
    repeating-linear-gradient(0deg, rgba(197, 215, 255, 0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(197, 215, 255, 0.08) 0 1px, transparent 1px 26px);
}

.abw-snap {
  position: absolute;
  height: auto;
  background: #ffffff;
  padding: 4px 4px 13px; /* photo-print frame with a wider bottom lip */
  border-radius: 2px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

.abw-snap--site {
  width: 58%;
  left: 4%;
  top: 3%;
  transform: rotate(-4deg);
}

.abw-snap--crane {
  width: 54%;
  right: 4%;
  top: 15%;
  transform: rotate(3deg);
}

.abw-snap--shaft {
  width: 30%;
  left: 8%;
  top: 30%;
  transform: rotate(-2.5deg);
}

.abw-snap--cargo {
  width: 28%;
  right: 10%;
  top: 36%;
  transform: rotate(2deg);
}

.venture-visual--abw::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 11, 36, 0) 0%,
    rgba(5, 11, 36, 0.1) 42%,
    rgba(5, 11, 36, 0.88) 70%,
    rgba(5, 11, 36, 0.96) 100%
  );
}

.abw-log {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.3rem 1.25rem;
}

.abw-log-title {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.abw-entry {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.abw-entry-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.abw-entry-meta {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--accent-soft);
}

/* ---- card 01: EL badge hovering in space (no browser frame) ----
   The real Eltopup logo floats free on the navy panel: layered electric-blue
   radial glow behind it, a fading reflection beneath, and a slow GSAP drift
   (see main.js). Reads as a chrome product badge, per the site's object
   language. */

.venture-visual--el::before {
  /* layered halo: hot electric-blue core + wide pale-ice bloom */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(34% 30% at 50% 44%, rgba(19, 100, 255, 0.55), transparent 70%),
    radial-gradient(60% 54% at 50% 46%, rgba(197, 215, 255, 0.18), transparent 75%);
  pointer-events: none;
}

.el-float {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.el-logo {
  display: block;
  width: clamp(132px, 16vw, 188px);
  height: auto;
  border-radius: 24px;
  /* the logo ships on a white halftone field — keep the rounded-badge crop
     and let the halo do the lifting */
  box-shadow:
    0 0 0 1px rgba(197, 215, 255, 0.4),
    0 0 48px rgba(19, 100, 255, 0.55),
    0 22px 44px rgba(0, 0, 0, 0.5);
}

.el-logo--reflection {
  margin-top: 10px;
  transform: scaleY(-1);
  opacity: 0.5;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
  mask-image: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* ---- card 02: authentic SateStore storefront panel (real Itemku data) ----
   A white rounded panel — like itemku's own white page card — sitting on the
   blue venture card, structured in the real page's zones:
   [avatar + identity] | [Transaksi rows] | [Rating + distribution bars]. */

.venture-visual--store {
  /* shrink-wrap to content and center in the card's right column */
  align-self: center;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(0.65rem, 1.5vh, 0.9rem);
  padding: clamp(0.9rem, 2vw, 1.35rem);
  text-decoration: none;
  background: #ffffff; /* overrides the navy .venture-visual gradient */
  color: var(--ink);
  border: 1px solid rgba(197, 215, 255, 0.45);
  box-shadow: 0 18px 40px rgba(3, 7, 18, 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.venture-visual--store:hover {
  box-shadow:
    0 0 32px rgba(197, 215, 255, 0.5),
    0 18px 40px rgba(3, 7, 18, 0.35);
  transform: translateY(-2px);
}

.store-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.store-avatar {
  display: block;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%; /* circular store avatar, like itemku's */
  box-shadow: 0 0 0 1px var(--border);
}

.store-id {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.store-name {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.store-meta {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--gray); /* #6B7280 on white — ≥4.5:1 */
}

.store-online {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  padding: 0.18em 0.7em;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #15803d; /* green-700 on the pale green pill — ≥4.5:1 */
  background: rgba(34, 197, 94, 0.14);
}

.store-online-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e; /* itemku's online green */
}

.store-zone {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: clamp(0.65rem, 1.5vh, 0.9rem);
  border-top: 1px solid var(--border);
}

.store-zone-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.store-rating-star {
  color: #f59e0b; /* itemku's amber rating star (decorative glyph) */
}

.store-rating-num {
  font-weight: 600;
}

.store-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.76rem;
  line-height: 1.4;
}

.store-row-icon {
  flex: none;
  align-self: center;
  color: var(--gray);
}

.store-row-label {
  color: var(--gray); /* ≥4.5:1 on white */
}

.store-row-value {
  margin-left: auto;
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.store-row-note {
  display: block;
  font-size: 0.85em;
  font-weight: 400;
  color: var(--gray);
}

/* rating distribution bars — itemku's most recognizable widget element */
.store-bars {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.store-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.3;
}

.store-bar-star {
  flex: none;
  width: 1.7em;
  color: var(--gray); /* ≥4.5:1 on white */
}

.store-bar {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.store-bar > i {
  display: block;
  height: 100%;
  min-width: 4px; /* tiny counts still show a sliver, like itemku */
  border-radius: 999px;
  background: var(--accent); /* electric blue fills */
}

.store-bar-count {
  flex: none;
  min-width: 3.2em;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.store-cta {
  margin-top: auto;
  padding-top: clamp(0.65rem, 1.5vh, 0.9rem);
  border-top: 1px solid var(--border);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent); /* #1364FF on white — ≥4.5:1 */
}

.venture-visual--store:hover .store-cta {
  color: var(--accent-mid);
}

/* ---------- cta ---------- */

.cta {
  min-height: 80svh;
  display: flex;
  align-items: center;
  text-align: center;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-line {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  text-wrap: balance;
}

.cta-email {
  color: var(--accent-soft);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.4rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-decoration: underline;
  text-decoration-thickness: 0.04em;
  text-underline-offset: 0.14em;
  overflow-wrap: anywhere;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.cta-email:hover {
  opacity: 1;
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-hint {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  opacity: 0.7; /* ≥4.5:1 on black */
}

/* ---------- footer ---------- */

.footer {
  background: var(--bg-soft);
  padding-top: clamp(4rem, 10vh, 7rem);
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: clamp(3rem, 8vh, 6rem);
}

.footer-socials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-socials li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.social-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  min-width: 6.5rem;
}

.footer-socials .placeholder {
  font-size: 0.8rem;
}

.lang-toggle--footer {
  color: var(--ink);
  font-size: 0.9rem;
}

.footer-note {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.7; /* ≥4.5:1 on white/near-white */
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ---------- reveal default state (overridden by JS / reduced motion) ---------- */

.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

.js-anim .hero-role,
.js-anim .hero-foot,
.js-anim .wordmark {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .js-anim [data-reveal],
  .js-anim .hero-role,
  .js-anim .hero-foot,
  .js-anim .wordmark {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive: below the JS pin-stack breakpoint (900px) ----------
   main.js enables the pinned card stack at (min-width: 900px); these rules
   cover the static-grid presentation below it so the breakpoints agree. */

@media (max-width: 899px) {
  .venture-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .venture-visual {
    min-height: 180px;
  }

  /* the snapshot board needs room above the log overlay on small screens:
     taller panel, snaps tucked into the top, gradient turning solid sooner */
  .venture-visual--abw {
    min-height: 460px;
  }

  .venture-visual--abw::after {
    background: linear-gradient(
      180deg,
      rgba(5, 11, 36, 0) 0%,
      rgba(5, 11, 36, 0.2) 30%,
      rgba(5, 11, 36, 0.9) 52%,
      rgba(5, 11, 36, 0.96) 100%
    );
  }

  .abw-snap--site {
    width: 52%;
    top: 2%;
  }

  .abw-snap--crane {
    width: 48%;
    top: 10%;
  }

  .abw-snap--shaft {
    width: 25%;
    top: 19%;
  }

  .abw-snap--cargo {
    width: 24%;
    top: 23%;
  }

  .visual-band {
    height: clamp(220px, 38vh, 360px);
  }
}

/* ---------- responsive: 390px and below-ish ---------- */

@media (max-width: 720px) {
  .nav-links {
    display: none; /* one-pager: scroll is the nav on small screens */
  }

  .section {
    padding-block: clamp(4.5rem, 12vh, 7rem);
  }

  /* the head/brick ornaments sit top-right where the fixed nav's EN/ID
     toggle lives — at narrow widths they collide with it, so hide them
     (decorative, aria-hidden). The bottom-anchored coins stay. */
  .chrome-float--head,
  .chrome-float--brick {
    display: none;
  }

  .chrome-float--coin svg,
  .chrome-float--coin2 svg {
    width: 60px;
    height: 60px;
  }

  .el-logo {
    width: 112px;
  }

  .store-avatar {
    width: 42px;
    height: 42px;
  }

  .edu-ghost {
    font-size: 38vw;
    -webkit-text-stroke-width: 1px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
