/* =========================================================
   Yusuf Xasan — Developer Portfolio
   Premium black/dark theme — shared styles for all pages
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #050507;
  --bg-soft: #0a0a0f;
  --surface: #0d0d13;
  --surface-2: #14141c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e7e7ea;
  --text-muted: #9a9aa5;
  --accent: #8b5cf6;
  --accent-2: #38bdf8;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --glow: 0 0 24px rgba(139, 92, 246, 0.35);
  --success: #34d399;
  --danger: #f87171;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --nav-height: 68px;
  --container: 1120px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  /* subtle fixed glow at the top of every page */
  content: '';
  position: fixed;
  inset: 0 0 auto 0;
  height: 420px;
  background:
    radial-gradient(600px 300px at 80% -80px, rgba(139, 92, 246, 0.14), transparent 70%),
    radial-gradient(500px 280px at 10% -120px, rgba(56, 189, 248, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--gradient);
  box-shadow: var(--glow);
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  margin-inline: auto;
}

.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-sub.center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.4), 0 10px 28px rgba(139, 92, 246, 0.5);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.25);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 5, 7, 0.94);
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-logo-dot {
  color: var(--accent-2);
}

.nav-list {
  display: flex;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--accent-2);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 7px 13px;
}

.nav-cta {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background:
    radial-gradient(700px 420px at 85% 15%, rgba(139, 92, 246, 0.12), transparent 65%),
    radial-gradient(550px 360px at 8% 85%, rgba(56, 189, 248, 0.08), transparent 65%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.hero-name {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 60px rgba(139, 92, 246, 0.25);
}

.hero-role {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin: 14px 0 18px;
  min-height: 1.6em;
}

.hero-typed {
  color: var(--accent-2);
}

.hero-typed::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--accent-2);
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--accent-2);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

/* Terminal card */
.hero-terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 13, 19, 0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--danger);
}

.terminal-dot:nth-child(2) { background: #fbbf24; }
.terminal-dot:nth-child(3) { background: var(--success); }

.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.9;
}

.t-prompt {
  color: var(--success);
  margin-right: 8px;
}

.t-out {
  color: var(--text-muted);
  padding-left: 1.4em;
}

.t-cursor {
  animation: blink 1s step-end infinite;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--nav-height) + 88px) 0 64px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 75% -40px, rgba(139, 92, 246, 0.10), transparent 70%),
    var(--bg-soft);
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-kicker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-hero-sub {
  color: var(--text-muted);
  max-width: 640px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--shadow);
}

/* ---------- About (home preview + about page) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text);
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-card-title {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--accent-2);
}

.facts-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}

.facts-list li:last-child {
  border-bottom: none;
}

.fact-label {
  color: var(--text-muted);
}

.fact-value {
  text-align: right;
  font-weight: 500;
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--shadow);
}

.skill-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25);
  margin-bottom: 16px;
}

.skill-card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.skill-card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-soft);
  transition: var(--transition);
}

.skill-tags li:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.tag-note {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--shadow);
}

.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
}

.project-title {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.project-actions {
  display: flex;
  gap: 10px;
}

.demo-note {
  font-weight: 400;
  color: var(--text-muted);
}

/* ---------- Journey timeline ---------- */
.learning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
  align-items: start;
}

.learning-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.learning-card-title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--accent-2);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.timeline-item {
  position: relative;
  padding-left: 18px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.timeline-period {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-2);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline-heading {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Full-width vertical timeline (journey page) */
.journey-timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 28px;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
}

.journey-item {
  position: relative;
  margin-bottom: 40px;
}

.journey-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.6);
}

.journey-item:last-child {
  margin-bottom: 0;
}

.journey-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.journey-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.journey-text {
  color: var(--text-muted);
  max-width: 720px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-item:hover {
  background: var(--surface);
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--accent-2);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), 0 0 14px rgba(139, 92, 246, 0.15);
}

.form-input::placeholder {
  color: #565664;
}

.form-input.invalid {
  border-color: var(--danger);
}

.form-error {
  display: none;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-error.show {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-success {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--success);
  font-size: 0.9rem;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-logo-dot {
  color: var(--accent-2);
}

.footer-tagline {
  margin-top: 14px;
  max-width: 340px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social .social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.footer-heading {
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}

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

.footer-links a,
.footer-links span {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  font-size: 0.85rem;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.25);
}

/* ---------- Scroll reveal (JS-enhanced only) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Polish ---------- */
::selection {
  background: rgba(139, 92, 246, 0.5);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    flex-direction: column;
    width: min(300px, 82vw);
    padding: 20px;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 0 0 0 var(--radius);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 40px;
  }

  .hero-terminal {
    max-width: 520px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-typed::after,
  .t-cursor {
    animation: none;
  }
}
