/* =============================================================
   Madesign. — Brutalist Video Editing Portfolio
   ============================================================= */

/* -------------------------------------------------------------
   0. Design tokens
------------------------------------------------------------- */
:root {
  --bg-color: #111111;        /* near-black base */
  --bg-alt: #1b1b1b;          /* slightly raised panel */
  --text-color: #ffffff;      /* crisp white */
  --muted-text: #b7b7b7;      /* readable grey for body copy */
  --primary-accent: #e60000;  /* stark red */

  --border-thick: 4px;
  --border-thin: 2px;

  --font-display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1320px;
  --gap-lg: clamp(2rem, 5vw, 4.5rem);
}

/* -------------------------------------------------------------
   1. Reset & base
------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, iframe {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400; /* Anton is already heavy */
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track {
    animation: none !important;
  }
}

.section-heading {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------------
   2. Buttons (blocky, brutalist, sharp edges)
------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 1.1rem 2.2rem;
  border: var(--border-thick) solid var(--text-color);
  border-radius: 0;
  background: transparent;
  color: var(--text-color);
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 6px 6px 0 0 var(--primary-accent);
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 0 var(--primary-accent);
}

.btn:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 0 var(--primary-accent);
}

.btn-primary {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--text-color);
  box-shadow: 6px 6px 0 0 var(--text-color);
}

.btn-primary:hover,
.btn-primary:active {
  box-shadow: 3px 3px 0 0 var(--text-color);
}

.btn-dark {
  background: var(--bg-color);
  border-color: var(--text-color);
  color: var(--text-color);
  box-shadow: 6px 6px 0 0 var(--bg-color);
}

.btn-large {
  font-size: 1.05rem;
  padding: 1.3rem 2.6rem;
}

/* -------------------------------------------------------------
   3. Header / Nav
------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-color);
  border-bottom: var(--border-thick) solid var(--primary-accent);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-color);
}

.logo img {
  max-height: 36px;
  width: auto;
  display: block;
}

.logo span {
  color: var(--primary-accent);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary-accent);
  border-color: var(--primary-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: var(--border-thin) solid var(--text-color);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--text-color);
}

/* -------------------------------------------------------------
   4. Hero
------------------------------------------------------------- */
.hero {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 9vw, 6rem);
  max-width: 100%; /* Or change to something much wider like 40ch */
  text-wrap: balance;
  line-height: 1.1; /* Keeps the gap between the two lines tight */
}

.accent-text {
  color: var(--primary-accent);
}

.hero-subhead {
  color: var(--muted-text);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-top: 1.8rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.featured-edit {
  margin-top: clamp(3rem, 7vw, 5rem);
  text-align: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.featured-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 1rem;
}

/* Responsive 16:9 video wrapper, used for hero + every card */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: var(--bg-alt);
  border: var(--border-thin) solid var(--text-color);
  overflow: hidden;
}

.video-wrapper--featured {
  border-width: var(--border-thick);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted-text);
  text-align: center;
  padding: 1rem;
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-alt),
      var(--bg-alt) 10px,
      #222 10px,
      #222 20px
    );
}

.placeholder-icon {
  font-size: 2.4rem;
  color: var(--primary-accent);
}

.placeholder-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  max-width: 24ch;
}

/* -------------------------------------------------------------
   4b. Talking Points (Bento Grid)
------------------------------------------------------------- */
.talking-points {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem clamp(3rem, 7vw, 5rem);
}

.tp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* Slightly increased gap between cards */
}

@media (min-width: 800px) {
  .tp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tp-card {
  /* Removed the clashing borders completely */
  border: none;
  /* Increased padding to let the text breathe */
  padding: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Specific Card Colors */
.tp-card--red {
  background: var(--primary-accent);
  color: var(--text-color);
  box-shadow: 8px 8px 0 0 var(--text-color); /* Clean white shadow */
}
.tp-card--red .tp-heading span {
  color: var(--bg-color);
}

.tp-card--dark {
  background: var(--bg-alt);
  color: var(--text-color);
  box-shadow: 8px 8px 0 0 var(--primary-accent); /* Clean red shadow */
}
.tp-card--dark .tp-heading span {
  color: var(--primary-accent);
}

.tp-card--light {
  grid-column: 1 / -1; /* Spans full width on desktop */
  background: var(--text-color);
  color: var(--bg-color);
  box-shadow: 8px 8px 0 0 var(--primary-accent); /* Clean red shadow */
}
.tp-card--light .tp-heading {
  color: var(--bg-color);
}
.tp-card--light .tp-heading .accent-text-alt {
  color: var(--primary-accent);
}
.tp-card--light .tp-body {
  color: var(--bg-color);
}

.tp-card--red .tp-heading {
  font-size: clamp(3.2rem, 5.5vw, 3rem);
}

/* Typography matching the image */
.tp-heading {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.tp-body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  max-width: 42ch;
  line-height: 1.4;
}

/* -------------------------------------------------------------
   5. Crossed Marquees
------------------------------------------------------------- */
.crossed-marquees {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Split the margin to remove the gap at the bottom */
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: 0;
}

.marquee-band {
  position: absolute;
  /* Making it 120vw wide and shifting left prevents empty corners when rotated */
  width: 120vw;
  left: -10vw;
  padding: 1.2rem 0;
  border-top: var(--border-thick) solid var(--text-color);
  border-bottom: var(--border-thick) solid var(--text-color);
  display: flex;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); /* Brutalist drop shadow separation */
}

/* White Band (On Top) */
.marquee-band--light {
  background: var(--text-color);
  color: var(--bg-color);
  transform: rotate(-3deg);
  z-index: 2;
}

/* Red Band (Underneath) */
.marquee-band--red {
  background: var(--primary-accent);
  color: var(--text-color);
  transform: rotate(4deg);
  z-index: 1;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-track--reverse {
  animation: marquee-scroll-reverse 45s linear infinite;
}

/* Typography matching the image */
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.marquee-track em {
  font-style: italic; /* Matches the alternating italic styling in the reference */
}

.divider {
  margin: 0 1.5rem;
}

/* Text Accent Colors */
.marquee-band--light .accent-red {
  color: var(--primary-accent);
}
.marquee-band--red .accent-dark {
  color: var(--bg-color);
}

/* Scroll Animations */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-reverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pause animations for accessibility */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .marquee-track--reverse {
    animation: none !important;
  }
}

/* -------------------------------------------------------------
   6. Portfolio
------------------------------------------------------------- */
.portfolio {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}

/* New Split Layout Container */
.portfolio-header-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1000px) {
  .portfolio-header-container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-heading h2 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
}

.section-heading p {
  color: var(--muted-text);
  margin-top: 0.6rem;
  font-size: 1rem;
}

/* Filter bar (Lines Removed) */
.filter-bar {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

  /* NEW: Cursor and selection states for dragging */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;              /* Chrome/Safari */
}

/* NEW: Active dragging states */
.filter-bar.is-dragging {
  cursor: grabbing;
}

/* Prevent accidental button clicks while the user is actively dragging */
.filter-bar.is-dragging .filter-btn {
  pointer-events: none;
}

.filter-btn {
  flex: 0 0 auto;
  background: transparent;
  border: var(--border-thin) solid var(--text-color);
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.filter-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.filter-btn.is-active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--text-color);
}

/* Grid — Left-to-Right Flow with Mixed Heights */
.portfolio-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr; /* 1 column on mobile */
  gap: 2px; /* Uniform seams */
  background: var(--text-color);
  border: 2px solid var(--text-color);
  align-items: stretch;
  grid-auto-rows: 1px;
  counter-reset: card-counter;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (min-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  }
}

.portfolio-card {
  background: var(--bg-color);
  counter-increment: card-counter;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card[hidden] {
  display: none;
}

/* New flexible video/GIF wrapper */
.gif-wrapper {
  position: relative;
  width: 100%;
  line-height: 0; /* Removes microscopic ghost margins under images/video */
}

.gif-wrapper img,
.gif-wrapper video {
  width: 100%;
  height: auto; /* Allows the video to dictate its own height natively */
  display: block;
}

/* V1, V2 dynamic numbering adapted for the new GIF wrapper */
.gif-wrapper::before {
  content: "V" counter(card-counter);
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 20;
  display: inline-block; /* Forces the box to respect padding */
  line-height: 1; /* Fixes the squished text issue */
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--text-color);
}

.card-meta {
  padding: 1rem; /* Equalized padding since there is no title below it */
  border-top: 2px solid var(--text-color);
  background: var(--bg-color);
}

.card-tag {
  display: inline-block;
  background: var(--primary-accent);
  color: var(--text-color);
  font-size: 0.75rem; /* Bumped up slightly to act as the main label */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0; /* Removed the bottom margin since the title is gone */
}

/* You can safely delete the .card-title CSS rule entirely */

.card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}

.no-results {
  text-align: center;
  color: var(--muted-text);
  padding: 3rem 0;
  font-weight: 600;
}

/* -------------------------------------------------------------
   7. Contact
------------------------------------------------------------- */
.contact {
  background: var(--primary-accent);
  border-top: var(--border-thick) solid var(--text-color);
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.contact-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-text h2 {
  color: var(--bg-color);
  font-size: clamp(2.3rem, 6vw, 3.4rem);
}

.contact-text p {
  color: var(--bg-color);
  font-weight: 600;
  margin-top: 1.2rem;
  max-width: 40ch;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-color);
  padding: 2rem;
  border: var(--border-thick) solid var(--text-color);
}

.contact-form label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem;
  background: var(--bg-color);
  color: var(--text-color);
  border: var(--border-thin) solid var(--text-color);
  border-radius: 0;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b6b6b;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-accent);
}

.contact-form .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
  background: var(--text-color);
  color: var(--bg-color);
  border-color: var(--text-color);
  box-shadow: 6px 6px 0 0 var(--primary-accent);
}

.contact-form .btn:hover {
  box-shadow: 3px 3px 0 0 var(--primary-accent);
}

.form-status {
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--text-color);
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* -------------------------------------------------------------
   8. Footer
------------------------------------------------------------- */
.site-footer {
  background: var(--bg-color);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-logo span {
  color: var(--primary-accent);
}

.footer-logo img {
  max-height: 24px; /* Slightly smaller for the footer */
  width: auto;
  display: block;
  opacity: 0.8; /* Optional: slightly fades the footer logo for a muted look */
}
.footer-logo img:hover {
  opacity: 1;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.social-links a {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.social-links a:hover {
  color: var(--primary-accent);
  border-color: var(--primary-accent);
}

.copyright {
  color: var(--muted-text);
  font-size: 0.8rem;
}

/* -------------------------------------------------------------
   9. Mobile nav (breakpoint)
------------------------------------------------------------- */
@media (max-width: 699px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-color);
    border-bottom: var(--border-thick) solid var(--primary-accent);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .nav-links.is-open {
    max-height: 300px;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
  }

  .site-header {
    position: sticky;
  }

  .nav-container {
    position: relative;
  }
}

/* =========================================
   10. YOUTUBE FACADE (Custom Play Button)
   ========================================= */
.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #000;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.yt-facade:hover img {
  opacity: 1;
}

.facade-play {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  font-size: 5rem;
  color: var(--primary-accent);
  transition: transform 0.2s ease, color 0.2s ease;
}

.yt-facade:hover .facade-play {
  transform: scale(1.15);
  color: var(--text-color);
}

/* -------------------------------------------------------------
   11. Niche Selector (Homepage)
------------------------------------------------------------- */
.niche-selector {
  /* Pushes past the standard container to make cards larger */
  max-width: 1600px;
  width: 92%;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0; /* Removed horizontal padding since width handles it */
}

.niche-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* Slightly increased gap for breathing room on larger cards */
}

@media (min-width: 640px) {
  .niche-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .niche-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.niche-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-color); /* Deep black */
  border: var(--border-thick) solid var(--text-color); /* Keep brutalist outer border */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
  text-decoration: none;
}

.niche-shadow-red {
  box-shadow: 8px 8px 0 0 var(--primary-accent);
}

.niche-shadow-white {
  box-shadow: 8px 8px 0 0 var(--text-color);
}

.niche-card:hover {
  transform: translate(4px, 4px);
}
.niche-card.niche-shadow-red:hover {
  box-shadow: 4px 4px 0 0 var(--primary-accent);
}
.niche-card.niche-shadow-white:hover {
  box-shadow: 4px 4px 0 0 var(--text-color);
}

.niche-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Enforces 16:9 ratio */
  background: #000;
  overflow: hidden;
  line-height: 0;
}

.niche-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(40%);
  transition: filter 0.3s ease;
}

.niche-card:hover .niche-video-wrapper video {
  filter: grayscale(0%);
}

.niche-card-meta {
  padding: 1rem;
  /* Thin white line separating video from the black bottom area, just like the image */
  border-top: 2px solid var(--text-color);
  background: var(--bg-color);
  display: flex;
  align-items: center;
}

/* Red Tag in Niche Card */
.niche-title {
  display: inline-block;
  background: var(--primary-accent);
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  line-height: 1.2;
}

/* -------------------------------------------------------------
   12. Social Contact Overrides
------------------------------------------------------------- */
.social-contact-options {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: var(--border-thin) dashed var(--bg-color); /* Gives a nice raw separation line */
}

.social-contact-options p {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  color: var(--bg-color);
}

.social-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-buttons .btn-dark {
  background: var(--bg-color);
  color: var(--text-color);
  border-color: var(--text-color); /* Adds the white outline back */
  box-shadow: 6px 6px 0 0 var(--bg-color); /* Keeps the heavy black shadow */
}

/* Make them invert to white when hovered */
.social-buttons .btn-dark:hover {
  background: var(--text-color);
  color: var(--bg-color);
  box-shadow: 3px 3px 0 0 var(--bg-color);
}

/* -------------------------------------------------------------
   Brutalist Exporting Placeholder
------------------------------------------------------------- */
.exporting-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); /* Scales dynamically */
  text-transform: uppercase;
  color: var(--text-color);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 var(--primary-accent); /* Classic Madesign red shadow */
  line-height: 1;
}

.exporting-text::after {
  content: '';
  display: inline-block;
  width: 1.5ch; /* Adjusted width for the Anton font */
  text-align: left;
  animation: typing-dots 1.5s steps(4, end) infinite;
}

@keyframes typing-dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}
