*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --bg-alt: #111111;
  --fg: #f5f5f5;
  --muted: #b3b3b3;
  --border: #2b2b2b;
  --accent: #ffffff;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
}

html,
body {
  height: 100%;
  background: radial-gradient(circle at top, #202020 0, #050505 42%, #000 100%);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: var(--fg);
  text-decoration: none;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

main {
  flex: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.60), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: radial-gradient(circle at 0 0, #ffffff 0, #000 42%, #000 100%);
  color: #fff;
}

.logo-text {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  opacity: 0.75;
  transition: opacity 160ms ease, transform 160ms ease;
}

nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background 180ms ease, transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.btn.primary {
  background: #fff;
  color: #000;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  border-style: dashed;
  opacity: 0.85;
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.btn-link {
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero */

.hero {
  padding: 3.6rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.subtitle {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #1b1b1b 0, #050505 65%);
  padding: 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.card-main {
  position: relative;
  z-index: 2;
}

.card-main .tagline {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.card-main h2 {
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
}

.mini {
  font-size: 0.78rem;
  color: var(--muted);
}

.card-secondary {
  position: absolute;
  right: 3%;
  bottom: -6%;
  transform: translateY(-50%);
  padding: 1.2rem 1.4rem;
  background: #000;
}

.card-secondary h3 {
  font-size: 1.9rem;
  margin: 0.2rem 0;
}

/* Sections */

.section {
  padding: 3rem 0 2.8rem;
}

.section-alt {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.section-header h2 {
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header p {
  max-width: 26rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Services */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.service {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top left, #202020 0, #050505 60%);
  min-height: 160px;
}

.service h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.service p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Works */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.work-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.4rem;
  background: #050505;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 200ms ease;
}

.work-card:hover::before {
  opacity: 1;
}

.work-card .label {
  display: inline-flex;
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.work-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.work-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 2.2rem;
  align-items: start;
}

.about-grid > div:first-child p {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 30rem;
}

.about-list {
  display: grid;
  gap: 1.2rem;
}

.about-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.2rem 1.4rem;
  background: #050505;
}

.about-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.about-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 1.8rem;
  align-items: center;
}

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

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social a {
  display: inline-flex;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.icon-ig {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* Responsive */

@media (max-width: 900px) {
  nav {
    display: none;
  }

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

  .hero-visual {
    order: -1;
  }

  .card-secondary {
    position: absolute;
    bottom: -12%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

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

  .card-secondary {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
