/* ==========================================================================
   yuss — design tokens
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #0a0a0b;
  --bg-elevated: #0e0e10;
  --surface: #151517;
  --surface-hover: #1b1b1e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* text */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #8c8c94;

  /* accent — amber/orange */
  --accent: #f97316;
  --accent-hover: #fb923c;
  --accent-dim: rgba(249, 115, 22, 0.12);
  --accent-glow: rgba(249, 115, 22, 0.18);

  /* type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --container: 1120px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

* { margin: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul { list-style: none; padding: 0; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

::selection { background: var(--accent); color: #0a0a0b; }

/* ==========================================================================
   background atmosphere
   ========================================================================== */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(560px circle at 12% -8%, var(--accent-glow), transparent 60%),
    radial-gradient(480px circle at 92% 18%, rgba(249, 115, 22, 0.08), transparent 55%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ==========================================================================
   nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 11, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-links a.is-active {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.nav-toggle svg { width: 18px; height: 18px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 0 20px;
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile a.is-active,
.nav-mobile a:hover { color: var(--text-primary); }

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }

.btn-primary {
  background: var(--accent);
  color: #140900;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px -4px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.btn:hover svg { transform: translate(2px, -2px); }

/* ==========================================================================
   hero
   ========================================================================== */

.hero {
  padding-block: 120px 96px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  background: var(--surface);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  max-width: 880px;
  margin-inline: auto;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 88px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat span {
  font-size: 13.5px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   grids & cards
   ========================================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 140% at 15% 0%, var(--accent-dim), transparent 60%),
    var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.card-media svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
  opacity: 0.85;
  transition: transform 0.35s var(--ease);
}

.card:hover .card-media svg { transform: scale(1.08) rotate(-4deg); }

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(10, 10, 11, 0.7);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
}

.badge-live { color: #4ade80; }
.badge-live::before { content: "● "; }
.badge-soon { color: var(--text-tertiary); }

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h3 {
  font-size: 17.5px;
}

.card-body p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-price small {
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: 4px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.card-link svg { width: 13px; height: 13px; transition: transform 0.2s var(--ease); }

.card-link:hover svg { transform: translate(2px, -2px); }

/* ==========================================================================
   about / bio
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}

.avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 140% at 20% 0%, var(--accent-dim), transparent 60%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar svg { width: 64px; height: 64px; color: var(--accent); }

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.skill-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.skill-item h3 {
  font-size: 14.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-item h3 svg { width: 16px; height: 16px; color: var(--accent); }

.skill-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.timeline {
  margin-top: 40px;
  border-left: 1px solid var(--border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.timeline-item time {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.timeline-item h3 { font-size: 15.5px; margin-top: 4px; }

.timeline-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 19px; height: 19px; color: var(--accent); }

.contact-card h3 { font-size: 15.5px; }
.contact-card span { font-size: 13.5px; color: var(--text-tertiary); }

/* ==========================================================================
   cta banner
   ========================================================================== */

.cta-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(600px circle at 50% -20%, var(--accent-dim), transparent 60%),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 480px;
  margin-inline: auto;
  font-size: 15.5px;
}

.cta-banner .hero-actions { margin-top: 30px; }

/* ==========================================================================
   footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.footer-brand .brand-mark { width: 24px; height: 24px; }

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

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}

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

.footer-meta {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 24px;
  text-align: center;
}

/* ==========================================================================
   reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ==========================================================================
   page hero (non-home pages)
   ========================================================================== */

.page-hero {
  padding-block: 88px 56px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.page-hero p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  font-size: 16.5px;
}

.page-hero h1 span {
  color: var(--accent);
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .avatar { width: 140px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-mobile { display: flex; }
  .section { padding-block: 64px; }
  .hero { padding-block: 88px 64px; }
  .hero-stats { gap: 32px; margin-top: 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
