/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
  /* Mood Board Palette */
  --bg-cream: #FEFBEA;
  --bg-grid: #FAF8EE;
  --text-charcoal: #333333;
  --soft-blue: #AECDE2;
  --dusty-pink: #E8C9D1;
  --sage-green: #C1CDA5;
  --sunshine-yellow: #ffffdb;
  --muted-red: #BF4F51;
  --grid-line: #aecde259;

  /* Typography */
  --font-body: 'Outfit', sans-serif;
  --font-handwriting: 'Times New Roman', serif;
  --font-pixel: 'IBM Plex Mono', monospace;
}

/* ==========================================================================
   2. GLOBAL BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Subtle Film Grain Noise Texture */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 99;
}

/* ==========================================================================
   3. NAVIGATION HEADER
   ========================================================================== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo-link {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-charcoal);
}

.logo-text .dot {
  color: var(--muted-red);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

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

.nav-item:hover,
.nav-item.active {
  color: var(--muted-red);
}

.badge-nav {
  background: var(--dusty-pink);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--text-charcoal);
}

.btn-nav {
  border: 1.5px solid var(--text-charcoal);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  background: #FFF;
}

/* ==========================================================================
   4. RESPONSIVE HERO SECTION & COLLAGE
   ========================================================================== */
.hero-section {
  width: 100%;
  max-width: 1140px;
  margin: 1rem auto 2.5rem auto;
  padding: 0 1rem;
}

/* Grid Layout Container */
.grid-background {
  background-color: var(--bg-grid);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 2px solid var(--text-charcoal);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  box-shadow: 6px 6px 0px var(--soft-blue);
  overflow: hidden;
  /* Prevents angled elements from creating horizontal scrollbars */
}

/* Left Column: Typography & Action */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  z-index: 2;
}

.badge-pixel {
  font-family: var(--font-handwriting);
  font-size: clamp(0.6rem, 1.2vw, 1.1rem);
  background: var(--sage-green);
  color: var(--text-charcoal);
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--text-charcoal);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 3px 3px 0px var(--text-charcoal);
}

.hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  color: var(--text-charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.highlight-text-editorial {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--muted-red);
  /* background: linear-gradient(180deg, transparent 65%, var(--dusty-pink) 65%); */
  padding: 0 4px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: #444444;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  background-color: var(--dusty-pink);
  color: var(--text-charcoal);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--text-charcoal);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 3px 3px 0px var(--text-charcoal);
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  background: #F2F6F9;
  color: var(--text-charcoal);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--text-charcoal);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 3px 3px 0px var(--text-charcoal);
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--text-charcoal);
}

.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--text-charcoal);
}

.handwritten-note {
  font-family: var(--font-handwriting);
  font-size: 1.5rem;
  color: var(--muted-red);
  transform: rotate(-3deg);
}

/* Right Column: Visual Collage Container */
.hero-visual-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Scalable Canvas Ratio */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 0.95;
  margin: 0 auto;
}

/* Card 1: Stamp (Top Left) */
.postage-stamp-card {
  position: absolute;
  top: 0%;
  left: 2%;
  width: 48%;
  z-index: 2;
  background: #FFF;
  padding: 3%;
  border: 2px dashed var(--dusty-pink);
  transform: rotate(-9deg);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.postage-stamp-inner {
  border: 1px solid var(--dusty-pink);
  background: #FFF0F3;
  padding: 8% 5%;
  text-align: center;
}

.stamp-type-label {
  font-family: var(--font-pixel);
  font-size: clamp(0.75rem, 1vw, 1rem);
  color: var(--muted-red);
}

.swan-graphic {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 2% 0;
}

.study-title {
  font-size: clamp(0.55rem, 0.75vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Card 3: Polaroid Card (Bottom Right) */
.polaroid-card {
  position: absolute;
  bottom: 0%;
  right: 0%;
  width: 60%;
  z-index: 4;
  background: #FFFFFF;
  border: 1.5px solid var(--soft-blue);
  padding: 4%;
  transform: rotate(5deg);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.polaroid-frame {
  background: #F2F6F9;
  border: 1.5px solid var(--soft-blue);
  padding: 10% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.magnifying-glass-container {
  width: 42%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #FFF;
  border: 1.5px solid var(--text-charcoal);
  display: flex;
  justify-content: center;
  align-items: center;
}

.magnifying-glass-icon {
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.polaroid-caption {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1vw, 0.95rem);
  margin-top: 8%;
  text-align: center;
  font-weight: 500;
  line-height: 1.25;
}

/* Floating Cherry Accent */
.cherry-accent {
  position: absolute;
  top: 36%;
  right: 2%;
  z-index: 5;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  transform: rotate(15deg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(15deg);
  }

  50% {
    transform: translateY(-8px) rotate(22deg);
  }
}

/* Hover depth interaction */
.hero-visual-wrapper:hover .postage-stamp-card {
  transform: rotate(-5deg) scale(1.02);
}

.hero-visual-wrapper:hover .polaroid-card {
  transform: rotate(2deg) scale(1.02);
}

/* ==========================================================================
   5. RESTRUCTURED ABOUT SECTION STYLES
   ========================================================================== */
.about-section {
  width: 100%;
  max-width: 1140px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.about-header {
  margin-bottom: 1.5rem;
}

.about-title {
  font-family: 'Newsreader', serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--text-charcoal);
  margin-top: 0.5rem;
}

/* Main Body Card directly under Header */
.dossier-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 0 16px 16px 16px;
  box-shadow: 6px 6px 0px var(--sage-green);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.dossier-tab {
  position: absolute;
  top: -30px;
  left: -2px;
  background: var(--sage-green);
  border: 2px solid var(--text-charcoal);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.25rem 1rem;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  font-weight: bold;
}

.dossier-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dossier-headline {
  font-family: var(--font-pixel);
  font-size: 1.35rem;
  color: var(--text-charcoal);
  line-height: 1.3;
}

.dossier-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.65;
}

/* Grid Ratio: Left Column (Smaller: 0.85fr), Right Column (Larger: 1.15fr) */
.about-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* --- Left Column (Smaller) --- */
.sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Passport Badge */
.passport-card {
  background: var(--soft-blue);
  border: 2px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 5px 5px 0px var(--text-charcoal);
}

.passport-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  border-bottom: 1.5px solid var(--text-charcoal);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.passport-status {
  color: #1b7a3d;
  font-weight: bold;
}

.passport-body {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.passport-avatar {
  width: 55px;
  height: 55px;
  background: #FFF;
  border: 1.5px solid var(--text-charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.passport-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

.passport-role {
  font-size: 0.85rem;
  color: #333;
}

.passport-meta {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.2rem;
}

.passport-barcode {
  font-family: var(--font-pixel);
  text-align: center;
  letter-spacing: 5px;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-charcoal);
}

/* Quirks Box */
.quirks-box {
  background: #FFFFFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 4px 4px 0px var(--dusty-pink);
}

.quirks-box-title {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text-charcoal);
}

.quirks-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quirk-chip {
  background: var(--bg-cream);
  border: 1.5px solid var(--text-charcoal);
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Right Column (Larger & Featured) --- */
.featured-about-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Highlights Grid */
.dossier-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  background: #FFFFFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 5px 5px 0px var(--sage-green);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.highlight-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.highlight-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted-red);
}

.highlight-item p {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* Methodology Toolkit Box */
.toolkit-box {
  background: #FFFFFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 5px 5px 0px var(--soft-blue);
}

.toolkit-box-title {
  font-family: var(--font-pixel);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-charcoal);
  border-bottom: 1.5px dashed var(--text-charcoal);
  padding-bottom: 0.4rem;
}

.toolkit-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toolkit-checklist li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #333;
}

.check-icon {
  color: var(--muted-red);
  font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 820px) {
  .about-layout-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. FEATURED WORK SECTION
   ========================================================================== */
.featured-work {
  max-width: 1140px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.section-heading {
  font-family: var(--font-pixel);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-charcoal);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-work {
  background: #FFFFFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 5px 5px 0px var(--dusty-pink);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.2s ease;
}

.card-work:hover {
  transform: translateY(-4px);
}

.card-tag {
  align-self: flex-start;
  font-family: var(--font-pixel);
  background: var(--soft-blue);
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--text-charcoal);
  border-radius: 4px;
  font-size: 0.9rem;
}

.card-work h3 {
  font-size: 1.25rem;
  color: var(--text-charcoal);
}

.card-work p {
  font-size: 0.95rem;
  color: #666;
  flex-grow: 1;
}

.card-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted-red);
  margin-top: 0.5rem;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #777;
}

/* ==========================================================================
   8. PROJECTS PAGE SPECIFIC STYLES
   ========================================================================== */

/* Projects Hero Section */
.projects-hero {
  max-width: 1140px;
  margin: 1rem auto 3rem auto;
  padding: 0 1rem;
}

.projects-hero-container {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

/* Projects Archive Wrapper */
.projects-archive {
  max-width: 1140px;
  margin: 0 auto 4rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  /* Spacing between categories */
}

/* Category Headers */
.project-category {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--text-charcoal);
  white-space: nowrap;
}

/* The dotted line next to the category title */
.category-line {
  flex-grow: 1;
  height: 2px;
  background-image: linear-gradient(to right, var(--text-charcoal) 50%, transparent 50%);
  background-size: 12px 100%;
  opacity: 0.3;
}

.category-desc {
  font-size: 1.05rem;
  color: #555;
  max-width: 700px;
  line-height: 1.6;
  margin-top: -0.8rem;
}

/* Subtle thematic variations for different card types */
.card-work.ai-card {
  box-shadow: 5px 5px 0px var(--soft-blue);
}

.card-work.ai-card .card-tag {
  background: var(--bg-cream);
}

.card-work.ixd-card {
  box-shadow: 5px 5px 0px var(--sage-green);
}

.card-work.ixd-card .card-tag {
  background: var(--dusty-pink);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .projects-archive {
    gap: 3rem;
  }

  .category-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   6. MEDIA QUERIES & RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet Layout (Below 820px) */
@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .grid-background {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-visual-wrapper {
    margin-top: 1rem;
  }

  .hero-visual {
    max-width: 310px;
  }
}

/* Small Smartphone Screen Adjustments (Below 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding: 0 0.5rem;
  }

  .grid-background {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   9. CASE STUDY TEMPLATE STYLES
   ========================================================================== */

/* --- Cover Header --- */
.case-cover {
  max-width: 1140px;
  margin: 1rem auto 2rem auto;
  padding: 0 1rem;
}

.case-cover-container {
  padding: clamp(2rem, 4vw, 3.5rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 16px;
}

.category-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.tag-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1.5px solid var(--text-charcoal);
}

.tag-research {
  background: var(--sage-green);
}

.tag-ai {
  background: var(--soft-blue);
}

.case-title {
  font-family: 'Newsreader', serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-charcoal);
  line-height: 1.15;
  max-width: 900px;
}

.case-one-liner {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.6;
  max-width: 820px;
}

/* Meta Grid (Recruiter Row) */
.meta-dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: #FFFFFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: 4px 4px 0px var(--text-charcoal);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  color: var(--muted-red);
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

/* --- Hero & Media Elements --- */
.case-hero-media {
  max-width: 1140px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.media-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.responsive-media {
  width: 100%;
  height: auto;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  box-shadow: 5px 5px 0px var(--text-charcoal);
  object-fit: cover;
}

.media-caption {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  text-align: center;
}

.media-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* Video Placeholder Box */
.video-placeholder {
  width: 100%;
  height: 320px;
  background: var(--bg-cream);
  border: 2px dashed var(--text-charcoal);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-charcoal);
  font-weight: 600;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--dusty-pink);
  border: 2px solid var(--text-charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0px var(--text-charcoal);
}

/* --- Main Case Body Layout --- */
.case-body {
  max-width: 860px;
  margin: 0 auto 5rem auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* TL;DR Box */
.tldr-box {
  background: var(--bg-grid);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 2.5px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 6px 6px 0px var(--sage-green);
}

.tldr-badge {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-charcoal);
  background: var(--sage-green);
  padding: 0.2rem 0.6rem;
  border: 1.5px solid var(--text-charcoal);
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.tldr-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}

/* Case Sections & Headers */
.case-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.section-title {
  font-family: 'Newsreader', serif;
  font-size: 1.8rem;
  color: var(--text-charcoal);
  border-bottom: 2px solid var(--text-charcoal);
  padding-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.title-num {
  font-family: var(--font-pixel);
  color: var(--muted-red);
}

.sub-title-playful {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}

.case-p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #333;
}

/* Handwritten Pull Quote (Rule: 1 per study) */
.handwritten-quote {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--text-charcoal);
  background: var(--bg-cream);
  border-left: 4px solid var(--dusty-pink);
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
  border-radius: 0 12px 12px 0;
}

.handwritten-quote cite {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: normal;
}

/* Rigor List */
.rigor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  padding: 1.5rem;
}

.rigor-list li {
  font-size: 1.02rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.rigor-list li::before {
  content: "➔";
  position: absolute;
  left: 0;
  color: var(--muted-red);
}

/* Callouts / Warnings */
.callout-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--text-charcoal);
  font-size: 1rem;
  line-height: 1.6;
}

.warning-box {
  background: #fff4e6;
  box-shadow: 4px 4px 0px var(--text-charcoal);
}

.callout-icon {
  font-size: 1.6rem;
}

/* Solutions Grid & Before/After */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.solution-card {
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 4px 4px 0px var(--soft-blue);
}

.solution-card h4 {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-charcoal);
}

.solution-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.before-after-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

/* Impact Metrics Bar */
.impact-metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 0.5rem 0;
}

.metric-card {
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 5px 5px 0px var(--sage-green);
}

.metric-number {
  display: block;
  font-family: 'Newsreader', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-charcoal);
}

.metric-label {
  font-size: 0.88rem;
  color: #555;
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* Director's Commentary */
.commentary-box {
  background: var(--bg-cream);
  border: 2px dashed var(--text-charcoal);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

/* Souvenirs / Artifact Links */
.souvenirs-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.souvenir-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text-charcoal);
  box-shadow: 4px 4px 0px var(--dusty-pink);
  transition: transform 0.15s ease;
}

.souvenir-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--dusty-pink);
}

.souvenir-icon {
  font-size: 1.6rem;
}

.souvenir-card strong {
  display: block;
  font-size: 1rem;
}

.souvenir-card p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.1rem;
}

.souvenir-card .arrow {
  margin-left: auto;
  font-size: 1.3rem;
  font-weight: bold;
}

/* Bottom Nav */
.case-bottom-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px dashed var(--text-charcoal);
}

/* Responsive Adjustments */
@media (max-width: 768px) {

  .media-grid-2col,
  .solution-grid,
  .before-after-wrapper {
    grid-template-columns: 1fr;
  }

  .case-bottom-nav {
    flex-direction: column;
  }

  .case-bottom-nav a {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   10. CONTACT PAGE & RESUME VAULT STYLES
   ========================================================================== */

.contact-hero {
  max-width: 1140px;
  margin: 1rem auto 2.5rem auto;
  padding: 0 1rem;
}

.contact-hero-container {
  text-align: center;
  padding: clamp(2.5rem, 4vw, 3.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-radius: 16px;
}

.contact-main {
  max-width: 1140px;
  margin: 0 auto 5rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* --- Resume Dossier Vault --- */
.resume-vault-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vault-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vault-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--text-charcoal);
}

.vault-desc {
  font-size: 1rem;
  color: #555;
  margin-top: -0.5rem;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.resume-card {
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 5px 5px 0px var(--sage-green);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.ai-resume {
  box-shadow: 5px 5px 0px var(--soft-blue);
}

.ixd-resume {
  box-shadow: 5px 5px 0px var(--dusty-pink);
}

.resume-tag {
  align-self: flex-start;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  background: var(--sage-green);
  border: 1px solid var(--text-charcoal);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.tag-blue {
  background: var(--soft-blue);
}

.tag-pink {
  background: var(--dusty-pink);
}

.resume-icon {
  font-size: 2rem;
}

.resume-card h3 {
  font-family: 'Newsreader', serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-charcoal);
}

.resume-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.btn-resume {
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

/* --- Contact Form & Info Split Section --- */
.contact-split-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-box {
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 6px 6px 0px var(--text-charcoal);
}

.form-title {
  font-family: var(--font-pixel);
  font-size: 1.8rem;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
  border-bottom: 2px dashed var(--text-charcoal);
  padding-bottom: 0.5rem;
}

.retro-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--text-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem;
  border: 2px solid var(--text-charcoal);
  border-radius: 8px;
  background: var(--bg-cream);
  color: var(--text-charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--muted-red);
  background: #FFF;
}

.btn-submit {
  align-self: flex-start;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Sidebar Contact Info */
.contact-info-aside {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.quick-connect-card {
  background: var(--bg-grid);
  border: 2px solid var(--text-charcoal);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 5px 5px 0px var(--soft-blue);
}

.connect-title {
  font-family: 'Newsreader', serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.connect-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.direct-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.direct-links-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.direct-icon {
  font-size: 1.4rem;
}

.direct-links-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted-red);
}

.direct-links-list a {
  font-size: 0.95rem;
  color: var(--text-charcoal);
  font-weight: 600;
  text-decoration: none;
}

.direct-links-list a:hover {
  text-decoration: underline;
}

.availability-status {
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 4px 4px 0px var(--sage-green);
}

.status-indicator {
  color: #1b7a3d;
  font-size: 1.4rem;
  animation: pulse 2s infinite;
}

.availability-status p {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.1rem;
}

/* --- Homepage Teaser Card Styles --- */
.home-contact-teaser {
  max-width: 1140px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.teaser-card {
  border: 2.5px solid var(--text-charcoal);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 6px 6px 0px var(--dusty-pink);
}

.teaser-headline {
  font-family: 'Newsreader', serif;
  font-size: 1.8rem;
  color: var(--text-charcoal);
  margin: 0.4rem 0;
}

.teaser-text {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
}

.teaser-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  white-space: nowrap;
}

.btn-secondary {
  background: #FFF;
  border: 2px solid var(--text-charcoal);
  color: var(--text-charcoal);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 3px 3px 0px var(--text-charcoal);
}

.btn-secondary:hover {
  background: var(--bg-cream);
}

/* Mobile Responsiveness */
@media (max-width: 820px) {
  .contact-split-section {
    grid-template-columns: 1fr;
  }

  .teaser-card {
    flex-direction: column;
    text-align: center;
  }

  .teaser-actions {
    width: 100%;
  }

  .btn-teaser-main,
  .btn-teaser-sub {
    width: 100%;
  }
}