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

:root {
  --bg: #140606;
  --bg-2: #1C0A0A;
  --card: #241010;
  --card-2: #2E1414;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,120,80,0.22);
  --white: #FFF3EE;
  --slate: #D6A89C;
  --muted: #8C6056;
  --red: #FF3B30;
  --ember: #FF5A1F;
  --orange: #FF7A18;
  --amber: #FFB020;
  --glow: rgba(255,90,31,0.5);
  --grad: linear-gradient(120deg, #FF3B30, #FF7A18, #FFB020);
  --grad-2: linear-gradient(120deg, #FF3B30, #FF7A18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --fd: 'Space Grotesk', system-ui, sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--bg); color: var(--white); line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--ember); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(20,6,6,0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--grad-2); display: grid; place-items: center; box-shadow: 0 0 18px var(--glow); }
.brand-mark svg { width: 18px; height: 18px; }
.brand .dotme { color: var(--ember); }
.nav { display: none; }
.nav ul { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--slate); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad-2); color: #fff; }
.btn-grad:hover { box-shadow: 0 12px 30px var(--glow); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ember); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }
@media (min-width: 900px) { .nav { display: block; } .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { flex-direction: column; padding: 10px 0; }
.mobile-nav a { display: block; padding: 12px 22px; color: var(--slate); font-weight: 500; }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 92px 80px; }
.hero::before { content: ""; position: absolute; top: -25%; left: 50%; transform: translateX(-50%); width: 1000px; height: 700px; background: radial-gradient(ellipse, rgba(255,90,31,.28), rgba(255,59,48,.08) 38%, transparent 64%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -40%; right: -10%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,176,32,.16), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; max-width: 760px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; font-size: 13px; color: var(--slate); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.hero h1 { font-family: var(--fd); font-size: clamp(40px, 8vw, 82px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: clamp(16px, 2.4vw, 20px); color: var(--slate); max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; }
.hstat .n { font-family: var(--fd); font-size: 32px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.hstat .l { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Section */
.section { padding-block: 80px; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--fm); font-size: 13px; color: var(--ember); margin-bottom: 12px; }
.section-title { font-family: var(--fd); font-size: clamp(28px, 4.5vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.section-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 17px; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 880px) { .about { grid-template-columns: 1fr 1.3fr; } }
.about-visual { aspect-ratio: 1/1; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 0 60px rgba(255,90,31,.15); }
.about-visual svg { width: 100%; height: 100%; }
.about-text p { font-size: 16.5px; color: var(--slate); margin-bottom: 16px; }
.about-text strong { color: var(--white); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-tags span { font-family: var(--fm); font-size: 12px; color: var(--slate); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 5px 11px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s, background .2s; position: relative; overflow: hidden; }
.svc::after { content: ""; position: absolute; top: -50px; right: -50px; width: 140px; height: 140px; border-radius: 50%; background: var(--grad-2); opacity: .1; filter: blur(8px); }
.svc:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.svc-ic { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, rgba(255,59,48,.18), rgba(255,176,32,.16)); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 25px; margin-bottom: 18px; position: relative; }
.svc h3 { font-family: var(--fd); font-size: 19px; font-weight: 600; margin-bottom: 8px; position: relative; }
.svc p { font-size: 14px; color: var(--slate); line-height: 1.6; position: relative; }

/* Work */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(255,59,48,.14); }
.work-media { aspect-ratio: 16/10; overflow: hidden; }
.work-media svg { width: 100%; height: 100%; }
.work-body { padding: 22px; }
.work-cat { font-family: var(--fm); font-size: 12px; color: var(--ember); margin-bottom: 8px; }
.work-body h3 { font-family: var(--fd); font-size: 19px; font-weight: 600; margin-bottom: 7px; }
.work-body p { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* Process / steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-n { font-family: var(--fm); font-size: 13px; color: var(--ember); margin-bottom: 12px; }
.step h4 { font-family: var(--fd); font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--slate); line-height: 1.55; }

/* CTA */
.cta-card { position: relative; overflow: hidden; border-radius: 24px; padding: 76px 32px; text-align: center; border: 1px solid var(--line-2); background: var(--card); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255,90,31,.32), transparent 60%); pointer-events: none; }
.cta-card h2 { position: relative; font-family: var(--fd); font-size: clamp(28px,5vw,48px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-card p { position: relative; color: var(--slate); font-size: 18px; max-width: 46ch; margin: 0 auto 30px; }
.cta-card .hero-actions { position: relative; justify-content: center; }

/* Contact methods */
.contact-methods { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; position: relative; }
.contact-method { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-size: 14px; color: var(--slate); transition: border-color .2s, transform .2s; }
.contact-method:hover { border-color: var(--ember); transform: translateY(-2px); color: var(--white); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 44px 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner p { font-size: 13px; color: var(--muted); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 14px; color: var(--slate); }
.footer-social a:hover { color: var(--ember); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
