:root {
  --bg: #0d0d10;
  --panel: #17171d;
  --panel-2: #202029;
  --text: #f4f1ea;
  --muted: #b9b2a8;
  --accent: #f28c28;
  --accent-2: #63d6d3;
  --line: rgba(255,255,255,.12);
  --shadow: 0 20px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242,140,40,.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(99,214,211,.12), transparent 32rem),
    var(--bg);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  backdrop-filter: blur(16px);
  background: rgba(13,13,16,.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand img, .logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo-fallback {
  display: none;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08080a;
  font-size: .8rem;
}

nav {
  display: flex;
  gap: clamp(.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: .95rem;
}
nav a { text-decoration: none; }
nav a:hover { color: var(--text); }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
  max-width: 1240px;
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 820px;
  margin-bottom: 1.4rem;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}
h3 { font-size: 1.2rem; }

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.button.primary { background: var(--accent); color: #15100a; }
.button.secondary { border: 1px solid var(--line); color: var(--text); }

.email-line {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 1rem;
}

.hero-card {
  min-height: 430px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.project-preview {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(0,0,0,.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.preview-label { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.project-preview p:last-child { color: var(--muted); margin-bottom: 0; }

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}
.section-heading { max-width: 820px; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.project-card, .service-list article, .callout, .project-hero, .gallery-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.project-card {
  overflow: hidden;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}
.project-card:hover { transform: translateY(-3px); border-color: rgba(242,140,40,.55); }
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel-2);
}
.project-card-content { padding: 1.25rem; }
.project-card p, .service-list p, .callout p, .project-copy p, .project-copy li { color: var(--muted); line-height: 1.5; }
.project-card .category { color: var(--accent); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.service-list { display: grid; gap: 1rem; }
.service-list article { padding: 1.25rem; }
.callout { text-align: center; padding: 1.5rem; background: linear-gradient(135deg, rgba(242,140,40,.14), rgba(99,214,211,.08)), var(--panel); }
.callout p { max-width: 720px; margin-left: auto; margin-right: auto; }
.callout .hero-actions {
  justify-content: center;
}
.project-page { max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem); }
.back-link { color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 1.5rem; }
.back-link:hover { color: var(--text); }
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 1.5rem;
  overflow: hidden;
}
.project-hero img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  background: var(--panel-2);
}
.project-copy { padding: clamp(1.5rem, 4vw, 2.5rem); align-self: center; }

.project-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  word-break: normal;
}

.project-copy ul { padding-left: 1.1rem; margin-bottom: 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-card { overflow: hidden; }
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel-2);
}
.gallery-card figcaption {
  padding: .8rem 1rem 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.logo-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
}

.logo-showcase img {
  width: clamp(180px, 25vw, 400px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer strong { color: var(--text); }

@media (max-width: 1000px) {
  .hero, .split, .project-hero { grid-template-columns: 1fr; }
  .grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card, .hero-card img, .project-hero img { min-height: 320px; }
}
@media (max-width: 560px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; overflow-x: auto; padding-bottom: .25rem; }
  .grid, .gallery { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
