/*
Theme Name: Scoy Agency
Theme URI: https://scoyagency.com
Author: Scoy Agency
Author URI: https://scoyagency.com
Version: 1.1.1
Description: Scoy Agency marketing site — dark editorial luxury, navy/cream/gold palette, motion-rich, single-page. Built from a Claude Design handoff.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://scoyagency.com
Text Domain: scoy-agency
Tags: one-column, dark-style, custom-colors, custom-logo, custom-menu
*/

:root {
  --navy: #0B111E;
  --navy-2: #0F1624;
  --cream: #FEECDA;
  --cream-dim: #E7D8C4;
  --gold: #8B6D48;
  --gold-2: #B48A5A;
  --slate: #7886A1;
  --line: rgba(254,236,218,0.12);
  --line-2: rgba(254,236,218,0.22);
  --sans: "Neue Haas Grotesk Display", "PP Neue Montreal", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--navy); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.4; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  /* scoy.js early-returns under reduced motion and never adds .in, so force reveal targets visible. */
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; color: inherit; background: transparent; border: none; cursor: pointer; }

/* ============ Layout ============ */
.shell { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .shell { padding: 0 24px; } }

/* ============ Type ============ */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.eyebrow-cream { color: var(--cream); opacity: 0.65; }
.h-display { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em; color: var(--cream); }
.h-display em { font-style: italic; color: var(--gold-2); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.h1 em { font-style: italic; color: var(--gold-2); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-family: var(--sans); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.body-lg { font-size: 20px; line-height: 1.5; color: var(--cream-dim); }
.body { font-size: 16px; line-height: 1.55; color: var(--cream-dim); }
.body-muted { color: var(--slate); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: 0; transition: all .25s cubic-bezier(.22,1,.36,1); cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--cream); color: var(--navy); }
.btn-primary:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(254,236,218,0.04); }
.btn-arrow { font-size: 15px; }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(11,17,30,0.55); border-bottom: 1px solid transparent; transition: background .35s ease, border-color .35s ease; }
.nav.is-scrolled { background: rgba(11,17,30,0.85); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 17px; }
.nav-brand .mark { width: 28px; height: 28px; filter: brightness(0) invert(94%) sepia(9%) saturate(397%) hue-rotate(320deg) brightness(106%) contrast(102%); }
.nav-brand .wordmark { height: 18px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--cream); opacity: 0.8; }
.nav-links a { transition: opacity .2s; }
.nav-links a:hover { opacity: 0.6; }
@media (max-width: 780px) { .nav-links { display: none; } }

/* ============ Hero ============ */
.hero { position: relative; padding: 96px 0 120px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg .hero-media { position: absolute; top: 0; right: -8%; width: 72%; height: 100%; object-fit: cover; object-position: center right; opacity: 0.85; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(60% 80% at 70% 45%, #000 35%, transparent 75%); mask-image: radial-gradient(60% 80% at 70% 45%, #000 35%, transparent 75%); filter: contrast(1.05) saturate(0.6); animation: heroFloat 14s ease-in-out infinite alternate; }
@keyframes heroFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1.02); }
  50%  { transform: translate3d(-1.5%, -1%, 0) scale(1.04); }
  100% { transform: translate3d(1%, 1.5%, 0) scale(1.02); }
}
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 30% 30%, rgba(180,138,90,0.22), transparent 60%), radial-gradient(40% 50% at 80% 70%, rgba(120,134,161,0.12), transparent 60%); animation: glowDrift 16s ease-in-out infinite alternate; }
@keyframes glowDrift {
  0%   { opacity: 0.85; transform: translate3d(0, 0, 0); }
  50%  { opacity: 1;    transform: translate3d(2%, -1%, 0); }
  100% { opacity: 0.9;  transform: translate3d(-1%, 1.5%, 0); }
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(254,236,218,0.07) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 70%); }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,17,30,0.85) 38%, rgba(11,17,30,0.2) 70%, rgba(11,17,30,0.6) 100%), linear-gradient(180deg, transparent 60%, var(--navy) 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px var(--gold-2); }
.hero h1 { max-width: 14ch; margin-bottom: 0; }
.hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; margin-top: 80px; align-items: start; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; } }
.hero-sub { max-width: 520px; }
/* Push the "Today at Scoy" card lower within the hero (desktop only) */
@media (min-width: 901px) { .hero-row > .hero-sub:last-child { margin-top: 120px; } }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; }
.hero-strip { margin-top: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-strip > div { padding: 28px 24px; border-right: 1px solid var(--line); }
.hero-strip > div:last-child { border-right: none; }
.hero-strip .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--cream); letter-spacing: -0.02em; }
.hero-strip .l { margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 720px) { .hero-strip { grid-template-columns: repeat(2, 1fr); } .hero-strip > div:nth-child(2) { border-right: none; } }

/* ============ Marquee ============ */
.marquee { padding: 24px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; gap: 56px; animation: drift 42s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: var(--serif); font-size: 28px; color: var(--cream); opacity: 0.5; font-style: italic; }
.marquee-track span::before { content: "✦"; margin-right: 56px; color: var(--gold); font-style: normal; font-size: 14px; vertical-align: middle; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
section { position: relative; }
.section { padding: 140px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-head .eyebrow { margin-bottom: 20px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 32px; } .section { padding: 96px 0; } }

/* ============ Services ============ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.service { background: var(--navy); padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 20px; min-height: 320px; transition: background .35s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); position: relative; }
.service::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 100% 0%, rgba(180,138,90,0.14), transparent 70%); opacity: 0; transition: opacity .4s ease; }
.service:hover { background: var(--navy-2); }
.service:hover::after { opacity: 1; }
.service-num { font-family: var(--serif); font-size: 14px; color: var(--gold); font-style: italic; letter-spacing: 0.05em; transition: color .3s; }
.service:hover .service-num { color: var(--gold-2); }
.service-icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--gold-2); transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .3s, color .3s; }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.06); border-color: var(--gold-2); color: var(--cream); }
.service-head { display: flex; justify-content: space-between; align-items: flex-start; }

/* ============ Reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal-stagger.in > * { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.service h3 { font-family: var(--serif); font-size: 28px; line-height: 1.05; color: var(--cream); font-weight: 400; letter-spacing: -0.01em; }
.service p { font-size: 14px; color: var(--slate); line-height: 1.55; flex: 1; }
.service-link { font-size: 13px; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; opacity: 0; transform: translateY(4px); transition: .25s cubic-bezier(.22,1,.36,1); }
.service:hover .service-link { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ============ Approach (process) ============ */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; gap: 48px; } }
.approach-vis { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; margin: 0 auto; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--gold); stroke-width: 0.6; stroke-dasharray: 4 6; opacity: 0.7; }
.orbit-ring-2 { stroke: var(--line-2); stroke-dasharray: none; stroke-width: 0.5; opacity: 0.5; }
.orbit-ring-3 { stroke: var(--line); stroke-dasharray: none; stroke-width: 0.5; opacity: 0.4; }
.orbit-rotor { transform-origin: 260px 260px; animation: spin 36s linear infinite; }
.orbit-rotor-2 { transform-origin: 260px 260px; animation: spin 60s linear infinite reverse; }
.orbit-rotor-3 { transform-origin: 260px 260px; animation: spin 90s linear infinite; }
.orbit-node circle { fill: var(--cream); filter: drop-shadow(0 0 6px rgba(180,138,90,0.7)); }
.orbit-trail { fill: none; stroke: rgba(180,138,90,0.55); stroke-width: 1.4; stroke-linecap: round; }
.orbit-pulse { transform-origin: 260px 260px; animation: pulse 4.5s ease-in-out infinite; }
.orbit-labels text { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 1.6px; fill: var(--cream); opacity: 0.85; text-anchor: middle; }
.orbit-labels .tick { stroke: var(--gold); stroke-width: 0.6; opacity: 0.6; }
.ring-core { position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle, rgba(180,138,90,0.32), transparent 70%); filter: blur(20px); animation: breathe 5s ease-in-out infinite; }
.ring-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.ring-label .big { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 56px); font-style: italic; color: var(--cream); line-height: 1; letter-spacing: -0.01em; }
.ring-label .small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.approach-list { display: flex; flex-direction: column; }
.approach-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.approach-item:last-child { border-bottom: 1px solid var(--line); }
.approach-item .k { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.approach-item .t { font-family: var(--serif); font-size: 26px; color: var(--cream); line-height: 1.1; margin-bottom: 8px; letter-spacing: -0.01em; }
.approach-item .d { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* ============ Case / Showcase ============ */
.showcase { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.case-card { position: relative; border-radius: 20px; overflow: hidden; min-height: 420px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); }
.case-card .bg { position: absolute; inset: 0; z-index: 0; opacity: 0.65; background-size: cover; background-position: center; }
.case-card .content { position: relative; z-index: 1; }
.case-card .scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,17,30,0.2) 0%, rgba(11,17,30,0.85) 70%, var(--navy) 100%); }
.case-card .meta { display: flex; gap: 24px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.case-card h3 { font-family: var(--serif); font-size: 36px; line-height: 1.02; max-width: 18ch; letter-spacing: -0.015em; }
.case-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.case-stats .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--cream); letter-spacing: -0.02em; }
.case-stats .l { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-top: 6px; }
.case-small { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.case-small .case-card { min-height: 200px; padding: 24px; }
.case-small .case-card h3 { font-size: 24px; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* ============ Testimonial ============ */
.quote { padding: 120px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote q { font-family: var(--serif); font-size: clamp(32px, 4vw, 60px); line-height: 1.05; color: var(--cream); letter-spacing: -0.015em; display: block; max-width: 22ch; quotes: none; }
.quote q::before, .quote q::after { content: ""; }
.quote .attrib { margin-top: 40px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--slate); }
.quote .attrib .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.quote q em { font-style: italic; color: var(--gold-2); }

/* ============ CTA ============ */
.cta { padding: 160px 0; position: relative; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: -5%; background: radial-gradient(40% 60% at 50% 40%, rgba(180,138,90,0.22), transparent 60%); pointer-events: none; animation: ctaGlow 6s ease-in-out infinite alternate; }
@keyframes ctaGlow {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.06); }
}
.cta h2 { position: relative; max-width: 20ch; margin: 0 auto 32px; font-size: clamp(48px, 7vw, 110px); }
.cta p { position: relative; max-width: 50ch; margin: 0 auto 40px; }
.cta .btns { position: relative; display: inline-flex; gap: 12px; }

/* ============ Footer ============ */
.footer { padding: 80px 0 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 500; }
.footer-col a, .footer-col p { font-size: 14px; color: var(--cream-dim); line-height: 1.7; display: block; transition: opacity .2s; }
.footer-col a:hover { opacity: 0.7; }
.footer-brand { display: block; height: 36px; margin-bottom: 20px; }
.footer-brand img { height: 100%; width: auto; display: block; }
.footer-brand-sub { font-size: 14px; color: var(--slate); max-width: 38ch; margin-bottom: 24px; line-height: 1.5; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--cream); transition: all .2s; }
.footer-socials a:hover { border-color: var(--cream); background: rgba(254,236,218,0.06); }
.footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); letter-spacing: 0.05em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 8px; } }

/* ============ Accents ============ */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }

/* subtle noise texture */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.03; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ============ Cursor glow (homepage) ============ */
/* A soft, gold spotlight that follows the pointer. Position is driven by
   --scoy-mx / --scoy-my, set in assets/js/scoy.js. Falls back to a faint
   static glow when JS is off or motion is reduced. Click-through. */
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(600px circle at var(--scoy-mx, 50%) var(--scoy-my, 26%),
    rgba(180, 138, 90, 0.18),
    rgba(180, 138, 90, 0.06) 32%,
    transparent 62%);
}
