/* =============================================
   EddyCreative Theme — Main Stylesheet v2
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Mono:ital,wght@0,300;0,400;1,300&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;1,9..40,300&display=swap');

:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --surface2: #161616;
  --surface3: #1e1e1e;
  --border: rgba(255,255,255,0.06);
  --border-med: rgba(255,255,255,0.11);
  --border-bright: rgba(255,255,255,0.18);
  --text: #eeebe4;
  --text-secondary: #a09d96;
  --muted: #666660;
  --accent: #c8ff5f;
  --accent2: #ff6b35;
  --accent3: #8b5cf6;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --max: 1440px;
  --radius: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; cursor: none; width: 100%; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
body::after {
  content: '';
  position: fixed; top: -30vh; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 60vh;
  background: radial-gradient(ellipse at center, rgba(200,255,95,0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

#ec-cursor {
  width: 10px; height: 10px; background: var(--accent); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  mix-blend-mode: exclusion; transform: translate(-50%,-50%);
  transition: width .25s cubic-bezier(.16,1,.3,1), height .25s cubic-bezier(.16,1,.3,1);
}
#ec-cursor.big  { width: 52px; height: 52px; }
#ec-cursor.link { width: 36px; height: 36px; opacity: .7; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 max(1.25rem, var(--gutter)); position: relative; }
section { position: relative; z-index: 1; }

/* NAV */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 290;
  padding: 1.25rem var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  transition: all .4s;
}
.site-header::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(8,8,8,0); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .4s, backdrop-filter .4s, border-color .4s; z-index: -1;
}
.site-header.scrolled::before {
  background: rgba(8,8,8,0.78); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-color: var(--border);
}
.site-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--text); position: relative; z-index: 1; }
.site-logo span { color: var(--accent); }
.main-nav ul { display: flex; gap: 2.5rem; list-style: none; }
.main-nav a { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; transition: color .2s; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .25s cubic-bezier(.16,1,.3,1); }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav .current-menu-item a::after { width: 100%; }
.main-nav .current-menu-item a { color: var(--text); }
.nav-cta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bg) !important; background: var(--accent); padding: .55rem 1.3rem; border-radius: 999px; font-weight: 500; transition: transform .2s, box-shadow .2s; position: relative; z-index: 1; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(200,255,95,0.25); }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding-top: 6rem; padding-left: var(--gutter); padding-right: var(--gutter); max-width: var(--max); margin-left: auto; margin-right: auto; }
.hero-left { padding: 4rem 0; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(200,255,95,0.18); background: rgba(200,255,95,0.05); padding: .4rem 1rem .4rem .6rem; border-radius: 999px; margin-bottom: 2rem; backdrop-filter: blur(8px); }
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 0 0 rgba(200,255,95,.4); } 50% { opacity:.7; transform:scale(.8); box-shadow:0 0 0 6px rgba(200,255,95,0); } }

.hero-headline { font-family: var(--font-display); font-size: clamp(2.4rem, 8vw, 7rem); font-weight: 800; line-height: .95; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.hero-headline .line { display: block; }
.hero-headline .accent-text { color: var(--accent); }
.hero-headline .stroke-text { -webkit-text-stroke: 1px rgba(240,237,232,.2); color: transparent; }
.hero-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; max-width: 420px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: .55rem; background: var(--accent); color: var(--bg); font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .05em; padding: .85rem 1.8rem; border-radius: 999px; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,255,95,.22); }
.btn-ghost { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .05em; transition: color .2s, border-color .2s; border: 1px solid var(--border); padding: .85rem 1.8rem; border-radius: 999px; backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-med); }

.hero-stats { display: flex; gap: 3rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.stat-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }

.hero-right { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero-photo-wrap { width: 100%; max-width: 460px; position: relative; }
.hero-photo-frame { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-med); position: relative; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(15%) contrast(1.08); transition: filter .5s, transform .6s cubic-bezier(.25,.46,.45,.94); }
.hero-photo-frame:hover img { filter: grayscale(0%) contrast(1); transform: scale(1.02); }
.hero-photo-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.65) 0%, rgba(8,8,8,.1) 50%, transparent 100%); pointer-events: none; }
.hero-photo-badge { position: absolute; bottom: -1.25rem; left: 0; background: var(--accent); color: #080808; border-radius: var(--radius); padding: 1rem 1.25rem; font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: -0.02em; line-height: 1.2; z-index: 2; box-shadow: 0 12px 40px rgba(200,255,95,.2), 0 4px 16px rgba(0,0,0,.4); }
.hero-photo-badge span { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: .25rem; }
.hero-float-tag { position: absolute; top: 2.5rem; right: -2rem; background: rgba(15,15,15,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-med); border-radius: 999px; padding: .55rem 1.1rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-secondary); white-space: nowrap; }
.hero-grid-lines { position: absolute; inset: -10%; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 60px 60px; z-index: -1; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%); }

/* MARQUEE */
.marquee-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1rem 0; overflow: hidden; background: var(--surface); margin: 4rem 0; position: relative; z-index: 1; }
.marquee-strip::before, .marquee-strip::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-strip::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.marquee-track { display: flex; gap: 3rem; animation: marquee 30s linear infinite; white-space: nowrap; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.marquee-sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; flex-shrink: 0; opacity: .6; }

/* SECTION HEADERS */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap; }
.section-eyebrow { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: .95; }
.section-desc { font-size: .95rem; color: var(--text-secondary); max-width: 340px; line-height: 1.7; }
.view-all { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: .5rem 1rem; border-radius: 999px; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.view-all:hover { color: var(--text); border-color: var(--border-med); background: var(--surface); }

/* PORTFOLIO GRID */
.portfolio-section { margin-bottom: 7rem; }
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }

.project-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); cursor: none; transition: border-color .4s, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; color: var(--text); display: block; }
.project-card:hover { border-color: var(--border-bright); transform: translateY(-6px); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(200,255,95,.04); }
.project-card:hover .card-img-wrap img { transform: scale(1.06); filter: brightness(1.05); }
.project-card:hover .card-overlay { opacity: 1; }
.project-card:hover .card-arrow { transform: translate(3px,-3px); }

.card-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.04) 50%, transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 3; }
.project-card:hover .card-shine { opacity: 1; }

.card-img-wrap { overflow: hidden; width: 100%; position: relative; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.25,.46,.45,.94), filter .4s; }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.7) 0%, transparent 60%); display: flex; align-items: flex-end; justify-content: flex-end; padding: 1.25rem; opacity: 0; transition: opacity .35s; }
.card-overlay-icon { width: 44px; height: 44px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--bg); font-size: 1.1rem; box-shadow: 0 8px 24px rgba(200,255,95,.3); }

.card-body { padding: 1.4rem; }
.card-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; padding: .22rem .65rem; border-radius: 999px; border: 1px solid var(--border-med); color: var(--muted); }
.tag.accent { border-color: rgba(200,255,95,.25); color: var(--accent); background: rgba(200,255,95,.05); }
.tag.warm   { border-color: rgba(255,107,53,.25); color: var(--accent2); background: rgba(255,107,53,.05); }
.tag.purple { border-color: rgba(139,92,246,.25); color: var(--accent3); background: rgba(139,92,246,.05); }

.card-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .4rem; line-height: 1.2; }
.card-sub { font-size: .86rem; color: var(--text-secondary); line-height: 1.55; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.card-year { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.card-arrow { font-size: 1rem; transition: transform .25s; color: var(--accent); }

.pc-featured { grid-column: span 8; }
.pc-tall     { grid-column: span 4; }
.pc-wide     { grid-column: span 6; }
.pc-full     { grid-column: span 12; }
.pc-featured .card-img-wrap { height: 400px; }
.pc-tall .card-img-wrap     { height: 500px; }
.pc-wide .card-img-wrap     { height: 300px; }
.pc-full .card-img-wrap     { height: 360px; }

/* SERVICES */
.services { margin-bottom: 7rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: border-color .4s, background .3s, transform .3s, box-shadow .3s; cursor: none; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,255,95,.2), transparent); opacity: 0; transition: opacity .4s; }
.service-card:hover { border-color: var(--border-med); background: var(--surface2); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.service-icon.green  { background: rgba(200,255,95,.07); border-color: rgba(200,255,95,.12); }
.service-icon.orange { background: rgba(255,107,53,.07); border-color: rgba(255,107,53,.12); }
.service-icon.purple { background: rgba(139,92,246,.07); border-color: rgba(139,92,246,.12); }
.service-icon.blue   { background: rgba(56,189,248,.07); border-color: rgba(56,189,248,.12); }
.service-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: .65rem; }
.service-desc  { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }
.service-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.pill { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: .18rem .55rem; border-radius: 4px; }

/* ABOUT */
.about { margin-bottom: 7rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-med); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(10%) contrast(1.05); transition: transform .7s cubic-bezier(.25,.46,.45,.94), filter .5s; }
.about-img:hover img { transform: scale(1.03); filter: grayscale(0%); }
.about-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.5) 0%, transparent 60%); pointer-events: none; }
.about-floating-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--accent); color: var(--bg); border-radius: var(--radius); padding: 1.25rem 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: -0.01em; line-height: 1.3; box-shadow: 0 20px 60px rgba(200,255,95,.2); }
.about-floating-badge span { display: block; font-family: var(--font-mono); font-size: .6rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: .25rem; }
.about-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; }
.about-desc  { font-size: .95rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.25rem; }
.skills-wrap { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2rem; }
.skill-chip { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; padding: .4rem .9rem; border: 1px solid var(--border-med); border-radius: 999px; color: var(--text-secondary); background: var(--surface); transition: border-color .2s, color .2s, background .2s; }
.skill-chip:hover { border-color: rgba(200,255,95,.3); color: var(--accent); background: rgba(200,255,95,.05); }

/* CLIENTS */
.clients { margin-bottom: 7rem; }
.clients-row { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; padding: 2.5rem 3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.clients-row::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(200,255,95,.02) 0%, transparent 60%); pointer-events: none; }
.client-logo { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--muted); opacity: .4; transition: opacity .3s, color .3s; cursor: none; }
.client-logo:hover { opacity: 1; color: var(--text); }

/* BLOG */
.blog-section { margin-bottom: 7rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: none; transition: border-color .4s, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; color: var(--text); display: block; }
.blog-card:hover { border-color: var(--border-med); transform: translateY(-5px); box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-img { overflow: hidden; height: 220px; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.blog-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.4) 0%, transparent 60%); pointer-events: none; }
.blog-img-placeholder { width: 100%; height: 220px; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.blog-body { padding: 1.4rem; }
.blog-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: .75rem; }
.blog-cat { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(200,255,95,.18); background: rgba(200,255,95,.05); padding: .2rem .6rem; border-radius: 999px; }
.blog-date { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }
.blog-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .45rem; line-height: 1.3; }
.blog-excerpt { font-size: .86rem; color: var(--text-secondary); line-height: 1.6; }
.blog-read-more { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 1rem; transition: gap .2s; }
.blog-card:hover .blog-read-more { gap: .7rem; }

/* SINGLE POST / PAGE */
.page-header {
  padding: 9rem max(1.5rem, var(--gutter)) 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}
.page-header.container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,255,95,.04) 0%, transparent 70%); pointer-events: none; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; line-height: .95; margin-bottom: 1.5rem; position: relative; }
.post-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; position: relative; }
.post-meta-item { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

/* ── PORTFOLIO GALLERY ── */
.portfolio-gallery { margin: 2.5rem 0 3rem; }
.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
}
.portfolio-gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.portfolio-gallery-thumb:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.portfolio-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.portfolio-gallery-thumb:hover img { transform: scale(1.07); }
.portfolio-gallery-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s; pointer-events: none; }
.portfolio-gallery-thumb:hover::after { background: rgba(200,255,95,.06); }

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.gallery-lightbox.open { opacity: 1; pointer-events: all; }
.gallery-lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); cursor: none; }
.gallery-lb-inner {
  position: relative; z-index: 1;
  max-width: 1100px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.gallery-lb-img-wrap {
  width: 100%; max-height: 75vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-med);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
}
.gallery-lb-img-wrap img { max-width: 100%; max-height: 75vh; object-fit: contain; display: block; }
.gallery-lb-counter { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.gallery-lb-nav {
  display: flex; gap: 1rem; align-items: center;
}
.gallery-lb-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border-med);
  display: flex; align-items: center; justify-content: center;
  cursor: none; color: var(--text-secondary); font-size: 1.1rem;
  transition: background .2s, border-color .2s, color .2s;
}
.gallery-lb-btn:hover { background: var(--surface3); border-color: var(--border-bright); color: var(--text); }
.gallery-lb-close {
  position: absolute; top: -1rem; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border-med);
  display: flex; align-items: center; justify-content: center;
  cursor: none; color: var(--muted); font-size: .9rem;
  transition: color .2s, border-color .2s;
}
.gallery-lb-close:hover { color: var(--text); border-color: var(--border-bright); }

/* ── PORTFOLIO FILTER ── */
.portfolio-filter {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  cursor: none; transition: color .2s, border-color .2s, background .2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-med); }
.filter-btn.active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

/* ── PORTFOLIO THUMBNAIL GRID ── */
.projects-grid-even {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.projects-grid-even .project-card { grid-column: span 1; }
.projects-grid-even .card-img-wrap { height: 200px; }
.projects-grid-even .card-body { padding: 1rem; }
.projects-grid-even .card-title { font-size: 1rem; }
.projects-grid-even .card-sub { display: none; }
.projects-grid-even .card-tags { margin-bottom: .6rem; }
.projects-grid-even .card-footer { margin-top: .8rem; padding-top: .8rem; }

.project-card.hidden { display: none; }
.project-card.filter-fade { animation: filterIn .35s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes filterIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.entry-content { max-width: 760px; margin: 0 auto 6rem; font-size: 1.05rem; line-height: 1.85; }
.entry-content p { margin-bottom: 1.5rem; color: var(--text-secondary); }
.entry-content h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin: 3rem 0 1rem; color: var(--text); }
.entry-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--text); }
.entry-content img { border-radius: var(--radius); border: 1px solid var(--border); margin: 2rem 0; width: 100%; }
.entry-content a { color: var(--accent); border-bottom: 1px solid rgba(200,255,95,.25); }
.entry-content a:hover { border-color: var(--accent); }
.entry-content ul, .entry-content ol { margin: 1.5rem 0 1.5rem 1.5rem; }
.entry-content li { margin-bottom: .5rem; color: var(--text-secondary); }
.entry-content blockquote { border-left: 2px solid var(--accent); padding: 1.2rem 0 1.2rem 2rem; margin: 2.5rem 0; font-style: italic; color: var(--text-secondary); font-size: 1.1rem; background: rgba(200,255,95,.02); border-radius: 0 var(--radius) var(--radius) 0; }
.entry-content code { font-family: var(--font-mono); font-size: .85em; background: var(--surface2); border: 1px solid var(--border); padding: .1em .4em; border-radius: 4px; color: var(--accent); }

/* SINGLE PORTFOLIO */
.portfolio-single-hero { padding-top: 7rem; margin-bottom: 4rem; }
.portfolio-hero-img { width: 100%; max-height: 60vh; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-med); }
.portfolio-single-body { display: grid; grid-template-columns: 1fr 300px; gap: 5rem; margin-bottom: 6rem; align-items: start; }
.portfolio-meta-sidebar { position: sticky; top: 7rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.portfolio-meta-row { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.portfolio-meta-row:last-of-type { border-bottom: none; margin-bottom: 1.5rem; }
.portfolio-meta-label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.portfolio-meta-value { font-size: .95rem; color: var(--text); }

/* CONTACT PAGE */
.contact-page { padding-top: 2rem; margin-bottom: 6rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info { position: sticky; top: 7rem; }
.contact-info-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 1.25rem; }
.contact-info-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-links { display: flex; flex-direction: column; gap: .8rem; }
.contact-link { display: flex; align-items: center; gap: .75rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; color: var(--text-secondary); padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); transition: color .2s, border-color .2s, background .2s; }
.contact-link:hover { color: var(--text); border-color: var(--border-med); background: var(--surface); }
.contact-link-icon { font-size: .9rem; opacity: .6; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; position: relative; overflow: hidden; }
.contact-form-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,255,95,.25), transparent); }

.ec-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-textarea { background: var(--surface2); border: 1px solid var(--border-med); border-radius: var(--radius); padding: .85rem 1rem; font-family: var(--font-body); font-size: .95rem; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; outline: none; width: 100%; }
.form-input:focus, .form-textarea:focus { border-color: rgba(200,255,95,.4); background: rgba(200,255,95,.02); box-shadow: 0 0 0 3px rgba(200,255,95,.06); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-select { background: var(--surface2); border: 1px solid var(--border-med); border-radius: var(--radius); padding: .85rem 1rem; font-family: var(--font-body); font-size: .95rem; color: var(--text); outline: none; width: 100%; transition: border-color .2s; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666660' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-select option { background: #161616; }
.form-select:focus { border-color: rgba(200,255,95,.4); }
.form-submit { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: var(--accent); color: var(--bg); font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 1rem 2.5rem; border-radius: 999px; border: none; cursor: none; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; margin-top: .5rem; align-self: flex-start; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,255,95,.22); }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .05em; display: none; }
.form-status.success { background: rgba(200,255,95,.08); border: 1px solid rgba(200,255,95,.2); color: var(--accent); display: block; }
.form-status.error   { background: rgba(255,107,53,.08); border: 1px solid rgba(255,107,53,.2); color: var(--accent2); display: block; }

/* CTA */
.contact-cta { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius-lg) * 1.5); padding: clamp(3rem, 6vw, 6rem); text-align: center; margin-bottom: 4rem; position: relative; overflow: hidden; }
.contact-cta::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 70vw; height: 60vh; background: radial-gradient(ellipse, rgba(200,255,95,.05) 0%, transparent 70%); pointer-events: none; }
.cta-title { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6rem); font-weight: 800; letter-spacing: -0.04em; line-height: .93; margin-bottom: 1.5rem; position: relative; }
.cta-desc { font-size: 1rem; color: var(--text-secondary); max-width: 440px; margin: 0 auto 2.5rem; line-height: 1.75; position: relative; }
.cta-email { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; transition: opacity .2s; display: block; margin-bottom: 2rem; position: relative; }
.cta-email:hover { opacity: .7; }

/* FOOTER */
.site-footer { padding: 3rem 0; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; color: var(--text); }
.footer-logo span { color: var(--accent); }
.footer-nav ul { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .04em; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .45s; }

/* PAGINATION */
.pagination { display: flex; gap: .5rem; justify-content: center; margin: 3rem 0; }
.pagination a, .pagination span { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; padding: .5rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); transition: color .2s, border-color .2s; }
.pagination a:hover, .pagination .current { color: var(--text); border-color: var(--border-med); }
.pagination .current { background: var(--surface2); }

.no-posts-placeholder { background: var(--surface); border: 1px dashed var(--border-med); border-radius: var(--radius-lg); padding: 4rem; text-align: center; }
.no-posts-placeholder p { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.no-posts-placeholder a { color: var(--accent); }


/* ── HAMBURGER / MOBILE NAV ── */
.nav-hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  padding: 10px;
  cursor: pointer;
  z-index: 300;
  position: relative;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s, width .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.16,1,.3,1);
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.mobile-nav li {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1);
}
.mobile-nav li:first-child { border-top: 1px solid var(--border); }
.mobile-nav.open li { opacity: 1; transform: translateY(0); }
.mobile-nav.open li:nth-child(1) { transition-delay: .08s; }
.mobile-nav.open li:nth-child(2) { transition-delay: .14s; }
.mobile-nav.open li:nth-child(3) { transition-delay: .20s; }
.mobile-nav.open li:nth-child(4) { transition-delay: .26s; }
.mobile-nav.open li:nth-child(5) { transition-delay: .32s; }
.mobile-nav li a {
  display: block;
  padding: 1.4rem 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color .2s, padding-left .25s;
}
.mobile-nav li a:hover { color: var(--accent); padding-left: 2.5rem; }

.mobile-nav-footer {
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transition: opacity .4s .4s;
}
.mobile-nav.open .mobile-nav-footer { opacity: 1; }

/* ADMIN BAR */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* RESPONSIVE */

/* Tablet landscape: 900px–1200px — two-col hero still works, just tighter */
@media (max-width: 1200px) {
  .hero { gap: 2.5rem; }
  .hero-float-tag { display: none; }
  .projects-grid-even { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet portrait: hero goes single column */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
    padding-left: max(1.5rem, 4vw);
    padding-right: max(1.5rem, 4vw);
    gap: 3rem;
  }
  .hero-left { padding: 2rem 0 0; }
  .hero-right { height: auto; }
  .hero-photo-wrap { max-width: 320px; margin: 0 auto; padding-bottom: 1.75rem; }
  .hero-float-tag { display: none; }
  .hero-headline { font-size: clamp(2.6rem, 6vw, 4.5rem); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pc-featured, .pc-tall, .pc-wide { grid-column: span 12; }
  .pc-featured .card-img-wrap, .pc-tall .card-img-wrap, .pc-wide .card-img-wrap { height: 260px; }
  .portfolio-single-body { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-meta-sidebar { position: relative; top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { position: relative; top: 0; }
  .projects-grid-even { grid-template-columns: repeat(3, 1fr); }
  .portfolio-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* Show hamburger from 768px down */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex !important; }
  body { cursor: auto; }
  #ec-cursor { display: none; }
  .site-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-header { padding: 6rem 1.25rem 2rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .marquee-strip { margin: 2.5rem 0; }
  .clients-row { gap: 1.5rem; padding: 1.5rem; }
  .cta-title { font-size: clamp(2.2rem, 8vw, 4rem); }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid-even { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: hide photo, tighten hero text */
@media (max-width: 600px) {
  .hero {
    padding-top: 5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 3rem;
    gap: 0;
    min-height: auto;
  }
  .hero-left { padding: 1.5rem 0 0; }
  .hero-right { display: none; }
  .hero-headline { font-size: clamp(2rem, 10vw, 3.2rem); line-height: 1; margin-bottom: 1rem; }
  .hero-badge { font-size: .65rem; margin-bottom: 1.25rem; }
  .hero-desc { font-size: .9rem; margin-bottom: 1.75rem; max-width: 100%; }
  .hero-actions { gap: .6rem; }
  .hero-actions .btn-ghost { display: none; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.75rem; padding-top: 1.25rem; }
  .hero-stats .stat-num { font-size: 1.4rem; }
  .projects-grid-even { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .hero-headline { font-size: clamp(1.7rem, 10.5vw, 2.4rem); letter-spacing: -0.02em; }
  .projects-grid-even { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: .6rem; }
}
