:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --text: #f0f0f0;
  --muted: #888888;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #facc15;
  --accent-strong: #eab308;
  --accent-soft: rgba(250, 204, 21, 0.15);
  --shell: min(1200px, calc(100vw - 40px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; cursor: none; }

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%27256 256%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27noiseFilter%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.9%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23noiseFilter)%27/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  z-index: 9999;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 24px 0 60px;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-links a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 80px;
}

.hero-copy { display: flex; flex-direction: column; gap: 20px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0;
}

h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 14ch;
  min-height: 2.6em;
}

.typing-text { color: var(--text); }
.cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  max-width: 54ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.button.primary {
  background: var(--accent);
  color: #0a0a0a;
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
}

.button:hover { transform: translateY(-2px); }

.hero-visual {
  border: 2px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(110%);
}

.section-header {
  margin: 60px 0 36px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.section-header h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-top: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--panel);
  border: 2px solid var(--line);
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.card-visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(110%);
}

.card-body {
  padding: 24px;
}

.card-body.no-image {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body h3 {
  font-family: Outfit, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.card-body p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.contact {
  margin-top: 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 48px;
  background: var(--panel);
  border: 2px solid var(--line);
  padding: 40px;
}

.contact-copy { display: flex; flex-direction: column; gap: 16px; }
.contact-copy h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  max-width: 14ch;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

input, select, textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.form-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  min-height: 20px;
}

.site-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.reveal,
html.js .reveal,
html.js .reveal.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 160ms ease, height 160ms ease, border-color 160ms ease;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  border-color: var(--text);
}

@media (max-width: 980px) {
  .hero,
  .service-grid,
  .contact-layout,
  .row.two {
    grid-template-columns: 1fr;
  }

  .hero { gap: 32px; }
  .contact-layout { padding: 28px; }
}

@media (max-width: 640px) {
  .shell { padding: 16px 0 40px; }
  .hero { padding: 32px 0 40px; }
  h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  body { cursor: auto; }
  button, input, select, textarea { cursor: auto; }
  .custom-cursor { display: none; }
}
