/* ===== EVA — Shared Styles ===== */

/* PRELOADER */
#preloader { position: fixed; inset: 0; z-index: 99999; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity .6s ease, transform .6s cubic-bezier(.76,0,.24,1); }
#preloader.preloader-hide { opacity: 0; transform: translateY(-100%); }
.preloader-word { font-family: 'Satoshi', sans-serif; font-size: clamp(40px,8vw,80px); font-weight: 300; letter-spacing: -0.02em; color: var(--accent); animation: preloader-in .6s cubic-bezier(.16,1,.3,1) forwards; }
.preloader-dot { font-family: 'Gambetta', serif; font-style: italic; font-weight: 300; color: var(--accent); opacity: .5; }
@keyframes preloader-in { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* PAGE TRANSITION */
#page-transition { position: fixed; inset: 0; z-index: 99998; background: var(--bg); pointer-events: none; opacity: 1; transition: opacity .45s ease; }
#page-transition.pt-out { opacity: 0; }
#page-transition.pt-in  { opacity: 1; pointer-events: all; }

/* BROWSER MOCKUP */
.work-card-browser { position: relative; overflow: hidden; aspect-ratio: 4/3; display: block; cursor: pointer; }
.work-card-browser::before { content:''; position:absolute; top:0; left:0; right:0; height:26px; background:rgba(18,18,18,.92); border-bottom:1px solid rgba(255,255,255,.06); z-index:3; }
.work-card-browser::after { content:''; position:absolute; top:9px; left:12px; width:6px; height:6px; border-radius:50%; background:rgba(255,80,80,.6); box-shadow:10px 0 0 rgba(255,189,46,.6),20px 0 0 rgba(40,200,64,.5); z-index:4; }
.work-card-browser img { width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.25,.46,.45,.94); padding-top:26px; }
.work-card-browser:hover img { transform:scale(1.05); }
.work-card-browser .work-overlay { position:absolute; inset:0; top:26px; background:linear-gradient(to top,rgba(0,0,0,.5) 0%,transparent 50%); }
.work-card-browser .work-info { position:absolute; bottom:16px; left:50%; transform:translateX(-50%) translateY(4px); width:calc(100% - 32px); padding:12px 20px; background:rgba(14,14,14,.5); backdrop-filter:blur(20px); border:1px solid rgba(218,197,167,.15); display:flex; align-items:center; justify-content:space-between; opacity:0; transition:opacity .35s, transform .35s; }
.work-card-browser:hover .work-info { opacity:1; transform:translateX(-50%) translateY(0); }
[data-theme="light"] .work-card-browser::before { background:rgba(230,225,218,.95); }

/* CUSTOM CURSOR */
@media (pointer: fine) { * { cursor: none !important; } }
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, opacity .3s;
  will-change: left, top; mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(218,197,167,0.5); pointer-events: none;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  transition: width .4s cubic-bezier(.16,1,.3,1), height .4s cubic-bezier(.16,1,.3,1),
              background .3s, border-color .3s, opacity .3s;
  will-change: left, top; mix-blend-mode: difference; overflow: hidden;
}
.cursor-label {
  font-family: 'Satoshi', sans-serif; font-size: 9px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  opacity: 0; white-space: nowrap; transition: opacity .2s; pointer-events: none;
}
.cursor-ring.has-label { width: 72px; height: 72px; background: var(--accent); border-color: var(--accent); }
.cursor-ring.has-label .cursor-label { opacity: 1; color: var(--bg); }
.cursor-dot.hovering  { width: 4px; height: 4px; }
.cursor-ring.hovering:not(.has-label) { width: 52px; height: 52px; background: rgba(218,197,167,0.07); border-color: var(--accent); }
.cursor-dot.clicking  { width: 4px; height: 4px; }
.cursor-ring.clicking { width: 26px; height: 26px; }
.cursor-ripple {
  position: fixed; z-index: 9997; pointer-events: none; border-radius: 50%;
  width: 0; height: 0; transform: translate(-50%,-50%);
  border: 1px solid var(--accent);
  animation: ripple-out .65s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes ripple-out { from { width:0; height:0; opacity:.7; } to { width:80px; height:80px; opacity:0; } }

/* SCROLL REVEAL */
.sr {
  opacity: 0; transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.sr-visible { opacity: 1; transform: translateY(0); }

@font-face { font-family: 'Chillax'; src: url('../fonts/chillax-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: block; }
@font-face { font-family: 'Chillax'; src: url('../fonts/chillax-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'Chillax'; src: url('../fonts/chillax-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: block; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: block; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-300i.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: block; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'Gambetta'; src: url('../fonts/gambetta-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: block; }

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

:root {
  --bg: #0e0e0e;
  --bg-alt: #f5f0ea;
  --accent: #dac5a7;
  --card-border: rgba(218,197,167,0.15);
  --accent-faint: rgba(218,197,167,0.08);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--accent); font-family: 'Chillax', sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.container     { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.container-sm  { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---- HEADER ---- */
header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  padding: 0 28px; height: 52px;
  width: clamp(340px, 52vw, 720px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14,14,14,0.28); backdrop-filter: blur(24px);
  border: 1px solid rgba(218,197,167,0.08);
  white-space: nowrap;
}
.logo { font-family: 'Satoshi', sans-serif; font-size: 20px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; transition: opacity 0.2s; line-height: 1; }
nav a:hover, nav a.active { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--bg);
  padding: 10px 22px; font-size: 11px; font-weight: 400; letter-spacing: 0.06em;
  text-transform: uppercase; font-family: 'Satoshi', sans-serif;
  cursor: pointer; border: none; transition: opacity 0.2s; white-space: nowrap;
}
.btn:hover { opacity: 0.88; }
.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--bg);
  padding: 10px 22px; font-size: 11px; font-weight: 400;
  font-family: 'Satoshi', sans-serif; text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: opacity 0.2s; cursor: pointer;
}
.btn-light:hover { opacity: 0.85; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--accent);
  padding: 10px 22px; font-size: 11px; font-weight: 400;
  font-family: 'Satoshi', sans-serif; cursor: pointer;
  border: 1px solid var(--card-border); letter-spacing: 0.06em;
  text-transform: uppercase; transition: opacity 0.2s; width: fit-content;
}
.btn-dark:hover { opacity: 0.85; }

/* ---- LANG SWITCHER ---- */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 11px; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.75; transition: opacity 0.2s;
  background: none; border: none; color: var(--accent); font-family: 'Satoshi', sans-serif; padding: 0;
}
.lang-btn:hover { opacity: 1; }
.lang-btn svg { transition: transform 0.2s; }
.lang-switcher.open .lang-btn svg { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 14px); right: 0;
  background: rgba(14,14,14,0.92); backdrop-filter: blur(24px);
  border: 1px solid rgba(218,197,167,0.12);
  min-width: 160px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.6; transition: opacity 0.2s, background 0.2s;
  font-family: 'Satoshi', sans-serif;
}
.lang-dropdown a:hover { opacity: 1; background: rgba(218,197,167,0.06); }
.lang-dropdown a.active { opacity: 1; }
.lang-flag { font-size: 15px; line-height: 1; }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 32px; height: 32px; cursor: pointer;
  background: none; border: none; padding: 0; z-index: 300;
}
.hamburger span { display: block; width: 22px; height: 1px; background: var(--accent); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,14,14,0.97); backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: 'Satoshi', sans-serif; font-size: clamp(32px, 8vw, 52px); font-weight: 300; letter-spacing: 0.04em; text-align: center; opacity: 0.85; transition: opacity 0.2s; }
.mobile-menu a:hover { opacity: 1; }
.mobile-menu .mobile-cta { margin-top: 12px; font-size: 13px; letter-spacing: 0.1em; background: var(--accent); color: var(--bg); padding: 14px 36px; font-family: 'Satoshi', sans-serif; text-transform: uppercase; }

/* ---- TYPOGRAPHY ---- */
.site-heading {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: 0.05em; text-align: center; color: var(--accent);
  -webkit-font-smoothing: antialiased;
}
.site-heading em { font-family: 'Gambetta', serif; font-style: italic; font-weight: 300; }

.page-heading {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: 0.03em; color: var(--accent);
  -webkit-font-smoothing: antialiased;
}
.page-heading em { font-family: 'Gambetta', serif; font-style: italic; font-weight: 300; }

.section-title { font-family: 'Satoshi', sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 300; letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; }
.section-title em { font-family: 'Gambetta', serif; font-style: italic; font-weight: 300; }

.label-sm { font-size: 12px; font-weight: 400; opacity: 0.45; text-transform: uppercase; letter-spacing: 0.12em; }
.body-text { font-family: 'Chillax', sans-serif; font-size: 16px; font-weight: 400; line-height: 1.7; opacity: 0.65; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--card-border);
}
.page-hero-inner { display: flex; flex-direction: column; gap: 24px; }
.page-hero-inner .label-sm { margin-bottom: 8px; }
.page-hero-sub { font-family: 'Chillax', sans-serif; font-size: 16px; font-weight: 400; line-height: 1.65; opacity: 0.65; max-width: 520px; }

/* ---- CARDS ---- */
.glass-card {
  padding: 40px; border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.04); backdrop-filter: blur(12px);
}
.icon-box {
  width: 32px; height: 32px; border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; transition: border-color 0.2s;
}
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.link-arrow:hover .icon-box { border-color: var(--accent); }

/* ---- SECTION DIVIDER ---- */
.section-divider { border: none; border-top: 1px solid var(--card-border); margin: 0; }

/* ---- LOGOS MARQUEE ---- */
.section-logos { padding: 56px 0; overflow: hidden; }
.logos-track-wrap { overflow: hidden; }
.logos-track { display: flex; align-items: center; width: max-content; animation: logos-scroll 18s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item { opacity: 0.45; height: 24px; width: auto; object-fit: contain; flex-shrink: 0; margin: 0 60px; }
.logo-item:hover { opacity: 0.75; transition: opacity 0.3s; }

/* ---- WORK GRID ---- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.work-card { position: relative; overflow: hidden; aspect-ratio: 4/3; display: block; cursor: pointer; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.work-card:hover img { transform: scale(1.06); }
.work-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%); }
.work-info {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(4px);
  width: calc(100% - 32px); padding: 12px 20px;
  background: rgba(14,14,14,0.5); backdrop-filter: blur(20px);
  border: 1px solid rgba(218,197,167,0.15);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transition: opacity 0.35s, transform 0.35s;
}
.work-card:hover .work-info { opacity: 1; transform: translateX(-50%) translateY(0); background: rgba(14,14,14,0.72); }
.work-name { font-size: 15px; font-weight: 300; letter-spacing: -0.01em; }
.work-type { font-family: 'Chillax', sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; }

/* ---- FOOTER ---- */
footer { background: var(--bg); color: var(--accent); border-top: 1px solid var(--card-border); }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 80px 80px 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid var(--card-border);
  align-items: start; justify-items: start;
}
.footer-logo { font-family: 'Satoshi', sans-serif; font-size: 22px; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 36px; }
.footer-social { display: flex; flex-direction: column; gap: 14px; }
.footer-social a { display: flex; align-items: center; gap: 14px; font-family: 'Chillax', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }
.f-icon { width: 40px; height: 40px; background: rgba(218,197,167,0.08); border: 1px solid var(--card-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; background: var(--accent); color: var(--bg); padding: 10px 22px; font-family: 'Satoshi', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; transition: opacity 0.2s; }
.footer-btn:hover { opacity: 0.85; }
.footer-col-title { font-family: 'Satoshi', sans-serif; font-size: 16px; font-weight: 300; margin-bottom: 24px; letter-spacing: 0.01em; opacity: 0.9; text-align: left; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-nav a { font-family: 'Chillax', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.5; transition: opacity 0.2s; display: block; }
.footer-nav a:hover { opacity: 1; }
.footer-bottom { padding: 24px 80px; display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; }
.footer-copy { font-family: 'Chillax', sans-serif; font-size: 12px; font-weight: 400; opacity: 0.45; }
.to-top { display: flex; align-items: center; gap: 14px; font-family: 'Chillax', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; cursor: pointer; transition: opacity 0.2s; }
.to-top:hover { opacity: 1; }
.to-top-circle { width: 46px; height: 46px; border-radius: 50%; background: rgba(218,197,167,0.08); border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; }

/* ---- CTA STRIP ---- */
.section-cta { background: var(--bg); }
.cta-ticker { border-bottom: 1px solid rgba(218,197,167,0.12); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; align-items: center; animation: ticker 28s linear infinite; }
.ticker-item { font-family: 'Satoshi', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 16px; color: rgba(218,197,167,0.5); }
.ticker-sep { font-size: 11px; opacity: 0.3; padding: 0 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cta-body { padding: 100px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta-label { font-family: 'Chillax', sans-serif; font-size: 12px; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.14em; }
.cta-title { font-family: 'Satoshi', sans-serif; font-size: clamp(52px, 7vw, 100px); font-weight: 300; line-height: 1.05; letter-spacing: 0.02em; max-width: 900px; -webkit-font-smoothing: antialiased; }
.cta-title em { font-family: 'Gambetta', serif; font-style: italic; font-weight: 300; }
.cta-sub { font-family: 'Chillax', sans-serif; font-size: 16px; line-height: 1.65; opacity: 0.65; max-width: 400px; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1100px) {
  .container, .container-sm { padding: 0 32px; }
  .footer-inner { padding: 60px 48px 0; }
  .footer-bottom { padding: 24px 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  header { width: calc(100% - 24px); padding: 0 20px; }
  nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .page-hero { padding: 120px 0 56px; }
  .page-hero-sub { font-size: 16px; }

  .work-grid { grid-template-columns: 1fr; }
  .work-info { opacity: 1; transform: translateX(-50%) translateY(0); }

  .footer-inner { padding: 48px 24px 0; }
  .footer-bottom { padding: 20px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .cta-body { padding: 72px 24px; gap: 20px; }
  .section-logos { padding: 40px 0; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; padding: 20px 0; }
  .cta-body { padding: 56px 16px; }
  .cta-title { font-size: clamp(36px, 10vw, 56px); }
  .page-hero { padding: 100px 0 48px; }
}
