@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --blue: #1A6BFF;
  --grey-light: #F5F5F5;
  --grey-mid: #E0E0E0;
  --grey-muted: #888888;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 40vw;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 5%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 700px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #0057e0;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue);
}

/* ── SECTIONS ── */
section {
  padding: 96px 5%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--grey-muted);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* ── SERVICES ── */
.services {
  background: var(--grey-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: var(--grey-mid);
  border: 2px solid var(--grey-mid);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--black);
  color: var(--white);
}

.service-card:hover .service-num {
  color: var(--blue);
}

.service-card:hover .service-desc {
  color: rgba(255,255,255,0.6);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--grey-muted);
  margin-bottom: 20px;
  transition: color 0.2s;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--grey-muted);
  line-height: 1.7;
  transition: color 0.2s;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-text .section-desc {
  margin-bottom: 32px;
}

.why-quote {
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--black);
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--grey-mid);
  border: 2px solid var(--grey-mid);
  border-radius: 12px;
  overflow: hidden;
}

.stat-box {
  background: var(--white);
  padding: 36px 28px;
}

.stat-box:first-child {
  background: var(--black);
  color: var(--white);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin-bottom: 6px;
}

.stat-box:first-child .stat-num {
  color: var(--white);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--grey-muted);
  font-weight: 500;
}

.stat-box:first-child .stat-label {
  color: rgba(255,255,255,0.5);
}

/* ── PORTFOLIO ── */
.portfolio { background: var(--white); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-card {
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.portfolio-card:hover {
  border-color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.portfolio-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-info {
  padding: 24px;
}

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.portfolio-info p {
  font-size: 0.85rem;
  color: var(--grey-muted);
  line-height: 1.6;
}

.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--grey-muted);
  font-family: var(--font-display);
}

.portfolio-empty .mark {
  font-size: 3rem;
  font-weight: 700;
  color: var(--grey-mid);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

/* ── BLOG ── */
.blog { background: var(--grey-light); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--grey-mid);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-muted);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--grey-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.blog-read-more {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--black);
  color: var(--white);
  padding: 80px 5%;
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-strip p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.4);
  padding: 40px 5%;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-logo img {
  height: 28px;
  filter: invert(1);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.75rem;
}

/* ── BLOG POST PAGE ── */
.post-hero {
  padding-top: 64px;
  background: var(--black);
  color: var(--white);
  padding-bottom: 0;
}

.post-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 5% 0;
}

.post-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.post-cover {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  height: 360px;
  object-fit: cover;
  display: block;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 5% 96px;
}

.post-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--black);
  margin-bottom: 24px;
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.post-audio {
  background: var(--grey-light);
  border-radius: 12px;
  padding: 28px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-audio-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-muted);
  margin-bottom: 8px;
}

.post-audio audio {
  flex: 1;
  min-width: 200px;
  height: 40px;
}

/* ── BLOG LIST PAGE ── */
.page-hero {
  padding-top: 64px;
  background: var(--black);
  color: var(--white);
  padding: 120px 5% 80px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── PORTFOLIO PAGE ── */
.portfolio-page { background: var(--white); }

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 40px;
}

.back-link:hover {
  gap: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 5%;
    gap: 0;
    border-bottom: 1px solid var(--grey-mid);
  }

  .nav-links.open { display: flex; }

  .nav-links li { border-bottom: 1px solid var(--grey-light); }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 12px;
    display: inline-block;
  }

  .nav-hamburger { display: flex; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }

  .why-stats { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }

  .footer-links { flex-wrap: wrap; }

  section { padding: 64px 5%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .why-stats { grid-template-columns: 1fr; }
}
