:root {
  color-scheme: dark;
  --bg: #0b0e11;
  --surface: #13181f;
  --surface-strong: #1b222b;
  --text: #f4f6f8;
  --muted: #a8b3c3;
  --accent: #a6e34b;
  --accent-soft: rgba(166, 227, 75, 0.15);
  --border: rgba(255,255,255,0.08);
  --radius: 24px;
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top right, rgba(166,227,75,0.12), transparent 28%),
              linear-gradient(180deg, #0b0e11 0%, #090b0f 100%);
  color: var(--text);
}

/* Smooth scrolling for in-page navigation */
html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-domain {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: left;
}

.section-heading {
  max-width: 680px;
  margin: 0 0 48px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section h2,
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3vw, 4rem);
  line-height: 1.05;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 36px;
  padding: 120px 0 40px;
  text-align: center;
}

.hero-copy {
  width: min(100%, 720px);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  justify-content: center;
}

.hero-text {
  color: var(--muted);
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(166, 227, 75, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, #c7ff88, #88f071);
  color: #0a0f10;
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-panel {
  position: relative;
}

.panel-card {
  padding: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.panel-card p {
  color: var(--text);
  margin: 0;
  font-size: 1.05rem;
}

.service-grid,
.process-grid,
.work-grid {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.process-step,
.work-card {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.service-card h3,
.process-step h3,
.work-content h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.service-card p,
.process-step p,
.work-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card {
  display: grid;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  border-color: rgba(166, 227, 75, 0.3);
}

.work-card:hover .work-media {
  transform: scale(1.02);
}

.work-media {
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background-color: rgba(255,255,255,0.04);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-media-1 {
  background-image: radial-gradient(circle at top left, #33ff80 0%, transparent 24%),
                    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.work-media-2 {
  background-image: radial-gradient(circle at top right, #a6e34b 0%, transparent 20%),
                    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
  display: grid;
  gap: 20px;
}

.process-step span {
  width: fit-content;
  padding: 16px;
  border-radius: 16px;
  background: rgba(166,227,75,0.15);
  color: var(--accent);
  font-weight: 800;
}

.contact {
  padding: 88px 24px 120px;
}

.contact-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 44px;
  border-radius: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin: 32px auto 0;
  max-width: 620px;
  width: 100%;
  text-align: left;
}

.form-field {
  display: grid;
  gap: 10px;
}

.form-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  border-radius: 20px;
  padding: 18px 20px;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(166,227,75,0.85);
  box-shadow: 0 0 0 4px rgba(166,227,75,0.12);
  transform: translateY(-1px);
}

.contact-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.contact-note a {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer {
  text-align: center;
  padding: 34px 24px 44px;
  color: var(--muted);
}

.page-accent {
  position: fixed;
  right: -18px;
  bottom: -18px;
  width: 320px;
  height: 180px;
  background: url("Lime Slice.png") right bottom/contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
  transform: rotate(2deg);
}

@media (max-width: 720px) {
  .page-accent {
    width: 220px;
    height: 130px;
    right: -8px;
    bottom: -8px;
    opacity: 0.14;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(11, 14, 17, 0.96);
  transition: opacity 0.4s ease, visibility 0.4s ease 0.4s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  animation: spin 1.2s linear infinite;
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.loading {
  overflow: hidden;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-heading,
  .contact-panel {
    text-align: center;
  }

  .section-heading {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .service-grid,
  .work-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section,
  .contact-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-panel,
  .panel-card,
  .work-card,
  .service-card,
  .process-step {
    border-radius: 22px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
