@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@400;500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #f4f5ef;
  --bg-alt: #e5f3ef;
  --fg: #0a0f14;
  --fg-muted: #4f5b66;
  --surface: #ffffff;
  --border: #0a0f14;
  --accent: #0f766e;
  --accent-soft: #d8f3ef;
  --accent-fg: #FFFFFF;
  --shadow-hard: 6px 6px 0px #0a0f14;
  --shadow-hard-hover: 2px 2px 0px #0a0f14;
  --ease: cubic-bezier(0.85, 0, 0.15, 1);
}

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

body {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.15), transparent 36%),
    radial-gradient(circle at top right, rgba(255, 180, 77, 0.18), transparent 30%),
    linear-gradient(180deg, #f9faf8 0%, var(--bg) 100%);
  color: var(--fg);
  font-family: 'Inter', -apple-system, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3, .eyebrow {
  font-family: 'Cabinet Grotesk', system-ui, sans-serif;
}

.shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  padding: 10px 14px;
  background: var(--fg);
  color: var(--surface);
  border: 2px solid var(--border);
  z-index: 20;
}

.skip-link:focus {
  left: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-hard);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
}

.site-brand-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--accent);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 3px 3px 0 var(--border);
}

.site-brand-mark svg {
  width: 34px;
  height: 34px;
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-brand-copy strong,
.footer-brand h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-brand-copy span,
.footer-brand p,
.notice-bar,
.section-copy,
.feature-card p,
.step-card p,
.security-card p,
.testimonial-card p,
.cta-panel p,
.faq-item p,
.content-card p,
.policy-section p,
.policy-section li,
.contact-card p,
.support-item p,
.docs-item p {
  color: var(--fg-muted);
}

.nav-links,
.nav-actions,
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a,
.nav-link,
.footer-grid a,
.footer-bottom span {
  color: var(--fg);
  text-decoration: none;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-actions {
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--border);
  text-decoration: none;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 var(--border);
}

.button-primary {
  background: var(--accent);
  color: var(--surface);
}

.button-secondary {
  background: var(--surface);
  color: var(--fg);
}

.notice-bar {
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-hard);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
}

.section {
  margin-bottom: 36px;
  padding: 28px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-hard);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 820px;
}

.section-header.compact {
  margin-bottom: 14px;
}

.section-kicker {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
}

.section-copy {
  max-width: 70ch;
}

.trusted-strip,
.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badges span,
.step-number,
.hero-pills span {
  border: 2px solid var(--border);
  background: var(--accent-soft);
  padding: 8px 12px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-grid,
.step-grid,
.security-grid,
.testimonial-grid,
.footer-grid,
.content-grid,
.support-grid,
.docs-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid,
.security-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.step-card,
.security-card,
.testimonial-card,
.contact-card,
.support-item,
.docs-item,
.content-card,
.policy-section,
.faq-item,
.map-placeholder,
.form-card,
.support-card {
  padding: 20px;
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--border);
}

.feature-card h3,
.step-card h3,
.security-card h3,
.testimonial-card strong,
.contact-card h3,
.support-item h3,
.docs-item h3,
.content-card h3,
.policy-section h2,
.faq-item summary,
.support-card h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.step-number {
  display: inline-flex;
  margin-bottom: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.cta-panel {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.96));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  margin-top: 36px;
  padding: 28px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-hard);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-grid h3 {
  margin-bottom: 10px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 2px dashed var(--border);
  justify-content: space-between;
}

.content-page {
  display: grid;
  gap: 24px;
}

.content-hero {
  padding: 28px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-hard);
}

.content-hero h1,
.content-hero h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  max-width: 12ch;
}

.content-grid,
.support-grid,
.docs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.map-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
}

.support-card {
  display: grid;
  gap: 12px;
}

.support-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 2px solid var(--border);
  background: var(--accent-soft);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-page {
  display: grid;
  gap: 18px;
}

.policy-section ul {
  padding-left: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--fg);
  text-decoration: none;
}

.loading-state,
.empty-shell {
  padding: 20px;
  border: 2px dashed var(--border);
  background: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1100px) {
  .feature-grid,
  .step-grid,
  .security-grid,
  .testimonial-grid,
  .footer-grid,
  .content-grid,
  .support-grid,
  .docs-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .trusted-strip,
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    margin-left: 0;
  }

  .feature-grid,
  .step-grid,
  .security-grid,
  .testimonial-grid,
  .footer-grid,
  .content-grid,
  .support-grid,
  .docs-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section,
  .content-hero,
  .site-footer {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-page {
    gap: 18px;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.brand-lockup,
.hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-hard);
  backdrop-filter: blur(8px);
}

.brand-lockup {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.brand-mark {
  width: 84px;
  height: 84px;
  border: 2px solid var(--border);
  background: var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 4px 4px 0 var(--border);
}

.brand-mark svg {
  width: 72px;
  height: 72px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eyebrow {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  background: var(--fg);
  color: var(--surface);
  padding: 6px 14px;
  border-radius: 999px; /* little pill shape */
  width: fit-content;
}

h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 10ch;
  text-transform: uppercase;
  color: var(--fg);
}

.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  color: var(--fg-muted);
  max-width: 44ch;
}

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.94));
}

.hero-card-label {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-card h2 {
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-card p {
  color: var(--fg-muted);
  font-size: 1rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span,
.legal-links span {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--border);
  background: var(--accent-soft);
  padding: 8px 12px;
}

/* Mode Nav */
.mode-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.mode-btn {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  background: var(--bg);
  border: 2px solid var(--border);
  padding: 12px 24px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-hard);
}

.mode-btn:hover {
  transform: translate(4px, 4px);
  box-shadow: var(--shadow-hard-hover);
}

.mode-btn.active {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--border);
}

/* Layout */
.workspace {
  display: grid;
  gap: 32px;
  grid-template-columns: 380px 1fr;
}

#mergeWorkspace:not([hidden]),
#organizeWorkspace:not([hidden]) {
  grid-template-columns: 1fr;
}

.tool-workspace[hidden] {
  display: none !important;
}

/* Panels & Viewers */
.panel, .viewer {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-hard);
}

.panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.viewer {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.panel-block {
  border-bottom: 2px dashed var(--border);
  padding-bottom: 24px;
}
.panel-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-title-row, .viewer-topbar, .nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.panel h2 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--fg);
  color: var(--surface);
  padding: 4px 14px;
  border-radius: 999px;
}

.status-chip {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 8px 16px;
  border: 2px solid var(--border);
  text-transform: uppercase;
  border-radius: 999px;
}

/* Buttons */
.secondary-btn, .download-btn, .file-picker, .selection-remove, .btn-remove, .btn-restore {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 2px solid var(--border);
  cursor: pointer;
  background: var(--surface);
  color: var(--fg);
  transition: all 0.3s var(--ease);
  box-shadow: 4px 4px 0px var(--border);
  text-align: center;
  display: inline-block;
}

.secondary-btn:hover:not(:disabled), .file-picker:hover:not(:disabled), .download-btn:hover:not(:disabled), .selection-remove:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border);
}

.download-btn {
  width: 100%;
  background: var(--fg);
  color: var(--surface);
  font-size: 1.125rem;
  padding: 16px;
}
.file-picker {
  width: 100%;
  background: var(--accent);
  color: var(--accent-fg);
}

button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

.btn-remove {
  background: #E83F3F;
  color: white;
}
.btn-restore {
  background: #10B981;
  color: white;
}

/* Selection List */
.selection-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 16px;
}
.empty-state {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--fg-muted);
  text-align: left;
}

.selection-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 2px solid var(--border);
  background: var(--bg);
  cursor: grab;
  transition: background 0.3s;
}
.selection-item:hover {
  background: var(--surface);
}

.selection-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.selection-meta strong {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.selection-meta span {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.item-thumbnail {
  width: 90px;
  height: 120px;
  border: 2px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Stage */
.viewer {
  position: relative;
}

.page-stage {
  margin-top: 32px;
  position: relative;
  min-height: 600px;
  background: linear-gradient(180deg, #e7ecea 0%, #dde6e2 100%);
  border: 2px solid var(--border);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.placeholder-card {
  text-align: center;
  max-width: 500px;
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 48px 32px;
  box-shadow: var(--shadow-hard);
}

.placeholder-card h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.placeholder-card::before {
  content: 'LEXIPDF';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 2px solid var(--border);
  background: var(--accent);
  color: var(--surface);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.placeholder-card p {
  color: var(--fg);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

#pdfCanvas, #overlayCanvas {
  display: none;
  border: 2px solid var(--border);
}
#overlayCanvas {
  position: absolute;
  cursor: crosshair;
}

/* Pager */
.pager-bar {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pager-info {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.pager-actions {
  display: flex;
  gap: 12px;
}

.legal-footer {
  margin-top: 40px;
  padding: 24px 28px;
  border: 2px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-hard);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy strong {
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-copy p {
  color: var(--fg-muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Switch */
.preview-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.preview-switch input {
  display: none;
}
.switch-track {
  width: 56px;
  height: 32px;
  border: 2px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  position: relative;
  transition: background 0.3s;
}
.switch-thumb {
  width: 24px;
  height: 24px;
  background: var(--fg);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s var(--ease);
}
.preview-switch input:checked + .switch-track {
  background: var(--accent);
}
.preview-switch input:checked + .switch-track .switch-thumb {
  transform: translateX(24px);
  background: var(--surface);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-footer {
    flex-direction: column;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 24px 16px 32px;
  }

  .brand-lockup,
  .hero-card,
  .panel,
  .viewer,
  .legal-footer {
    padding: 20px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .brand-mark svg {
    width: 60px;
    height: 60px;
  }

  .mode-btn,
  .secondary-btn,
  .download-btn,
  .file-picker,
  .selection-remove,
  .btn-remove,
  .btn-restore {
    width: 100%;
  }

  .panel-title-row,
  .viewer-topbar,
  .nav-row,
  .pager-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .pager-actions,
  .mode-nav {
    width: 100%;
  }

  .mode-nav .mode-btn {
    flex: 1 1 100%;
  }
}

/* Page Transition Shutter — Multi-Layer */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}

/* Menu Button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--border);
  transition: all 0.2s var(--ease);
}
.menu-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
}
.menu-btn-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}
.menu-btn-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
}

/* Full-Screen Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  visibility: hidden;
  pointer-events: none;
}
.menu-overlay.open {
  visibility: visible;
  pointer-events: auto;
}
.menu-bg-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--border);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  z-index: 1;
}
.menu-overlay .menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
  justify-content: space-between;
  box-sizing: border-box;
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.menu-close-btn {
  background: none;
  border: none;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s var(--ease);
}
.menu-close-btn:hover {
  transform: scale(1.05);
}
.menu-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
  margin-top: 40px;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.menu-link {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: block;
  overflow: hidden;
  transition: color 0.3s var(--ease);
}
.menu-link-inner {
  display: block;
  will-change: transform;
}
.menu-link:hover {
  color: var(--accent);
}
.menu-link:hover .menu-link-inner {
  transform: translateX(20px);
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Menu CTA "Let's Go" Button ── */
.menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 40px;
  background: var(--accent);
  color: var(--surface);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--border);
  box-shadow: 5px 5px 0 var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  transition: box-shadow 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}
.menu-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.12) 45%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0.12) 55%,
    transparent 100%
  );
  z-index: 1;
}
.menu-cta:hover::before {
  animation: cta-shimmer 0.75s ease forwards;
}
.menu-cta:hover {
  box-shadow: 8px 8px 0 var(--border);
}
@keyframes cta-shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}
.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 40px;
  border-top: 2px dashed var(--border);
}
.menu-socials {
  display: flex;
  gap: 24px;
}
.menu-socials span {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.menu-socials span:hover {
  color: var(--accent);
}

@media (max-width: 780px) {
  .menu-overlay .menu-content {
    padding: 30px 24px;
  }
  .menu-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── Premium "Let's Go" CTA Button ── */
.letsgo-btn {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--surface);
  border: 2px solid var(--border);
  padding: 16px 32px;
  font-size: 1.15rem;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--border);
  transition: box-shadow 0.35s cubic-bezier(0.76, 0, 0.24, 1),
              background 0.35s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.letsgo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.15) 55%,
    transparent 100%
  );
  transition: none;
  z-index: 1;
}
.letsgo-btn:hover::before {
  animation: letsgo-shimmer 0.8s ease forwards;
}
.letsgo-btn:hover {
  box-shadow: 8px 8px 0 var(--border);
}
.letsgo-btn .btn-text-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  height: 1.25em;
}
.letsgo-btn .btn-text-orig,
.letsgo-btn .btn-text-hover {
  display: block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.letsgo-btn .btn-text-hover {
  position: absolute;
  left: 0;
  top: 100%;
}
.letsgo-btn:hover .btn-text-orig {
  transform: translateY(-100%);
}
.letsgo-btn:hover .btn-text-hover {
  transform: translateY(-100%);
}
.letsgo-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.letsgo-btn:hover .btn-arrow {
  transform: translateX(4px);
}

@keyframes letsgo-shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}


