/* johnhekmati.com — personal mock-up (static; no build step) */
:root {
  --void: #050810;
  --void-50: #080c14;
  --void-100: #0c1220;
  --void-200: #121a2b;
  --electric: #3b9eff;
  --electric-dim: #2563eb;
  --plasma: #a78bfa;
  --amber: #f5b942;
  --gold: #e8a317;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --border: rgba(255, 255, 255, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--void);
  color: var(--gray-400);
  line-height: 1.65;
  font-size: 1.05rem;
}

a {
  color: var(--electric);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Centered content column — equal gutters (option B); easy to drop */
.wrap--column {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.wrap--column .section-label,
.wrap--column h2 {
  /* keep left-aligned type inside the centered column */
  text-align: left;
}

.wrap--column > p,
.wrap--column .callout,
.wrap--column .steps,
.wrap--column .grid-2,
.wrap--column .badge {
  max-width: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-brand {
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
  color: var(--electric);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--gray-500);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--electric);
}

.nav-cta {
  display: inline-flex !important;
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  background: rgba(59, 158, 255, 0.12);
  border: 1px solid rgba(59, 158, 255, 0.35);
  color: var(--electric) !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-cta:hover {
  background: rgba(59, 158, 255, 0.2);
  text-decoration: none !important;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(59, 158, 255, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(167, 139, 250, 0.1), transparent);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric);
  margin: 0 0 0.85rem;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lede {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric), var(--electric-dim));
  color: #fff !important;
  box-shadow: 0 0 32px rgba(59, 158, 255, 0.2);
}

.btn-secondary {
  background: var(--void-200);
  border-color: var(--border);
  color: var(--gray-300) !important;
}

.btn-secondary:hover {
  border-color: rgba(59, 158, 255, 0.35);
  color: #fff !important;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 32rem;
}

/* Portrait */
.portrait {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
}

.portrait-frame {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--void-100);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.portrait-glow {
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 8rem;
  height: 8rem;
  background: rgba(167, 139, 250, 0.18);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

/* Centered close — Contact */
.section--center {
  text-align: center;
}

.section--center .wrap--center {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.section--center .section-label,
.section--center h2,
.section--center p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions--center {
  justify-content: center;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plasma);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.section p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--gray-300);
  font-weight: 600;
}

/* Cards */
.grid-2 {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: rgba(12, 18, 32, 0.65);
}

.card-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  /* HAL-E — electric → plasma */
  background: linear-gradient(90deg, var(--electric), var(--plasma));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.card-label.amber {
  /* AAE — amber → gold */
  background: linear-gradient(90deg, var(--amber), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.card h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-500);
  max-width: none;
}

/* Callout */
.callout {
  border-left: 3px solid var(--electric);
  background: var(--void-100);
  border-radius: 0 0.65rem 0.65rem 0;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0 0;
  max-width: 40rem;
}

.callout p {
  margin: 0;
  color: var(--gray-300);
}

/* Timeline-ish list */
.steps {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}

.steps li {
  position: relative;
  padding: 0 0 1.15rem 1.25rem;
  border-left: 1px solid rgba(59, 158, 255, 0.25);
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  content: "";
  position: absolute;
  left: -0.3rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 12px rgba(59, 158, 255, 0.5);
}

.steps strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

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

.footer a {
  color: var(--gray-500);
}

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

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245, 185, 66, 0.35);
  background: rgba(245, 185, 66, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem !important;
  max-width: none !important;
}

.contact-email {
  margin: 1.25rem 0 0.5rem !important;
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-email a {
  color: #fff;
}

.contact-email a:hover {
  color: var(--electric);
}

.contact-alt {
  margin-top: 1.5rem !important;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.footer-sep {
  color: var(--gray-600);
  opacity: 0.7;
}

