/* ==========================================================================
   Kalindu Rajapakshe — Portfolio
   Design tokens extracted from the Claude Design export.
   ========================================================================== */

:root {
  --bg: #121212;
  --bg-raise: #161616;
  --bg-tile: #141414;

  --accent: #FD6F00;
  --accent-2: #E46400;
  --accent-grad: linear-gradient(100deg, #FD6F00 3%, #E46400 95%);
  --violet: #9747FF;

  --fg: #ffffff;
  --fg-2: #c6c6c6;
  --fg-3: #959595;
  --fg-4: #707070;

  --line: #575757;
  --line-2: #3a3a3a;
  --hairline: rgba(255, 255, 255, 0.07);

  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --surface-lo: rgba(255, 255, 255, 0.032);

  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 8px;
  --r-pill: 100px;

  --pad-x: clamp(20px, 5vw, 80px);
  --sec-y: clamp(80px, 10vw, 150px);
  --maxw: 1280px;

  --sans: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: K2D, Lato, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- base ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--fg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

img { max-width: 100%; }

button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.shell { max-width: var(--maxw); margin: 0 auto; }

/* Film grain. Generated inline as an SVG data URI — no request, no asset file.
   Sits under the modal layer (z-index 95) so overlays stay clean. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- animations ---------- */

@keyframes omReveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes omPulse  { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.7; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- chrome: progress, nav, burger ---------- */

.progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 0%;
  background: var(--accent-grad); z-index: 90;
}

.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
}

.nav.is-stuck {
  background-color: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.brand {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.03em; color: var(--fg);
}
.brand span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 44px); }

.nav-links a {
  font-weight: 700; font-size: 15px; letter-spacing: 0.03em;
  color: var(--fg-3); white-space: nowrap; transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--sans); font-weight: 700; letter-spacing: 0.03em;
  color: var(--fg); border-radius: var(--r-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn-primary { background: var(--accent-grad); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(253, 111, 0, 0.3); color: var(--fg); }
.btn-ghost { background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); color: var(--fg); }

.btn-nav { padding: 12px 28px; font-size: 15px; }
.btn-lg  { padding: 17px 38px; font-size: 17px; }
.btn-xl  { padding: 18px 36px; font-size: 17px; }
.btn-md  { padding: 15px 30px; font-size: 15px; letter-spacing: 0.05em; }

.burger {
  position: fixed; right: 16px; top: 14px; z-index: 85;
  display: none; width: 48px; height: 48px;
  border-radius: var(--r-lg); border: 0.7px solid var(--line);
  background: rgba(18, 18, 18, 0.9); color: var(--fg); font-size: 20px; cursor: pointer;
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 84;
  background: rgba(10, 10, 10, 0.96); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 8px; padding: 48px 32px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  font-weight: 900; font-size: 34px; letter-spacing: 0.02em;
  color: var(--fg); padding: 10px 0;
}

.icon-btn {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  border: 0.7px solid var(--line); background: transparent;
  color: var(--fg); font-size: 20px; cursor: pointer;
}
.modal-close { position: absolute; right: 18px; top: 18px; }

/* mobile / compact layout */
@media (max-width: 899px) {
  .nav-links, .nav .btn-nav { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; }
  .wa-float { display: flex !important; }
}

/* ---------- section furniture ---------- */

.section { padding: var(--sec-y) var(--pad-x); }
.section--tint { border-top: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.015); }

.stack { display: flex; flex-direction: column; }
.gap-56 { gap: 56px; }
.gap-52 { gap: 52px; }
.gap-48 { gap: 48px; }
.gap-18 { gap: 18px; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--accent);
}
.eyebrow--sm { font-size: 11px; letter-spacing: 0.22em; }

.h2 {
  margin: 0; font-weight: 900;
  font-size: clamp(30px, 3.8vw, 54px); line-height: 1.08;
  letter-spacing: 0.01em; color: var(--fg);
}
.lede {
  margin: 0; max-width: 620px; font-weight: 500;
  font-size: 19px; line-height: 1.8; color: var(--fg-3); text-wrap: pretty;
}

.grid { display: grid; gap: 20px; }
.grid--250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--420 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }

.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  transition: transform 0.35s ease, background-color 0.35s ease;
}
.card:hover { transform: translateY(-6px); background: var(--surface-hi); }
.card-title {
  font-weight: 900; font-size: 17px; letter-spacing: 0.08em; color: var(--accent);
}
.card-body { font-weight: 500; font-size: 16px; line-height: 1.7; color: var(--fg-3); }

.chip {
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.7px var(--line-2);
  font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--fg-2);
}

/* ---------- 01 hero ---------- */

.hero {
  position: relative; min-height: 100vh;
  padding: 140px var(--pad-x) 90px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.hero-glow-a {
  position: absolute; left: -8%; top: 6%; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 111, 0, 0.16) 0%, rgba(253, 111, 0, 0) 68%);
  animation: omPulse 9s ease-in-out infinite; pointer-events: none;
}
.hero-glow-b {
  position: absolute; right: -12%; bottom: -10%; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 71, 255, 0.10) 0%, rgba(151, 71, 255, 0) 70%);
  pointer-events: none;
}
/* The orbit canvas sits ABOVE the portrait so chips can pass in front of it.
   Chips that should pass behind are hidden by a depth-only occluder plane in
   app.js, sized from the portrait's box. It bleeds past the stage on every
   side so the orbit's widest point isn't clipped. */
.hero-stage {
  position: relative; width: 100%; max-width: 470px;
  display: flex; align-items: center; justify-content: center;
}
/* Explicit size, not `inset`: a <canvas> is a replaced element, so with
   width:auto it falls back to its 300x150 intrinsic size and ignores the
   opposite offset. 160%/132% reproduces a -30%/-16% bleed on each side. */
.hero-stage canvas {
  position: absolute; left: -42%; top: -22%;
  width: 184%; height: 144%;
  z-index: 2; pointer-events: none;
}

.hero-inner {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.hero-kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.34em; color: var(--accent); }
.hero h1 {
  margin: 0; font-weight: 900; font-size: clamp(38px, 5.4vw, 74px);
  line-height: 0.98; letter-spacing: 0.01em; color: var(--fg); text-wrap: balance;
}
.hero-role { margin: 0; font-weight: 700; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: 0.03em; color: var(--fg-3); }
.hero-headline {
  margin: 0; max-width: 560px; font-weight: 700;
  font-size: clamp(22px, 2.3vw, 32px); line-height: 1.32; color: var(--fg); text-wrap: pretty;
}
.hero-sub { margin: 0; max-width: 540px; font-weight: 500; font-size: 18px; line-height: 1.8; color: var(--fg-3); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 6px; }

.hero-visual { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
/* Plain rectangle, not the arch. The arch shape read as a portfolio-template
   default, and a rounded-top frame cannot agree with a rectangular occluder —
   chips would vanish in the empty corners above the curve. */
.hero-portrait {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px; aspect-ratio: 4 / 5;
  border-radius: 4px; overflow: hidden;
  background: linear-gradient(180deg, #1b1b1b 0%, #151515 100%);
  box-shadow: inset 0 0 0 0.7px var(--line);
}
.hero-portrait img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 104%; width: auto; object-fit: contain; filter: contrast(1.05) saturate(0.9);
}
.hero-portrait .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 55%, rgba(18, 18, 18, 0.55) 100%);
}

@media (max-width: 899px) {
  .hero-visual { min-height: 400px; }
}

/* ---------- 02 experience statement ---------- */

.strip {
  position: relative; padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
}
.strip-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.strip-head h2 {
  margin: 0; max-width: 900px; font-weight: 900;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1.14; letter-spacing: 0.01em;
  color: var(--fg); text-wrap: pretty;
}
.strip-head em { font-style: normal; color: var(--accent); }
/* ---------- 03 about ---------- */

.about-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 90px); align-items: start;
}
.about-title {
  margin: 0; font-weight: 900; font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.06; letter-spacing: 0.01em; color: var(--fg);
}
/* Was a WebGL orb with three floating labels. Now the labels, set as type. */
.about-focus {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column;
}
.about-focus li {
  padding: 14px 0; border-top: 1px solid var(--hairline);
  font-weight: 900; font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.02em; color: var(--fg-2);
}
.about-focus li:last-child { border-bottom: 1px solid var(--hairline); }

.about-prose { display: flex; flex-direction: column; gap: 26px; }
.about-prose p { margin: 0; font-weight: 500; font-size: 18px; line-height: 1.85; color: var(--fg-3); text-wrap: pretty; }
.about-prose p:first-child { font-size: 19px; color: var(--fg-2); }
.langs { display: flex; align-items: center; gap: 14px; padding-top: 4px; flex-wrap: wrap; }
.langs .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--fg-4); }
.langs .v { font-weight: 700; font-size: 17px; letter-spacing: 0.04em; color: var(--fg); }

/* ---------- 04 services ---------- */

.svc {
  text-align: left; border: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 24px;
  padding: 30px 26px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  transform-style: preserve-3d; color: var(--fg);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.svc:hover { background: var(--surface-hi); box-shadow: inset 0 0 0 0.7px var(--accent); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--fg-4); }
.svc-plus {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(253, 111, 0, 0.14);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--accent);
}
.svc-title { font-weight: 900; font-size: 20px; line-height: 1.2; letter-spacing: 0.04em; color: var(--fg); }
.svc-more { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fg-3); }

/* ---------- 05 pricing ---------- */

.tier {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: 36px 32px; border-radius: var(--r-lg);
  background: var(--surface-lo); box-shadow: inset 0 0 0 0.7px var(--line-2);
  transform-style: preserve-3d; transition: box-shadow 0.35s ease;
}
.tier:hover { box-shadow: inset 0 0 0 0.7px var(--accent); }
.tier--gold { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.7px var(--line); }
.tier--platinum {
  background: linear-gradient(150deg, rgba(253, 111, 0, 0.10) 0%, rgba(255, 255, 255, 0.04) 60%);
  box-shadow: inset 0 0 0 0.7px var(--accent);
}
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier-name { font-weight: 900; font-size: 24px; letter-spacing: 0.1em; color: var(--fg-2); }
.tier--gold .tier-name, .tier--platinum .tier-name { color: var(--fg); }
.tier-dot { width: 12px; height: 12px; border-radius: 50%; background: #8a8a8a; }
.tier--gold .tier-dot, .tier--platinum .tier-dot { background: var(--accent); }
.tier-summary { font-weight: 500; font-size: 16px; line-height: 1.7; color: var(--fg-3); }
.tier-features { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; margin: 0; list-style: none; }
.tier-features li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.tier-features li::before {
  content: ""; flex-shrink: 0; margin-top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
}
.tier-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

.price-pill {
  display: flex; align-items: baseline; gap: 8px; padding: 13px 20px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 0.7px var(--line-2);
}
.price-pill .cur { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fg-4); }
.price-pill .val { font-weight: 700; font-size: 16px; color: var(--fg); }

.pill-cta {
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  white-space: nowrap; color: var(--fg); background: var(--accent-grad);
}
.pill-cta--ghost { background: rgba(255, 255, 255, 0.06); }
.pill-cta:hover { color: var(--fg); }

.subhead { font-weight: 900; font-size: 20px; letter-spacing: 0.08em; color: var(--fg); }

.pack {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center;
  padding: 22px; border-radius: var(--r-lg);
  background: var(--surface-lo); box-shadow: inset 0 0 0 0.7px var(--line-2);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.pack:hover { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.7px var(--line); }
.pack-img {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden;
  background-color: var(--bg-tile); background-size: cover; background-position: center;
}
.pack-body { display: flex; flex-direction: column; gap: 12px; }
.pack-name { font-weight: 900; font-size: 20px; letter-spacing: 0.02em; color: var(--fg); }
.pack-text { font-weight: 500; font-size: 16px; line-height: 1.65; color: var(--fg-3); }
.pack-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; }

@media (max-width: 540px) {
  .pack { grid-template-columns: 1fr; }
  .pack-img { max-width: 180px; }
}

/* ---------- 06 workflow ---------- */

.step {
  position: relative; transform-style: preserve-3d;
  display: flex; flex-direction: column; gap: 16px;
  padding: 34px 28px 30px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.step:hover { box-shadow: inset 0 0 0 0.7px var(--accent); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(128deg, #FD6F00 6%, #E46400 90%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: var(--fg);
}
.step-title { font-weight: 900; font-size: 20px; letter-spacing: 0.08em; color: var(--fg); }
.step-body { font-weight: 500; font-size: 16px; line-height: 1.7; color: var(--fg-3); }

.showreel {
  position: relative; width: 100%; aspect-ratio: 21 / 9;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 0.7px var(--line);
  background: var(--bg-tile);
}
.showreel img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%;
  object-fit: cover; will-change: transform;
}
.showreel-copy {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.15) 60%);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: clamp(24px, 4vw, 60px);
}
.showreel-copy .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--accent); }
.showreel-copy .t {
  max-width: 460px; font-weight: 900; font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.18; color: var(--fg);
}

/* ---------- 07 platforms ---------- */

.platform {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  transition: background-color 0.35s ease;
}
.platform:hover { background: rgba(255, 255, 255, 0.075); }
/* Official brand marks (Simple Icons, CC0). Masked so the shape stays exact and
   only the fill changes: neutral at rest, the brand's own colour on hover.
   Never tinted into the site accent — brand guidelines forbid recolouring. */
.platform-badge {
  flex-shrink: 0; width: 28px; height: 28px; margin-top: 2px;
  background-color: var(--fg-3);
  transition: background-color 0.3s ease;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.platform:hover .platform-badge { background-color: var(--brand, var(--fg)); }

.platform-badge[data-platform="facebook"]    { --brand: #0866FF; -webkit-mask-image: url("icons/platform-facebook.svg");    mask-image: url("icons/platform-facebook.svg"); }
.platform-badge[data-platform="instagram"]   { --brand: #FF0069; -webkit-mask-image: url("icons/platform-instagram.svg");   mask-image: url("icons/platform-instagram.svg"); }
.platform-badge[data-platform="youtube"]     { --brand: #FF0000; -webkit-mask-image: url("icons/platform-youtube.svg");     mask-image: url("icons/platform-youtube.svg"); }
.platform-badge[data-platform="tiktok"]      { --brand: #FFFFFF; -webkit-mask-image: url("icons/platform-tiktok.svg");      mask-image: url("icons/platform-tiktok.svg"); }
.platform-badge[data-platform="telegram"]    { --brand: #26A5E4; -webkit-mask-image: url("icons/platform-telegram.svg");    mask-image: url("icons/platform-telegram.svg"); }
.platform-badge[data-platform="whatsapp"]    { --brand: #25D366; -webkit-mask-image: url("icons/platform-whatsapp.svg");    mask-image: url("icons/platform-whatsapp.svg"); }
.platform-badge[data-platform="tripadvisor"] { --brand: #34E0A1; -webkit-mask-image: url("icons/platform-tripadvisor.svg"); mask-image: url("icons/platform-tripadvisor.svg"); }

.platform-text { display: flex; flex-direction: column; gap: 8px; }
.platform-name { font-weight: 700; font-size: 19px; letter-spacing: 0.02em; color: var(--fg); }
.platform-body { font-weight: 500; font-size: 16px; line-height: 1.65; color: var(--fg-3); }

/* ---------- 08 work ---------- */

.work h2 {
  margin: 0; font-weight: 900; font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.04; letter-spacing: 0.01em; color: var(--fg);
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 12px 22px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  background: var(--surface); color: var(--fg-3);
  box-shadow: inset 0 0 0 0.7px var(--line-2);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.filter[aria-pressed="true"] { background: var(--accent-grad); color: var(--fg); box-shadow: none; }

.projects { display: flex; flex-direction: column; gap: 22px; }
.project {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 3vw, 48px); align-items: center;
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-lg);
  background: var(--surface-lo); box-shadow: inset 0 0 0 0.7px var(--line-2);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.project:hover { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.7px var(--line); }

@media (max-width: 899px) { .project { grid-template-columns: 1fr; } }

.slider {
  position: relative; width: 100%; aspect-ratio: 16 / 11;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-tile); box-shadow: inset 0 0 0 0.7px var(--line-2);
}
.slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1);
  background-color: var(--bg-tile); background-size: cover; background-position: center;
  transition: opacity 0.9s cubic-bezier(0.16, 0.8, 0.28, 1), transform 5s linear;
}
.slide.is-active { opacity: 1; transform: scale(1.06); }
.slider .veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 55%, rgba(18, 18, 18, 0.6) 100%);
}
.slot-label {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg-2);
  background: rgba(10, 10, 10, 0.55); padding: 5px 10px; border-radius: 4px;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  border: 0.7px solid rgba(255, 255, 255, 0.25); background: rgba(10, 10, 10, 0.5);
  color: var(--fg); font-size: 16px; cursor: pointer; transition: background-color 0.3s ease;
}
.slider-arrow:hover { background: rgba(253, 111, 0, 0.9); }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.dots { position: absolute; right: 14px; bottom: 16px; display: flex; gap: 6px; }
.dots button {
  width: 22px; height: 4px; border: 0; border-radius: 3px; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.3); transition: background-color 0.3s ease;
}
.dots button[aria-current="true"] { background: var(--accent); }

.project-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.project-body h3 {
  margin: 0; font-weight: 900; font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1; letter-spacing: 0.01em; color: var(--fg);
}
.project-sub { font-weight: 700; font-size: 16px; letter-spacing: 0.02em; color: var(--fg-2); }
.project-client { font-weight: 500; font-size: 15px; letter-spacing: 0.02em; color: var(--fg-4); }
.project-obj { font-weight: 500; font-size: 17px; line-height: 1.75; color: var(--fg-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-btn {
  margin-top: 6px; padding: 14px 28px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.7px var(--line);
  color: var(--fg); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  transition: background-color 0.3s ease;
}
.case-btn:hover { background: var(--accent-grad); }

.empty-note {
  padding: 40px; border-radius: var(--r-lg); text-align: center;
  background: var(--surface-lo); box-shadow: inset 0 0 0 0.7px var(--line-2);
  font-weight: 500; font-size: 17px; color: var(--fg-3);
}

/* ---------- modals ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(8, 8, 8, 0.86); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px); overflow-y: auto;
}
.overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; border-radius: var(--r-lg);
  background: var(--bg-raise); box-shadow: inset 0 0 0 0.7px var(--line);
  padding: clamp(28px, 4vw, 52px); animation: omReveal 0.4s ease both;
}
.modal--sm { max-width: 640px; }
.modal--lg { max-width: 900px; max-height: 88vh; overflow-y: auto; }
.modal-stack { display: flex; flex-direction: column; gap: 20px; }
.modal h3 {
  margin: 0; font-weight: 900; font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08; letter-spacing: 0.02em; color: var(--fg);
}
.rule { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #FD6F00, rgba(253, 111, 0, 0.1)); }
.modal-text { margin: 0; font-weight: 500; font-size: 18px; line-height: 1.85; color: var(--fg-2); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

.case-hero {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-tile); box-shadow: inset 0 0 0 0.7px var(--line-2);
}
.case-hero .img {
  width: 100%; height: 100%; background-size: cover; background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 0.8, 0.28, 1);
}
.case-hero:hover .img { transform: scale(1.08); }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.meta-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--fg-4); }
.meta-v { font-weight: 700; font-size: 16px; color: var(--fg); }
.meta-v--soft { font-weight: 500; color: var(--fg-3); }
.meta-block { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 10 experience ---------- */

.exp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(24px, 3vw, 44px); align-items: start;
}
.years { position: relative; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 2px; }
.years::before {
  content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(253, 111, 0, 0.5));
}
.years span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.years span i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.years span b { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.1em; color: var(--fg-4); }

.role-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.role-chip {
  border: 0; cursor: pointer; display: flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: var(--r-pill);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line-2);
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em; color: var(--fg-3);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.role-chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-4); }
.role-chip.employment i { background: var(--accent); }
.role-chip[aria-pressed="true"] { background: var(--accent-grad); box-shadow: none; color: var(--fg); }
.role-chip[aria-pressed="true"] i { background: var(--fg); }

.exp-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fg-4); }

.role-panel {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  overflow: hidden; min-height: 300px;
}
.role-panel > * { position: relative; }
.role-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.role-years { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.role-type {
  padding: 4px 11px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 10px; letter-spacing: 0.14em;
  color: var(--fg-3); box-shadow: inset 0 0 0 0.7px var(--line-2);
}
.role-type.employment { color: var(--accent); box-shadow: inset 0 0 0 0.7px var(--accent); }
.role-title {
  max-width: 380px; font-weight: 900; font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.12; letter-spacing: 0.01em; color: var(--fg);
}
.role-org { font-weight: 500; font-size: 17px; color: var(--fg-2); }
.role-scope { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 11 skills ---------- */

.skill-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.skill-pill {
  padding: 16px 26px; border-radius: var(--r-pill);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  font-weight: 700; font-size: 17px; letter-spacing: 0.02em; color: var(--fg-2);
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.skill-pill:hover { color: var(--fg); background: rgba(253, 111, 0, 0.14); transform: translateY(-3px); }

/* ---------- 12 industries ---------- */

.industry {
  padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line-2);
  font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--fg-2);
}

/* ---------- 14 education ---------- */

.edu {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px; border-radius: var(--r-lg);
  background: var(--surface-lo); box-shadow: inset 0 0 0 0.7px var(--line-2);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.edu:hover { background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line); }
.edu-title { font-weight: 900; font-size: 17px; line-height: 1.3; letter-spacing: 0.02em; color: var(--fg); }
.edu-org { font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--fg-3); }

/* ---------- 15 testimonials ---------- */

.quotes { position: relative; }
.quote {
  display: none; flex-direction: column; gap: 22px;
  padding: clamp(30px, 4vw, 52px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
}
.quote.is-active { display: flex; animation: omReveal 0.5s ease both; }
.quote-text {
  margin: 0; font-weight: 500; font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.6; color: var(--fg-2); text-wrap: pretty;
}
.quote-who { display: flex; flex-direction: column; gap: 4px; }
.quote-name { font-weight: 900; font-size: 16px; letter-spacing: 0.06em; color: var(--fg); }
.quote-role { font-weight: 500; font-size: 15px; color: var(--fg-4); }
.quote-nav { display: flex; gap: 8px; padding-top: 4px; }
.quote-nav button {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 0.7px solid var(--line); background: transparent; color: var(--fg); font-size: 15px;
}
.quotes-empty {
  padding: clamp(34px, 5vw, 64px); border-radius: var(--r-lg); text-align: center;
  background: var(--surface-lo); box-shadow: inset 0 0 0 0.7px var(--line-2);
}
.quotes-empty p { margin: 0; font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--fg-3); }

/* ---------- 16 career goal ---------- */

.goal {
  max-width: 980px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center;
}
.goal h2 {
  margin: 0; font-weight: 900; font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.06; letter-spacing: 0.01em; color: var(--fg);
}
.goal p {
  margin: 0; max-width: 760px; font-weight: 500; font-size: 19px;
  line-height: 1.85; color: var(--fg-3); text-wrap: pretty;
}

/* ---------- 17 contact ---------- */

.contact { position: relative; padding: clamp(90px, 11vw, 170px) var(--pad-x); border-top: 1px solid var(--hairline); overflow: hidden; }
.contact .glow {
  position: absolute; left: 50%; top: 0; width: 900px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(253, 111, 0, 0.16) 0%, rgba(253, 111, 0, 0) 70%);
  pointer-events: none;
}
.contact-grid {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.contact-copy h2 {
  margin: 0; font-weight: 900; font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.03; letter-spacing: 0.01em; color: var(--fg); text-wrap: balance;
}
.contact-copy p { margin: 0; max-width: 560px; font-weight: 500; font-size: 18px; line-height: 1.8; color: var(--fg-3); text-wrap: pretty; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; width: 100%; padding-top: 18px; }
.contact-card {
  border: 0; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 0.7px var(--accent); }
.contact-card .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--fg-4); }
.contact-card .v { font-weight: 700; font-size: 16px; color: var(--fg); }

/* Replaces the draggable WebGL globe: a real address, typeset. */
.where {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-style: normal; padding: 34px 0 0; border-top: 2px solid var(--accent);
}
.where-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--accent); }
.where-city {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 8vw, 104px); line-height: 0.92;
  letter-spacing: -0.01em; color: var(--fg);
}
.where-country { font-weight: 700; font-size: 17px; letter-spacing: 0.06em; color: var(--fg-2); }
.where-note {
  max-width: 340px; font-weight: 500; font-size: 16px;
  line-height: 1.7; color: var(--fg-3); padding-top: 6px;
}
.where-map {
  margin-top: 6px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; color: var(--fg-3);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.where-map:hover { color: var(--fg); border-bottom-color: var(--accent); }

/* ---------- enquiry form ---------- */

.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--fg-4); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 0;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.7px var(--line-2);
  color: var(--fg); font-family: var(--sans); font-weight: 500; font-size: 16px;
}
.field textarea { resize: vertical; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.need {
  border: 0; cursor: pointer; padding: 11px 18px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.7px var(--line-2);
  color: var(--fg-3); font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.need[aria-pressed="true"] { background: var(--accent-grad); box-shadow: none; color: var(--fg); }
.form-hint { font-weight: 500; font-size: 14px; color: var(--fg-4); }
.form-hint.is-sent { color: var(--accent); }

/* ---------- footer + floating CTA ---------- */

.site-footer {
  padding: clamp(50px, 6vw, 80px) var(--pad-x) 40px;
  border-top: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.02);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; }
.footer-name { font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.02em; color: var(--fg); }
.footer-role { font-weight: 500; font-size: 16px; letter-spacing: 0.03em; color: var(--fg-3); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer-socials a {
  padding: 13px 24px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 0.7px var(--line);
  font-weight: 700; font-size: 14px; letter-spacing: 0.06em; color: var(--fg-2);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.footer-socials a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.08); }
.copyright { font-weight: 500; font-size: 14px; letter-spacing: 0.04em; color: var(--fg-4); }

@media (max-width: 720px) { .footer-socials { justify-content: flex-start; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(128deg, #FD6F00 6%, #E46400 90%);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  font-weight: 900; font-size: 13px; letter-spacing: 0.04em; color: var(--fg);
}
.wa-float:hover { transform: scale(1.06); color: var(--fg); }

/* ---------- data-loading fallback ---------- */

.data-error {
  margin: 0 auto; max-width: 720px;
  padding: 28px; border-radius: var(--r-lg);
  background: rgba(253, 111, 0, 0.08); box-shadow: inset 0 0 0 0.7px var(--accent);
  font-weight: 500; font-size: 16px; line-height: 1.7; color: var(--fg-2);
}
.data-error code {
  font-family: var(--mono); font-size: 14px; color: var(--accent);
  background: rgba(0, 0, 0, 0.35); padding: 2px 6px; border-radius: 4px;
}

/* image placeholder while real assets are missing */
.img-missing {
  background-image:
    linear-gradient(135deg, rgba(253, 111, 0, 0.18) 0%, rgba(151, 71, 255, 0.10) 55%, rgba(20, 20, 20, 0) 100%) !important;
}
