/* ========================================================================
   FIND SPICY COLLABS - MAIN STYLESHEET
   adultcontentnetwork.com

   Table of Contents:
   1. Font Declarations
   2. CSS Custom Properties (Design Tokens)
   3. CSS Reset & Base Styles
   4. Typography
   5. Layout & Container
   6. Components - Buttons
   7. Components - Forms
   8. Components - Cards
   9. Components - Tables
   10. Components - Tags & Badges
   11. Components - Navigation
   12. Components - Filter
   13. Page Layouts - Network
   14. Page Layouts - Profile
   15. Page Layouts - Content/Prose
   16. Accessibility
   17. Utilities
   18. Media Queries
   ======================================================================== */


/* ========================================================================
   1. FONT DECLARATIONS
   ======================================================================== */

/* Abril Fatface - Display Font (H1 only) */
@font-face {
  font-family: 'Abril Fatface';
  src: url('../fonts/Abril_Fatface/AbrilFatface-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Poppins - Regular (Body Text) */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Poppins - Medium (Buttons, Meta) */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Poppins - SemiBold (H2, H3) */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Poppins - Bold (Strong emphasis) */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ========================================================================
   2. CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================================================== */

:root {
  /* Colors - Brand Palette (Dark Cherry Heat) */
  --color-grape: #22092C;        /* Background - deep purple */
  --color-plum: #872341;         /* Primary - rich plum */
  --color-cherry: #BE3144;       /* Accent - bold cherry */
  --color-coral: #F05941;        /* Highlight - vibrant coral */

  /* Colors - Text */
  --color-text-light: #FFF9F3;   /* Primary text on dark */
  --color-text-dim: #FCE9E9;     /* Secondary text, lower contrast */
  --color-text-dark: #22092C;    /* Text on light backgrounds */

  /* Colors - UI Elements */
  --color-focus: #F05941;        /* Focus outline (coral) */
  --color-card-bg: rgba(255, 255, 255, 0.06);  /* Translucent card background */
  --color-overlay: rgba(34, 9, 44, 0.85);      /* Modal/overlay background */

  /* Colors - Feedback States */
  --color-success: #10b981;      /* Success messages */
  --color-error: #ef4444;        /* Error states */
  --color-warning: #f59e0b;      /* Warning states */
  --color-info: var(--color-plum); /* Info messages */

  /* Typography - Font Families */
  --font-display: 'Abril Fatface', Georgia, serif;
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Typography - Font Sizes (Modular Scale 1.25 - Major Third) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.563rem;    /* 25px */
  --text-3xl: 1.953rem;    /* 31px */
  --text-4xl: 2.441rem;    /* 39px */
  --text-5xl: 3.052rem;    /* 49px */

  /* Typography - Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Typography - Line Heights */
  --leading-tight: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 1.8;

  /* Spacing Scale (8px base unit) */
  --space-xs: 0.5rem;      /* 8px */
  --space-sm: 0.75rem;     /* 12px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 6rem;       /* 96px */

  /* Layout - Container Widths */
  --container-max: 1400px;       /* Main container max-width */
  --prose-max: 65ch;             /* Text content max-width */
  --profile-max: 900px;          /* Profile detail max-width */

  /* Layout - Breakpoints (for JS) */
  --breakpoint-sm: 640px;
  --breakpoint-md: 960px;
  --breakpoint-lg: 1280px;

  /* Visual Effects - Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Visual Effects - Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.45);

  /* Visual Effects - Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
}


/* ========================================================================
   3. CSS RESET & BASE STYLES
   ======================================================================== */

/* Box-sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins */
* {
  margin: 0;
  padding: 0;
}

/* HTML & Body */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--color-grape);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  text-rendering: optimizeLegibility;
}

/* Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-radius: var(--radius-md);
}

/* Form elements */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Avoid text overflow */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* List styles */
ul,
ol {
  list-style: none;
}


/* ========================================================================
   4. TYPOGRAPHY
   ======================================================================== */

/* Headings Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* H1 - Display Heading (Abril Fatface) */
h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-coral);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

/* H2 - Section Heading */
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* H3 - Subsection Heading */
h3 {
  font-size: var(--text-xl);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

/* Paragraph */
p {
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: var(--color-coral);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-cherry);
  text-decoration-thickness: 3px;
}

a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Strong & Emphasis */
strong,
b {
  font-weight: var(--weight-bold);
  color: var(--color-text-light);
}

em,
i {
  font-style: italic;
}

/* Small text */
small {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
}

/* Code & Pre */
code {
  font-family: 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem 0.25rem;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--color-coral);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--color-text-dim);
}

/* Horizontal Rule */
hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: var(--space-2xl) 0;
}


/* ========================================================================
   5. LAYOUT & CONTAINER
   ======================================================================== */

/* Main Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Prose Container (for text-heavy pages) */
.prose {
  max-width: var(--prose-max);
  margin-left: auto;
  margin-right: auto;
}

.prose > * + * {
  margin-top: var(--space-md);
}

.prose h2 {
  margin-top: var(--space-2xl);
}

.prose h3 {
  margin-top: var(--space-xl);
}

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: var(--space-xl);
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-dim);
}

/* Section Spacing */
section {
  margin-bottom: var(--space-2xl);
}

section:last-child {
  margin-bottom: 0;
}


/* ========================================================================
   6. COMPONENTS - BUTTONS
   ======================================================================== */

.button {
  /* Base styles */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);

  /* Sizing - Mobile First */
  min-height: 44px;
  min-width: 44px;
  padding: 0.625rem 1rem;

  /* Typography */
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  white-space: nowrap;

  /* Visual */
  background: var(--color-plum);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);

  /* Interaction */
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
}

.button:hover {
  background: var(--color-coral);
  color: var(--color-grape);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Button Variants - Secondary */
.button--secondary {
  background: transparent;
  color: var(--color-coral);
  border: 2px solid var(--color-coral);
  box-shadow: none;
}

.button--secondary:hover {
  background: var(--color-coral);
  color: var(--color-grape);
  border-color: var(--color-coral);
}

/* Button Variants - Ghost */
.button--ghost {
  background: transparent;
  color: var(--color-coral);
  border: none;
  box-shadow: none;
  padding: 0.5rem 1rem;
}

.button--ghost:hover {
  background: rgba(240, 89, 65, 0.1);
  transform: none;
}

/* Button Variants - Danger */
.button--danger {
  background: var(--color-error);
  color: #fff;
}

.button--danger:hover {
  background: #dc2626;
  color: #fff;
}

/* Button Variants - Coral (Solid) */
.button--coral {
  background: var(--color-coral);
  color: var(--color-grape);
}

.button--coral:hover {
  background: var(--color-cherry);
  color: var(--color-text-light);
}

/* Button Sizes - Large */
.button--large {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  min-height: 52px;
}

/* Button Sizes - Small */
.button--small {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  min-height: 36px;
}

/* Button Sizes - Icon Only */
.button--icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  min-width: auto;
}

/* Button Group */
.button-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* ========================================================================
   7. COMPONENTS - FORMS
   ======================================================================== */

/* Form Group */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group:last-child {
  margin-bottom: 0;
}

/* Labels */
label {
  display: block;
  font-weight: var(--weight-medium);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}

/* Inputs & Textareas */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem;

  font-size: 16px; /* Prevents zoom on iOS */
  color: var(--color-text-light);

  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);

  transition: all var(--transition-base);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-dim);
  opacity: 0.6;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-coral);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(240, 89, 65, 0.2);
}

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

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--color-coral);
}

/* Form Help Text */
.form-help {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  margin-top: var(--space-xs);
}

/* Form Error */
.form-error {
  font-size: var(--text-sm);
  color: #fca5a5;
  margin-top: var(--space-xs);
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}

/* Form Success */
.form-success {
  font-size: var(--text-sm);
  color: #86efac;
  margin-top: var(--space-xs);
}


/* ========================================================================
   8. COMPONENTS - CARDS
   ======================================================================== */

/* Base Card */
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

/* Message Cards (Success, Error, Info) */
.message-card {
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.message-card--success {
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-cherry) 100%);
  color: var(--color-text-light);
  box-shadow: 0 8px 24px rgba(190, 49, 68, 0.3);
}

.message-card--error {
  background: var(--color-error);
  color: var(--color-text-light);
}

.message-card h1,
.message-card h2 {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.message-card__icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.message-card__text {
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.message-card__info {
  background: rgba(34, 9, 44, 0.3);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  border-left: 4px solid var(--color-coral);
}

.message-card__info p {
  font-size: var(--text-sm);
  margin: 0;
}

/* Profile Card (Grid View) */
.profile-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.profile-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.profile-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
}

.profile-card__placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-plum), var(--color-cherry));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: var(--text-2xl);
}

.profile-card__content {
  padding: var(--space-lg);
}

.profile-card__name {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.profile-card__location {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  margin-bottom: var(--space-sm);
}

.profile-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.profile-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  line-height: var(--leading-normal);
}


/* ========================================================================
   9. COMPONENTS - TABLES
   ======================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.table thead {
  background: rgba(255, 255, 255, 0.1);
}

.table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Table - Striped Variant */
.table--striped tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.table--striped tbody tr:nth-child(even):hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Table Footer */
.table tfoot td {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

/* Responsive Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* ========================================================================
   10. COMPONENTS - TAGS & BADGES
   ======================================================================== */

/* Base Tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #fff;
  background: var(--color-plum);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Tag Variants - Large */
.tag--large {
  padding: 0.375rem 1rem;
  font-size: var(--text-base);
}

/* Tag Variants - Secondary */
.tag--secondary {
  background: var(--color-cherry);
}

/* Badge (alternative to tag) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: #fff;
  background: var(--color-plum);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badges Container */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}


/* ========================================================================
   11. COMPONENTS - NAVIGATION
   ======================================================================== */

/* Header */
header[role="banner"] {
  background: linear-gradient(135deg, var(--color-plum), var(--color-cherry));
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  position: relative;
}

.brand-wrapper {
  flex: 1;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  transition: opacity var(--transition-fast);
  width: 100%;
}

.brand:hover {
  opacity: 0.9;
}

.brand__logo {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.brand__text {
  font-family: 'Abril Fatface', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0;
  margin: 0;
  line-height: 1.1;
}

.tagline {
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  color: var(--color-coral);
  margin: 0;
  line-height: 1.2;
}

/* Burger Menu Button (Mobile Only) */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: calc(var(--z-sticky) + 2);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.burger-menu:hover {
  transform: scale(1.1);
}

.burger-menu__line {
  display: block;
  width: 32px;
  height: 5px;
  background: var(--color-grape);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* Burger Animation when active */
.burger-menu[aria-expanded="true"]:hover {
  transform: scale(1.1);
}

.burger-menu[aria-expanded="true"] .burger-menu__line:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.burger-menu[aria-expanded="true"] .burger-menu__line:nth-child(2) {
  opacity: 0;
}

.burger-menu[aria-expanded="true"] .burger-menu__line:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--color-plum), var(--color-grape));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  z-index: calc(var(--z-sticky) + 1);
  transition: right var(--transition-slow);
}

.nav-overlay.is-open {
  right: 0;
}

.nav-overlay__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-light);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
}

.nav-overlay__link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-coral);
  transition: width var(--transition-base);
}

.nav-overlay__link:hover::after {
  width: 100%;
}

.nav-overlay__link:hover {
  color: var(--color-coral);
  transform: translateX(8px);
}

.nav-overlay__link--cta {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-coral);
  color: var(--color-grape);
  border-radius: var(--radius-full);
}

.nav-overlay__link--cta:hover {
  background: var(--color-text-light);
  transform: scale(1.05);
}

/* Desktop Navigation */
.nav-desktop {
  display: none; /* Hidden on mobile */
}

/* Body lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: var(--space-xl);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  font-size: var(--text-sm);
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.breadcrumbs__link {
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--color-coral);
  text-decoration: none;
}

.breadcrumbs__separator {
  color: var(--color-text-dim);
  opacity: 0.5;
  user-select: none;
}

.breadcrumbs__current {
  color: var(--color-text-light);
  font-weight: var(--weight-medium);
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: var(--weight-medium);
  color: var(--color-coral);
  text-decoration: none;
  padding: var(--space-sm) 0;
  transition: all var(--transition-fast);
}

.back-link:hover {
  color: var(--color-cherry);
  transform: translateX(-4px);
}

/* External Link Icon */
.external-icon {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1.1em;
  font-weight: var(--weight-bold);
  text-decoration: none;
}


/* ========================================================================
   12. COMPONENTS - FILTER
   ======================================================================== */

/* Filter Container */
.filter,
.filters {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.filter fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.filter legend {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* Filter Row */
.filter .row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Filter Label */
.filter label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  color: var(--color-text-dim);
  font-weight: var(--weight-regular);
  transition: color var(--transition-fast);
  min-height: 44px;
}

.filter label:hover {
  color: var(--color-text-light);
}

.filter input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Filter Reset Button */
.filters__reset {
  margin-top: var(--space-md);
  width: 100%;
}

/* Custom Dropdown - Dark Cherry Heat Design */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;

  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  font-family: var(--font-body);
  text-align: left;

  color: var(--color-coral);
  background: transparent;
  border: 2px solid var(--color-coral);
  border-radius: var(--radius-full);

  cursor: pointer;
  transition: all var(--transition-base);
}

.custom-dropdown__button:hover {
  background: var(--color-coral);
  color: var(--color-grape);
  border-color: var(--color-coral);
}

.custom-dropdown__button:focus {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-full);
}

.custom-dropdown__button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-full);
}

.custom-dropdown__button[aria-expanded="true"] {
  background: var(--color-coral);
  color: var(--color-grape);
  border-color: var(--color-coral);
}

.custom-dropdown__icon {
  display: inline-block;
  margin-left: var(--space-sm);
  font-size: 0.8em;
  transition: transform var(--transition-base);
}

.custom-dropdown__button[aria-expanded="true"] .custom-dropdown__icon {
  transform: rotate(180deg);
}

.custom-dropdown__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);

  background: var(--color-grape);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);

  list-style: none;
  margin: 0;
  padding: 0.5rem 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.custom-dropdown__list--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown__item {
  margin: 0;
  padding: 0;
}

.custom-dropdown__option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;

  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  font-family: var(--font-body);
  text-align: left;
  text-decoration: none;

  color: var(--color-text-dim);
  background: transparent;
  border: none;

  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-dropdown__option:hover,
.custom-dropdown__option:focus {
  background: rgba(240, 89, 65, 0.1);
  color: var(--color-coral);
  outline: none;
}

.custom-dropdown__option--selected {
  background: var(--color-plum);
  color: var(--color-coral);
  font-weight: var(--weight-semibold);
}

.custom-dropdown__option--selected:hover,
.custom-dropdown__option--selected:focus {
  background: var(--color-cherry);
  color: var(--color-text-light);
}

/* Filter Meta (count) */
.meta {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  margin-top: var(--space-md);
}


/* ========================================================================
   13. PAGE LAYOUTS - NETWORK
   ======================================================================== */

.network {
  padding: var(--space-xl) 0;
}

.network__header {
  margin-bottom: var(--space-xl);
}

.network__intro {
  max-width: var(--prose-max);
  margin-top: var(--space-md);
  color: var(--color-text-dim);
  font-size: var(--text-sm);
}

.network__filters {
  margin-bottom: var(--space-xl);
}

/* Network Grid - Mobile First */
.network__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* No Results Message */
.network__no-results {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--color-text-dim);
  font-size: var(--text-lg);
}


/* ========================================================================
   13.5 PAGE LAYOUTS - HERO SECTION
   ======================================================================== */

/* Hero Container */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) 0;
  overflow: hidden;

  /* Radial Gradient Background - Soft Spotlight */
  background: radial-gradient(circle at center, var(--color-grape) 0%, var(--color-plum) 80%, var(--color-cherry) 100%);
}

/* Animated Paws Background */
.hero__paws {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.paw {
  position: absolute;
  width: 70px;
  height: 70px;
  color: var(--color-coral);
  opacity: 0;
  animation: pawWalk 4s ease-in-out forwards;
}

.paw__icon {
  width: 100%;
  height: 100%;
}

/* Paw positioning and animation delays - Walk from bottom-left to top-right */
/* Regelmäßige Abstände, leicht versetzt wie Katzenpfoten (links/rechts) */
.paw--1 {
  bottom: 12%;
  left: 8%;
  animation-delay: 0s;
  transform: rotate(45deg);
}

.paw--2 {
  bottom: 25%;
  left: 18%;
  animation-delay: 0.6s;
  transform: rotate(42deg);
}

.paw--3 {
  bottom: 38%;
  left: 24%;
  animation-delay: 1.2s;
  transform: rotate(48deg);
}

.paw--4 {
  bottom: 51%;
  left: 34%;
  animation-delay: 1.8s;
  transform: rotate(44deg);
}

.paw--5 {
  bottom: 64%;
  left: 40%;
  animation-delay: 2.4s;
  transform: rotate(46deg);
}

.paw--6 {
  bottom: 77%;
  left: 50%;
  animation-delay: 3s;
  transform: rotate(43deg);
}

/* Paw Walk Animation - Sehr kurze Sichtbarkeit einzelner Abdrücke */
@keyframes pawWalk {
  0%, 100% {
    opacity: 0;
  }
  15%, 16% {
    opacity: 0.5;
  }
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: var(--space-xl);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero__intro {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-dim);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* ========================================================================
   13.6 PAGE LAYOUTS - HOME SECTIONS
   ======================================================================== */

/* Section Base */
.section {
  padding: var(--space-3xl) 0;
}

.section__heading {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__content {
  max-width: var(--prose-max);
  margin: 0 auto;
}

.section__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Section Color Variations */
.section--profiles {
  background: linear-gradient(180deg, var(--color-grape) 0%, rgba(190, 49, 68, 0.05) 100%);
}

.section--about {
  background: transparent;
}

.section--join {
  background: transparent;
}

/* Profiles Preview Grid */
.profiles-preview {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

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

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

/* Join Box */
.join-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.join-box__title {
  margin-bottom: var(--space-lg);
}

.join-box__text {
  margin-bottom: var(--space-xl);
  color: var(--color-text-dim);
}


/* ========================================================================
   14. PAGE LAYOUTS - PROFILE
   ======================================================================== */

.profile {
  padding: var(--space-2xl) 0;
}

.profile__container {
  max-width: var(--profile-max);
  margin: 0 auto;
}

.profile__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.profile__image-wrapper {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(var(--space-md) * -1);
  margin-right: calc(var(--space-md) * -1);
  align-self: center;
}

.profile__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.profile__header-content {
  flex: 1;
  padding-left: var(--space-sm);
}

.profile__name {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.profile__tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-coral);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.profile__location {
  font-size: var(--text-lg);
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
}

.profile__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.profile__performer-type {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.profile__languages {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
}

.profile__languages strong {
  color: var(--color-text-light);
  font-weight: var(--weight-semibold);
}

.profile__bio {
  margin-bottom: var(--space-2xl);
}

.profile__bio h2 {
  margin-bottom: var(--space-lg);
}

.profile__references {
  margin-bottom: var(--space-2xl);
}

.profile__references h2 {
  margin-bottom: var(--space-lg);
}

.references-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.references-list li a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.references-list li a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
}

.profile__contact {
  margin-bottom: var(--space-2xl);
}

.profile__contact h2 {
  margin-bottom: var(--space-lg);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--color-coral);
  color: var(--color-grape);
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.contact-button:hover {
  background: var(--color-cherry);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.profile__footer {
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Profile - Contact List */
.profile__contacts {
  margin-top: var(--space-lg);
}

/* Profile - About Section */
.profile__about {
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.profile__about .section__title {
  margin-bottom: var(--space-md);
}

.profile__about .section__content {
  padding: 0;
}

@media (min-width: 640px) {
  .profile__about {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Profile - Jump Navigation Bar (Sticky) */
.profile__jump-nav {
  position: sticky;
  top: 82px; /* Mobile header height */
  background: var(--color-grape);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 100;
  margin-bottom: var(--space-2xl);
}

.jump-nav__grid {
  display: grid;
  gap: 0;
  /* Default: auto-fit based on content */
  grid-template-columns: repeat(2, 1fr);
}

/* Dynamic grid based on category count - Mobile */
.profile__jump-nav[data-count="2"] .jump-nav__grid {
  grid-template-columns: repeat(2, 1fr);
}

.profile__jump-nav[data-count="3"] .jump-nav__grid {
  grid-template-columns: repeat(2, 1fr);
}

.profile__jump-nav[data-count="4"] .jump-nav__grid {
  grid-template-columns: repeat(2, 1fr);
}

.profile__jump-nav[data-count="5"] .jump-nav__grid {
  grid-template-columns: repeat(2, 1fr);
}

.profile__jump-nav[data-count="6"] .jump-nav__grid {
  grid-template-columns: repeat(2, 1fr);
}

.jump-nav__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  color: var(--color-text-dim);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-base);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jump-nav__button:hover {
  background: rgba(240, 89, 65, 0.1);
  color: var(--color-coral);
}

.jump-nav__button--active {
  background: var(--color-plum);
  color: var(--color-coral);
}

/* Profile - Category Sections */
.profile__section {
  margin-bottom: var(--space-3xl);
  padding: var(--space-lg);
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.profile__section .section__title {
  color: var(--color-coral);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.section__field {
  margin-bottom: var(--space-lg);
}

.section__field:last-child {
  margin-bottom: 0;
}

.field__label {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.field__text {
  color: var(--color-text-dim);
  line-height: var(--leading-relaxed);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}


/* ========================================================================
   15. PAGE LAYOUTS - CONTENT/PROSE
   ======================================================================== */

.content-page {
  padding: var(--space-2xl) 0;
}


/* ========================================================================
   16. ACCESSIBILITY
   ======================================================================== */

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: var(--space-md);
  top: var(--space-md);
  width: auto;
  height: auto;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-coral);
  color: var(--color-grape);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  text-decoration: none;
}

/* Focus Visible (keyboard navigation only) */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Remove focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-text-light: #ffffff;
    --color-text-dim: #f5f5f5;
  }

  .button {
    border: 2px solid currentColor;
  }
}


/* ========================================================================
   17. UTILITIES
   ======================================================================== */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Spacing Utilities */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

/* Width */
.w-full { width: 100%; }


/* ========================================================================
   18. MEDIA QUERIES - RESPONSIVE
   ======================================================================== */

/* Tablet: 640px and up */
@media (min-width: 640px) {
  /* Container Padding */
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  /* Header - Horizontal Layout */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: var(--space-lg) 0;
  }

  .brand-wrapper {
    align-items: flex-start;
  }

  .brand__logo {
    height: 70px;
  }

  .brand__text {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.75rem;
  }

  /* Hide burger menu on desktop */
  .burger-menu {
    display: none;
  }

  /* Hide mobile overlay on desktop */
  .nav-overlay {
    display: none;
  }

  /* Show desktop navigation */
  .nav-desktop {
    display: flex;
    gap: var(--space-md);
    align-items: center;
  }

  .nav-desktop__link {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--color-text-light);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    transition: all var(--transition-base);
    position: relative;
  }

  .nav-desktop__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: width var(--transition-base);
  }

  .nav-desktop__link:hover {
    color: var(--color-coral);
  }

  .nav-desktop__link:hover::after {
    width: 80%;
  }

  /* Buttons - Larger on Tablet */
  .button {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
  }

  /* Network Grid - 2 Columns */
  .network__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  /* Network Spacing */
  .network {
    padding: var(--space-2xl) 0;
  }

  .network__header {
    margin-bottom: var(--space-2xl);
  }

  .network__filters {
    margin-bottom: var(--space-2xl);
  }

  /* Profile Header - Side by Side */
  .profile__header {
    flex-direction: row;
    align-items: flex-start;
  }

  /* Profile Image - Restore from Mobile Full-Width */
  .profile__image-wrapper {
    margin-left: 0;
    margin-right: 0;
    max-width: 400px;
  }

  .profile__image {
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .profile__header-content {
    padding-left: 0;
  }

  /* Filter Row - Horizontal */
  .filter .row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Jump Nav - Tablet: Dynamic based on count */
  .profile__jump-nav[data-count="2"] .jump-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile__jump-nav[data-count="3"] .jump-nav__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile__jump-nav[data-count="4"] .jump-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile__jump-nav[data-count="5"] .jump-nav__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile__jump-nav[data-count="6"] .jump-nav__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Jump Nav - Adjust sticky position for tablet */
  .profile__jump-nav {
    top: 118px; /* Tablet header height */
  }
}

/* Desktop: 960px and up */
@media (min-width: 960px) {
  /* Container Padding */
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }

  /* Network Layout - Sidebar + Grid */
  .network {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-3xl);
    align-items: start;
    padding: var(--space-2xl) 0;
  }

  .network__header {
    grid-column: 1 / -1;
    margin-bottom: var(--space-2xl);
  }

  /* Sticky Filter Sidebar */
  .network__filters {
    position: sticky;
    top: calc(var(--space-md) + 80px); /* Adjust based on header height */
    height: fit-content;
    margin-bottom: 0;
  }

  .network__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  /* Filter Vertical Layout */
  .filter .row {
    flex-direction: column;
  }

  /* Jump Nav - Desktop: All in one row based on count */
  .profile__jump-nav[data-count="2"] .jump-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile__jump-nav[data-count="3"] .jump-nav__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile__jump-nav[data-count="4"] .jump-nav__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .profile__jump-nav[data-count="5"] .jump-nav__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .profile__jump-nav[data-count="6"] .jump-nav__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Jump Nav - Adjust sticky position for desktop */
  .profile__jump-nav {
    top: 118px; /* Desktop header height (same as tablet) */
  }

  /* Section Spacing */
  section {
    margin-bottom: var(--space-3xl);
  }
}

/* Large Desktop: 1280px and up */
@media (min-width: 1280px) {
  /* Network Layout - Wider Sidebar */
  .network {
    grid-template-columns: 300px 1fr;
    gap: var(--space-4xl);
  }

  /* Typography Scale Adjustments */
  h1 {
    font-size: var(--text-5xl);
  }
}


/* ========================================================================
   FOOTER
   ======================================================================== */

footer[role="contentinfo"] {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-4xl);
}

footer p {
  text-align: center;
  color: var(--color-text-dim);
  font-size: var(--text-sm);
}

footer a {
  color: var(--color-text-dim);
  text-decoration-thickness: 1px;
}

footer a:hover {
  color: var(--color-coral);
}
