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

:root {
  --black: #111111;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --border: #e5e7eb;
  --white: #ffffff;
  --max-w: 1100px;
  --pad: clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(17, 17, 17, 0.018) 0.6px, transparent 0.7px),
    radial-gradient(circle at 80% 30%, rgba(17, 17, 17, 0.014) 0.5px, transparent 0.65px),
    radial-gradient(circle at 40% 80%, rgba(17, 17, 17, 0.012) 0.5px, transparent 0.6px);
  background-size: 18px 18px, 24px 24px, 20px 20px;
  background-position: 0 0, 9px 11px, 4px 7px;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── PILL BUTTON ── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: var(--black);
  color: var(--white);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
}
.pill-btn:hover { opacity: 0.75; }
.pill-btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.pill-btn--outline:hover { background: var(--black); color: var(--white); opacity: 1; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 1rem 0;
  transition: box-shadow 0.2s;
}
.nav--scrolled { box-shadow: 0 1px 0 var(--border); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand { display: flex; flex-direction: column; gap: 1px; }
.nav__name { font-size: 0.92rem; font-weight: 700; color: var(--black); line-height: 1.2; }
.nav__title { font-size: 0.72rem; font-weight: 400; color: var(--gray); }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }

/* ── HERO ── */
.hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero__headline {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 900px;
}
.hero__headline-highlight {
  display: inline;
  padding: 0 0.12em;
  background: linear-gradient(180deg, transparent 58%, #fde68a 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── BIO ── */
.bio {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}
.bio__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 4rem);
}
.bio__photo-wrap { flex-shrink: 0; }
.bio__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.bio__text {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  color: #374151;
  max-width: 580px;
  padding-top: 0.3rem;
}

/* ── SECTION HEADINGS ── */
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--black);
}
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ── PROJECTS ── */
.projects {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--border);
}
.projects__sub {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 640px;
}

/* ── TAGS ── */
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2.5rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  white-space: nowrap;
}
.tag--bold { font-weight: 600; border-color: var(--black); }

/* ── PROJECT GRID ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-light);
  aspect-ratio: 4/3;
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--border);
}
.testimonials .section-heading { margin-bottom: 2rem; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.testimonial-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  flex: 1;
}
.testimonial-card__author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card__name { font-size: 0.85rem; font-weight: 600; color: var(--black); }
.testimonial-card__role { font-size: 0.78rem; color: var(--gray); }

/* ── INDUSTRIES ── */
.industries {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--border);
}
.industries .section-heading { margin-bottom: 1.5rem; }

/* ── CTA ── */
.cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
}
.cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta__sub { font-size: 1rem; color: var(--gray); margin-top: -0.25rem; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero { opacity: 1 !important; transform: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav__actions { gap: 0.35rem; }
  .pill-btn { font-size: 0.75rem; padding: 0.45rem 0.85rem; }
  .bio__inner { flex-direction: column; align-items: center; text-align: center; }
  .bio__photo { width: 150px; height: 150px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .project-grid { grid-template-columns: 1fr; }
  .nav__actions .pill-btn:first-child { display: none; }
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__name { font-weight: 700; font-size: 0.88rem; color: var(--black); }
.footer__copy { font-size: 0.8rem; color: var(--gray); }
.footer__link { font-size: 0.82rem; color: var(--black); text-decoration: none; font-weight: 500; }
.footer__link:hover { text-decoration: underline; }
