:root {
  --bg: #070a0f;
  --bg-soft: #0d121a;
  --panel: rgba(15, 22, 32, 0.78);
  --panel-strong: rgba(19, 29, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #edf5ff;
  --muted: #a9b7ca;
  --subtle: #718096;
  --cyan: #5eead4;
  --blue: #60a5fa;
  --green: #86efac;
  --amber: #fbbf24;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.1), var(--bg) 58%),
    url("assets/cloud-ops-hero.png") top center / min(1600px, 150vw) auto no-repeat,
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.18), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0 84px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 10, 15, 0.74);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.42);
  border-radius: 7px;
  background: rgba(94, 234, 212, 0.11);
  color: var(--cyan);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 12px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(96, 165, 250, 0.11);
  color: var(--text);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: end;
  min-height: calc(100vh - 150px);
  padding-bottom: 76px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.project-status,
.signal-label,
.learning-label,
.panel-topline,
.learning-strip,
.tag-row {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(134, 239, 172, 0.9);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hero-lede,
.section-copy,
.timeline-card p,
.project-card p,
.skill-card p {
  color: var(--muted);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 22, 32, 0.7);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 15px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  border-color: rgba(94, 234, 212, 0.46);
  background: rgba(23, 35, 52, 0.9);
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(94, 234, 212, 0.55);
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.24), rgba(96, 165, 250, 0.2));
}

.ops-panel,
.timeline-card,
.project-card,
.skill-card,
.credential-block,
.contact-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.ops-panel {
  padding: 18px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--subtle);
  font-size: 0.76rem;
}

.panel-topline span:last-child {
  color: var(--green);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-grid div {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(4, 9, 16, 0.54);
}

.signal-label {
  display: block;
  margin-bottom: 12px;
  color: var(--subtle);
  font-size: 0.72rem;
}

.signal-grid strong {
  display: block;
  line-height: 1.15;
}

.learning-strip,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learning-strip {
  margin-top: 8px;
}

.learning-label {
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.learning-strip span,
.tag-row span {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 7px;
  background: rgba(96, 165, 250, 0.08);
  color: #c8d8ec;
  font-size: 0.73rem;
  padding: 6px 9px;
}

.section {
  padding: 86px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-copy {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--panel-strong);
}

.timeline-marker {
  width: 14px;
  height: 14px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.5);
}

.role-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 5px;
}

.role-row span {
  border: 1px solid rgba(134, 239, 172, 0.3);
  border-radius: 999px;
  color: var(--green);
  margin-bottom: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 9px;
}

.compact-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #c4cfdd;
}

.compact-list li + li {
  margin-top: 8px;
}

.project-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  min-height: 390px;
  flex-direction: column;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.08), transparent 44%),
    var(--panel);
}

.project-card.featured {
  border-color: rgba(94, 234, 212, 0.34);
}

.project-card p {
  margin-bottom: 22px;
}

.project-status {
  width: fit-content;
  margin-bottom: 22px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.72rem;
  padding: 5px 9px;
}

.project-status.in-progress {
  border-color: rgba(251, 191, 36, 0.32);
  color: var(--amber);
}

.project-status.archive {
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--muted);
}

.project-links {
  margin: 20px 0 0;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  border: 1px solid rgba(94, 234, 212, 0.32);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-links a:hover {
  transform: translateY(-1px);
  background: rgba(94, 234, 212, 0.16);
  border-color: rgba(94, 234, 212, 0.48);
}

.tag-row {
  margin-top: auto;
}

.skills-section {
  padding-top: 68px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.skill-card {
  min-height: 180px;
  padding: 20px;
}

.skill-card h3 {
  color: var(--cyan);
}

.credential-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
}

.credential-block {
  padding: 22px;
  background: rgba(13, 18, 26, 0.78);
}

.credential-list {
  display: block;
}

.credential-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.credential-item:last-child {
  border-bottom: none;
}

.credential-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.credential-title {
  color: var(--text);
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 54ch;
}

.credential-date {
  color: var(--subtle);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.credential-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  background: rgba(94, 234, 212, 0.04);
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.credential-button:hover {
  background: rgba(94, 234, 212, 0.12);
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, 0.5);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 70px 0 42px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.12), rgba(96, 165, 250, 0.08)),
    var(--panel-strong);
}

.contact-section h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

@media (max-width: 880px) {
  
    .site-shell {
    width: 100vh;
    padding: 0 14px;
    box-sizing: border-box;
}
  

  .topbar {
    position: static;
    align-items: flex-start;
    margin-bottom: 56px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-section,
  .intro-section,
  .section-heading,
  .credential-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 48px;
  }

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

  .project-card {
    min-height: 320px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 980px auto;
  }
  .brand-mark{
    display: none;
  }
  .title{
    font-size: clamp(2.8rem, 7vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;

  }
  .topbar {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    padding: 8px 7px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .signal-grid,
  .project-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .role-row {
    flex-direction: column;
  }
}
