/*
Theme Name: 11x Corporate Theme
Theme URI: https://11x.co.jp/
Author: 11x Inc.
Author URI: https://11x.co.jp/
Description: 11x株式会社コーポレートサイト用カスタムテーマ。ライトテーマ＋3D球体アニメーション。
Version: 2.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 11x-theme
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #f8f9fc;
  --primary-warm: #fdfbf9;
  --accent: #4f46e5;
  --accent2: #7c3aed;
  --accent3: #ec4899;
  --accent-light: #eef2ff;
  --accent-light2: #f5f3ff;
  --accent-light3: #fdf2f8;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: rgba(0, 0, 0, 0.06);
  --border-accent: rgba(79, 70, 229, 0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --radius: 20px;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Noto Sans JP Fallback', 'Inter', sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== CANVAS BACKGROUND ===== */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  contain: strict;
}

/* ===== FONT FALLBACK (CLS prevention) ===== */
@font-face {
  font-family: 'Noto Sans JP Fallback';
  src: local('Hiragino Kaku Gothic ProN'), local('Hiragino Sans'), local('Yu Gothic'), local('Meiryo');
  size-adjust: 100%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 249, 252, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVIGATION ===== */
.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 24px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
  color: #fff !important;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s forwards;
}
.mobile-nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav a:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav a:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav a:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav a:nth-child(5) { animation-delay: 0.5s; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(79, 70, 229, 0.3);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  z-index: 1;
  background: linear-gradient(180deg, var(--primary-warm) 0%, var(--primary) 100%);
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SPHERE ===== */
.sphere-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.sphere-wrapper {
  width: 420px;
  height: 420px;
  position: relative;
  aspect-ratio: 1 / 1;
  contain: layout style;
}

.sphere-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, rgba(124,58,237,0.04) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: glowPulse 4s ease-in-out infinite;
}

#sphere-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  contain: strict;
}

/* ===== SECTION COMMON ===== */
.section-wrap {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-icon--1 { background: var(--accent-light); color: var(--accent); }
.service-icon--2 { background: var(--accent-light2); color: var(--accent2); }
.service-icon--3 { background: var(--accent-light3); color: var(--accent3); }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.service-tag--1 { background: var(--accent-light); color: var(--accent); }
.service-tag--2 { background: var(--accent-light2); color: var(--accent2); }
.service-tag--3 { background: var(--accent-light3); color: var(--accent3); }

/* ===== ABOUT ===== */
.about-section {
  background: linear-gradient(180deg, var(--primary) 0%, #f0f0ff 50%, var(--primary) 100%);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.about-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border: 1.5px solid rgba(79,70,229,0.12);
  border-radius: 50%;
  animation: rotateOrbit 20s linear infinite;
}

.orbit-ring:nth-child(1) { width: 280px; height: 280px; }
.orbit-ring:nth-child(2) {
  width: 360px; height: 360px;
  animation-duration: 30s;
  animation-direction: reverse;
  border-color: rgba(124,58,237,0.1);
}

.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  top: -4px; left: 50%;
  margin-left: -4px;
}

.orbit-ring:nth-child(1) .orbit-dot { background: var(--accent); box-shadow: 0 0 12px rgba(79,70,229,0.4); }
.orbit-ring:nth-child(2) .orbit-dot { background: var(--accent2); box-shadow: 0 0 12px rgba(124,58,237,0.4); }

.about-center-text {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.stat-row { display: flex; gap: 40px; margin-top: 32px; }

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 100px 40px;
  position: relative;
  z-index: 1;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 48px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-light2));
  border: 1px solid var(--border-accent);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(79,70,229,0.08), transparent 70%);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.08), transparent 70%);
  border-radius: 50%;
}

.cta-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-card .btn-primary {
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  background: var(--surface);
  content-visibility: auto;
  contain-intrinsic-size: auto 120px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===== SUB PAGE COMMON ===== */
.page-header {
  padding: 140px 40px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--primary-warm), var(--primary));
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.breadcrumb a:hover { text-decoration: underline; }

.page-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 120px;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.page-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
  color: var(--text);
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.page-content ul, .page-content ol {
  color: var(--text-muted);
  margin: 0 0 16px 24px;
  font-size: 0.95rem;
}

.page-content li { margin-bottom: 8px; }

/* ===== COMPANY TABLE ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.company-table th {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  width: 160px;
  white-space: nowrap;
}

.company-table td {
  color: var(--text-muted);
}

/* ===== CAREERS ===== */
.careers-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 48px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.job-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.job-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.job-card .salary {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.job-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.careers-section {
  margin-top: 48px;
}

.careers-section h2 {
  border-bottom: none !important;
  margin-bottom: 20px !important;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.benefit-item {
  background: var(--accent-light);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}

.apply-box {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-light2));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}

.apply-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.apply-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.apply-box a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.apply-box a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact-embed {
  margin: 40px 0;
}

.contact-embed iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: var(--radius);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease-out, top 0.3s ease-out;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .site-header { padding: 0 24px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }

  .sphere-wrapper { width: 300px; height: 300px; margin: 0 auto; }
  .sphere-container { order: -1; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; }

  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-visual { height: 300px; }
  .stat-row { justify-content: center; }

  .section-wrap { padding: 80px 24px; }

  .page-header { padding: 120px 24px 40px; }
  .page-content { padding: 40px 24px 80px; }

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

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .sphere-wrapper { width: 240px; height: 240px; }
  .stat-row { flex-direction: column; gap: 20px; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .company-table th { width: 100px; }
}

/* ===== ACCESSIBILITY — Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent2);
  outline-offset: 2px;
}

/* ===== FOCUS STYLES (Accessibility) ===== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
  .sphere-glow { animation: none; }
  .orbit-ring { animation: none; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header, .hamburger, .mobile-nav,
  .cursor-glow, #bg-canvas, .sphere-container,
  .cta-section, .site-footer { display: none !important; }
  .page-content { padding: 0; max-width: 100%; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
