/* ============================================================
   custom.css — project-specific styles for luigiht.com
   Extracted from inline <style> blocks across all HTML pages.
   Loaded after styles/site.min.css on every page.
   ============================================================ */


/* ── Custom cursor (all pages) ──────────────────────────────── */

#pointer-dot {
  left: 0; top: 0; width: 0; height: 0;
  border: 2px solid #000;
  position: fixed; border-radius: 4px;
  z-index: 9999; pointer-events: none;
  transition: border-color 0.5s;
}

#pointer-ring {
  left: 0; top: 0; width: 0; height: 0;
  padding: 50px;
  border: 2px solid #fff;
  position: fixed; border-radius: 100px;
  z-index: 9999; pointer-events: none;
}

html { cursor: none !important; }
a    { cursor: none !important; }

@media screen and (max-width: 600px) {
  #pointer-ring, #pointer-dot { display: none; }
  html { cursor: default !important; }
  a    { cursor: default !important; }
}


/* ── Lightbox z-index (main gallery pages) ──────────────────── */

.lightbox-backdrop,
.lightbox-container {
  z-index: 99999;
}


/* ── Links page ─────────────────────────────────────────────── */

.links-page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-bottom: 40px;
}

.profile-logo {
  width: 140px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Section group label — uses .breadcrumb-text from global CSS, add spacing */
.links-group-label {
  padding: 20px 0 6px;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #ffffff;
}

.links-group-label.visible { opacity: 1; }

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: black;
  border: 1px solid #ffffff18;
  border-radius: 4px;
  text-decoration: none;
  color: #f0f0f0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  opacity: 0;
  transform: translateY(10px);
}

.link-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  background-color: #0d0d0d;
  border-color: #ffffff30;
  transform: translateY(-1px);
}

.link-card:active { transform: scale(0.98); }

.link-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #ffffff55;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon svg { width: 18px; height: 18px; }

.link-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.link-body .navigation-item {
  float: none;
  padding: 0;
  font-size: 12px;
  display: block;
  text-align: left;
  width: 100%;
  color: #f0f0f0;
}

.link-body .paragraph-small {
  color: #ffffff66;
}

.link-arrow {
  flex-shrink: 0;
  color: #ffffff33;
  transition: color 0.2s ease, transform 0.2s ease;
}

.link-card:hover .link-arrow {
  color: #ffffff88;
  transform: translateX(3px);
}

.link-card.email-card { position: relative; }

.copy-toast {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: white;
  color: black;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ── CV page ─────────────────────────────────────────────────── */

.cv-wrap {
  padding: 60px 0 120px;
}

.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 3rem;
}

.cv-contact {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.cv-contact a,
.cv-contact span {
  display: block;
  color: var(--dark-grey);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.7;
  transition: color 0.2s;
}

.cv-contact a:hover { color: var(--light-grey); }
.cv-contact .cv-contact-primary { color: var(--light-grey); font-weight: 500; }

.cv-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0;
}

.cv-main {
  padding-right: 3rem;
  border-right: 1px solid var(--divider);
}

.cv-sidebar {
  padding-left: 2.5rem;
}

.cv-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cv-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.cv-section { margin-bottom: 2.8rem; }

.cv-profile p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dark-grey);
  margin-bottom: 0.85rem;
}

.cv-profile p:last-child { margin-bottom: 0; }
.cv-profile strong { color: var(--light-grey); font-weight: 600; }

.cv-job { margin-bottom: 2rem; }
.cv-job:last-child { margin-bottom: 0; }

.cv-job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2px;
}

.cv-job-date {
  font-size: 11px;
  color: var(--dim-grey);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.cv-job-company {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-grey);
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.cv-job-company .cv-loc {
  color: var(--dim-grey);
  font-weight: 400;
}

.cv-job-summary {
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.75;
  margin-bottom: 0.65rem;
}

.cv-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cv-bullets li {
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.65;
  padding-left: 1.1rem;
  position: relative;
}

.cv-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dim-grey);
  font-size: 11px;
  top: 0.1em;
}

.cv-job-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 1.75rem 0;
}

.cv-other-roles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cv-other-role {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 12px;
}

.cv-other-role .cv-ot { color: var(--light-grey); font-weight: 500; }
.cv-other-role .cv-oc { color: var(--dim-grey); }
.cv-other-role .cv-od { color: var(--dim-grey); font-size: 11px; white-space: nowrap; }

.cv-side-section { margin-bottom: 2rem; }

.cv-side-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-grey);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 0.75rem;
  display: block;
}

.cv-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.cv-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--greysh-black);
  color: var(--dark-grey);
  border: 1px solid var(--divider);
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cv-side-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cv-side-list li { font-size: 12px; color: var(--dark-grey); line-height: 1.5; }
.cv-side-list li strong { color: var(--light-grey); font-weight: 600; display: block; }
.cv-side-list li span { color: var(--dim-grey); font-size: 11px; }

.cv-pill-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cv-pill-list span { font-size: 12px; color: var(--dark-grey); line-height: 1.6; }

.cv-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-top: 2px;
}

.cv-client {
  font-size: 12px;
  font-weight: 600;
  color: var(--light-grey);
  letter-spacing: 0.02em;
}

.cv-client-sep { color: var(--divider); font-size: 11px; }

@media print {
  .header.nav-bar, .cv-print-hide { display: none !important; }
  .cv-wrap { padding-top: 20px; }
}

@media (max-width: 767px) {
  .cv-body { grid-template-columns: 1fr; }
  .cv-main { padding-right: 0; border-right: none; border-bottom: 1px solid var(--divider); padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  .cv-sidebar { padding-left: 0; }
  .cv-header { flex-direction: column; }
  .cv-contact { text-align: left; }
  .cv-other-role { grid-template-columns: 1fr; gap: 1px; }
  .cv-other-role .cv-od { grid-column: 1; }
}


/* ── Styleguide page ─────────────────────────────────────────── */

.sg-wrap {
  padding: 80px 0 120px;
}

.sg-block {
  margin-bottom: 80px;
}

.sg-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-grey);
  border-bottom: 1px solid var(--divider);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.sg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.sg-specimen {
  background-color: var(--greysh-black);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 24px 28px;
  width: 100%;
}

.sg-specimen + .sg-specimen {
  margin-top: 12px;
}

.sg-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim-grey);
  background: var(--almost-black);
  border: 1px solid var(--divider);
  border-radius: 2px;
  padding: 2px 7px;
  margin-bottom: 16px;
}

.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.sg-swatch {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--divider);
}

.sg-swatch-color {
  height: 64px;
}

.sg-swatch-info {
  padding: 10px 12px;
  background: var(--greysh-black);
}

.sg-swatch-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--medium-grey);
  letter-spacing: 0.04em;
  display: block;
}

.sg-swatch-value {
  font-size: 10px;
  color: var(--dim-grey);
  letter-spacing: 0.04em;
  margin-top: 2px;
  display: block;
  font-family: monospace;
}

.sg-util-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sg-divider-demo {
  width: 100%;
  background: var(--greysh-black);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 28px;
}

@media (max-width: 767px) {
  .sg-swatches { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ── Dropdown fix ──────────────────────────────────────────────────────────── */
.navmenu__dropdown.is-open { display: block; }

/* ── Button background fixes ───────────────────────────────────────────────── */
.nav-toggle,
.dropdown-toggle { background: transparent; }