/* ==========================================================================
   Wiki Creatives — Design System
   ========================================================================== */

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

:root{
  --black:#000000;
  --near-black:#0a0a0a;
  --surface:#121212;
  --surface-2:#1a1a1a;
  --line:#262626;
  --white:#ffffff;
  --off-white:#f5f5f3;
  --yellow:#ffd400;
  --yellow-dim:#c9a900;
  --gray:#8a8a8a;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;

  --container:1280px;
  --pad:6vw;
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ overflow-x:hidden; overflow-y:auto; }
body{
  margin:0;
  background:var(--black);
  color:var(--off-white);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  margin:0 0 .4em;
  letter-spacing:-0.02em;
}
p{ margin:0 0 1em; color:var(--gray); }
.section-pad{ padding:120px var(--pad); }
@media (max-width:900px){ .section-pad{ padding:80px 6vw; } }

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

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-size:13px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--yellow);
  margin-bottom:20px;
}
.eyebrow::before{ content:''; width:24px; height:2px; background:var(--yellow); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:18px 36px; border-radius:100px; font-family:var(--font-body);
  font-weight:600; font-size:15px; letter-spacing:.01em; cursor:pointer;
  border:1px solid transparent; transition:all .4s var(--ease); white-space:nowrap;
}
.btn-primary{ background:var(--yellow); color:var(--black); }
.btn-primary:hover{ background:var(--white); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.3); }
.btn-outline:hover{ border-color:var(--yellow); color:var(--yellow); transform:translateY(-2px); }
.btn-block{ width:100%; }

/* ---------- Logo ---------- */
.logo{ display:flex; align-items:center; gap:12px; }
.logo-mark{ width:38px; height:auto; flex-shrink:0; }
.logo-text{ display:flex; flex-direction:column; line-height:1; }
.logo-text .wiki{ font-family:var(--font-display); font-weight:700; font-size:18px; letter-spacing:.08em; color:var(--white); }
.logo-text .creatives{ font-family:var(--font-body); font-weight:600; font-size:9px; letter-spacing:.32em; color:var(--yellow); margin-top:3px; }

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  display:flex; align-items:center; justify-content:space-between;
  padding:26px var(--pad); transition:all .5s var(--ease);
  background:transparent;
}
.site-header.scrolled{
  padding-top:16px; padding-bottom:16px;
  background:rgba(10,10,10,.75); backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav-links{ display:flex; align-items:center; gap:40px; }
.nav-links a{
  font-size:14px; font-weight:500; color:var(--off-white);
  position:relative; padding:4px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background:var(--yellow); transition:width .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--yellow); }
.nav-right{ display:flex; align-items:center; gap:24px; }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; z-index:1100; padding:6px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--white); transition:all .3s var(--ease); }

@media (max-width:980px){
  .nav-links{
    position:fixed; inset:0; background:var(--near-black);
    flex-direction:column; justify-content:center; gap:32px;
    transform:translateX(100%); transition:transform .5s var(--ease);
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:26px; }
  .nav-right .btn-outline{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2){ opacity:0; }
  .nav-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; flex-direction:column;
  justify-content:center; padding:160px var(--pad) 80px; overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.88) 32%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.25) 100%),
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,212,0,.10), transparent 60%),
    url('../assets/hero.png') center right / cover no-repeat,
    var(--black);
}
.hero-grid{
  position:absolute; inset:0; z-index:0; opacity:.35;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 90%);
}
.hero-watermark{
  position:absolute; right:-4vw; bottom:-10vh; z-index:0; width:46vw; max-width:640px;
  color:rgba(255,212,0,.06); pointer-events:none;
}
.hero-content{ position:relative; z-index:1; max-width:1100px; }
.hero h1{
  font-size:clamp(40px, 6.4vw, 96px); color:var(--white); margin-bottom:28px;
}
.hero h1 em{ color:var(--yellow); font-style:normal; }
.hero p.lead{
  font-size:clamp(16px, 1.4vw, 20px); max-width:620px; color:#c7c7c7; margin-bottom:44px;
}
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; bottom:40px; left:var(--pad); display:flex; align-items:center; gap:12px;
  font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--gray); z-index:1;
}
.hero-scroll::after{
  content:''; width:1px; height:40px; background:linear-gradient(var(--yellow), transparent);
  animation:scrollpulse 2s infinite;
}
@keyframes scrollpulse{ 0%{opacity:.2} 50%{opacity:1} 100%{opacity:.2} }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(36px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(30px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.12s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.33s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay:.40s; }
.reveal-stagger.in > *:nth-child(n+7){ transition-delay:.46s; }

/* ---------- Section heads ---------- */
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:64px; }
.section-head h2{ font-size:clamp(30px,3.6vw,52px); color:var(--white); max-width:640px; }
.section-head p{ max-width:380px; margin:0; }
@media (max-width:800px){ .section-head{ flex-direction:column; align-items:flex-start; gap:16px; } }

/* ---------- About preview ---------- */
.about-preview{ background:var(--black); border-top:1px solid var(--line); }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-visual{ position:relative; }
.about-visual img{ width:100%; height:auto; display:block; border-radius:16px; }
.about-visual .big-w{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.about-visual .big-w svg{ width:60%; color:rgba(255,255,255,.06); }
.about-visual .stat-chip{
  position:absolute; left:24px; bottom:24px; background:rgba(10,10,10,.7); backdrop-filter:blur(10px);
  border:1px solid var(--line); border-radius:14px; padding:18px 22px;
}
.stat-chip .num{ font-family:var(--font-display); font-size:32px; color:var(--yellow); font-weight:700; }
.stat-chip .label{ font-size:12px; color:var(--gray); text-transform:uppercase; letter-spacing:.1em; }
.about-copy h2{ font-size:clamp(28px,3.4vw,44px); color:var(--white); }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:48px; } }

/* ---------- Services grid ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.service-card{
  background:var(--near-black); padding:44px 36px; transition:background .4s var(--ease);
  position:relative;
}
.service-card:hover{ background:var(--surface); }
.service-card .icon{ width:44px; height:44px; margin-bottom:28px; color:var(--yellow); }
.service-card h3{ font-size:20px; color:var(--white); margin-bottom:10px; }
.service-card p{ font-size:14.5px; margin:0; }
.service-card .idx{ position:absolute; top:36px; right:36px; font-family:var(--font-display); font-size:13px; color:var(--line); }
@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:600px){ .services-grid{ grid-template-columns:1fr; } }

/* ---------- Why us ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:2px; }
.why-item{ background:var(--near-black); padding:40px; border:1px solid var(--line); border-radius:16px; }
.why-item .n{ font-family:var(--font-display); font-size:14px; color:var(--yellow); margin-bottom:16px; display:block; }
.why-item h3{ color:var(--white); font-size:19px; }
@media (max-width:900px){ .why-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; } }
@media (max-width:600px){ .why-grid{ grid-template-columns:1fr; } }

/* ---------- Process ---------- */
.process-list{ display:flex; flex-direction:column; }
.process-step{
  display:grid; grid-template-columns:120px 1fr 40px; align-items:center; gap:40px;
  padding:44px 0; border-top:1px solid var(--line);
  width:100%; background:none; border-left:none; border-right:none; border-bottom:none;
  font-family:inherit; text-align:left; cursor:pointer;
}
.process-list .process-step:last-child{ border-bottom:1px solid var(--line); }
.process-step .step-num{ font-family:var(--font-display); font-size:56px; color:transparent; -webkit-text-stroke:1px var(--line); transition:all .4s var(--ease); }
.process-step:hover .step-num{ -webkit-text-stroke:1px var(--yellow); }
.process-step h3{ color:var(--white); font-size:24px; margin-bottom:8px; }
.process-step p{ margin:0; max-width:560px; }
.process-more{
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.process-step[aria-expanded="true"] .process-more{ max-height:200px; opacity:1; margin-top:12px; }
.process-step .arrow{ width:28px; height:28px; color:var(--gray); transition:transform .4s var(--ease); justify-self:end; }
.process-step:hover .arrow{ color:var(--yellow); }
.process-step[aria-expanded="true"] .arrow{ transform:rotate(90deg); color:var(--yellow); }
@media (max-width:700px){
  .process-step{ grid-template-columns:1fr; gap:12px; padding:32px 0; }
  .process-step .arrow{ display:none; }
}

/* ---------- Portfolio / gallery ---------- */
.filter-bar{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:56px; }
.filter-btn{
  padding:10px 22px; border-radius:100px; border:1px solid var(--line); background:transparent;
  color:var(--gray); font-size:14px; font-weight:500; cursor:pointer; transition:all .3s var(--ease);
}
.filter-btn:hover{ color:var(--white); border-color:rgba(255,255,255,.3); }
.filter-btn.active{ background:var(--yellow); color:var(--black); border-color:var(--yellow); }

.gallery-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.gallery-item{
  position:relative; aspect-ratio:4/5; border-radius:16px; overflow:hidden; cursor:pointer;
  border:1px solid var(--line);
}
.gallery-item .thumb{
  position:absolute; inset:0; transition:transform .7s var(--ease);
  display:flex; align-items:center; justify-content:center;
}
.gallery-item .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-item:hover .thumb{ transform:scale(1.08); }
.gallery-item .overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:26px;
  background:linear-gradient(to top, rgba(0,0,0,.88) 10%, transparent 60%);
  opacity:0; transition:opacity .4s var(--ease);
}
.gallery-item:hover .overlay{ opacity:1; }
.gallery-item .tag{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--yellow); margin-bottom:6px; }
.gallery-item h4{ color:var(--white); font-size:19px; margin:0; }
.gallery-item[data-cat]{ }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns:1fr; } }

/* generic placeholder art */
.art{ width:100%; height:100%; position:relative; overflow:hidden; background:var(--surface); }
.art::before{
  content:''; position:absolute; inset:-20%;
  background:conic-gradient(from 180deg at 50% 50%, var(--art-a,#1a1a1a), var(--art-b,#000) 40%, var(--art-a,#1a1a1a));
  filter:blur(20px); opacity:.8;
}
.art::after{
  content:attr(data-letter); position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:22vw; font-weight:700; color:rgba(255,255,255,.05);
}

/* ---------- CTA ---------- */
.cta-section{
  position:relative; text-align:center; padding:140px var(--pad); overflow:hidden;
  background:var(--yellow); color:var(--black);
}
.cta-section h2{ color:var(--black); font-size:clamp(32px,5vw,64px); max-width:900px; margin:0 auto 36px; }
.cta-section .btn-primary{ background:var(--black); color:var(--white); }
.cta-section .btn-primary:hover{ background:var(--near-black); color:var(--yellow); }
.cta-section .blob{ position:absolute; border-radius:50%; background:rgba(0,0,0,.06); filter:blur(40px); }

/* ---------- Cards (values, faq) ---------- */
.card{ background:var(--near-black); border:1px solid var(--line); border-radius:18px; padding:36px; }

.values-grid{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px; }
@media (max-width:1000px){ .values-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:640px){ .values-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
.value-card{ text-align:center; padding:40px 20px; }
.value-card .icon{ width:38px; height:38px; margin:0 auto 20px; color:var(--yellow); }
.value-card h3{ color:var(--white); font-size:17px; }

/* ---------- Mission/Vision ---------- */
.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.mv-card{ padding:64px; background:var(--near-black); border:1px solid var(--line); border-radius:20px; }
.mv-card .icon{ width:40px; height:40px; color:var(--yellow); margin-bottom:24px; }
.mv-card h3{ color:var(--white); font-size:26px; }
.mv-card p{ font-size:16.5px; }
@media (max-width:800px){ .mv-grid{ grid-template-columns:1fr; gap:20px; } .mv-card{ padding:40px; } }

/* ---------- FAQ ---------- */
.faq-list{ max-width:860px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:24px; padding:30px 4px;
  cursor:pointer; background:none; border:none; width:100%; text-align:left;
  font-family:var(--font-display); font-size:18px; color:var(--white);
}
.faq-q .plus{ position:relative; width:20px; height:20px; flex-shrink:0; }
.faq-q .plus::before, .faq-q .plus::after{ content:''; position:absolute; background:var(--yellow); transition:transform .4s var(--ease); }
.faq-q .plus::before{ top:9px; left:0; width:20px; height:2px; }
.faq-q .plus::after{ top:0; left:9px; width:2px; height:20px; }
.faq-item.open .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .5s var(--ease); }
.faq-a p{ padding:0 4px 30px; font-size:15.5px; max-width:720px; }
.faq-item.open .faq-a{ max-height:400px; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:80px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:48px; } }
.form-field{ margin-bottom:22px; }
.form-field label{ display:block; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--gray); margin-bottom:10px; }
.form-field input, .form-field textarea{
  width:100%; background:var(--near-black); border:1px solid var(--line); border-radius:12px;
  padding:16px 18px; color:var(--white); font-family:var(--font-body); font-size:15px;
  transition:border-color .3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus{ outline:none; border-color:var(--yellow); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.form-note{ font-size:13px; color:var(--gray); margin-top:14px; }
.form-success{ display:none; background:rgba(255,212,0,.1); border:1px solid var(--yellow); color:var(--yellow); padding:16px 20px; border-radius:12px; margin-bottom:22px; font-size:14px; }
.form-success.show{ display:block; }

.info-list{ display:flex; flex-direction:column; gap:28px; }
.info-item{ display:flex; gap:20px; align-items:flex-start; padding:24px 0; border-top:1px solid var(--line); }
.info-item .icon{ width:24px; height:24px; color:var(--yellow); flex-shrink:0; margin-top:4px; }
.info-item h4{ color:var(--white); margin:0 0 4px; font-family:var(--font-body); font-size:14px; text-transform:uppercase; letter-spacing:.08em; }
.info-item p, .info-item a{ margin:0; color:var(--off-white); font-size:16px; }
.map-embed{ border-radius:16px; overflow:hidden; border:1px solid var(--line); margin-top:8px; }
.map-embed iframe{ width:100%; height:260px; border:0; display:block; filter:grayscale(1) invert(.92) contrast(.9); }

.whatsapp-float{
  position:fixed; bottom:28px; right:28px; z-index:900; width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(0,0,0,.4);
  transition:transform .35s var(--ease);
}
.whatsapp-float:hover{ transform:scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; color:#fff; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--near-black); border-top:1px solid var(--line); padding:90px var(--pad) 30px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:60px; padding-bottom:70px; }
.footer-brand p{ max-width:280px; margin-top:20px; font-size:14.5px; }
.footer-col h4{ color:var(--white); font-size:13px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:22px; }
.footer-col ul li{ margin-bottom:14px; }
.footer-col a{ color:var(--gray); font-size:14.5px; transition:color .3s var(--ease); }
.footer-col a:hover{ color:var(--yellow); }
.footer-social{ display:flex; gap:14px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center;
  justify-content:center; transition:all .3s var(--ease);
}
.footer-social a:hover{ border-color:var(--yellow); background:var(--yellow); color:var(--black); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top:28px; border-top:1px solid var(--line);
  font-size:13px; color:var(--gray); flex-wrap:wrap; gap:12px;
}
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; gap:40px; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; gap:36px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding:200px var(--pad) 90px; background:var(--black); border-bottom:1px solid var(--line);
  position:relative; overflow:hidden;
}
.page-hero h1{ font-size:clamp(36px,5.6vw,72px); color:var(--white); max-width:900px; }
.page-hero p.lead{ max-width:560px; font-size:17px; }
.page-hero .hero-watermark{ opacity:.5; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--gray); margin-bottom:26px; }
.breadcrumb a:hover{ color:var(--yellow); }
.breadcrumb .sep{ color:var(--line); }

/* generic icon sizing inherited from inline svg */
svg{ display:block; }

::selection{ background:var(--yellow); color:var(--black); }
