@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --accent: #e8890c;
  --accent-light: #ffb347;
  --ink: #f5f5f5;
  --ink-dim: #a8a8ad;
  --bg: #0b0b0d;
  --bg-soft: #141417;
  --border: rgba(255,255,255,.1);
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; margin: 0; }

#scroller {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.slide.soft { background: var(--bg-soft); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; width: 100%; }

.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 1 1 480px; }
.hero-photo-wrap { flex: 0 0 300px; display: flex; justify-content: center; }
.hero-photo { width: 100%; max-width: 320px; height: auto; display: block; border-radius: var(--radius); }
@media (max-width: 860px) {
  .hero-grid { flex-direction: column-reverse; gap: 8px; }
  .hero-text { text-align: center; }
  .hero-actions, .pills { justify-content: center; }
  .hero-photo-wrap { flex: 0 0 auto; max-width: 220px; }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Dot nav */
.dot-nav {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; z-index: 50;
}
.dot-nav button {
  width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-dim);
  background: transparent; cursor: pointer; padding: 0; transition: background .25s, border-color .25s, transform .25s;
}
.dot-nav button.active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
@media (max-width: 700px) { .dot-nav { display: none; } }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--ink-dim); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2s ease-in-out infinite;
}
.scroll-cue .chev { width: 16px; height: 16px; border-right: 2px solid var(--ink-dim); border-bottom: 2px solid var(--ink-dim); transform: rotate(45deg); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Hero background — animated graph + viewfinder motif */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.slide .wrap { position: relative; z-index: 1; }
.hero-graph {
  position: absolute; right: -4%; bottom: -6%; width: 68%; height: 58%; opacity: .16;
  animation: hero-drift 9s ease-in-out infinite;
}
.hero-graph-line {
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: graph-draw 2.4s ease-out .3s forwards;
}
.hero-graph-dot {
  opacity: 0; transform-origin: center;
  animation: graph-dot-pop .5s ease-out forwards;
}
@keyframes graph-draw { to { stroke-dashoffset: 0; } }
@keyframes graph-dot-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
/* Malaysia map motif — used on the Brands slide */
.hero-map {
  position: absolute; left: 50%; margin-left: -31%; bottom: -4%; width: 62%; height: 62%; opacity: .16;
  animation: hero-drift 10s ease-in-out infinite;
}
.map-outline {
  fill: none; stroke: var(--accent); stroke-width: 2.5;
  stroke-dasharray: 1150; stroke-dashoffset: 1150;
  animation: graph-draw 3.4s ease-out .3s forwards;
}
.hero-map .map-outline:nth-of-type(2) { animation-delay: .8s; }
.map-island { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; animation: graph-dot-pop .5s ease-out 1.2s forwards; }
.map-pin {
  fill: var(--accent); opacity: 0; transform-origin: 78px 175px;
  animation: graph-dot-pop .5s ease-out 2.6s forwards;
}
.map-pin-ring {
  fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0;
  transform-origin: 78px 175px;
  animation: map-ping 3s ease-out 2.6s infinite;
}
@keyframes map-ping {
  0% { r: 5; opacity: .7; }
  100% { r: 24; opacity: 0; }
}
@keyframes hero-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 12px); }
}

.hero-viewfinder {
  position: absolute; top: 14%; right: 9%; width: 220px; height: 220px; opacity: .22;
  animation: hero-drift 7s ease-in-out infinite 1s;
}
.vf-corner { position: absolute; width: 34px; height: 34px; border: 2px solid var(--accent); }
.vf-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.vf-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.vf-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.vf-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }
.vf-rec {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 6px; color: var(--accent);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap;
}
.vf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: rec-pulse 1.6s ease-in-out infinite; }
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.vf-scan {
  position: absolute; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: vf-scan-move 3.2s ease-in-out infinite;
}
@keyframes vf-scan-move {
  0% { top: 2%; opacity: 0; }
  15% { opacity: .9; }
  85% { opacity: .9; }
  100% { top: 96%; opacity: 0; }
}

/* Signal/broadcast ping — represents reach & visibility */
.hero-signal { position: absolute; left: 8%; bottom: 12%; width: 140px; height: 140px; opacity: .22; }
.signal-core {
  position: absolute; top: 50%; left: 50%; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%);
}
.signal-ring {
  position: absolute; top: 50%; left: 50%; width: 10px; height: 10px;
  border: 2px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0; animation: signal-ping 3s ease-out infinite;
}
.signal-ring.r2 { animation-delay: 1s; }
.signal-ring.r3 { animation-delay: 2s; }
@keyframes signal-ping {
  0% { width: 10px; height: 10px; opacity: .6; }
  100% { width: 140px; height: 140px; opacity: 0; }
}

/* Hero */
.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); border: 1px solid rgba(232,137,12,.4);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(232,137,12,0) 0%, rgba(232,137,12,.35) 50%, rgba(232,137,12,0) 100%);
  background-size: 250% 100%;
  animation: tag-shimmer 3.5s linear infinite;
}
@keyframes tag-shimmer {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}
.hero-name { font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.hero-name span { color: var(--accent); }
.hero-line { font-size: 1.15rem; color: var(--ink-dim); max-width: 560px; margin: 22px 0 32px; line-height: 1.6; }

.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.pill { font-size: .82rem; color: var(--ink-dim); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 600;
  font-size: .95rem; text-decoration: none; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #0b0b0d; }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Section headers */
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
h2.slide-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 34px; }

/* Content grid (page 2) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(232,137,12,.4); }
.card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-dim); font-size: .9rem; line-height: 1.55; }

.clients-strip { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.clients-strip .label { font-size: .78rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.clients-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; perspective: 600px; }
.client-chip { border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: .85rem; color: var(--ink-dim); }
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 88px; }
.logo-circle {
  display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  transition: transform .15s ease-out; transform-style: preserve-3d; will-change: transform;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-name { font-size: .8rem; color: var(--ink-dim); text-align: center; line-height: 1.3; animation: caption-float 3.2s ease-in-out infinite; }

/* Booking (page 3) */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { font-size: 1.02rem; }
.contact-list a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent-light); }

.busy-list {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 8px;
  max-height: 340px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.busy-list::-webkit-scrollbar { width: 6px; }
.busy-list::-webkit-scrollbar-track { background: transparent; }
.busy-list::-webkit-scrollbar-thumb { background: rgba(232,137,12,.4); border-radius: 999px; }
.busy-list::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.busy-list li {
  display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-dim);
  border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; background: rgba(255,255,255,.03);
}
.busy-list li strong { color: var(--ink); min-width: 92px; }
.busy-list li.open { color: #8fe8ab; }
.busy-list li.open strong { color: var(--ink); }
.busy-list li.unavailable { color: var(--ink-dim); opacity: .55; }
.busy-list li.unavailable strong { color: var(--ink-dim); }
.busy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; position: relative; }
.busy-dot.open { background: #6ee7a0; }
.busy-dot.unavailable { background: var(--ink-dim); }
.busy-list li.today .busy-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0; animation: today-ping 3s ease-out infinite;
}
@keyframes today-ping {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(3); opacity: 0; }
}
.today-tag {
  font-size: .68rem; font-weight: 700; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: middle;
}
@media (max-width: 480px) {
  .busy-list li { flex-wrap: wrap; }
  .busy-list li strong { min-width: 100%; }
}
.booking-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .booking-cols { grid-template-columns: 1fr; gap: 28px; } }

.empty-note { color: var(--ink-dim); font-size: .9rem; font-style: italic; }

/* Testimonials (page 4) */
.testimonial-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.star-char { display: inline-block; opacity: 0; transform: scale(.3) rotate(-15deg); }
#testimonials-wrap.is-visible .star-char { animation: star-sparkle .5s ease-out forwards; }
@keyframes star-sparkle {
  0% { opacity: 0; transform: scale(.3) rotate(-15deg); }
  60% { opacity: 1; transform: scale(1.25) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.testimonial-quote { font-size: 1rem; font-style: italic; margin-bottom: 12px; line-height: 1.5; }
.testimonial-who { font-weight: 700; font-size: .86rem; }
.testimonial-who span { font-weight: 400; color: var(--ink-dim); }

form.feedback-form { display: grid; gap: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-dim); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .92rem; font-family: inherit; background: rgba(255,255,255,.03); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.form-msg { font-size: .86rem; }
.form-msg.ok { color: #6ee7a0; }
.form-msg.err { color: #ff8a8a; }

.page4-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .page4-cols { grid-template-columns: 1fr; gap: 32px; } }

footer.site-footer {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  color: var(--ink-dim); font-size: .76rem;
}

/* Client video showcase */
.client-video { border-radius: var(--radius); overflow: hidden; max-width: 100%; }
.client-video-caption {
  margin-top: 14px; font-size: 1.15rem; font-weight: 700; color: var(--ink);
  animation: caption-float 3.2s ease-in-out infinite;
}
@keyframes caption-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.ig-fallback {
  display: flex; align-items: center; justify-content: center; min-height: 240px;
  border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.03);
  color: var(--accent); text-decoration: none; font-weight: 600; font-size: .92rem; text-align: center; padding: 20px;
}
.ig-fallback:hover { border-color: var(--accent); }

/* Homepage video teaser cards */
.video-teaser-card {
  display: block; text-decoration: none; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(255,255,255,.03); padding: 32px 20px;
  transition: border-color .25s, transform .25s;
  position: relative; overflow: hidden;
}
.shutter-l, .shutter-r {
  position: absolute; top: 0; bottom: 0; width: 50%; background: var(--bg); z-index: 3;
  transition: transform .6s cubic-bezier(.65,0,.35,1);
}
.shutter-l { left: 0; transform-origin: left; }
.shutter-r { right: 0; transform-origin: right; }
.shutter-card.is-visible .shutter-l { transform: translateX(-100%); }
.shutter-card.is-visible .shutter-r { transform: translateX(100%); }
.video-teaser-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.video-teaser-play {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #0b0b0d;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.1rem;
  position: relative; z-index: 1; box-shadow: 0 4px 14px rgba(232,137,12,.35);
}
.video-teaser-name { font-weight: 700; font-size: .95rem; color: var(--ink); position: relative; z-index: 1; }
.video-teaser-hint { font-size: .78rem; color: var(--ink-dim); margin-top: 4px; position: relative; z-index: 1; }
.video-teaser-caption { font-size: .8rem; color: var(--ink-dim); margin-top: 6px; line-height: 1.4; position: relative; z-index: 1; }
.platform-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(11,11,13,.65); color: var(--accent-light); border: 1px solid rgba(232,137,12,.5);
  padding: 3px 10px; border-radius: 999px;
}
.video-clickable-note { font-size: .78rem; color: var(--ink-dim); font-style: italic; margin-top: 12px; }

.video-teaser-card.has-thumb {
  position: relative; aspect-ratio: 4/5; background-size: cover; background-position: center;
  padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; transition: border-color .25s, transform .25s, background-size .5s ease;
}
.video-teaser-card.has-thumb:hover { background-size: 112%; }
.video-teaser-card.has-thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 100%);
}
.video-teaser-card.has-thumb .video-teaser-play,
.video-teaser-card.has-thumb .video-teaser-name { position: relative; z-index: 1; }
.video-teaser-card.has-thumb .video-teaser-name { color: #fff; font-size: 1.05rem; }
.video-teaser-card.has-thumb .video-teaser-play {
  background: rgba(255,255,255,.92); color: var(--accent); margin-bottom: 14px;
}

/* Dedicated "My Work" gallery subpage */
.gallery-page { padding: 60px 0 80px; min-height: 100vh; }

/* Feedback popup modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; max-width: 480px; width: 100%; max-height: 88vh; overflow-y: auto;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-head h3 { font-size: 1.2rem; }
.modal-close {
  background: none; border: none; color: var(--ink-dim); font-size: 1.4rem; line-height: 1;
  cursor: pointer; padding: 0;
}
.modal-close:hover { color: var(--ink); }
.modal-box form { display: grid; gap: 14px; }
.modal-actions { display: flex; align-items: center; gap: 12px; }

/* Rating scale widget */
.rating-scale { display: flex; align-items: center; gap: 8px; }
.rating-scale button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: rgba(255,255,255,.03); color: var(--ink); font-weight: 700; font-size: .92rem;
  cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .15s;
  font-family: inherit;
}
.rating-scale button:hover { border-color: var(--accent); }
.rating-scale button.selected { background: var(--accent); border-color: var(--accent); color: #0b0b0d; transform: scale(1.08); }

.choice-scale button { width: auto; border-radius: 999px; padding: 0 22px; }
.rating-hint { font-size: .74rem; color: var(--ink-dim); }
.star-rating { display: inline-flex; gap: 6px; font-size: 1.9rem; line-height: 1; cursor: pointer; user-select: none; }
.star-slot { position: relative; display: inline-block; width: 1em; height: 1em; }
.star-slot-bg, .star-slot-fg { position: absolute; top: 0; left: 0; width: 1em; }
.star-slot-bg { color: var(--border); }
.star-slot-fg { overflow: hidden; color: var(--accent); pointer-events: none; }

.fly-in { opacity: 0; }
.fly-in.from-left { transform: translateX(-70px); }
.fly-in.from-right { transform: translateX(70px); }
.fly-in.is-visible { opacity: 1; transform: translateX(0); transition: opacity .6s ease-out, transform .6s ease-out; }
@media (max-width: 380px) {
  .rating-scale { gap: 5px; }
  .rating-scale button { width: 32px; height: 32px; font-size: .82rem; }
  .rating-hint { display: none; }
  .star-rating { font-size: 1.5rem; gap: 4px; }
}
