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

:root {
  --ink: #1b2021;
  --paper: #fff4fb;
  --plum: #3e3040;
  --burgundy: #89023e;
  --pink: #e8387a;
  --blush: #fde8f4;
  --accent: #e8387a;
  --accent-light: #fde8f4;
  --accent-mid: #f5b8d8;
  --muted: var(--muted);
  --rule: var(--rule);
  --w: 1680px;
}

body {
  font-family: "Quicksand", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.page {
  display: none;
}
.page.active {
  display: block;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── WIREFRAME BANNER ── */
.wireframe-title {
  background: var(--plum);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ── NAV ── */
.nav-section {
  border-bottom: 2px solid var(--plum);
  padding: 20px 0;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  cursor: pointer;
  color: var(--ink);
}
.nav-logo em {
  font-style: normal;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.nav-links li {
  cursor: pointer;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.nav-links li:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav-links li.active {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-cta {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 4px;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  color: white;
}

/* ── SHARED ── */
.page-wrapper {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 40px;
}

.wf-label {
  font-family: "Quicksand", sans-serif;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px dashed var(--muted);
  padding-bottom: 2px;
  margin-bottom: 8px;
  display: block;
}

.wf-block {
  border: 2px dashed var(--pink);
  border-radius: 8px;
  padding: 16px;
  background: var(--blush);
  opacity: 0.85;
  position: relative;
}

.annotation {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  background: #fffbe6;
  border: 1px solid #f0d060;
  color: #7a6000;
  padding: 3px 8px;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 10;
}

.section-wrapper {
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -0.02em;
}
.section-header h2 em {
  font-style: normal;
  color: var(--accent);
}
.section-header span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.divider-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  padding: 8px 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 8px,
    var(--rule) 8px,
    var(--rule) 9px
  );
  background-size: 9px 1px;
  background-repeat: repeat-x;
  background-position: center;
}
.divider-label span {
  background: var(--paper);
  padding: 0 16px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.footer-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.footer-icon:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.footer-face-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blush);
  border: 1.5px dashed var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-credit-name {
  font-weight: 700;
  color: var(--ink);
}
.footer-copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════
     HOME PAGE
  ══════════════════════════════ */
.hero-section {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero-left h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 66px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-left h1 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 10px 4px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
}

.hero-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 13px 28px;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition:
    background 0.2s,
    transform 0.1s;
}
.btn-primary:hover {
  background: #d02060;
  transform: translateY(-1px);
}

.btn-secondary {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
}

.hero-illustration-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--blush) 0%, #f0a8d0 100%);
  border: 2px dashed var(--pink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-illus-inner {
  padding: 24px;
}

/* STATS */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--plum);
}
.stat-item {
  padding: 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--blush);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

/* SHOWREELS */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.showreel-section {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}
.showreel-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.showreel-card {
  border: 2px dashed var(--rule);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  flex: 1;
}
.showreel-card.active {
  flex: 3;
  border-color: var(--pink);
  border-style: solid;
  box-shadow: 0 4px 24px rgba(232, 56, 122, 0.15);
}
.showreel-player {
  background: var(--plum);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.play-icon {
  font-size: 28px;
  color: var(--pink);
  opacity: 0.7;
  position: relative;
  z-index: 1;
}
.showreel-card.active .play-icon {
  opacity: 1;
  font-size: 36px;
}
.showreel-playing-label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  background: var(--pink);
  color: white;
  padding: 3px 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.showreel-title-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showreel-card.active .showreel-title-overlay {
  color: white;
  font-size: 12px;
}
.showreel-info {
  padding: 12px 14px;
  background: white;
}
.showreel-info h3 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.showreel-card:not(.active) .showreel-info h3 {
  font-size: 13px;
}
.showreel-card:not(.active) .work-meta {
  display: none;
}
.work-meta {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  gap: 12px;
}
.wf-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

/* CONTACT */
.contact-section {
  background: var(--plum);
  color: var(--paper);
  padding: 80px 0;
  margin: 0 -40px;
  padding-left: 40px;
  padding-right: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-top: 4px solid var(--burgundy);
}
.contact-left h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact-left h2 em {
  font-style: normal;
  color: var(--pink);
}
.contact-left p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  max-width: 380px;
}
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  font-weight: 700;
}
.form-input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 10px 14px;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
.form-textarea {
  min-height: 100px;
  display: flex;
  align-items: flex-start;
  padding-top: 12px;
}
.form-submit {
  background: var(--pink);
  color: white;
  border: none;
  padding: 13px 28px;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 4px;
}

/* ══════════════════════════════
     ABOUT PAGE
  ══════════════════════════════ */
.about-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.about-page-header h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.about-page-header h1 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 10px 4px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
}
.about-page-header p {
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}
.about-portrait {
  background: linear-gradient(160deg, var(--blush) 0%, #d4689a 100%);
  border: 2px dashed var(--pink);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--burgundy);
  border-radius: 8px;
}
.about-text h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 38px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.about-text h2 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 8px 2px;
  border-radius: 4px;
}
.bio-placeholder {
  background: var(--blush);
  border: 2px dashed var(--pink);
  border-radius: 8px;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.bio-placeholder strong {
  display: block;
  color: var(--burgundy);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chip {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--burgundy);
  color: var(--burgundy);
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--accent-light);
}
.chip.software {
  border-color: var(--plum);
  color: var(--plum);
  background: rgba(62, 48, 64, 0.07);
}

/* ══════════════════════════════
     EXPERIENCE PAGE
  ══════════════════════════════ */
.exp-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.exp-page-header h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.exp-page-header h1 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 10px 4px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
}
.exp-page-header p {
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

.timeline {
  margin-bottom: 60px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 176px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--burgundy));
}
.timeline-date {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 4px;
}
.timeline-date strong {
  display: block;
  font-size: 11px;
  color: var(--burgundy);
  margin-bottom: 4px;
  font-weight: 600;
}
.timeline-thumb {
  background: var(--blush);
  border: 1.5px dashed var(--accent-mid);
  border-radius: 4px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  margin: 8px 0;
  width: 100%;
}
.timeline-body h3 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 4px;
}
.timeline-company {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.timeline-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.timeline-bullets li {
  font-size: 12px;
  line-height: 1.7;
  color: #5a4a52;
  padding-left: 16px;
  position: relative;
}
.timeline-bullets li::before {
  content: " ";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 10px;
  top: 3px;
}

/* ══════════════════════════════
     DESIGNS PAGE
  ══════════════════════════════ */
.designs-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.designs-page-header h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.designs-page-header h1 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 10px 4px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
}

.category-tabs {
  display: flex;
  border-bottom: 2px solid var(--rule);
  margin: 48px 0 0;
}
.cat-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s;
  user-select: none;
}
.cat-tab:hover {
  color: var(--ink);
}
.cat-tab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.cat-tab-icon {
  font-size: 22px;
  line-height: 1;
}
.cat-tab-count {
  font-size: 10px;
  background: var(--blush);
  color: var(--burgundy);
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
}
.cat-tab.active .cat-tab-count {
  background: var(--pink);
  color: white;
}

.category-panel {
  display: none;
  padding: 48px 0;
}
.category-panel.active {
  display: block;
}

.cat-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.cat-intro-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.cat-intro h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.cat-intro h2 em {
  font-style: normal;
  color: var(--accent);
}
.cat-icon-large {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  background: white;
}
.gallery-item:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 56, 122, 0.15);
}

.gallery-thumb {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blush) 0%, #f0a8d0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  position: relative;
  gap: 8px;
}
.gallery-thumb.landscape {
  aspect-ratio: 4/3;
}
.gallery-thumb-icon {
  font-size: 28px;
}

.gallery-item-info {
  padding: 10px 12px 12px;
}
.gallery-item-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--ink);
}
.gallery-item-meta {
  font-size: 11px;
  color: var(--muted);
}

.gallery-project-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  background: var(--burgundy);
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-section {
  margin-bottom: 48px;
}
.section-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.section-sub-header h3 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.section-sub-header span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 32, 33, 0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open {
  display: flex;
}
.lightbox-inner {
  background: var(--paper);
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  max-height: 90vh;
}
.lightbox-image {
  background: linear-gradient(135deg, var(--blush) 0%, #f0a8d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  min-height: 400px;
}
.lightbox-detail {
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 501;
}
.lightbox-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.lightbox-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
}
.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ltag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--burgundy);
  color: var(--burgundy);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--accent-light);
}
.ltag.project {
  background: var(--plum);
  color: white;
  border-color: var(--plum);
}
.lightbox-desc .placeholder {
  background: var(--blush);
  border: 1.5px dashed var(--pink);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
}
.lightbox-desc .placeholder strong {
  display: block;
  color: var(--burgundy);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.lightbox-nav {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.lnav-btn {
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border: 1.5px solid var(--rule);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  color: var(--ink);
}
.lnav-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}
/* ══════════════════════════════
     BLOG PAGE
  ══════════════════════════════ */
.blog-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.blog-page-header h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.blog-page-header h1 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 10px 4px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
}
.blog-page-header p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* BLOG SECTION TABS */
.blog-tabs-wrap {
  position: relative;
  margin: 48px 0 0;
}
.blog-tabs-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 2px;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--paper));
  pointer-events: none;
  z-index: 1;
}
.blog-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--rule);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}
.blog-tabs::-webkit-scrollbar {
  display: none;
}
.blog-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-tab:hover {
  color: var(--ink);
}
.blog-tab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.blog-tab-icon {
  font-size: 16px;
  line-height: 1;
}
.blog-tab-count {
  font-size: 10px;
  background: var(--blush);
  color: var(--burgundy);
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 700;
}
.blog-tab.active .blog-tab-count {
  background: var(--pink);
  color: white;
}

.blog-panel {
  display: none;
  padding: 48px 0 60px;
}
.blog-panel.active {
  display: block;
}

/* BLOG POST GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.blog-card {
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.blog-card:hover {
  border-color: var(--pink);
  box-shadow: 0 6px 20px rgba(232, 56, 122, 0.12);
  transform: translateY(-2px);
}

.blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blush) 0%, #f0a8d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
}
.blog-card-thumb.pipeline {
  background: linear-gradient(135deg, #ede8f5 0%, #c9b8d8 100%);
}
.blog-card-thumb.drawing {
  background: linear-gradient(135deg, var(--blush) 0%, #f0a8d0 100%);
}

.blog-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.blog-card-tag.pipeline {
  background: var(--plum);
  color: white;
}
.blog-card-tag.drawing {
  background: var(--burgundy);
  color: white;
}

.blog-card-body {
  padding: 18px 20px 20px;
}
.blog-card-date {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.blog-card-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}
.blog-card-excerpt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.blog-card-read {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* FEATURED POST */
.blog-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 2px solid var(--pink);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  margin-bottom: 40px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.blog-featured:hover {
  box-shadow: 0 8px 32px rgba(232, 56, 122, 0.18);
}
.blog-featured-thumb {
  background: linear-gradient(135deg, #ede8f5 0%, #b8a0cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  min-height: 260px;
  position: relative;
}
.blog-featured-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.blog-featured-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  font-weight: 700;
}
.blog-featured-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}
.blog-featured-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.blog-featured-meta {
  font-size: 11px;
  color: var(--muted);
}
.blog-featured-read {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* PLACEHOLDER POST NOTE */
.blog-add-note {
  border: 2px dashed var(--pink);
  border-radius: 10px;
  padding: 28px 32px;
  background: var(--blush);
  text-align: center;
  margin-bottom: 40px;
}
.blog-add-note span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.blog-add-note p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CLIENT LOGO STRIP ── */
.client-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.client-logo-placeholder {
  border: 1.5px dashed var(--rule);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  background: white;
  text-align: center;
}
.client-logo-img {
  height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition:
    opacity 0.25s,
    filter 0.25s;
  display: block;
}
.client-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.media-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.media-toggle-btn {
  font-family: "Quicksand", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.media-toggle-btn.active {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--accent-light);
}
.image-drop-zone {
  border: 2px dashed var(--rule);
  border-radius: 8px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  overflow: hidden;
  position: relative;
}
.image-drop-zone:hover {
  border-color: var(--pink);
}
.image-drop-zone.has-image {
  border-style: solid;
  border-color: var(--pink);
}
#media-video-section input {
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
}
#media-video-section input:focus {
  border-color: var(--pink);
}

/* BLOG CARD MEDIA */
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-thumb.has-video {
  position: relative;
  cursor: pointer;
}
.blog-card-thumb.has-video::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  background: rgba(0, 0, 0, 0.3);
}

/* ── BLOG POST EDITOR ── */
.blog-editor-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 32, 33, 0.85);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.blog-editor-overlay.open {
  display: flex;
}
.blog-editor-modal {
  background: var(--paper);
  border-radius: 12px;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.blog-editor-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-editor-header h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 22px;
}
.blog-editor-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.blog-editor-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.blog-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  font-weight: 700;
}
.blog-field input,
.blog-field textarea,
.blog-field select {
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.blog-field input:focus,
.blog-field textarea:focus,
.blog-field select:focus {
  border-color: var(--pink);
}
.blog-field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}
.blog-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.blog-editor-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.blog-post-btn {
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}
.blog-post-btn.primary {
  background: var(--pink);
  color: white;
}
.blog-post-btn.secondary {
  background: transparent;
  border: 1.5px solid var(--rule);
  color: var(--muted);
}
.blog-post-btn.primary:hover {
  background: #d02060;
}
.blog-new-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Quicksand", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--pink);
  color: white;
  border: none;
  margin-bottom: 32px;
}
.blog-new-btn:hover {
  background: #d02060;
}
.blog-success {
  background: #d1fae5;
  border: 1.5px solid #6ee7b7;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #065f46;
  display: none;
}

/* LIVE POST CARDS (added dynamically) */
.blog-card.live {
  border-color: var(--pink);
}
.blog-card-live-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  background: var(--pink);
  color: white;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ══════════════════════════════
     MOBILE NAV HAMBURGER
  ══════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 80px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-item {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--ink);
  cursor: pointer;
  padding: 10px 0;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  color: var(--pink);
}

.mobile-menu-cta {
  margin-top: 24px;
  background: var(--pink);
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

/* ══════════════════════════════
     RESPONSIVE BREAKPOINTS
  ══════════════════════════════ */
@media (max-width: 768px) {
  /* NAV */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-inner {
    padding: 0 20px;
  }
  .nav-section {
    top: 37px;
  }

  /* PAGE WRAPPER */
  .page-wrapper {
    padding: 0 20px;
  }

  /* HERO */
  .hero-section {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 32px;
  }
  .hero-left h1 {
    font-size: 36px;
  }
  .hero-illustration-box {
    aspect-ratio: 1/1;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-right {
    order: -1;
  }

  /* STATS */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* SECTION HEADERS */
  .section-header {
    padding: 32px 0 20px;
    flex-direction: column;
    gap: 4px;
  }
  .section-header h2 {
    font-size: 28px;
  }

  /* SHOWREELS */
  .showreel-row {
    flex-direction: column;
  }
  .showreel-card {
    flex: none !important;
  }
  .showreel-card.active {
    flex: none !important;
  }

  /* ABOUT PAGE */
  .about-page-header h1 {
    font-size: 36px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    padding: 32px 0;
    gap: 28px;
  }
  .about-portrait {
    max-width: 240px;
    margin: 0 auto;
  }
  .about-text h2 {
    font-size: 28px;
  }

  /* EXPERIENCE PAGE */
  .exp-page-header h1 {
    font-size: 36px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .timeline-item::before {
    display: none;
  }
  .timeline-date strong {
    font-size: 12px;
  }
  .timeline-thumb {
    max-width: 200px;
  }

  /* EDUCATION */
  div[style*="repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* CONTACT */
  .contact-section {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    margin: 0 -20px;
    gap: 32px;
  }
  .contact-left h2 {
    font-size: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* DESIGNS PAGE */
  .designs-page-header {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 24px;
  }
  .designs-page-header h1 {
    font-size: 36px;
  }
  .category-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .cat-tab {
    font-size: 13px;
    padding: 12px 18px;
    white-space: nowrap;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cat-icon-large {
    font-size: 40px;
  }

  /* BLOG PAGE */
  .blog-page-header {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 24px;
  }
  .blog-page-header h1 {
    font-size: 36px;
  }
  .blog-tabs {
    padding-bottom: 0;
  }
  .blog-new-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 16px;
  }
  .client-logo-strip {
    gap: 10px;
  }
  .client-logo-placeholder {
    font-size: 10px;
    padding: 10px 14px;
  }
  .blog-tab {
    font-size: 12px;
    padding: 12px 14px;
    white-space: nowrap;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-thumb {
    min-height: 160px;
  }
  .blog-featured-body {
    padding: 20px;
  }
  .blog-featured-title {
    font-size: 18px;
  }
  .blog-editor-modal {
    max-height: 100vh;
    border-radius: 0;
  }
  .blog-field-row {
    grid-template-columns: 1fr;
  }

  /* LIGHTBOX */
  .lightbox {
    padding: 16px;
  }
  .lightbox-inner {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .lightbox-image {
    min-height: 200px;
    font-size: 40px;
  }
  .lightbox-detail {
    padding: 24px;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 0;
  }

  /* WIREFRAME BANNER */
  .wireframe-title {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 28px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .skills-chips {
    gap: 6px;
  }
  .chip {
    font-size: 9px;
    padding: 4px 10px;
  }
  .about-text h2 {
    font-size: 24px;
  }
  .contact-left h2 {
    font-size: 26px;
  }
}

/* ══════════════════════════════
     RIGGING PAGE
  ══════════════════════════════ */
.rig-page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.rig-page-header h1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.rig-page-header h1 em {
  font-style: normal;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0 10px 4px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
}
.rig-page-header p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* SOFTWARE TABS */
.rig-tabs {
  display: flex;
  border-bottom: 2px solid var(--rule);
  margin: 48px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.rig-tabs::-webkit-scrollbar {
  display: none;
}
.rig-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "Baloo 2", sans-serif;
}
.rig-tab:hover {
  color: var(--ink);
}
.rig-tab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.rig-tab-icon {
  font-size: 18px;
}

.rig-panel {
  display: none;
  padding: 48px 0 60px;
}
.rig-panel.active {
  display: block;
}

/* RIG INTRO */
.rig-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.rig-intro h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.rig-intro h2 em {
  font-style: normal;
  color: var(--accent);
}
.rig-intro p {
  font-size: 14px;
  color: #5a4a52;
  line-height: 1.9;
  margin-bottom: 10px;
}
.rig-software-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.rig-chip {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--plum);
  color: var(--plum);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(62, 48, 64, 0.06);
  font-weight: 700;
}
.rig-stat-box {
  background: var(--plum);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rig-stat {
  text-align: center;
}
.rig-stat-num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--blush);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.rig-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}
.rig-stat-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

/* RIG CARD GRID */
.rig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.rig-card {
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.rig-card:hover {
  border-color: var(--pink);
  box-shadow: 0 6px 24px rgba(232, 56, 122, 0.12);
  transform: translateY(-2px);
}

.rig-media {
  aspect-ratio: 16/9;
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.rig-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}
.rig-media-placeholder span {
  font-size: 36px;
  display: block;
}
.rig-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rig-media iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.rig-media-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  background: var(--pink);
  color: white;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.rig-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  font-size: 40px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s;
}
.rig-media:hover .rig-play-overlay {
  opacity: 1;
}

.rig-card-body {
  padding: 18px 20px 20px;
}
.rig-card-title {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ink);
}
.rig-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.rig-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rig-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1.5px solid var(--rule);
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 20px;
}

/* PLACEHOLDER RIG CARD */
.rig-card.placeholder {
  border-style: dashed;
  border-color: var(--rule);
}
.rig-card.placeholder .rig-media {
  background: var(--accent-light);
}
.rig-card.placeholder .rig-card-title {
  color: var(--muted);
}

/* VIDEO LIGHTBOX */
.rig-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 32, 33, 0.95);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.rig-lightbox.open {
  display: flex;
}
.rig-lightbox-inner {
  width: 100%;
  max-width: 900px;
  position: relative;
}
.rig-lightbox-video {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.rig-lightbox-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.rig-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
}
.rig-lightbox-close:hover {
  opacity: 1;
}
.rig-lightbox-title {
  color: white;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 768px) {
  .rig-page-header {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 24px;
  }
  .rig-page-header h1 {
    font-size: 36px;
  }
  .rig-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rig-grid {
    grid-template-columns: 1fr;
  }
  .rig-tabs {
    overflow-x: auto;
  }
  .rig-lightbox {
    padding: 16px;
  }
}

/* ── Multi-page nav anchors ── */
.nav-logo,
.nav-links li a,
.mobile-menu-item {
  text-decoration: none;
  color: inherit;
}
.nav-links li a {
  display: inline-block;
}
