:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #000000;
  --color-surface-card: rgba(18, 18, 20, 0.82);
  --color-surface-border: rgba(255, 255, 255, 0.08);
  --color-accent: #FF4B26;
  --color-accent-hover: #ff5f3d;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #E4E4E7;
  --color-text-muted: #A1A1AA;
  --color-text-subtle: #71717A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   FIXED SCROLL ANIMATION CANVAS
   ========================================================================== */
#animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  background-color: #000000;
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 48px;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 16px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-primary);
}

/* Top Get in touch button (white pill with orange arrow) */
.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  background-color: #FFFFFF;
  color: #121212;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-pill-white:hover .btn-arrow-circle {
  transform: translateX(2px);
}

/* ==========================================================================
   CONTENT WRAPPER
   ========================================================================== */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ==========================================================================
   HERO SECTION (Direct Transparent Overlay on Video Canvas)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 140px 48px 60px 48px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 75, 38, 0.13) 0%, rgba(255, 75, 38, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
}

.hero-top-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero-statement {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  max-width: 420px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.hero-description {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 360px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* Services 4-Column Bar */
.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 80px;
  padding-bottom: 20px;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-num {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.service-name {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.35;
}

/* ==========================================================================
   CURVED CONTENT CONTAINER (Seamless Glassmorphic Transition)
   ========================================================================== */
.curved-content-container {
  width: 100%;
  background: transparent;
  border-radius: 40px 40px 0 0;
  border-top: 1px solid var(--color-surface-border);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 15;
}

/* ==========================================================================
   TRUSTED BRANDS STRIP
   ========================================================================== */
.brands-section {
  padding: 44px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brands-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brands-heading {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  line-height: 1.4;
  white-space: nowrap;
}

.brands-logo-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
  flex-wrap: wrap;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.brand-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.brand-icon {
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   BEHIND THE DESIGNS SECTION
   ========================================================================== */
.about-section {
  padding: 96px 48px 72px 48px;
}

.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: flex-start;
}

.section-tag {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-headline {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-text-primary);
}

.about-right {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.about-body {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 44px;
  max-width: 520px;
}

.about-action-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.about-cta-text {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.about-cta-text .cta-sub {
  color: var(--color-text-subtle);
}

/* Orange Pill CTA Button */
.btn-pill-orange {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-pill-orange:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 75, 38, 0.4);
}

.btn-arrow-circle-white {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-pill-orange:hover .btn-arrow-circle-white {
  transform: translateX(2px);
}

/* ==========================================================================
   PROJECTS SHOWCASE GRID (3 Editorial Cards)
   ========================================================================== */
.projects-section {
  position: relative;
  padding: 0 48px 120px 48px;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 75, 38, 0.09) 0%, rgba(255, 75, 38, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}

.projects-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #141416;
  border: 1px solid var(--color-surface-border);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 75, 38, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 75, 38, 0.18);
}

.card-media-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-media-wrapper img {
  transform: scale(1.05);
}

/* ==========================================================================
   CONTACT / INQUIRY SECTION (Matching Reference Image)
   ========================================================================== */
.contact-section {
  position: relative;
  padding: 110px 48px 120px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 75, 38, 0.11) 0%, rgba(255, 75, 38, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(55px);
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
}

.contact-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.contact-title-top {
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  line-height: 1;
}

.contact-badge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 20px;
  max-width: 280px;
}

.badge-tag {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.badge-text {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.contact-header-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-top: -8px;
}

.contact-word-grow {
  font-size: clamp(4.5rem, 9.8vw, 8.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--color-text-primary);
  line-height: 0.9;
}

.contact-title-right {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text-secondary);
  line-height: 0.98;
  text-align: right;
}

/* Form Styles */
.contact-form {
  margin-top: 72px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8E8E93;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field-input,
.field-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 0;
  outline: none;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field-input::placeholder {
  color: #52525B;
  font-weight: 400;
}

.field-input:focus,
.field-select:focus {
  border-bottom-color: var(--color-accent);
  box-shadow: 0 1px 0 var(--color-accent);
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.field-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 28px;
}

.field-select option {
  background-color: #141416;
  color: #FFFFFF;
}

.select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #71717A;
  transition: transform 0.2s ease, color 0.2s ease;
}

.select-wrapper:focus-within .select-arrow {
  color: var(--color-accent);
  transform: translateY(-50%) rotate(180deg);
}

.form-action-bar {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 75, 38, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-feedback {
  font-size: 0.92rem;
  font-weight: 500;
  color: #10B981;
}

/* Footer */
.footer {
  padding: 40px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}

.footer-back-top {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-back-top:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   COLOR PALETTE GRID (Circle removed)
   ========================================================================== */
.palette-section {
  padding: 96px 48px 100px 48px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.palette-container {
  max-width: 1280px;
  margin: 0 auto;
}

.palette-heading {
  max-width: 820px;
  margin-top: 16px;
  margin-bottom: 48px;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.color-spec-card {
  position: relative;
  width: 100%;
  padding: 20px;
  background: rgba(15, 18, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.color-spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 117, 255, 0.5);
}

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.spec-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.spec-close {
  font-size: 1.1rem;
  color: var(--color-text-subtle);
  cursor: pointer;
  line-height: 1;
}

.spec-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.spec-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  padding: 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-label {
  color: var(--color-text-subtle);
  font-weight: 600;
}

.spec-val {
  color: #FFFFFF;
  font-weight: 600;
  font-family: monospace;
}

.spec-pct {
  color: var(--color-text-subtle);
}

/* ==========================================================================
   STATS SECTION (Reference 1)
   ========================================================================== */
.stats-section {
  padding: 96px 48px 100px 48px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.stat-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-top-line {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
  width: 100%;
}

.stat-top-label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  letter-spacing: -0.01em;
}

.stat-number {
  font-size: clamp(4.5rem, 8.5vw, 7.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  margin-top: 12px;
}

.stat-unit {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-left: 2px;
}

.stat-desc {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.42;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-top: 8px;
}

/* ==========================================================================
   GLOBAL STUDIO / PERSON SECTION (Reference 2)
   ========================================================================== */
.studio-section {
  position: relative;
  padding: 120px 48px 140px 48px;
  background: transparent;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.studio-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.studio-bg-text .text-line-1 {
  font-size: clamp(5rem, 15.5vw, 13.5rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.studio-bg-text .text-line-2 {
  font-size: clamp(5rem, 15.5vw, 13.5rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: right;
}

.studio-center-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.studio-center-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 75, 38, 0.16) 0%, rgba(255, 75, 38, 0) 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

.frame-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: -16px;
  position: relative;
  z-index: 6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.tag-plus {
  color: #10B981;
  font-weight: 700;
  font-size: 0.95rem;
}

.frame-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  background: #141416;
}

.frame-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.studio-right-info {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 5;
  max-width: 280px;
  text-align: left;
}

.studio-since {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.studio-body-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-top: 50px;
  }

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

  .brands-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brands-logo-row {
    justify-content: flex-start;
  }

  .contact-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-header-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-title-right {
    text-align: left;
  }

  .form-grid {
    gap: 36px 40px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 120px 24px 40px 24px;
  }

  .curved-content-container {
    border-radius: 28px 28px 0 0;
  }

  .brands-section,
  .about-section,
  .projects-section,
  .contact-section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-section,
  .studio-section,
  .palette-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .palette-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .studio-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: auto;
  }

  .studio-center-frame {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 20px 0;
  }

  .studio-right-info {
    position: relative;
    right: auto;
    top: auto;
    max-width: 100%;
    text-align: center;
  }

  .studio-bg-text {
    opacity: 0.15;
  }
}

/* ==========================================================================
   PROJECTS PAGE STYLES (Subtle Gradient Background)
   ========================================================================== */
body.projects-page {
  background: 
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(255, 75, 38, 0.14) 0%, rgba(5, 7, 14, 0) 70%),
    radial-gradient(circle at 90% 45%, rgba(255, 75, 38, 0.09) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(circle at 10% 85%, rgba(255, 75, 38, 0.10) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 50% 50%, #0c1120 0%, #05070e 60%, #000000 100%) fixed;
  min-height: 100vh;
}

.projects-content-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 140px;
  width: 100%;
}

.projects-hero-section {
  padding: 40px 48px 80px 48px;
}

.projects-hero-container {
  max-width: 1280px;
  margin: 0 auto;
}

.projects-page-title {
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.projects-page-desc {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--color-text-secondary);
  max-width: 680px;
}

/* Individual Detailed Project Sections */
.project-detail-section {
  padding: 90px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-detail-container {
  max-width: 1280px;
  margin: 0 auto;
}

.project-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.project-number {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.project-category {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.project-main-grid.reverse-grid {
  grid-template-columns: 1.15fr 1fr;
}

.project-main-grid.reverse-grid .project-info-side {
  order: 2;
}

.project-main-grid.reverse-grid .project-media-side {
  order: 1;
}

.project-item-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.project-item-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.project-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.spec-row .spec-label {
  color: var(--color-text-subtle);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.spec-row .spec-value {
  color: #FFFFFF;
  font-weight: 500;
}

.project-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-highlights li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  position: relative;
  padding-left: 16px;
}

.project-highlights li::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.project-image-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.project-image-frame:hover {
  transform: scale(1.02);
  border-color: rgba(255, 75, 38, 0.4);
}

.project-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

}

/* ==========================================================================
   ENGINEERING PORTFOLIO SPECIFIC STYLES (SHIFA M)
   ========================================================================== */
.tech-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(255, 75, 38, 0.1);
  border: 1px solid rgba(255, 75, 38, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

/* Section 01: What I Build Grid */
.build-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.build-cat-card {
  padding: 24px;
  background: rgba(18, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.build-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 75, 38, 0.4);
}

.cat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.cat-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Section 02: Technical Stack */
.stack-section {
  padding: 100px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-container {
  max-width: 1280px;
  margin: 0 auto;
}

.stack-heading {
  margin-top: 16px;
  margin-bottom: 48px;
  max-width: 800px;
}

.stack-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stack-group-card {
  padding: 24px;
  background: rgba(15, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-group-card.full-width {
  grid-column: 1 / -1;
  border-color: rgba(43, 117, 255, 0.3);
}

.group-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
}

.stack-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pill-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: #FFFFFF;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.stack-pill-item:hover {
  border-color: var(--color-accent);
  background: rgba(255, 75, 38, 0.15);
}

.stack-pill-item.highlight {
  background: rgba(43, 117, 255, 0.12);
  border-color: rgba(43, 117, 255, 0.35);
  color: #FFFFFF;
}

/* Section 03: Projects / Case Studies */
.projects-container {
  max-width: 1280px;
  margin: 0 auto;
}

.project-section-heading {
  margin-top: 16px;
  margin-bottom: 56px;
}

.project-case-study {
  position: relative;
  padding: 40px;
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.project-case-study.main-featured {
  border-color: rgba(255, 75, 38, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 75, 38, 0.1);
}

.case-study-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.case-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.case-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  line-height: 1;
}

.case-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  letter-spacing: 0.05em;
  display: block;
  margin-top: 6px;
}

.case-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--color-text-secondary);
}

.case-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Architecture Flow Narrative */
.architecture-flow-narrative {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
}

.flow-step {
  color: #FFFFFF;
  font-weight: 600;
}

.flow-step.highlight-step {
  color: #10B981;
  font-weight: 800;
}

.flow-arrow {
  color: var(--color-accent);
  font-weight: bold;
}

/* Architecture Diagram Visual */
.architecture-diagram-card {
  padding: 24px;
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.arch-diagram-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.arch-node {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-weight: 600;
}

.arch-node.highlight-ring {
  border-color: #2B75FF;
  background: rgba(43, 117, 255, 0.15);
  color: #FFFFFF;
}

.arch-node.db-node {
  border-color: var(--color-accent);
  background: rgba(255, 75, 38, 0.15);
}

.arch-nodes-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cache-node {
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  color: #10B981;
  font-weight: 600;
}

.arch-arrow {
  color: var(--color-text-subtle);
  font-weight: bold;
}

.case-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.case-detail-box {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.case-detail-box h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.case-detail-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-detail-box li {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  position: relative;
  padding-left: 14px;
}

.case-detail-box li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--color-text-subtle);
  font-size: 0.7rem;
}

.case-footer-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-subtle);
  letter-spacing: 0.06em;
}

.metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10B981;
  letter-spacing: 0.04em;
}

/* Open Source Section */
.opensource-section {
  padding: 90px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.opensource-container {
  max-width: 1280px;
  margin: 0 auto;
}

.opensource-card {
  margin-top: 32px;
  padding: 32px;
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.os-role {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.os-programs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

.os-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.os-list li {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}

.os-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

/* Double Section Grid (Achievements & Currently Building) */
.double-section-grid {
  padding: 90px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.double-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.sub-heading-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 12px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.achievement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.achieve-bullet {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.building-quote {
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.45;
  margin-bottom: 24px;
}

.building-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

/* About Section Shifa Custom */
.about-container {
  max-width: 1280px;
  margin: 0 auto;
}

.about-main-text {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
}

.about-p {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.about-p.highlight-p {
  color: #FFFFFF;
  font-weight: 600;
}

.edu-card {
  margin-top: 40px;
  padding: 24px 32px;
  background: rgba(15, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.edu-degree {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.edu-school {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

.edu-timeline {
  font-size: 0.82rem;
  color: var(--color-text-subtle);
}

/* Contact Links Grid */
.contact-links-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-link-card {
  padding: 28px 32px;
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.contact-link-card .link-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-subtle);
  letter-spacing: 0.06em;
}

.contact-link-card .link-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

.contact-link-card .link-arrow {
  font-size: 1.2rem;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}

.contact-link-card:hover .link-arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
  .build-categories-grid,
  .stack-groups-grid,
  .double-container,
  .contact-links-grid {
    grid-template-columns: 1fr;
  }
  
  .stack-group-card.full-width {
    grid-column: auto;
  }

  .stack-section,
  .opensource-section,
  .double-section-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-link-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

