:root {
  --bg: #171717;
  --surface: #292524;
  --text: #E7E5E4;
  --muted: #A8A29E;
  --border: #44403C;
  --indigo: #4F46E5;
  --indigo-dark: #3730A3;
  --orange: #FF9900;
  --cream: #F7F6DA;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 23, 23, 0.92);
  border-bottom: 1px solid rgba(68, 64, 60, 0.72);
  backdrop-filter: blur(12px);
}

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

.nav-wrap {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
}

.brand-mark {
  background-image: url('png/SKA_Profile.png');
  background-size: cover;
  width: 60px;   /* whatever size you need */
  height: 60px;
}

.brand-name {
  color: var(--cream);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 78% 28%, rgba(79, 70, 229, 0.15), transparent 26%),
    radial-gradient(circle at 16% 76%, rgba(255, 153, 0, 0.06), transparent 22%),
    var(--bg);
}

.hero-inner {
  padding-block: 110px;
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Alegreya", Georgia, serif;
  line-height: 1.02;
  color: var(--cream);
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-weight: 600;
}

h3 {
  margin-bottom: 16px;
  font-size: 2.15rem;
  font-weight: 600;
}

.hero-copy {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-family: "Alegreya", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.project-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--indigo);
  background: rgba(41, 37, 36, 0.65);
}

.project-card:hover h3 {
  color: var(--orange);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  transition: 150ms ease;
}

.primary {
  background: var(--indigo);
  color: white;
}

.primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
}

.secondary {
  border: 1px solid var(--border);
  color: var(--cream);
}

.secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.section {
  padding-block: 96px;
  border-bottom: 1px solid var(--border);
}

.alt {
  background: var(--surface);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
}

.card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(41, 37, 36, 0.42);
}

.featured {
  border-top: 3px solid var(--indigo);
}

.card p:not(.card-label) {
  color: var(--muted);
}

.status {
  display: inline-block;
  margin-top: 12px;
  color: var(--cream);
  font-size: 0.9rem;
}

.split {
  align-items: flex-start;
}

.split > * {
  flex: 1;
}

.read-copy,
.small-copy,
.large-copy {
  color: var(--muted);
  font-size: 1.12rem;
  text-align: justify;
  text-justify: inter-word;
}

.large-copy {
  font-family: "Alegreya", Georgia, serif;
  font-size: 1.55rem;
}

.small-copy {
  font-family: "Alegreya", Georgia, serif;
  font-size: 1.40rem;
}

.text-link,
.social-links a {
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover,
.social-links a:hover {
  color: var(--orange);
}

.social-links {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact {
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.09), transparent 50%),
    var(--bg);
}

.footer {
  padding-block: 34px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-note {
  color: #78716C;
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .hero-inner {
    padding-block: 84px;
  }

  .section {
    padding-block: 72px;
  }

  .project-grid,
  .split {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
