/* ═══════════════════════════════════════════════════
   DARBY STUDIOS — Dark Agency Theme
   darbystudios.co.uk
═══════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────── */
:root {
  --bg:        #0a0a0a;
  --bg2:       #111111;
  --bg3:       #161616;
  --bg4:       #1e1e1e;
  --surface:   #1a1a1a;
  --line:      rgba(255,255,255,0.07);
  --line-md:   rgba(255,255,255,0.12);
  --line-lg:   rgba(255,255,255,0.20);

  --white:     #f5f0e8;
  --white2:    #c8c0b4;
  --muted:     #7a7060;
  --dim:       #3a3530;

  --gold:      #c8a050;
  --gold-dk:   #9a7a30;
  --gold-lt:   #e8c070;
  --rust:      #c0470a;

  --border-r:  4px;
  --border-r-lg: 8px;

  --shadow:    0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.7);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: none; }
::selection { background: var(--gold); color: #000; }

/* ── Custom cursor ──────────────────────────────── */
#cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold);
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease),
              background .2s, border-radius .2s, opacity .2s;
  mix-blend-mode: difference;
}
#cursor.hov  { width: 44px; height: 44px; }
#cursor.txt  { width: 2px; height: 28px; border-radius: 1px; background: var(--white); }
#cursor.drag { width: 60px; height: 60px; opacity: .6; }

/* ── Nav ────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line-md); box-shadow: 0 2px 32px rgba(0,0,0,.6); }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white2); }

.nav-cta {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 22px; border: 1px solid var(--line-md); color: var(--white) !important;
  transition: border-color .2s, background .2s, color .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #000 !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--white2);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; inset: 68px 0 0 0; z-index: 499;
  background: var(--bg2); padding: 36px 32px;
  flex-direction: column;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s;
  border-top: 1px solid var(--line);
}
.nav-mobile.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  padding: 18px 0; border-bottom: 1px solid var(--line);
  display: block; transition: color .2s;
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .nav-cta { margin-top: 28px; text-align: center; display: block; padding: 14px; }

/* ── Section base ───────────────────────────────── */
.sec { padding: 120px 60px; }
.sec-sm { padding: 80px 60px; }
.sec-tag {
  display: flex; align-items: center; gap: 12px;
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.sec-tag::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--white); }
h1 { font-size: clamp(48px, 6vw, 96px); font-weight: 900; line-height: .97; letter-spacing: -.03em; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; }
h2 em { font-style: italic; color: var(--gold); }
h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; line-height: 1.15; }
h3 em { font-style: italic; color: var(--gold); }
.lead { font-size: 18px; line-height: 1.75; color: var(--muted); font-weight: 300; max-width: 560px; margin-top: 20px; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; padding: 15px 28px;
  position: relative; overflow: hidden;
  transition: color .25s var(--ease);
  border: 1px solid transparent;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  transform: translateX(-101%); transition: transform .28s var(--ease); z-index: 0;
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn svg { transition: transform .2s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover::before { transform: none; }

.btn-gold { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-gold::before { background: var(--gold-lt); }
.btn-gold:hover { color: #000; }

.btn-outline { color: var(--white); border-color: var(--line-md); }
.btn-outline::before { background: var(--gold); }
.btn-outline:hover { color: #000; border-color: var(--gold); }

.btn-ghost {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line-md); padding-bottom: 3px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white2); }

/* ── Reveal ─────────────────────────────────────── */
.r { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .1s; } .r-d2 { transition-delay: .2s; }
.r-d3 { transition-delay: .3s; } .r-d4 { transition-delay: .4s; }
.r-left { opacity: 0; transform: translateX(-24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.r-left.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 60px 80px; position: relative; overflow: hidden;
  padding-top: 68px;
}

/* grid overlay */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* accent lines */
.hero-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.hero-lines::before {
  content: ''; position: absolute;
  top: 20%; right: -10%; width: 55vw; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: rotate(-8deg); opacity: .3;
}
.hero-lines::after {
  content: ''; position: absolute;
  bottom: 30%; left: -5%; width: 40vw; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-md), transparent);
  transform: rotate(-8deg);
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 32px; position: relative; z-index: 1;
  opacity: 0; animation: slideIn .9s .2s var(--ease) forwards;
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.hero-eyebrow { transform: translateX(-20px); }

.hero-headline {
  position: relative; z-index: 1; margin-bottom: 40px;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp .9s .35s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-sub {
  font-size: 18px; line-height: 1.75; color: var(--muted); font-weight: 300;
  max-width: 500px; margin-bottom: 48px; position: relative; z-index: 1;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .9s .5s var(--ease) forwards;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  position: relative; z-index: 1;
  opacity: 0; animation: fadeUp .9s .65s var(--ease) forwards;
}
.hero-scroll {
  position: absolute; bottom: 36px; right: 60px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp .9s .9s var(--ease) forwards;
}
.hero-scroll-label {
  font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s 1.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: .4; }
}

/* hero marquee strip */
.hero-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(10,10,10,.8); padding: 12px 0; overflow: hidden;
}

/* hero large number */
.hero-num {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  font-family: 'Playfair Display', serif; font-size: clamp(180px, 18vw, 280px);
  font-weight: 900; color: rgba(255,255,255,.02); line-height: 1;
  pointer-events: none; z-index: 0; user-select: none; letter-spacing: -.05em;
}

/* marquee removed — replaced with solid gradient divider in template */

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.service-card {
  background: var(--bg2); padding: 56px 48px;
  position: relative; overflow: hidden;
  transition: background .35s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s var(--ease);
}
.service-card:hover { background: var(--bg3); }
.service-card:hover::before { transform: scaleY(1); }
.service-num {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .2em;
  color: var(--gold); margin-bottom: 28px;
}
.service-card h3 { margin-bottom: 20px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.service-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.service-list li {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); padding-left: 18px; position: relative;
  transition: color .2s;
}
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold-dk); }
.service-card:hover .service-list li { color: var(--muted); }

/* ═══════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════ */
#process { background: var(--bg2); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.proc {
  padding: 44px 36px; border-right: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: background .3s;
}
.proc:last-child { border-right: none; }
.proc::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.proc:hover { background: var(--bg3); }
.proc:hover::after { transform: scaleX(1); }
.proc-num {
  font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 900;
  color: rgba(255,255,255,.04); line-height: 1; margin-bottom: 24px;
  transition: color .3s;
}
.proc:hover .proc-num { color: rgba(200,160,80,.1); }
.proc h4 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--white); }
.proc p { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ═══════════════════════════════════════════════════
   PORTFOLIO PREVIEW (home)
═══════════════════════════════════════════════════ */
.portfolio-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.pcard {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  transition: transform .4s var(--ease);
}
.pcard:hover { transform: scale(.98); }
.pcard-bg {
  position: absolute; inset: 0; z-index: 0;
  transition: transform .5s var(--ease);
}
.pcard:hover .pcard-bg { transform: scale(1.05); }
.pcard-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  transition: opacity .3s;
}
.pcard:hover .pcard-overlay { opacity: .7; }
.pcard-content { position: relative; z-index: 2; }
.pcard-cat {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.pcard h3 { font-size: 24px; color: var(--white); margin-bottom: 0; }
.pcard-arrow {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s, transform .3s;
}
.pcard:hover .pcard-arrow { opacity: 1; transform: none; }
.pc1 .pcard-bg { background: linear-gradient(135deg, #0a1628 0%, #1a2744 60%, #0f3460 100%); }
.pc2 .pcard-bg { background: linear-gradient(135deg, #140800 0%, #6b2800 50%, #c0470a 100%); }
.pc3 .pcard-bg { background: linear-gradient(135deg, #081408 0%, #1a3a1a 50%, #2d5a1b 100%); }
.pc4 .pcard-bg { background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #222 100%); }

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.tcard {
  background: var(--bg2); padding: 44px 36px; position: relative;
  transition: background .3s;
}
.tcard:hover { background: var(--bg3); }
.tcard::before {
  content: '\201C'; font-family: 'Playfair Display', serif; font-size: 100px; font-weight: 900;
  color: rgba(200,160,80,.08); position: absolute; top: -5px; left: 24px; line-height: 1;
}
.tcard-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { width: 12px; height: 12px; fill: var(--gold); flex-shrink: 0; }
.tcard-quote { font-size: 15px; line-height: 1.8; color: var(--muted); font-style: italic; font-weight: 300; margin-bottom: 28px; position: relative; }
.tcard-rule { width: 28px; height: 1px; background: var(--gold); margin-bottom: 18px; }
.tcard-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.tcard-role { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ═══════════════════════════════════════════════════
   ABOUT STRIP
═══════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy { font-size: 17px; line-height: 1.85; color: var(--muted); font-weight: 300; margin-bottom: 20px; }
.about-copy strong { color: var(--white2); font-weight: 500; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 52px; }
.astat { background: var(--bg2); padding: 28px 24px; }
.astat-num { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px; }
.astat-num em { font-style: italic; color: var(--gold); }
.astat-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.skill { margin-bottom: 22px; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-name { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--white2); }
.skill-val { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--gold); }
.skill-track { height: 1px; background: var(--line-md); position: relative; }
.skill-bar { position: absolute; top: 0; left: 0; bottom: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.skill-bar.go { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq-grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.faq-sticky { position: sticky; top: 88px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 16px;
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--white2);
  transition: color .2s; width: 100%; text-align: left;
}
.faq-q:hover { color: var(--white); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .3s;
}
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.faq-icon svg { stroke: var(--muted); transition: stroke .2s; }
.faq-item.open .faq-icon svg { stroke: #000; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }
.faq-a p { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.cdetail {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px; color: var(--muted);
  transition: color .2s;
}
.cdetail:hover { color: var(--gold); }
.cdetail-icon {
  width: 44px; height: 44px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.cdetail:hover .cdetail-icon { border-color: var(--gold); background: rgba(200,160,80,.08); }
.cdetail-icon svg { stroke: var(--muted); transition: stroke .2s; }
.cdetail:hover .cdetail-icon svg { stroke: var(--gold); }
.cdetail-text { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .1em; }

.avail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  padding: 12px 18px; border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.avail-dot { width: 8px; height: 8px; background: #4caf50; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(76,175,80,.15); }
.avail-text { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.avail-text strong { color: var(--white2); font-weight: 500; }

/* Form card */
.form-card { background: var(--bg3); border: 1px solid var(--line); padding: 48px; }

/* progress */
.fp-track { display: flex; gap: 0; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.fp { flex: 1; display: flex; align-items: center; gap: 10px; }
.fp:not(:last-child)::after { content: ''; flex: 1; height: 1px; background: var(--line); margin: 0 8px; }
.fp-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'DM Mono', monospace; font-size: 10px;
  background: var(--bg4); border: 1px solid var(--line-md); color: var(--muted);
  transition: background .25s, border-color .25s, color .25s;
}
.fp.active .fp-dot { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 700; }
.fp.done .fp-dot { background: var(--bg4); border-color: var(--gold-dk); color: var(--gold); }
.fp-label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: color .2s; }
.fp.active .fp-label, .fp.done .fp-label { color: var(--white2); }

/* form steps */
.fstep { display: none; }
.fstep.active { display: block; animation: stepIn .3s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.fstep-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 28px; }
.fstep-title em { font-style: italic; color: var(--gold); }

/* fields */
.fg { position: relative; margin-bottom: 24px; }
.flabel { display: block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.finput, .ftextarea, .fselect {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-md);
  padding: 12px 0; font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--white2); outline: none; resize: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s;
}
.finput::placeholder, .ftextarea::placeholder { color: var(--dim); }
.finput:focus, .ftextarea:focus, .fselect:focus { border-color: var(--gold); }
.ftextarea { min-height: 110px; line-height: 1.6; }
.fselect {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
  padding-right: 28px;
}
.fselect option { background: var(--bg3); color: var(--white2); }
.finput.err, .ftextarea.err, .fselect.err { border-color: #e04040; }
.ferr { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; color: #e04040; margin-top: 6px; display: none; }
.ferr.show { display: block; }

/* service cards */
.scards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.scard {
  padding: 18px 16px; border: 1px solid var(--line);
  background: var(--bg4); transition: border-color .2s, background .2s;
  position: relative;
}
.scard:hover { border-color: var(--line-md); background: var(--bg3); }
.scard.sel { border-color: var(--gold); background: rgba(200,160,80,.05); }
.scard.sel::after { content: '✓'; position: absolute; top: 10px; right: 12px; font-size: 11px; color: var(--gold); font-family: 'DM Mono', monospace; }
.scard-icon { margin-bottom: 10px; }
.scard-title { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.scard-sub { font-size: 11px; color: var(--muted); font-weight: 300; }

/* budget pills */
.bpills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bpill {
  padding: 9px 16px; border: 1px solid var(--line);
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em;
  color: var(--muted); transition: border-color .2s, color .2s, background .2s;
  background: var(--bg4);
}
.bpill:hover { border-color: var(--line-md); color: var(--white2); }
.bpill.sel { border-color: var(--gold); color: var(--gold); background: rgba(200,160,80,.05); }

/* form nav */
.fnav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.fnav-hint { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* global form error */
.fglobal-err {
  display: none; background: rgba(224,64,64,.08); color: #e04040;
  border-left: 2px solid #e04040;
  padding: 14px 18px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em; line-height: 1.6;
  margin-bottom: 20px;
}

/* success */
.fsuccess {
  display: none; text-align: center; padding: 52px 24px;
}
.fsuccess-icon {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(76,175,80,.4); background: rgba(76,175,80,.06);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.fsuccess h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 12px; }
.fsuccess p { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ═══════════════════════════════════════════════════
   PORTFOLIO PAGE
═══════════════════════════════════════════════════ */
.port-filter {
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--line); margin-bottom: 48px; width: fit-content;
}
.pf-btn {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 22px; border-right: 1px solid var(--line); color: var(--muted);
  background: transparent; transition: color .2s, background .2s;
}
.pf-btn:last-child { border-right: none; }
.pf-btn:hover, .pf-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.port-item {
  background: var(--bg2); padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background .3s; display: flex; flex-direction: column;
}
.port-item:hover { background: var(--bg3); }
.port-item-palette { display: flex; gap: 6px; margin-bottom: 20px; }
.palette-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.port-item-cat { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.port-item h3 { font-size: 22px; margin-bottom: 10px; color: var(--white); }
.port-item p { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; flex: 1; margin-bottom: 28px; }
.port-item-services { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.port-tag { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--line-md); color: var(--dim); }
.port-year { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .12em; color: var(--dim); margin-top: auto; }

/* Case study */
.cs-hero { padding: 140px 60px 80px; }
.cs-meta { display: flex; gap: 48px; flex-wrap: wrap; margin: 40px 0; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-meta-item {}
.cs-meta-label { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.cs-meta-val { font-size: 15px; color: var(--white2); }
.cs-body { max-width: 720px; }
.cs-body p { font-size: 16px; line-height: 1.85; color: var(--muted); font-weight: 300; margin-bottom: 20px; }
.cs-palette { display: flex; gap: 12px; margin: 40px 0; }
.cs-swatch { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.cs-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }

/* ═══════════════════════════════════════════════════
   PRICING PAGE
═══════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.price-card {
  background: var(--bg2); padding: 52px 40px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background .3s;
}
.price-card.highlight { background: var(--bg3); }
.price-card.highlight::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold); }
.price-tier { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.price-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 4px; }
.price-note { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.price-tagline { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.price-ideal { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.price-features li::before { content: '✓'; color: var(--gold); flex-shrink: 0; font-family: 'DM Mono', monospace; font-size: 12px; }
.price-excl { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-excl li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--dim); }
.price-excl li::before { content: '×'; color: var(--dim); flex-shrink: 0; font-family: 'DM Mono', monospace; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 2px; }
.addon { background: var(--bg2); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; transition: background .2s; }
.addon:hover { background: var(--bg3); }
.addon-name { font-size: 14px; color: var(--white2); }
.addon-price { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .08em; color: var(--gold); }

/* ═══════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.bcard {
  background: var(--bg2); padding: 40px 36px;
  display: flex; flex-direction: column;
  transition: background .3s; position: relative;
}
.bcard:hover { background: var(--bg3); }
.bcard-tag { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.bcard h3 { font-size: 22px; margin-bottom: 14px; color: var(--white); }
.bcard p { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; flex: 1; margin-bottom: 28px; }
.bcard-meta { display: flex; gap: 16px; align-items: center; margin-top: auto; }
.bcard-date { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--dim); }
.bcard-read { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--dim); }

.post-body { max-width: 720px; }
.post-body p { font-size: 17px; line-height: 1.9; color: var(--muted); font-weight: 300; margin-bottom: 24px; }
.post-body h3 { font-size: 24px; color: var(--white); margin: 40px 0 16px; }
.post-body strong { color: var(--white2); font-weight: 500; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 60px 40px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo svg { height: 40px; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 300; max-width: 240px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.fsoc { width: 36px; height: 36px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.fsoc:hover { border-color: var(--gold); background: rgba(200,160,80,.08); }
.fsoc svg { stroke: var(--muted); transition: stroke .2s; }
.fsoc:hover svg { stroke: var(--gold); }
.footer-col-title { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; font-weight: 300; }
.footer-links a:hover { color: var(--white2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--dim); transition: color .2s; }
.footer-legal a:hover { color: var(--muted); }

/* ═══════════════════════════════════════════════════
   PAGE HEADER (inner pages)
═══════════════════════════════════════════════════ */
.page-header { padding: 140px 60px 80px; border-bottom: 1px solid var(--line); }
.page-header-inner { max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 28px; }
.breadcrumb a { color: var(--dim); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   ERROR PAGES
═══════════════════════════════════════════════════ */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 60px; text-align: center; }
.error-code { font-family: 'Playfair Display', serif; font-size: 140px; font-weight: 900; color: rgba(255,255,255,.03); line-height: 1; margin-bottom: -40px; }
.error-page h2 { margin-bottom: 16px; }
.error-page p { color: var(--muted); margin-bottom: 32px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .port-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .portfolio-preview-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-sticky { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .proc:nth-child(2) { border-right: none; }
  .proc:nth-child(3) { border-top: 1px solid var(--line); }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .sec, .sec-sm { padding: 72px 24px; }
  .hero { padding: 80px 24px 60px; }
  .hero-scroll { display: none; }
  .page-header { padding: 120px 24px 60px; }
  .cs-hero { padding: 120px 24px 60px; }
  .port-grid, .blog-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr 1fr; }
  .scards { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .pcard { aspect-ratio: 3/2; }
}
