/* ==========================================================================
   ADIFFIC DIGITAL BRANDING AGENCY - PAGE SPECIFIC STYLES
   ========================================================================== */

/* ==========================================================================
   1. HOMEPAGE SPECIFICS
   ========================================================================== */

.hero-home {
  padding-top: clamp(100px, 10vw + 20px, 140px);
  padding-bottom: clamp(56px, 7vw, 100px);
  position: relative;
}

.hero-brand-card,
.hero-funky-box {
  width: clamp(280px, 28vw, 420px);
  aspect-ratio: 4 / 3;
  border: 2px solid var(--color-on-background);
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-black-lg);
  transform: rotate(-3deg);
  transition: transform var(--transition-spring), box-shadow var(--transition-spring);
  background-color: #ffffff;
  overflow: visible;
}

.hero-brand-card:hover,
.hero-funky-box:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 10px 10px 0px 0px var(--color-primary-container);
}

.hero-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: calc(var(--radius-md) - 2px);
  display: block;
  image-rendering: auto;
}

.hero-badge-tag {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: var(--color-primary-container);
  color: var(--color-on-primary-container);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 2px solid var(--color-on-background);
  box-shadow: var(--shadow-black-sm);
  z-index: 5;
  text-transform: uppercase;
}

/* Featured Work Asymmetric Cards */
.work-card-large {
  position: relative;
  border: 1px solid var(--color-on-background);
  background-color: var(--color-surface-variant);
  box-shadow: var(--shadow-orange);
  overflow: hidden;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.work-card-large:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange-lg);
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition-smooth), transform var(--transition-smooth);
}

.work-card-large:hover .work-card-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 2px solid var(--color-on-background);
  border-bottom: 2px solid var(--color-on-background);
  margin: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  color: var(--color-primary-container);
  line-height: 1.1;
  white-space: nowrap;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
}

/* ==========================================================================
   2. SERVICES & ESTIMATOR SPECIFICS
   ========================================================================== */

.service-bento-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.service-box-highlight {
  background-color: var(--color-on-background);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-orange);
}

/* Interactive Project Scope Estimator Tool */
.estimator-card {
  background: #ffffff;
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-black-lg);
  padding: clamp(24px, 4vw, 48px);
}

.estimator-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-md) 0 var(--space-lg);
}

.estimator-pill-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.estimator-pill-check:hover {
  background-color: var(--color-secondary-container);
}

.estimator-pill-check.selected {
  background-color: var(--color-on-background);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

/* ==========================================================================
   3. PERFORMANCE MARKETING & ROAS CALCULATOR SPECIFICS
   ========================================================================== */

.roas-calc-container {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-orange);
  padding: clamp(24px, 4vw, 40px);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-surface-variant);
  outline: none;
  -webkit-appearance: none;
  margin: 16px 0;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary-container);
  border: 2px solid var(--color-on-background);
  cursor: pointer;
  box-shadow: 2px 2px 0px #1a1c1c;
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result-box {
  background-color: var(--color-on-background);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid var(--color-primary-container);
  box-shadow: var(--shadow-orange);
}

/* ==========================================================================
   4. WORK / PORTFOLIO SPECIFICS
   ========================================================================== */

.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-surface-container-high);
  color: var(--color-on-background);
  border: 1px solid var(--color-on-background);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--color-on-background);
  color: #ffffff;
}

.filter-btn.active {
  background-color: var(--color-on-background);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-on-background);
  overflow: hidden;
  background-color: var(--color-surface-variant);
  box-shadow: var(--shadow-black);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 28, 28, 0) 30%, rgba(26, 28, 28, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

/* ==========================================================================
   5. INSIGHTS / BLOG SPECIFICS
   ========================================================================== */

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.search-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-full);
  padding: 12px 20px 12px 44px;
  font-weight: 500;
  box-shadow: var(--shadow-black-sm);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--color-primary-container);
  box-shadow: var(--shadow-orange);
}

.search-icon-pos {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-secondary);
}

.article-card {
  background-color: #ffffff;
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
}

.article-thumb-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.article-card:hover .article-thumb-img {
  transform: scale(1.06);
}

/* ==========================================================================
   6. CAREERS & CULTURE SPECIFICS
   ========================================================================== */

.job-row {
  background-color: #ffffff;
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-black-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

@media (min-width: 768px) {
  .job-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.job-row:hover {
  border-color: var(--color-primary-container);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}

/* ==========================================================================
   7. CLIENT PORTAL DASHBOARD SPECIFICS
   ========================================================================== */

.portal-wrapper {
  background-color: var(--color-background);
  min-height: 80vh;
}

.deliverable-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 28, 28, 0.1);
  width: 100%;
  min-width: 0;
}

.deliverable-item:last-child {
  border-bottom: none;
}

.deliverable-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.deliverable-item-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.deliverable-item-text h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.88rem;
}

.deliverable-item .btn-download-asset {
  flex-shrink: 0;
  padding: 8px 14px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background-color: var(--color-surface-variant);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  background-color: var(--color-primary-container);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   8. CONTACT FORM & GLOBAL LOCATIONS SPECIFICS
   ========================================================================== */

.contact-card {
  background-color: #ffffff;
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange);
  padding: clamp(24px, 4vw, 44px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.form-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-on-background);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-on-background);
  transition: all var(--transition-fast);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231A1C1C'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 42px;
  cursor: pointer;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  background-color: #ffffff;
  border-color: var(--color-primary-container);
  box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.2);
  outline: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Global Office Coordinates Cards */
.office-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  box-shadow: var(--shadow-black-sm);
  transition: all var(--transition-fast);
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}

.faq-item {
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  box-shadow: var(--shadow-black-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-black);
}

.faq-item.is-open {
  border-color: var(--color-on-background);
  box-shadow: var(--shadow-orange);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
}

.faq-question:hover {
  color: var(--color-primary-container);
}

.faq-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-primary-container);
  font-size: 24px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--color-on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.65;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   MOBILE RESPONSIVE ENHANCEMENTS (Stitch Reference Aligned)
   ========================================================================== */
@media (max-width: 860px) {

  /* Force all 12-column spans to full width on mobile */
  .grid-12>[style*="grid-column: span"],
  .grid-12>.col-12 {
    grid-column: span 12 !important;
  }

  /* Portfolio item mobile height */
  .portfolio-item {
    height: 300px !important;
  }

  .bento-card {
    padding: 22px 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 18px 0;
    margin: 0;
  }

  .stat-number {
    font-size: clamp(1.8rem, 5.5vw, 2.4rem);
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Portfolio & Filter bar horizontal scrolling */
  .portfolio-filter-bar {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 8px;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .search-input-wrapper {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 8px;
  }

  .calc-slider-box {
    padding: 18px 14px;
  }
}

@media (max-width: 520px) {
  .btn-lg {
    width: 100%;
  }
}

/* ==========================================================================
   HOMEPAGE REVAMP COMPONENT STYLES
   ========================================================================== */

/* Team Role Cards Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.team-card {
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
  background-color: #ffffff;
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 12px;
}

.team-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background-color: var(--color-primary-container);
  color: var(--color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-on-background);
  flex-shrink: 0;
}

.team-role-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-on-background);
  line-height: 1.2;
}

.team-role-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
}

/* Creative Execution Bento Grid (Balanced 4x2 Layout) */
.content-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(28px, 4vw, 40px);
}

@media (max-width: 1100px) {
  .content-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 580px) {
  .content-categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.content-bento-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow-black);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-on-background);
  transition: all var(--transition-fast);
  outline: none;
}

.content-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-orange-lg);
  border-color: var(--color-primary-container);
  background: #ffffff;
}

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

.content-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--color-on-background);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-on-background);
  transition: all var(--transition-fast);
}

.content-bento-card:hover .content-bento-icon {
  background: var(--color-primary-container);
  color: #ffffff;
  transform: rotate(-4deg);
}

.content-bento-icon span {
  font-size: 24px;
}

.content-bento-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-on-background);
  transition: color var(--transition-fast);
}

.content-bento-card:hover .content-bento-title {
  color: var(--color-primary-container);
}

.content-bento-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.content-bento-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-on-background);
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 28, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.content-bento-card:hover .content-bento-link {
  color: var(--color-primary-container);
}

/* Process 4-Step Cards */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.process-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-black);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
  border-color: var(--color-on-background);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary-container);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-on-background);
  margin-bottom: 8px;
}

.process-step-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-on-surface-variant);
  line-height: 1.55;
}

/* Why Us 5-Pillar Cards */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.why-us-card {
  background: #ffffff;
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 26px;
  box-shadow: var(--shadow-black);
  transition: all var(--transition-fast);
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}

.why-us-icon {
  width: 48px;
  height: 48px;
  background: var(--color-surface-variant);
  border: 1px solid var(--color-on-background);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary-container);
}

/* Services 9-Grid Cards */
.services-9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 1024px) {
  .services-9-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .services-9-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.service-item-card {
  background: var(--color-surface);
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0px 0px var(--color-on-background);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 6px 6px 0px 0px var(--color-primary-container);
  border-color: var(--color-primary-container);
  background: #ffffff;
}

.service-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--color-on-background);
  background: var(--color-surface-dim);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.96) contrast(104%);
}

.service-item-card:hover .service-card-img {
  transform: scale(1.08);
  filter: brightness(1) contrast(106%);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-card-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-on-background);
  border: 1.5px solid var(--color-on-background);
  box-shadow: 2px 2px 0px 0px var(--color-on-background);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transform: scale(0.9);
  transition: all var(--transition-fast);
  z-index: 2;
}

.service-card-arrow span {
  font-size: 18px;
  transition: transform var(--transition-fast);
}

.service-item-card:hover .service-card-arrow {
  background: var(--color-primary-container);
  color: #ffffff;
  opacity: 1;
  transform: scale(1.05);
}

.service-item-card:hover .service-card-arrow span {
  transform: translate(2px, -2px);
}

.service-card-body {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.service-card-header {
  margin-bottom: 8px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-on-background);
  margin-top: 6px;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.service-item-card:hover .service-card-title {
  color: var(--color-primary-container);
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-on-surface-variant);
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.service-item-chips .chip {
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.service-item-card:hover .service-item-chips .chip {
  border-color: var(--color-on-background);
  background: var(--color-surface);
}

.service-item-card .btn {
  margin-top: auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ==========================================================================
   SERVICES PAGE ELEVATED SHOWCASE SYSTEM
   ========================================================================== */

/* Hero Showcase Card */
.services-hero-card {
  position: relative;
  background: var(--color-on-background);
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.services-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(108%);
  transition: transform 0.5s ease;
}

.services-hero-card:hover .services-hero-img {
  transform: scale(1.05);
}

.services-hero-floating-badge {
  position: absolute;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 5;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.services-hero-badge-1 {
  top: 16px;
  right: 16px;
  background: rgba(26, 28, 28, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-hero-badge-2 {
  bottom: 16px;
  left: 16px;
  background: var(--color-primary-container);
  color: #ffffff;
  border: 1px solid #ffffff;
  animation-delay: 2s;
}

.services-hero-footer {
  padding: 18px 22px;
  background: var(--color-on-background);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service Deep Dive Feature Card */
.service-feature-card {
  background: var(--color-surface);
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-black);
  margin-bottom: clamp(36px, 5vw, 56px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 400px 1fr;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  isolation: isolate;
}

@media (max-width: 960px) {
  .service-feature-card {
    grid-template-columns: 1fr;
  }
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange-lg);
  border-color: var(--color-primary-container);
}

.service-feature-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-right: 2px solid var(--color-on-background);
  overflow: hidden;
  background: var(--color-surface-dim);
}

@media (max-width: 960px) {
  .service-feature-media {
    border-right: none;
    border-bottom: 2px solid var(--color-on-background);
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
}

.service-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.96) contrast(104%);
}

.service-feature-card:hover .service-feature-img {
  transform: scale(1.06);
  filter: brightness(1) contrast(108%);
}

.service-feature-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.service-feature-content {
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-feature-header {
  margin-bottom: 12px;
}

.service-feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-on-background);
  margin-top: 6px;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.service-feature-card:hover .service-feature-title {
  color: var(--color-primary-container);
}

.service-feature-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-feature-deliverables {
  background: var(--color-surface-dim);
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.service-deliverables-title {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.service-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 14px;
}

@media (max-width: 580px) {
  .service-deliverables-grid {
    grid-template-columns: 1fr;
  }
}

.service-deliverable-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-on-background);
}

.service-deliverable-item .material-symbols-outlined {
  font-size: 17px;
  color: var(--color-primary-container);
  flex-shrink: 0;
}

.service-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px dashed rgba(26, 28, 28, 0.15);
}

/* Subpage Hero Visual Card */
.service-subpage-hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-on-background);
  box-shadow: var(--shadow-orange-lg);
  overflow: hidden;
  background: var(--color-on-background);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.service-subpage-hero-visual:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px 0px var(--color-primary-container);
}

.service-subpage-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.96) contrast(105%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.service-subpage-hero-visual:hover .service-subpage-hero-img {
  transform: scale(1.06);
  filter: brightness(1) contrast(108%);
}

.service-subpage-hero-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-subpage-hero-badge-bottom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--color-primary-container);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid #ffffff;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   THE CREATIVE CREW PAGE STYLES
   ========================================================================== */

/* Hero Composition Card */
.crew-hero-graphic {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
  background: var(--color-on-background);
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.crew-hero-graphic::after {
  content: 'CREW';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  line-height: 0.8;
  letter-spacing: -0.05em;
}

/* ==========================================================================
   EXECUTIVE LEADERSHIP SPOTLIGHT (Split 2-Column One-Screen Bento)
   ========================================================================== */
.founders-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

@media (max-width: 1024px) {
  .founders-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.founder-card {
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0px 0px var(--color-on-background);
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  isolation: isolate;
}

@media (max-width: 640px) {
  .founder-card {
    grid-template-columns: 1fr;
  }
}

.founder-card-light {
  background: var(--color-surface);
  color: var(--color-on-background);
}

.founder-card-dark {
  background: var(--color-on-background);
  color: #ffffff;
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0px 0px var(--color-primary-container);
  border-color: var(--color-primary-container);
}

/* Full-Height Large Media Column */
.founder-media-col {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--color-surface-dim);
  overflow: hidden;
  border-right: 1.5px solid var(--color-on-background);
}

.founder-card-dark .founder-media-col {
  border-right-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .founder-media-col {
    min-height: 280px;
    border-right: none;
    border-bottom: 1.5px solid var(--color-on-background);
  }
}

.founder-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.founder-card:hover .founder-full-img {
  transform: scale(1.06);
}

.founder-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  background: var(--color-on-background);
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.founder-badge-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--color-primary-container);
  color: #ffffff;
  z-index: 2;
}

/* Right Content Column */
.founder-content-col {
  padding: clamp(18px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.founder-title-role {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
  margin-top: 4px;
  margin-bottom: 2px;
}

.founder-tagline-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-container);
  margin-bottom: 6px;
}

.founder-quote-box {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 2.5px solid var(--color-primary-container);
  margin: 0;
}

.founder-card-light .founder-quote-box {
  color: var(--color-on-surface);
}

.founder-card-dark .founder-quote-box {
  color: #dddddd;
}

/* Compact Stats Row */
.founder-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-on-background);
  background: var(--color-surface-container);
  border-color: rgba(26, 28, 28, 0.15);
}

.founder-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-stat-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-primary-container);
  line-height: 1.1;
}

.founder-stat-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1px;
  color: var(--color-secondary);
}

/* Compact Strategic Pillars */
.founder-pillars-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.founder-pillar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-on-surface-variant);
}

.founder-pillar-row .material-symbols-outlined {
  font-size: 16px;
  color: var(--color-primary-container);
  flex-shrink: 0;
}

.founder-card-footer {
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 28, 28, 0.15);
}

/* Filter Controls */
.crew-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: 24px;
}

.crew-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crew-filter-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-on-background);
  background: var(--color-surface);
  color: var(--color-on-background);
  cursor: pointer;
  box-shadow: 2px 2px 0px 0px var(--color-on-background);
  transition: all var(--transition-fast);
}

.crew-filter-btn:hover {
  background: var(--color-primary-container);
  color: #ffffff;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px 0px var(--color-on-background);
}

.crew-filter-btn.active {
  background: var(--color-on-background);
  color: #ffffff;
  box-shadow: none;
  transform: translate(2px, 2px);
}

/* Crew Grid (3 Cards per Row Layout) */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1024px) {
  .crew-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .crew-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Crew Card (Sleek Lengthy Proportion) */
.crew-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0px 0px var(--color-on-background);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  isolation: isolate;
  position: relative;
}

.crew-card:focus-visible {
  outline: 3px solid var(--color-primary-container);
  outline-offset: 3px;
}

.crew-card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 0px 0px var(--color-primary-container);
  border-color: var(--color-primary-container);
}

.crew-card-visual {
  width: 100%;
  height: 250px;
  max-height: 260px;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--color-on-background);
  background: var(--color-surface-dim);
}

.crew-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: contrast(101%);
}

.crew-card:hover .crew-card-img {
  transform: scale(1.04);
}

.crew-visual-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.crew-corner-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-on-background);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.crew-corner-arrow span {
  font-size: 15px;
}

.crew-card:hover .crew-corner-arrow {
  opacity: 1;
  transform: scale(1);
}

.crew-card-content {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 6px;
}

.crew-card-header {
  margin-bottom: 4px;
}

.crew-role-badge {
  display: inline-block;
  font-size: 9px;
  padding: 2px 7px;
}

.crew-member-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-on-background);
  margin-top: 2px;
  margin-bottom: 2px;
  transition: color var(--transition-fast);
}

.crew-card:hover .crew-member-name {
  color: var(--color-primary-container);
}

.crew-member-role-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-container);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-member-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-on-surface-variant);
  line-height: 1.42;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crew-skills-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.crew-pill {
  font-size: 10.5px;
  font-weight: 600;
  background: var(--color-surface-dim);
  color: var(--color-on-background);
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(26, 28, 28, 0.15);
  line-height: 1.2;
}

.crew-pill-more {
  font-size: 10.5px;
  font-weight: 700;
  background: var(--color-primary-container);
  color: #ffffff;
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  line-height: 1.2;
}

.crew-card-footer {
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 28, 28, 0.15);
}

.crew-view-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-on-background);
  transition: all var(--transition-fast);
}

.crew-view-link .arrow-icon {
  font-size: 15px;
  transition: transform var(--transition-fast);
}

.crew-card:hover .crew-view-link {
  color: var(--color-primary-container);
}

.crew-card:hover .crew-view-link .arrow-icon {
  transform: translateX(3px);
}

/* Personality / What We Bring Section */
.personality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .personality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.personality-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  box-shadow: var(--shadow-black-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.personality-card:hover {
  background: var(--color-on-background);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}

.personality-card:hover .personality-title {
  color: var(--color-primary-container);
}

.personality-card:hover .personality-desc {
  color: #ffffff;
}

.personality-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary-container);
  margin-bottom: 8px;
}

.personality-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.personality-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

/* Stat Counter Strip */
.crew-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--color-on-background);
  color: #ffffff;
  padding: 36px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange-lg);
  border: 2px solid var(--color-on-background);
}

@media (max-width: 860px) {
  .crew-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 28px 20px;
  }
}

@media (max-width: 500px) {
  .crew-stats-strip {
    grid-template-columns: 1fr;
  }
}

.crew-stat-item {
  display: flex;
  flex-direction: column;
}

.crew-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--color-primary-container);
  line-height: 1;
  margin-bottom: 6px;
}

.crew-stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Advanced Neo-Brutalist Crew Modal
   ========================================================================== */

.crew-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.crew-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.crew-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 17, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.crew-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border: 2px solid var(--color-on-background);
  border-radius: var(--radius-md);
  box-shadow: 10px 10px 0px 0px #000000;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.crew-modal.is-open .crew-modal-dialog {
  transform: translateY(0) scale(1);
}

.crew-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--color-on-background);
  box-shadow: 2px 2px 0px 0px var(--color-on-background);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.crew-modal-close-btn:hover {
  background: var(--color-primary-container);
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 3px 3px 0px 0px var(--color-on-background);
}

.crew-modal-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 520px;
}

@media (max-width: 800px) {
  .crew-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Column */
.crew-modal-sidebar {
  background: var(--color-surface-dim);
  border-right: 1.5px solid var(--color-on-background);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .crew-modal-sidebar {
    border-right: none;
    border-bottom: 1.5px solid var(--color-on-background);
    padding: 24px 20px;
  }
}

.crew-modal-photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-on-background);
  box-shadow: var(--shadow-black-sm);
  overflow: hidden;
  margin-bottom: 18px;
  background: #ffffff;
}

.crew-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.crew-modal-role {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-on-background);
  margin-bottom: 8px;
}

.crew-modal-tagline {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
  margin-bottom: 20px;
}

.crew-modal-cta-box {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(26, 28, 28, 0.2);
}

/* Content Main Column */
.crew-modal-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-surface);
}

@media (max-width: 800px) {
  .crew-modal-content {
    padding: 24px 20px;
  }
}

.crew-modal-section-card {
  background: #ffffff;
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: 2px 2px 0px 0px var(--color-on-background);
}

.crew-modal-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-on-background);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 28, 28, 0.1);
}

.crew-modal-section-title span.material-symbols-outlined {
  font-size: 20px;
}

.crew-modal-bio-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-on-surface-variant);
  line-height: 1.65;
}

.crew-modal-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crew-modal-skill-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-on-background);
  background: var(--color-surface-dim);
  border: 1.5px solid var(--color-on-background);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  box-shadow: 1.5px 1.5px 0px 0px var(--color-on-background);
  transition: all var(--transition-fast);
}

.crew-modal-skill-tag:hover {
  background: var(--color-primary-container);
  color: #ffffff;
  transform: translate(1px, 1px);
  box-shadow: 0.5px 0.5px 0px 0px var(--color-on-background);
}

.crew-modal-deliverables-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 600px) {
  .crew-modal-deliverables-list {
    grid-template-columns: 1fr;
  }
}

.crew-modal-deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--color-surface-dim);
  border: 1px solid rgba(26, 28, 28, 0.15);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-on-background);
}

.crew-modal-deliverable-item .check-icon {
  font-size: 18px;
  color: var(--color-primary-container);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   BLOG POST & EDITORIAL ARTICLE SYSTEM
   ========================================================================== */
.blog-post-hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(32px, 5vw, 48px);
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-on-background);
}

.blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog-featured-img-wrap {
  margin: 32px 0 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-on-background);
  box-shadow: var(--shadow-black);
  aspect-ratio: 16/9;
  background: var(--color-surface-dim);
}

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

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding: 48px 0 80px;
}

@media (max-width: 980px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.blog-content-body {
  font-family: var(--font-body);
  color: var(--color-on-surface);
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.85;
}

.blog-content-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  margin: 40px 0 16px;
  line-height: 1.25;
  color: var(--color-on-background);
}

.blog-content-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 700;
  margin: 32px 0 12px;
  line-height: 1.3;
  color: var(--color-on-background);
}

.blog-content-body p {
  margin-bottom: 24px;
}

.blog-content-body ul, 
.blog-content-body ol {
  margin: 0 0 28px 24px;
  padding: 0;
}

.blog-content-body li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.blog-callout {
  background: var(--color-surface-low);
  border-left: 5px solid var(--color-primary-container);
  border: 1.5px solid var(--color-on-background);
  border-left-width: 6px;
  border-left-color: var(--color-primary-container);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 36px 0;
  box-shadow: var(--shadow-black-sm);
}

.blog-callout-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-on-background);
}

.blog-quote-box {
  background: var(--color-on-background);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 32px;
  margin: 40px 0;
  position: relative;
  box-shadow: var(--shadow-orange);
}

.blog-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 16px;
}

.blog-quote-author {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-container);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-stat-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

@media (max-width: 680px) {
  .blog-stat-highlight-grid {
    grid-template-columns: 1fr;
  }
}

.blog-stat-card {
  background: #ffffff;
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-black-sm);
}

.blog-stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary-container);
  line-height: 1;
  margin-bottom: 6px;
}

.blog-stat-lbl {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-toc-card {
  background: #ffffff;
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-black-sm);
}

.blog-toc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--color-on-background);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc-list li {
  margin-bottom: 10px;
}

.blog-toc-list a {
  font-size: 0.88rem;
  color: var(--color-on-surface-variant);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-toc-list a:hover {
  color: var(--color-primary-container);
  transform: translateX(4px);
}

.blog-author-card {
  background: #ffffff;
  border: 1.5px solid var(--color-on-background);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-black-sm);
}

.blog-author-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--color-on-background);
  object-fit: cover;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 860px) {
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}