/*
Theme Name: Stúdio Agency
Theme URI: https://studio.com
Author: Stúdio
Author URI: https://studio.com
Description: A bold, luxury editorial theme for web agencies. Dark palette with acid green accents, custom cursor, scroll reveal animations, and full landing page layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio-agency
Tags: agency, portfolio, dark, one-page, custom-menu, featured-images, full-width-template
*/

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --black: #080807;
  --off-white: #f0ede6;
  --acid: #c8ff47;
  --dim: #2a2a26;
  --muted: #6b6b60;
  --serif: 'Cormorant Garamond', serif;
  --mono: 'DM Mono', monospace;
  --display: 'Bebas Neue', sans-serif;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--mono);
  font-weight: 300;
  cursor: none;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

body.no-custom-cursor {
  cursor: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* =====================
   CUSTOM CURSOR
   ===================== */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--acid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

/* =====================
   NAVIGATION
   ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
}

.site-branding .site-title {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--off-white);
  text-decoration: none;
  display: block;
}

.site-branding .site-title a {
  color: var(--off-white);
  text-decoration: none;
}

.main-navigation ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.main-navigation a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--acid);
}

/* =====================
   HERO
   ===================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(180px, 28vw, 420px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--dim);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: fadeIn 1.4s 0.2s forwards;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 24px;
  opacity: 0;
  animation: slideUp 0.8s 0.6s forwards;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 160px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 1000px;
  opacity: 0;
  animation: slideUp 0.9s 0.8s forwards;
}

.hero-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.75em;
  font-weight: 300;
  color: var(--acid);
}

.hero-sub-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 48px;
  gap: 48px;
  opacity: 0;
  animation: slideUp 0.9s 1.1s forwards;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  color: var(--muted);
  max-width: 400px;
  line-height: 1.6;
}

.hero-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--acid);
  color: var(--black);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
  border: none;
  cursor: none;
}

.hero-cta:hover,
.btn-primary:hover {
  background: var(--off-white);
  color: var(--black);
  transform: translateY(-2px);
}

.hero-cta .arrow {
  transition: transform 0.3s;
}

.hero-cta:hover .arrow {
  transform: translateX(6px);
}

/* =====================
   TICKER
   ===================== */
.ticker-wrap {
  border-top: 1px solid var(--dim);
  border-bottom: 1px solid var(--dim);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 80px;
  animation: ticker 20s linear infinite;
}

.ticker-inner span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker-inner span.dot {
  color: var(--acid);
  font-size: 1rem;
}

/* =====================
   SECTION COMMON
   ===================== */
.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--acid);
  flex-shrink: 0;
}

/* =====================
   SERVICES
   ===================== */
.services-section {
  padding: 120px 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  padding: 48px 40px;
  border: 1px solid var(--dim);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 0;
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-card:hover .service-num,
.service-card:hover .service-title,
.service-card:hover .service-desc {
  color: var(--black);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-num {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 40px;
  transition: color 0.3s;
}

.service-title {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.service-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.3s;
}

/* =====================
   NUMBERS / STATS
   ===================== */
.numbers-section {
  padding: 100px 48px;
  background: var(--acid);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  padding: 48px 40px;
  background: var(--acid);
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 96px);
  color: var(--black);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
  margin-top: 12px;
}

/* =====================
   APPROACH
   ===================== */
.approach-section {
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.approach-title {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.approach-title span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.6em;
  font-weight: 300;
  color: var(--acid);
  letter-spacing: 0;
}

.approach-steps {
  list-style: none;
}

.step-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--dim);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
  transition: border-color 0.3s;
}

.step-item:first-child {
  border-top: 1px solid var(--dim);
}

.step-item:hover {
  border-color: var(--acid);
}

.step-num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--acid);
  padding-top: 4px;
}

.step-title {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =====================
   CTA / CONTACT
   ===================== */
.cta-section {
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--dim);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,255,71,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-pre {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 32px;
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}

.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: var(--off-white);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 48px;
  border: 1px solid var(--off-white);
  transition: all 0.35s;
  cursor: none;
}

.cta-email:hover {
  background: var(--off-white);
  color: var(--black);
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  padding: 32px 48px;
  border-top: 1px solid var(--dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--acid);
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   WORDPRESS CORE
   ===================== */
.wp-block-image,
.wp-caption {
  max-width: 100%;
}

.alignwide {
  margin-left: -24px;
  margin-right: -24px;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =====================
   GENERIC PAGE / POSTS
   ===================== */
.page-content,
.entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 48px 80px;
}

.entry-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  line-height: 0.95;
}

.entry-content p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5em;
}

.entry-content h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 0.02em;
  margin: 2em 0 0.5em;
}

.entry-content h3 {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  margin: 2em 0 0.75em;
}

.entry-content a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .numbers-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 20px 24px;
  }
  .main-navigation {
    display: none;
  }
  .hero-section {
    padding: 0 24px 48px;
  }
  .hero-sub-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-section {
    padding: 80px 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .numbers-section {
    padding: 60px 24px;
    grid-template-columns: 1fr 1fr;
  }
  .approach-section {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 60px;
  }
  .cta-section {
    padding: 80px 24px;
  }
  .site-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 32px 24px;
  }
  body {
    cursor: auto;
  }
  .cursor,
  .cursor-ring {
    display: none;
  }
}
