:root {
  --bg: #f7f2ea;
  --bg-2: #efe4d2;
  --ink: #15120f;
  --muted: #5d5349;
  --accent: #d0602c;
  --accent-2: #1a7c75;
  --card: #fff9f2;
  --line: rgba(21, 18, 15, 0.12);
  --shadow: 0 24px 60px rgba(21, 18, 15, 0.12);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(210, 96, 44, 0.18), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(26, 124, 117, 0.18), transparent 50%),
    repeating-linear-gradient(0deg, rgba(21, 18, 15, 0.04), rgba(21, 18, 15, 0.04) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(21, 18, 15, 0.04), rgba(21, 18, 15, 0.04) 1px, transparent 1px, transparent 32px);
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

button {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  border: none;
  background: none;
  cursor: pointer;
}

.cta,
.ghost {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 242, 234, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 18, 15, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.logo {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
}

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

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

.cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(210, 96, 44, 0.35);
}

.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
}

.hero {
  position: relative;
  padding-top: 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 1.5rem;
}

.image-placeholder {
  background: var(--card);
  border: 1px dashed rgba(21, 18, 15, 0.2);
  border-radius: 20px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  text-align: center;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-image {
  min-height: 340px;
}

.prompt-panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 18, 15, 0.1);
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(21, 18, 15, 0.12);
}

.prompt-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.prompt-line {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(21, 18, 15, 0.08);
  font-size: 0.95rem;
  color: var(--muted);
}

.prompt-line:last-child {
  border-bottom: none;
}

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: var(--muted);
}

.about .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  align-items: center;
}

.about-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.about-tags span {
  border: 1px solid rgba(21, 18, 15, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-still {
  width: 70%;
  height: auto;
  max-width: 720px;
  border-radius: 12px;
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 20px 40px rgba(21,18,15,0.06);
  display: block;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}

.section-intro {
  max-width: 34rem;
  margin: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  box-shadow: 0 14px 36px rgba(21, 18, 15, 0.09);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(21, 18, 15, 0.12);
}

.showcase-image {
  min-height: 200px;
  padding: 0;
  background: linear-gradient(180deg, rgba(21, 18, 15, 0.05), rgba(21, 18, 15, 0.02));
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

.showcase-image img.zoom-50 {
  transform: scale(2.9);
  transform-origin: top left;
}

.showcase-image img.align-top {
  object-position: center top;
}

.showcase-copy {
  padding: 1.2rem 1.25rem 1.35rem;
}

.tech-stack .section-intro {
  max-width: 36rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.35rem;
}

.stack-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.08);
  padding: 1.35rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(21, 18, 15, 0.12);
}

.stack-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(239, 228, 210, 0.7));
  border: 1px solid rgba(21, 18, 15, 0.1);
  box-shadow: 0 10px 20px rgba(21, 18, 15, 0.08);
}

.stack-icon.is-dark {
  background: #15120f;
  border-color: rgba(21, 18, 15, 0.22);
}

.stack-icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.stack-tag {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.video-wrap {
  margin-top: 1rem;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid rgba(21, 18, 15, 0.08);
  box-shadow: 0 12px 30px rgba(21, 18, 15, 0.08);
}

.team-role {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.team-photo {
  min-height: 180px;
  margin-bottom: 1rem;
}

.team-cta {
  margin-top: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(21, 18, 15, 0.08);
}

.site-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(21, 18, 15, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-section {
  padding: 3rem 0;
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .section-head {
    align-items: flex-start;
  }
}

.screenshot-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.98));
  border-radius: 20px;
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 30px 60px rgba(21,18,15,0.08);
}

.screenshot {
  width: 100%;
  height: auto;
  max-height: 680px;
  border-radius: 14px;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

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

  .hero {
    padding-top: 6rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .team-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: center;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .cta,
  .ghost {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .section {
    padding: 4.2rem 0;
  }
}