/* Traditional variant — preserves original traditional portfolio look */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #000000; color: #ffffff; font-family: 'Helvetica', Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

header { background: #ffffff; width: 100%; display: flex; justify-content: center; padding: clamp(12px, 2vw, 15px) clamp(20px, 4vw, 40px); }
.header-inner { width: 100%; max-width: 1400px; display: flex; justify-content: space-between; align-items: center; gap: clamp(16px, 3vw, 24px); flex-wrap: wrap; }
.logo-text { color: #000000; font-weight: 900; font-size: clamp(28px, 4.5vw, 42px); letter-spacing: -1.5px; line-height: 1; }
nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 35px); flex-wrap: wrap; }
nav a, .dropdown-toggle { color: #000000; font-size: clamp(11px, 1.25vw, 13px); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; position: relative; cursor: pointer; padding: 0.35em 0; min-height: 44px; display: inline-flex; align-items: center; }
nav a { cursor: pointer; }
nav a.active::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background-color: #000000; }
.dropdown { position: relative; }
.dropdown-toggle { user-select: none; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.12); padding: 10px 0; min-width: 150px; z-index: 100; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: flex; align-items: center; padding: 12px 20px; text-transform: none; letter-spacing: 0.05em; color: #000000; min-height: 44px; box-sizing: border-box; }
.dropdown-menu a:hover { background: #f5f5f5; }
.li-icon { width: clamp(22px, 2.5vw, 24px); height: clamp(22px, 2.5vw, 24px); object-fit: contain; margin-left: 5px; flex-shrink: 0; }

.hero { height: 280px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.hero.hero--layered { background-image: none; }
.hero-backdrop {
  position: absolute;
  inset: -14px;
  background: center center/cover no-repeat;
  filter: blur(11px);
  transform: scale(1.1);
  transform-origin: center center;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}
.hero-content h1 { font-size: 86px; font-weight: 900; letter-spacing: 3px; line-height: 1; margin-bottom: 5px; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.75); }
.hero-content p { font-size: 20px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }

/* Credibility strip — auto-derived from homepage projects */
.credibility-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 40px;
  border-bottom: 1px solid #222;
}
.credibility-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0 clamp(12px, 2.5vw, 28px);
  white-space: nowrap;
}
.credibility-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.projects-section { padding: 30px 0 40px; width: 100%; max-width: 1400px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section-title { text-align: center; font-size: 42px; font-weight: 800; margin-bottom: 30px; }
.project-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-bottom: 30px; }
.card {
  background: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 calc((100% - 75px) / 4);
  max-width: calc((100% - 75px) / 4);
  min-width: min(100%, 252px);
  box-sizing: border-box;
  container-type: inline-size;
  container-name: project-card;
  cursor: pointer;
}
.card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  flex: 1;
  width: 100%;
}
.card img { width: 100%; aspect-ratio: 16/9; object-fit: fill; }
.card-body { padding: 0; width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; }
.card h3 {
  color: #FF5F00;
  font-size: 18px;
  font-size: clamp(13px, 6cqw, 20px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 25px 0 12px;
  padding: 0 2px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.card p { font-size: 13px; line-height: 1.5; margin-bottom: 20px; padding: 0 14px; flex: 1; }
.card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000000;
  transition: color 0.2s ease-in-out;
}
.card:hover .card-arrow { color: #FF5F00; }

.btn { display: none; }

.wix-container { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 20px 80px; }
.about-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; margin-bottom: 60px; }
.about-img {
  width: 40%;
  max-width: 420px;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
  align-self: flex-start;
}
.about-text { width: 60%; font-size: 18px; line-height: 1.5; }
.about-text p { margin-bottom: 25px; line-height: 1.5; }

.skills-title { font-size: 24px; font-weight: 800; margin-bottom: 30px; text-align: center; }
.skills-grid { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; gap: 30px 60px; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.skill-item { display: flex; flex-direction: row; align-items: center; gap: 15px; font-size: 20px; }
.skill-item img { height: 50px; width: 50px; object-fit: contain; }
.skill-item.skill-icon-hidden img { visibility: hidden; width: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
.skill-bar {
  flex: 1;
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}
.skill-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #FF5F00, #ff8a3d);
  border-radius: 3px;
  transition: width 1s cubic-bezier(.22,1,.36,1);
}
.skill-item.is-visible .skill-bar-fill {
  width: var(--bar-pct, 80%);
}
.resume-btn { display: flex; align-items: center; justify-content: center; width: 380px; height: 50px; margin: 0 auto 30px; border: 2px solid #ffffff; color: #ffffff; font-size: 18px; font-weight: 700; background: transparent; cursor: pointer; transition: 0.2s; }
.resume-btn:hover { background: #ffffff; color: #000000; }

.footer-line { width: 100%; height: 1px; background: #333333; margin: 0 auto 40px; }
.collage-container { width: 100%; margin: 0 auto; border: 1px solid #000000; }
.collage-row.top { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #000000; }
.collage-row.bottom { display: grid; grid-template-columns: 2fr 1fr 1fr; }
.logo-box { background: #ffffff; display: flex; align-items: center; justify-content: center; height: 160px; overflow: hidden; }
.logo-box:not(:last-child) { border-right: 1px solid #000000; }
.logo-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.contact-info { text-align: center; margin-top: 50px; font-size: 14px; line-height: 1.5; color: #ffffff; }
.contact-info a { color: #ffffff; }

/* Testimonials carousel */
.testimonials-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.testimonials-carousel-frame { position: relative; }
.testimonials-carousel-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonials-carousel-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.testimonials-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 8px;
  box-sizing: border-box;
}
.testimonial-slide-columns {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.testimonial-slide-author {
  flex: 0 0 140px;
  text-align: center;
}
.testimonial-slide-avatar-wrap { margin-bottom: 12px; }
.testimonial-slide-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
}
.testimonial-slide-name {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}
.testimonial-slide-role {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.testimonial-slide-quote-wrap { flex: 1; min-width: 0; }
.testimonial-slide-quote {
  margin: 0;
  padding: 0;
}
.testimonial-slide-snippet {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}
.testimonial-slide-details {
  margin-top: 16px;
}
.testimonial-slide-details summary {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  list-style: none;
}
.testimonial-slide-details summary::-webkit-details-marker { display: none; }
.testimonial-slide-details summary::before {
  content: "\25B6\00A0";
  font-size: 9px;
  transition: transform 0.2s;
  display: inline-block;
}
.testimonial-slide-details[open] summary::before {
  transform: rotate(90deg);
}
.testimonial-slide-details-body {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.testimonial-slide-details-body p { margin-bottom: 12px; }
.testimonial-slide-details-body p:last-child { margin-bottom: 0; }
.testimonial-carousel-arrow {
  background: none;
  border: 1px solid #333;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.testimonial-carousel-arrow:hover {
  background: rgba(255,255,255,0.08);
  border-color: #555;
}
.testimonials-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.testimonials-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.testimonials-carousel-dot.is-active {
  background: #ffffff;
}

@media (max-width: 1024px) {
  .card {
    flex: 0 1 calc((100% - 25px) / 2);
    max-width: calc((100% - 25px) / 2);
  }
}
@media (max-width: 900px) { header { padding: 12px 20px; } nav { gap: 16px; } .logo-text { font-size: 32px; } nav a, .dropdown-toggle { font-size: 12px; } }
@media (max-width: 768px) { .header-inner { flex-direction: column; gap: 16px; align-items: center; text-align: center; } .logo-text { font-size: 32px; } nav { justify-content: center; gap: 12px; } nav a, .dropdown-toggle { font-size: 12px; min-height: 44px; } .dropdown-menu { left: 50%; } .hero-content h1 { font-size: 56px; } .hero-content p { font-size: 16px; } .project-grid .card { flex: 1 1 100%; max-width: 100%; min-width: 0; } .about-flex { flex-direction: column; } .about-img { width: 100%; max-width: none; aspect-ratio: 16 / 9; object-position: center center; } .about-text { width: 100%; } .skills-grid { grid-template-columns: repeat(2, 1fr); } .collage-row.top, .collage-row.bottom { grid-template-columns: 1fr; } .credibility-strip { padding: 14px 12px; flex-wrap: wrap; justify-content: center; } .credibility-name { font-size: 10px; padding: 4px 10px; } .credibility-sep { display: none; } .testimonial-slide-columns { flex-direction: column; align-items: center; text-align: center; gap: 20px; } .testimonial-slide-author { flex: none; } .testimonial-carousel-arrow { width: 34px; height: 34px; font-size: 22px; } }
@media (max-width: 480px) { header { padding: 10px 16px; } .header-inner { gap: 12px; } .logo-text { font-size: 26px; } nav { gap: 10px; } nav a, .dropdown-toggle { font-size: 11px; letter-spacing: 1px; } .dropdown-menu { min-width: 140px; } }
