/* JK BRAND MARKETING LLC — Avant-garde agency site */

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --lime: #b8e62e;
  --orange: #ff6b2c;
  --purple: #7b3ff2;
  --cyan: #2ec4e8;
  --gray: #888;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--cyan);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Navigation ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  color: var(--lime);
}

.logo-text span {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.75;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--lime);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 80px;
}

.hero-gif-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-gif-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gif-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 0%,
    rgba(10, 10, 10, 0.6) 40%,
    rgba(10, 10, 10, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 2.5rem 6rem;
  max-width: 1200px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--purple);
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1.15rem;
  max-width: 520px;
  color: rgba(245, 245, 240, 0.7);
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-cta:hover {
  background: var(--cyan);
  color: var(--black);
  transform: translateY(-2px);
}

/* ── Sections ── */

section {
  padding: 6rem 2.5rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 3rem;
}

/* Services */

.services {
  background: var(--purple);
  color: var(--white);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  padding: 8rem 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  padding: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--lime);
}

.service-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Works */

.works {
  max-width: 1200px;
  margin: 0 auto;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.work-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/7; }
.work-item:nth-child(4) { grid-row: span 2; aspect-ratio: auto; }

.work-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-item:hover .work-bg {
  transform: scale(1.05);
}

.work-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.1) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.work-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s;
}

.work-meta h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.work-meta p {
  font-size: 0.75rem;
  color: var(--lime);
  margin-top: 0.25rem;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-item:hover .work-meta {
  opacity: 0;
}

.work-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.work-overlay p {
  font-size: 0.8rem;
  color: var(--lime);
  margin-top: 0.25rem;
}

a.work-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Culture */

.culture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.culture-visual {
  position: relative;
}

.culture-block {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.culture-text p {
  font-size: 1.05rem;
  color: rgba(245, 245, 240, 0.8);
  margin-bottom: 1.5rem;
}

.culture-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Contact form (home + contact page) */

.contact-section {
  background: var(--black);
  border-top: 4px solid var(--lime);
}

.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--lime);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  align-self: flex-start;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

.form-success {
  display: none;
  padding: 1.5rem 2rem;
  background: rgba(184, 230, 46, 0.12);
  border: 1px solid var(--lime);
  color: var(--lime);
  font-weight: 500;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.5s forwards;
}

/* ── Inner pages ── */

.page-hero {
  padding: 10rem 2.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.page-hero .updated {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--cyan);
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

.page-content p,
.page-content li {
  color: rgba(245, 245, 240, 0.8);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* About — Team */

.team-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
}

.team-card:nth-child(1) .team-avatar { background: var(--lime); }
.team-card:nth-child(2) .team-avatar { background: var(--orange); }
.team-card:nth-child(3) .team-avatar { background: var(--purple); color: var(--white); }
.team-card:nth-child(4) .team-avatar { background: var(--cyan); }

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.85rem;
  color: rgba(245, 245, 240, 0.65);
}

/* Contact info block */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 2.5rem;
}

.info-card {
  padding: 1.5rem;
  border-left: 3px solid var(--purple);
}

.info-card h3 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.info-card p,
.info-card a {
  font-size: 0.95rem;
}

/* ── Footer ── */

.site-footer {
  padding: 4rem 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(245, 245, 240, 0.55);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 240, 0.55);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-links li {
  font-size: 0.8rem;
  color: rgba(245, 245, 240, 0.55);
}

.footer-contact-item {
  font-size: 0.8rem;
  color: rgba(245, 245, 240, 0.55);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(245, 245, 240, 0.75);
}

.footer-contact-item a:hover {
  color: var(--lime);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(245, 245, 240, 0.35);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal a {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.35);
}

.footer-legal a:hover {
  color: var(--lime);
}

/* ── Product page ── */

.product-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 2.5rem 4rem;
  margin-top: 60px;
  overflow: hidden;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black) 5%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0.3) 100%);
}

.product-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.product-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--lime);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.product-hero-desc {
  font-size: 1.15rem;
  color: rgba(245, 245, 240, 0.8);
  max-width: 600px;
  line-height: 1.7;
}

.product-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.product-intro-text p {
  color: rgba(245, 245, 240, 0.75);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.product-intro-img {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-intro-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.product-features {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 2.5rem;
}

.product-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: var(--cyan);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(245, 245, 240, 0.65);
}

.product-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.product-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
}

.product-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 0.25rem;
}

.product-process {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-left: 3px solid var(--purple);
  background: rgba(123, 63, 242, 0.06);
}

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  flex-shrink: 0;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: rgba(245, 245, 240, 0.65);
}

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-item:nth-child(1) {
    grid-column: span 2;
  }

  .culture {
    grid-template-columns: 1fr;
  }

  .product-intro {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-item:nth-child(1),
  .work-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .site-header {
    padding: 1rem 1.5rem;
  }

  .logo-img {
    height: 36px;
  }

  .logo-text {
    font-size: 0.7rem;
  }

  .footer-logo-img {
    height: 44px;
  }

  section,
  .page-hero,
  .page-content,
  .team-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .services {
    clip-path: none;
    padding: 5rem 1.5rem;
  }

  .product-hero,
  .product-intro,
  .product-features,
  .product-stats,
  .product-process {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
