/* Tactician Studios LLC — theme taken from tacticianstudios.com */
:root {
  --black: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1e;
  --border: rgba(255, 255, 255, 0.08);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fb923c;
  --orange-glow: rgba(249, 115, 22, 0.3);
  --silver: #c0c0c0;
  --gray: #9ca3af;
  --gray-dark: #71717a;
  --white: #ffffff;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }

/* Animated backdrop (matches current site) */
.background {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192, 192, 192, 0.05) 0%, transparent 50%);
}
.grid {
  position: fixed; inset: -50px; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { transform: translate(50px, 50px); } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; text-decoration: none;
  background: linear-gradient(135deg, var(--silver) 0%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo small { font-size: 0.7em; font-weight: 600; letter-spacing: 1px; }
.site-header .logo { display: flex; align-items: center; gap: 0.7rem; }
.site-header .logo img { height: 40px; width: auto; }
.hero-logo {
  width: min(420px, 80vw); height: auto; margin: 0 auto 2.5rem;
  filter: drop-shadow(0 10px 40px rgba(249, 115, 22, 0.25));
}
.footer-logo img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--gray); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .btn { color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; text-decoration: none; cursor: pointer; font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white); box-shadow: 0 10px 30px var(--orange-glow);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
}
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--white); border-color: rgba(192, 192, 192, 0.25); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-light); }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.9rem; }

/* Hero */
.hero { padding: 7rem 0 6rem; text-align: center; }
.badge {
  display: inline-block; padding: 0.6rem 1.3rem; margin-bottom: 2rem;
  background: rgba(249, 115, 22, 0.1); border: 1px solid var(--orange-glow);
  border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--orange-light);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 800; line-height: 1.08;
  margin: 0 auto 1.5rem; max-width: 900px; letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--white) 0%, var(--orange) 55%, var(--orange-dark) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gray); max-width: 720px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-cities {
  margin-top: 4rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem 2rem;
  color: var(--gray-dark); font-size: 0.9rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-cities span::before { content: "◆"; color: var(--orange); margin-right: 0.6rem; font-size: 0.7em; vertical-align: middle; }

/* Sections */
section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.eyebrow { color: var(--orange); font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 1rem; }
.section-head p { color: var(--gray); font-size: 1.1rem; }

/* Cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--orange-glow); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: rgba(249, 115, 22, 0.1); border: 1px solid var(--orange-glow); color: var(--orange);
}
.icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--gray); }
.card ul { list-style: none; margin-top: 1.25rem; }
.card li { color: var(--silver); padding: 0.35rem 0 0.35rem 1.5rem; position: relative; font-size: 0.95rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }

/* Projects */
.projects { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.project {
  position: relative; overflow: hidden; padding: 1.75rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s;
}
.project::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%); transition: opacity 0.3s; opacity: 0.4;
}
.project:hover { border-color: var(--orange-glow); transform: translateY(-3px); }
.project:hover::after { opacity: 1; }
.project .num { font-size: 0.8rem; font-weight: 700; color: var(--orange); letter-spacing: 1px; }
.project h3 { font-size: 1.15rem; margin: 0.75rem 0 0.5rem; }
.project p { color: var(--gray); font-size: 0.92rem; }

/* Process */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { padding: 1.5rem 0 0; border-top: 2px solid var(--surface-2); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 2.5rem; font-weight: 800; line-height: 1; display: block; margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--silver), var(--orange));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--orange); }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--gray); font-size: 0.95rem; }

/* About / area */
.split { display: grid; gap: 3rem; grid-template-columns: 1.1fr 1fr; align-items: center; }
.split h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 1.25rem; }
.split p { color: var(--gray); margin-bottom: 1rem; font-size: 1.05rem; }
.area-list { list-style: none; display: grid; gap: 1rem; }
.area-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
}
.area-list strong { font-size: 1.1rem; }
.area-list span { color: var(--gray-dark); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.area-list li.home { border-color: var(--orange-glow); background: rgba(249, 115, 22, 0.06); }
.area-list li.home span { color: var(--orange-light); }

/* CTA band */
.cta-band {
  text-align: center; padding: 4rem 2rem; border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.2), transparent 70%), var(--surface);
  border: 1px solid var(--orange-glow);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.5px; }
.cta-band p { color: var(--gray); margin: 0 auto 2rem; max-width: 560px; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr 1.3fr; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-info p { color: var(--gray); margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.info-item .icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.info-item .icon svg { width: 20px; height: 20px; }
.info-item small { color: var(--gray-dark); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.info-item a { text-decoration: none; }
.info-item a:hover { color: var(--orange-light); }

form.card:hover { transform: none; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; color: var(--silver); margin-bottom: 0.4rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px; font: inherit; color: var(--white);
  background: var(--black); border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
.form-note { color: var(--gray-dark); font-size: 0.85rem; margin-top: 0.75rem; }

/* Footer */
footer { padding: 3rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--gray-dark); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

/* Reveal on scroll */
/* Content is visible by default; it only animates in when script.js is running */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10, 10, 10, 0.97); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; }
  .nav-links .btn { margin: 0.5rem auto 1.25rem; display: inline-block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4.5rem 0; }
  .hero { padding: 4.5rem 0; }
}
