/* ==========================================================================
   ULTRA-MINIMALIST HIGH-END EDITORIAL PORTFOLIO DESIGN SYSTEM
   Alex Vance — Graphic Designer & AI Video Director
   Custom Tailored Mobile UI & Ultra-Compact Case Study Engine with App Icons
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F6F7F9;
  --bg-dark: #0A0A0B;
  --bg-card: #FFFFFF;
  
  --text-dark: #0A0A0B;
  --text-muted: #666668;
  --text-light: #FFFFFF;
  --text-light-muted: rgba(255, 255, 255, 0.7);
  
  --border-light: #E8E8EC;
  --border-dark: #222226;
  
  --font-heading: 'PT Serif', serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.06);

  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-padding {
  padding: 120px 0;
}

/* Typography Scale */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* ==========================================================================
   SMOOTH MOTION & KEYFRAME REVEAL ENGINE
   ========================================================================== */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
}

@keyframes modalScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.93) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   1. HERO SECTION (DESKTOP)
   ========================================================================== */
.hero-editorial {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%), url('assets/hero_bw_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 48px;
}

.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 10;
  background: transparent;
  padding: 0;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.nav-capsule {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 36px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.nav-capsule:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.nav-link {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
  opacity: 0.85;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 1;
}

.hero-cta-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #000000;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-content {
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  margin: 0 auto 60px auto;
  z-index: 10;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7.5vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-sub {
  font-size: clamp(15px, 2.5vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
  font-weight: 400;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.btn-hero-solid {
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-hero-solid:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-hero-outline {
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   2. PROOF SECTION RIGHT BELOW HERO
   ========================================================================== */
.proof-section-hero {
  padding: 40px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.proof-strip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.proof-item {
  text-align: center;
}

.proof-val {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-lbl {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* ==========================================================================
   3. SELECTED WORK (2-COLUMN EDITORIAL GRID)
   ========================================================================== */
.grid-editorial-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 48px;
  margin-top: 60px;
}

.work-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.work-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-subtle);
  transition: var(--transition-normal);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-normal);
}

.work-item:hover .work-media {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

.work-item:hover .work-media img {
  transform: scale(1.05);
}

.work-tag-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.work-item:hover .work-tag-badge {
  background: #000000;
}

.work-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.work-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  transition: var(--transition-fast);
}

.work-item:hover .work-title {
  opacity: 0.75;
}

.work-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   4. ULTRA-COMPACT WORKFLOW CASE STUDY WITH APP ICONS & YOUTUBE LOOP
   ========================================================================== */
.case-study-dark.compact-cs-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cs-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cs-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cs-compact-pipeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cs-compact-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
}

.cs-step-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.cs-step-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.cs-app-pill {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cs-step-text {
  font-size: 12.5px;
  color: var(--text-light-muted);
  line-height: 1.4;
}

.cs-apps-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.cs-apps-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-light-muted);
  display: block;
  margin-bottom: 10px;
}

.cs-app-icons-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-icon-item {
  font-size: 11.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.app-icon-item:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
}

.cs-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  background: #000000;
}

.cs-video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.cs-media-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
}

.cs-live-badge {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   5. CAPABILITIES
   ========================================================================== */
.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
}

.capability-card-mob {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.capability-card-mob:hover {
  transform: translateY(-4px);
  border-color: #000000;
  box-shadow: var(--shadow-sm);
}

.cap-header-mob {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.cap-num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cap-title-mob {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.4px;
}

.cap-desc-mob {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.cap-tags-mob span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.capability-card-mob:hover .cap-tags-mob span {
  border-color: #000000;
}

/* ==========================================================================
   6. EDITORIAL TESTIMONIALS (CARD UI)
   ========================================================================== */
.testimonials-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.quote-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.quote-card:hover {
  transform: translateY(-4px);
  border-color: #000000;
  box-shadow: var(--shadow-sm);
}

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

.quote-stars {
  color: #000000;
  font-size: 11px;
  display: flex;
  gap: 3px;
}

.quote-mark-icon {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
  color: var(--text-dark);
  opacity: 0.25;
}

.quote-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 400;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.quote-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.quote-author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   7. ABOUT & CREATIVE PHILOSOPHY
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-normal);
}

.about-portrait:hover img {
  transform: scale(1.03);
}

.about-quote {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.about-bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.about-tag {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   8. FINAL CONTACT & FOOTER
   ========================================================================== */
.contact-editorial {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 80px 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 16px;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link-item {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.contact-link-item:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.form-group-ed {
  margin-bottom: 20px;
}

.input-ed {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: inherit;
  font-size: 16px;
  color: #FFFFFF;
  outline: none;
  transition: var(--transition-fast);
}

.input-ed::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-ed:focus {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.btn-submit-ed {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.btn-submit-ed:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.footer-editorial {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   9. HIGH-END PROJECT DETAILS MODAL LIGHTBOX WITH BEHANCE ACTION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay.open .modal-box-ed {
  animation: modalScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-box-ed {
  background: var(--bg-card);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #000000;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-media-frame {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 24px;
  background: var(--bg-subtle);
}

.modal-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-meta {
  margin-bottom: 12px;
}

.modal-header-meta h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-top: 6px;
}

.modal-desc-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.meta-val {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-top: 4px;
}

.btn-behance-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  background: #000000;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  margin-top: 24px;
  transition: var(--transition-fast);
}

.btn-behance-modal:hover {
  background: #222225;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.toast-bw {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #000000;
  color: #FFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast-bw.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   10. ULTRA-MINIMALIST HIGH-FASHION APP MOBILE LAYOUT (@media max-width: 768px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-editorial { padding: 32px 24px; }
  .nav-capsule { display: none; }
  .grid-editorial-2col, .cs-grid, .about-grid, .contact-grid, .testimonials-editorial { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .proof-divider { display: none; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .section-padding {
    padding: 56px 0;
  }

  /* High-Fashion Mobile Hero */
  .hero-editorial {
    padding: 24px 16px 40px 16px;
    height: 100vh;
    min-height: 520px;
    justify-content: space-between;
    background-position: center top;
  }
  
  .hero-header {
    width: 100%;
  }
  
  .hero-brand {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
  }

  .hero-brand-dot {
    width: 8px;
    height: 8px;
  }

  .hero-cta-btn {
    padding: 6px 14px;
    font-size: 11px;
    border-radius: var(--radius-full);
  }

  .hero-content {
    margin-bottom: 20px;
    text-align: center;
  }

  .hero-heading {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    opacity: 0.9;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-hero-solid, .btn-hero-outline {
    width: 100%;
    padding: 13px 20px;
    font-size: 13px;
    border-radius: var(--radius-full);
  }

  /* High-Fashion Proof Strip */
  .proof-section-hero {
    padding: 0;
    background: #FFFFFF;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }

  .proof-item {
    padding: 20px 12px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }

  .proof-item:nth-child(2n) {
    border-right: none;
  }

  .proof-item:nth-child(3), .proof-item:nth-child(4) {
    border-bottom: none;
  }

  .proof-val {
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
  }

  .proof-lbl {
    font-size: 11px;
    letter-spacing: 0.2px;
  }

  /* Full-Width Visual Work Cards */
  .grid-editorial-2col {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 28px;
  }

  .work-item {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
  }

  .work-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .work-media {
    aspect-ratio: 16/10;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .work-tag-badge {
    top: 12px;
    left: 12px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
  }

  .work-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .work-title {
    font-size: 20px;
    letter-spacing: -0.3px;
  }

  .work-meta {
    font-size: 12px;
  }

  /* Mobile Ultra-Compact Case Study */
  .case-study-dark.compact-cs-dark {
    padding: 24px 16px;
    border-radius: 16px;
  }

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

  .cs-title {
    font-size: 22px;
    letter-spacing: -0.4px;
  }

  .cs-compact-step {
    padding: 10px 12px;
  }

  .cs-step-name {
    font-size: 13px;
  }

  .cs-step-text {
    font-size: 11.5px;
  }

  .cs-video-frame {
    aspect-ratio: 16/9;
  }

  /* High-Fashion Capabilities */
  .capabilities-list {
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid var(--border-light);
  }

  .capability-card-mob {
    background: transparent;
    padding: 24px 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }

  .capability-card-mob:hover {
    transform: none;
    border-color: var(--border-light);
    box-shadow: none;
  }

  .cap-header-mob {
    gap: 12px;
    margin-bottom: 10px;
  }

  .cap-num-badge {
    width: 28px;
    height: 28px;
    font-size: 11px;
    background: #000000;
  }

  .cap-title-mob {
    font-size: 19px;
    letter-spacing: -0.3px;
  }

  .cap-desc-mob {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .cap-tags-mob span {
    font-size: 10.5px;
    padding: 4px 10px;
    background: var(--bg-subtle);
  }

  /* Redesigned Testimonials Card UI */
  .testimonials-editorial {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .quote-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px 20px;
  }

  .quote-card-header {
    margin-bottom: 12px;
  }

  .quote-stars {
    font-size: 10px;
  }

  .quote-mark-icon {
    font-size: 32px;
  }

  .quote-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .quote-author {
    padding-top: 14px;
  }

  .quote-avatar {
    width: 40px;
    height: 40px;
  }

  .quote-author-name {
    font-size: 13.5px;
  }

  .quote-author-role {
    font-size: 11.5px;
  }

  /* Mobile About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-portrait {
    aspect-ratio: 4/3;
    border-radius: 12px;
  }

  .about-quote {
    font-size: 21px;
    margin-bottom: 16px;
  }

  .about-bio {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Mobile Contact Form */
  .contact-editorial {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-title {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .contact-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* App-Like Lightbox Modal Popup */
  .modal-overlay {
    padding: 12px;
  }

  .modal-box-ed {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .modal-meta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
    margin: 14px 0;
  }

  .btn-behance-modal {
    padding: 14px 20px;
    font-size: 13.5px;
  }
}
