* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0f1115;
  --bg-soft: #151922;
  --bg-alt: #1a1f2b;
  --surface: #202635;
  --text: #f4f4f5;
  --text-soft: #c6c9d1;
  --muted: #8f96a3;
  --accent: #ef4b3f;
  --accent-hover: #ff6a5f;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #0f1115 0%, #121722 100%);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #ffffff;
  color: #000000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 21, 0.88);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--text);
  min-width: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-photo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 75, 63, 0.35) 0%, rgba(239, 75, 63, 0.12) 45%, transparent 72%);
  filter: blur(6px);
  z-index: 0;
}

.navImg {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .navImg {
  transform: scale(1.03);
  border-color: rgba(239, 75, 63, 0.6);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.brand-role {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.navImg {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.navImg {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.navImg:hover {
  transform: scale(1.05);
  border-color: rgba(239, 75, 63, 0.6);
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  padding: 7rem 0 5rem;
}

.hero-content {
  width: min(92%, 900px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.02);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.04) 100%);
}

.section-label {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-text {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 1.4rem;
}

#featured .section-label,
#featured .section-title,
#featured .section-subtitle {
  text-align: center;
}

.project-card-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.project-card {
  width: min(100%, 360px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-card:hover,
.project-card:focus {
  transform: translateY(-4px);
  border-color: rgba(239, 75, 63, 0.45);
  background: #252c3d;
}

#featuredImages {
  width: 140px;
  margin: 0 auto 1.2rem;
}

.project-link-text {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.site-footer {
  background: #0c0e12;
  border-top: 1px solid var(--border);
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-label {
  margin-bottom: 0.5rem;
}

.footer-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 0.9rem;
  color: var(--text-soft);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: #e7b8b8;
  transition: color 0.2s ease;
}

.contact-card a:hover,
.contact-card a:focus {
  color: var(--accent);
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(15, 17, 21, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 4%;
  }

  .menu.open {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 0.95rem 0;
  }

  .hero {
    padding: 5.5rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .brand {
    gap: 0.75rem;
  }

  .nav

  .navImg {
    width: 56px;
    height: 56px;
  }

  .hero-text,
  .section-text,
  .section-subtitle,
  .contact-card p {
    font-size: 0.95rem;
  }

  .project-card {
    padding: 1.5rem;
  }
}

.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.project-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.project-text p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.project-points {
  margin: 1.5rem 0;
  padding-left: 1.2rem;
}

.project-points li {
  margin-bottom: 0.5rem;
  color: var(--text-soft);
}

.project-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-image {
    order: -1;
  }
}

.menu a[href="intake.html"] {
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  color: white;
}

.menu a[href="intake.html"]:hover {
  background: var(--accent-hover);
}

.project-image a {
  display: inline-block;
}

.project-image img {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}