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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f3ee;
  color: #1d1d1d;
  line-height: 1.6;
}

/* NAVBAR */

.navbar {
  width: 100%;
  padding: 28px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f3ee;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  font-size: 18px;
}

.navbar nav {
  display: flex;
  gap: 28px;
}

.navbar nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

.navbar nav a:hover {
  color: #000;
}

/* HERO */

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 90px 7% 70px;
  gap: 60px;
}

.hero-media {
  width: 100%;
  height: 620px;
  overflow: hidden;
  border-radius: 2px;
  background: #ddd;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* This keeps your picture/video same big vertical size like the example */
.hero-content {
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #777;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-buttons,
.contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}

.btn.primary {
  background: #111;
  color: #fff;
}

.btn.primary:hover {
  background: #333;
}

.btn.secondary {
  border: 1px solid #111;
  color: #111;
}

.btn.secondary:hover {
  background: #111;
  color: #fff;
}

.btn.small {
  background: #111;
  color: #fff;
  padding: 11px 18px;
  font-size: 13px;
  margin-top: 20px;
}

.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* GENERAL SECTIONS */

.section {
  padding: 100px 7%;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.section-heading p {
  font-size: 18px;
  color: #555;
}

/* PORTFOLIO */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.portfolio-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0b0b0b;
}

.card-content {
  padding: 28px;
}

.tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #777;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-content h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.card-content p {
  color: #555;
  margin-bottom: 20px;
}

.card-content a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.card-content a:hover {
  text-decoration: underline;
}

/* CASE STUDIES */

.case-section {
  background: #111;
  color: #fff;
}

.case-study {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.case-study:last-child {
  border-bottom: none;
}

.case-study h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 30px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.case-grid h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.case-grid p {
  color: #d0d0d0;
}

/* RESUME */

.resume-section {
  background: #f7f3ee;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.resume-block {
  background: #fff;
  padding: 32px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.resume-block h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.resume-block p {
  color: #444;
  margin-bottom: 10px;
}

.resume-block ul {
  padding-left: 20px;
  color: #444;
}

.center-button {
  margin-top: 38px;
}

/* TESTIMONIALS */

.testimonials-section {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: #f7f3ee;
  padding: 34px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote {
  font-size: 20px;
  line-height: 1.5;
  color: #222;
  margin-bottom: 28px;
}

.person {
  font-weight: 700;
  font-size: 18px;
}

.role {
  color: #666;
  margin-bottom: 18px;
}

/* CONTACT */

.contact-section {
  background: #111;
  color: #fff;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  max-width: 900px;
  margin: 0 auto 22px;
}

.contact-section p {
  color: #d0d0d0;
  max-width: 700px;
  margin: 0 auto 34px;
  font-size: 18px;
}

.contact-links {
  justify-content: center;
}

.contact-section .btn.secondary {
  color: #fff;
  border-color: #fff;
}

.contact-section .btn.secondary:hover {
  background: #fff;
  color: #111;
}

/* FOOTER */

footer {
  padding: 28px 7%;
  text-align: center;
  background: #111;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    height: 520px;
  }

  .portfolio-grid,
  .resume-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .navbar nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-media {
    height: 420px;
  }

  .portfolio-grid,
  .resume-grid,
  .testimonial-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 6%;
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
  }
}

.card-content h3 span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  margin-top: 6px;
  line-height: 1.4;
}


.hero-intro {
  font-size: 18px;
  line-height: 1.75;
  color: #333;
  max-width: 610px;
  margin-bottom: 18px;
}


.skills-list {
  columns: 2;
  column-gap: 28px;
  padding-left: 18px;
}

.skills-list li {
  break-inside: avoid;
  margin-bottom: 10px;
  color: #444;
}


/* FORCE portfolio images to fit wide card space */
.portfolio-card img {
  width: 100% !important;
  height: 260px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #050505 !important;
  display: block !important;
}


/* Fix testimonial spacing */
.testimonial-card {
  justify-content: flex-start !important;
}

.testimonial-card .quote {
  margin-bottom: 34px !important;
}

.testimonial-card .person {
  margin-bottom: 4px !important;
}

.testimonial-card .role {
  margin-bottom: 28px !important;
}

.testimonial-card .btn {
  margin-top: auto !important;
}

/* Hard fix testimonial spacing */
.testimonial-card p {
  margin-top: 0 !important;
}

.testimonial-card .quote {
  margin-bottom: 32px !important;
}

.testimonial-card .person {
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

.testimonial-card .role {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  line-height: 1.2 !important;
}

.testimonial-card .btn.small {
  margin-top: 20px !important;
}

