@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0b0d;
  --panel: #151518;
  --text: #faf8f5;
  --muted: #b0adb4;
  --orange: #ff6b35;
  --blue: #7c83ff;
  --line: #29292f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: 100%;
  min-height: 82px;
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  display: block;
  color: var(--orange);
  font-size: 0.62rem;
  letter-spacing: 5px;
  line-height: 1;
}

nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--orange);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  padding: 130px 7% 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 85% 25%,
      rgba(255, 107, 53, 0.16) 0%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 10% 90%,
      rgba(255, 107, 53, 0.07) 0%,
      transparent 35%
    ),
    var(--bg);
}

.eyebrow {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

..hero h1 {
  position: relative;
  max-width: 950px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: -4px;
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 span {
  color: var(--orange);
}

.intro {
  max-width: 550px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 7px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.primary {
  background: var(--orange);
  color: #171217;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.16);
}

.primary:hover {
  background: #ff805e;
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.24);
}

.primary:hover {
  background: #ff805e;
}

.secondary {
  border: 1px solid #666674;
}

.secondary:hover {
  background: var(--panel);
}

.hero-note {
  margin-top: 55px;
  color: #8c8c99;
  font-size: 0.72rem;
  letter-spacing: 2px;
}

.section {
  padding: 80px 7%;
}

.section h2,
.contact-section h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  transition: transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.service-card span {
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin: 14px 0 8px;
}

.service-card p,
.section-intro,
.project-card p,
.contact-section > p:not(.eyebrow) {
  color: var(--muted);
}

.work-section {
  background: #15151b;
}

.section-intro {
  margin-top: 12px;
}

/* Four matching portfolio cards */
..project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1000px;
  margin: 38px auto 0;
  align-items: start;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #171719, #101012);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
}

/* Equal square image frames */
.project-card .standard-image-box,
.project-card .brand-image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151518;
}

/* Images fill their frames */
.project-card .standard-image-box img,
.project-card .brand-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 7px;
  transition: transform 0.25s ease;
}

.project-card:hover .standard-image-box img,
.project-card:hover .brand-image-box img {
  transform: scale(1.02);
}

/* Consistent text beneath every image */
.project-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.project-card p {
  margin-top: 5px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.project-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--orange);
  font-size: 0.8rem;
  text-decoration: underline;
}

.demo-note,
.contact-note {
  margin-top: 24px;
  color: #9999a5;
  font-size: 0.85rem;
}

.contact-section {
  padding: 90px 7%;
  text-align: center;
  background:
    radial-gradient(ellipse at center, #31203b 0%, transparent 65%),
    var(--bg);
}

.contact-section h2 {
  margin-bottom: 20px;
}

.contact-section > p:not(.eyebrow) {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  padding: 32px 7%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: #080809;
}

footer p {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Mobile layout */
@media (max-width: 650px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 6%;
  }

  nav {
    gap: 18px;
  }

  .hero {
    min-height: 520px;
    padding: 85px 6%;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .section {
    padding: 60px 6%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #19191d, #111113);
  border-radius: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

 .service-card h3 {
  font-size: 1.45rem;
  margin: 16px 0 10px;
  letter-spacing: -0.5px;
}

  .project-card p {
    font-size: 0.8rem;
  }

  .contact-section {
  position: relative;
  padding: 110px 7%;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 107, 53, 0.12) 0%,
      transparent 65%
    ),
    var(--bg);
}

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 6%;
  }
}