/* =========================================================
   ROR Studios — Components v4 (Elite Edition)
   Navigation, buttons, cards, footer, forms, prose
   ========================================================= */

/* --------------------------------------------------
   Navigation
-------------------------------------------------- */
#site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  padding-block: 22px;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    padding var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}

#site-nav.is-scrolled {
  background: rgba(3, 3, 5, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
  padding-block: 14px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 2;
}

.nav-logo__mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  transition:
    border-color var(--dur-base) var(--ease-out),
    background   var(--dur-base) var(--ease-out),
    transform    var(--dur-slow) var(--ease-spring);
}

.nav-logo:hover .nav-logo__mark {
  border-color: var(--accent);
  background: rgba(0, 240, 255, 0.06);
  transform: rotate(8deg) scale(1.06);
}

.nav-logo__mark svg {
  width: 14px;
  height: 14px;
  fill: var(--txt-primary);
}

.nav-logo__text {
  font-size: var(--t-14);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--txt-primary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s12);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: var(--t-14);
  font-weight: 500;
  color: var(--txt-secondary);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition:
    color       var(--dur-fast) var(--ease-out),
    background  var(--dur-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--txt-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.is-active {
  color: var(--accent);
  background: rgba(0, 240, 255, 0.05);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 600;
  color: var(--txt-primary);
  border: 1px solid var(--border-strong);
  padding: 9px 20px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    background    var(--dur-fast) var(--ease-out),
    border-color  var(--dur-fast) var(--ease-out),
    color         var(--dur-fast) var(--ease-out),
    box-shadow    var(--dur-fast) var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--txt-inverse);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  z-index: 2;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-1);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--txt-primary);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

#site-nav.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#site-nav.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#site-nav.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 5, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--s20) var(--gutter);
    gap: var(--s6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: var(--s3); width: 100%; }
  .nav-link { font-size: var(--t-36); font-weight: 800; padding: 6px 0; color: var(--txt-secondary); }
  .nav-link:hover { background: none; }
  .nav-cta { margin-top: var(--s6); padding: 14px 28px; font-size: var(--t-14); width: 100%; text-align: center; }
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: var(--t-14);
  font-weight: 600;
  border-radius: var(--r-sm);
  transition:
    background    var(--dur-fast) var(--ease-out),
    color         var(--dur-fast) var(--ease-out),
    border-color  var(--dur-fast) var(--ease-out),
    box-shadow    var(--dur-base) var(--ease-out),
    transform     var(--dur-base) var(--ease-spring);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--txt-primary);
  color: var(--txt-inverse);
}

.btn-primary:hover {
  background: var(--accent);
  color: #030305;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--txt-secondary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--txt-primary);
  color: var(--txt-primary);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 600;
  color: var(--txt-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--dur-fast);
}

.btn-arrow:hover { color: var(--accent); }

.btn-arrow .arrow {
  transition: transform var(--dur-base) var(--ease-spring);
}

.btn-arrow:hover .arrow { transform: translateX(5px); }

.btn-lg  { padding: 15px 30px; font-size: var(--t-16); }
.btn-sm  { padding: 8px 16px;  font-size: var(--t-12); }

/* --------------------------------------------------
   Status Badges
-------------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: var(--t-10);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--dev {
  color: var(--accent);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.18);
}

.status--dev::before { animation: nvPulse 2s ease-in-out infinite; }

.status--live {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.status--soon {
  color: var(--txt-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------
   Tags & Chips
-------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: var(--t-10);
  font-weight: 500;
  color: var(--txt-tertiary);
  background: var(--bg-1);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.tag:hover {
  border-color: rgba(0, 240, 255, 0.2);
  color: var(--accent);
}

/* --------------------------------------------------
   Spotlight Glow Interactions
-------------------------------------------------- */
.work-card, .app-card, .capability-item, .process-step, .focus-item, .stat-item {
  position: relative;
  z-index: 1;
}

.work-card::after, .app-card::after,
.capability-item::after, .process-step::after,
.focus-item::after, .stat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(0, 240, 255, 0.06),
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.work-card:hover::after, .app-card:hover::after,
.capability-item:hover::after, .process-step:hover::after,
.focus-item:hover::after, .stat-item:hover::after {
  opacity: 1;
}

/* --------------------------------------------------
   3D Tilt Cards
-------------------------------------------------- */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.12s ease;
  will-change: transform;
}

/* --------------------------------------------------
   Work Cards
-------------------------------------------------- */
.work-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow   var(--dur-slow) var(--ease-out),
    transform    var(--dur-base) var(--ease-out);
}

.work-card:hover {
  border-color: var(--border-strong);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 240, 255, 0.06);
  transform: translateY(-3px);
}

.work-card__visual {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-right: 1px solid var(--border-subtle);
  min-height: 440px;
}

.work-card__visual-inner {
  position: absolute;
  inset: 0;
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}

.work-card:hover .work-card__visual-inner {
  transform: scale(1.02);
}

.work-card__body {
  padding: clamp(var(--s8), 5vw, var(--s12));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s6);
}

.work-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.work-card__category {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 600;
  color: var(--txt-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-card__name {
  font-size: var(--t-48);
  font-weight: 900;
  letter-spacing: -0.038em;
  color: var(--txt-primary);
  line-height: 1.0;
  margin-top: var(--s3);
  margin-bottom: var(--s2);
}

.work-card__tagline {
  font-size: var(--t-18);
  font-weight: 400;
  color: var(--txt-secondary);
  margin-bottom: var(--s4);
}

.work-card__desc {
  font-size: var(--t-16);
  color: var(--txt-secondary);
  line-height: 1.7;
  margin-bottom: var(--s6);
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s6);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

@media (max-width: 960px) {
  .work-card { grid-template-columns: 1fr; }
  .work-card__visual {
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* --------------------------------------------------
   Bento Cards
-------------------------------------------------- */
.bento-card, .bento-card--main, .bento-card--tall,
.bento-card--wide, .bento-card--med, .bento-card--sm {
  position: relative;
  z-index: 1;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(0,240,255,0.055),
    transparent 80%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.bento-card:hover::after { opacity: 1; }

/* --------------------------------------------------
   Capability Dashboard (legacy — kept for inner pages)
-------------------------------------------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
}

.capability-item {
  padding: var(--s10) var(--s8);
  border-right: 1px solid var(--border-subtle);
  transition: background var(--dur-fast);
}

.capability-item:last-child { border-right: none; }

.capability-item:hover {
  background: rgba(255, 255, 255, 0.018);
}

.capability-item__number {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--s6);
}

.capability-item__title {
  font-size: var(--t-20);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--txt-primary);
  margin-bottom: var(--s3);
}

.capability-item__desc {
  font-size: var(--t-14);
  color: var(--txt-secondary);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-item:nth-child(2) { border-right: none; }
  .capability-item:nth-child(1), .capability-item:nth-child(2) { border-bottom: 1px solid var(--border-subtle); }
}

@media (max-width: 580px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-item { border-right: none !important; border-bottom: 1px solid var(--border-subtle) !important; }
  .capability-item:last-child { border-bottom: none !important; }
}


/* --------------------------------------------------
   Process Grid
-------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.process-step {
  background: var(--bg-1);
  padding: var(--s10) var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: background var(--dur-fast) var(--ease-out);
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.018);
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.process-step__title {
  font-size: var(--t-20);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--txt-primary);
}

.process-step__desc {
  font-size: var(--t-14);
  color: var(--txt-secondary);
  line-height: 1.7;
}

@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .process-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------
   Stats Row
-------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
}

.stat-item {
  padding: var(--s8);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: background var(--dur-fast);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255, 255, 255, 0.018); }

.stat-item__num {
  font-size: var(--t-48);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--txt-primary);
  line-height: 1;
}

.stat-item__num .stat-accent { color: var(--accent); }

.stat-item__label {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  color: var(--txt-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------
   Marquee / Ticker Strip
-------------------------------------------------- */
.marquee-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 18px;
  overflow: hidden;
}

.marquee-wrap {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline: 28px;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item__text {
  font-family: var(--font-mono);
  font-size: var(--t-12);
  font-weight: 500;
  color: var(--txt-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee-item__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

/* --------------------------------------------------
   Nuvmote Phone Mockup
-------------------------------------------------- */
.phone-mockup {
  position: relative;
  width: 250px;
  height: 500px;
  flex-shrink: 0;
  margin-inline: auto;
}

.phone-mockup__frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--border-strong);
  border-radius: 40px;
  background: #000;
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  padding: 10px;
  overflow: hidden;
}

.phone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: var(--bg-0);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.phone-mockup__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 16px;
  background: #000;
  border-radius: 100px;
  z-index: 10;
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------
   App Cards
-------------------------------------------------- */
.app-card {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding: var(--s8);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow   var(--dur-slow) var(--ease-out),
    transform    var(--dur-base) var(--ease-spring);
}

.app-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.app-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card__name {
  font-size: var(--t-20);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--txt-primary);
}

.app-card__meta {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  color: var(--txt-tertiary);
  margin-top: 2px;
}

.app-card__desc {
  font-size: var(--t-14);
  color: var(--txt-secondary);
  line-height: 1.7;
  flex: 1;
}

.app-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-subtle);
}

.app-card__link {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 600;
  color: var(--txt-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--dur-fast);
}

.app-card__link:hover { color: var(--accent); }

/* --------------------------------------------------
   Prose Details
-------------------------------------------------- */
.prose {
  max-width: 68ch;
  color: var(--txt-secondary);
  font-size: var(--t-16);
  line-height: 1.8;
}

.prose h2 {
  font-size: var(--t-28);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--txt-primary);
  margin-top: var(--s12);
  margin-bottom: var(--s4);
}

.prose h3 {
  font-size: var(--t-18);
  font-weight: 700;
  color: var(--txt-primary);
  margin-top: var(--s8);
  margin-bottom: var(--s3);
}

.prose p { margin-bottom: var(--s4); }

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: var(--s4);
  list-style: initial;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: var(--s2); }

.prose strong { color: var(--txt-primary); }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose a:hover { color: var(--txt-primary); }

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xs);
  padding: 0.1em 0.35em;
  color: var(--accent);
}

.prose .note {
  border-left: 2px solid var(--accent);
  padding: var(--s4) var(--s6);
  background: var(--bg-1);
  margin-block: var(--s6);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* --------------------------------------------------
   Tables
-------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  margin-block: var(--s6);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-14);
}

.data-table th {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: var(--t-11);
  font-weight: 600;
  color: var(--txt-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 14px 18px;
  color: var(--txt-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { color: var(--txt-primary); font-weight: 600; }

/* --------------------------------------------------
   Privacy Layout
-------------------------------------------------- */
.privacy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s12);
  align-items: start;
}

.privacy-sidebar {
  position: sticky;
  top: 120px;
}

.privacy-sidebar__title {
  font-family: var(--font-mono);
  font-size: var(--t-11);
  color: var(--txt-tertiary);
  text-transform: uppercase;
  margin-bottom: var(--s4);
}

.privacy-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-sidebar__link {
  font-size: var(--t-14);
  color: var(--txt-secondary);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.privacy-sidebar__link:hover {
  color: var(--txt-primary);
  background: var(--bg-2);
}

.privacy-sidebar__link.is-active {
  color: var(--accent);
  background: rgba(0, 240, 255, 0.05);
}

@media (max-width: 860px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-sidebar { position: static; margin-bottom: var(--s6); }
  .privacy-sidebar__links { flex-direction: row; flex-wrap: wrap; }
}

/* --------------------------------------------------
   Page Headers
-------------------------------------------------- */
.page-header {
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

/* Subtle glow in page headers */
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.page-header__eyebrow { margin-bottom: var(--s4); }

.page-header__title {
  font-size: var(--t-64);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--txt-primary);
  margin-bottom: var(--s4);
}

.page-header__body {
  font-size: var(--t-18);
  color: var(--txt-secondary);
  max-width: 56ch;
  line-height: 1.7;
}

/* --------------------------------------------------
   Focus Item (About page)
-------------------------------------------------- */
.focus-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s8);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform    var(--dur-base) var(--ease-spring);
}

.focus-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   Footer Layout
-------------------------------------------------- */
#site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--s16);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

/* Large wordmark watermark */
#site-footer::before {
  content: 'ROR STUDIOS';
  position: absolute;
  bottom: -0.15em;
  right: var(--gutter);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.022);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.footer-inner {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s12);
  margin-bottom: var(--s12);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: var(--s4);
}

.footer-logo__mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
}

.footer-logo__mark svg { width: 12px; height: 12px; fill: var(--txt-primary); }

.footer-logo__text {
  font-size: var(--t-14);
  font-weight: 700;
  color: var(--txt-primary);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: var(--t-14);
  color: var(--txt-secondary);
  max-width: 32ch;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: var(--s16);
}

.footer-nav__heading {
  font-family: var(--font-mono);
  font-size: var(--t-10);
  color: var(--txt-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--s4);
}

.footer-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-nav__link {
  font-size: var(--t-14);
  color: var(--txt-secondary);
  transition: color var(--dur-fast);
}

.footer-nav__link:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s4);
}

.footer-copy { font-size: var(--t-12); color: var(--txt-tertiary); }

.footer-contact {
  font-family: var(--font-mono);
  font-size: var(--t-12);
  color: var(--txt-secondary);
  transition: color var(--dur-fast);
}

.footer-contact:hover { color: var(--accent); }

@media (max-width: 640px) {
  .footer-top { flex-direction: column; gap: var(--s8); }
  .footer-nav { flex-wrap: wrap; gap: var(--s8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s2); }
}
