﻿:root {
  --cream: #fff8f0;
  --gold: #c08552;
  --brown: #8c5a3c;
  --deep: #4b2e2b;
  --text: #fff8f0;
  --muted: rgba(255, 248, 240, 0.68);
  --panel: rgba(255, 248, 240, 0.06);
  --panel-strong: rgba(255, 248, 240, 0.1);
  --line: rgba(255, 248, 240, 0.12);
  --shadow: 0 24px 80px rgba(17, 10, 9, 0.28);
  --background:
    radial-gradient(circle at top left, rgba(192, 133, 82, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(140, 90, 60, 0.26), transparent 22%),
    linear-gradient(160deg, #4b2e2b 0%, #37211f 52%, #251615 100%);
}

body[data-theme="light"] {
  --text: #4b2e2b;
  --muted: rgba(75, 46, 43, 0.7);
  --panel: rgba(255, 248, 240, 0.75);
  --panel-strong: rgba(255, 248, 240, 0.96);
  --line: rgba(75, 46, 43, 0.12);
  --shadow: 0 28px 60px rgba(75, 46, 43, 0.14);
  --background:
    radial-gradient(circle at top left, rgba(192, 133, 82, 0.2), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(140, 90, 60, 0.12), transparent 24%),
    linear-gradient(180deg, #fff8f0 0%, #f7eadf 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: var(--background);
  color: var(--text);
  transition: background 200ms ease, color 200ms ease;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 248, 240, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 240, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 72px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  background: rgba(75, 46, 43, 0.22);
}

body[data-theme="light"] .topbar {
  background: rgba(255, 248, 240, 0.72);
}

.brand,
.nav a,
.ghost-link,
.project-link,
.contact-card,
.solid-button {
  text-decoration: none;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.brand span {
  color: var(--gold);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a,
.ghost-button {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.ghost-link:hover,
.project-link:hover,
.contact-card:hover,
.ghost-button:hover {
  color: var(--text);
}

.control-group {
  display: flex;
  gap: 10px;
}

.ghost-button,
.solid-button,
.ghost-link,
.project-link {
  border-radius: 999px;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.solid-button {
  color: var(--deep);
  background: var(--gold);
  border-color: transparent;
  font-weight: 700;
}

.solid-button:hover,
.ghost-button:hover,
.ghost-link:hover,
.project-link:hover,
.contact-card:hover {
  transform: translateY(-2px);
}

.hero-grid,
.content-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: stretch;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.section,
.content-grid,
.hero-grid {
  margin-bottom: 18px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel::before,
.panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-panel::before {
  top: -60px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(192, 133, 82, 0.24), transparent 65%);
}

.panel::after {
  left: -40px;
  bottom: -80px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 248, 240, 0.06), transparent 68%);
}

.eyebrow,
.section-kicker,
.mini-label,
.timeline-period,
.project-year,
.nav a,
.ghost-button {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
}

.hero-copy h1 {
  margin: 0;
  display: grid;
  gap: 4px;
  line-height: 0.9;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  font-size: clamp(3.25rem, 11vw, 7rem);
  letter-spacing: -0.07em;
}

.hero-copy h1 strong {
  color: var(--gold);
}

.hero-body,
.hero-note,
.section-copy,
.timeline-company,
.project-card p,
.bullet-list p,
.contact-card span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-body,
.section-copy {
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-note {
  max-width: 54ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.mini-card,
.stat-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-card strong,
.stat-card strong,
.contact-card strong {
  font-size: 1.02rem;
}

.mini-label,
.stat-card span,
.contact-card span,
.timeline-place {
  color: var(--muted);
  font-size: 0.74rem;
}

.stats-grid,
.projects-grid {
  display: grid;
  gap: 16px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.panel h2,
.panel h3,
.project-card h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.timeline-company {
  margin-top: 8px;
  margin-bottom: 18px;
}

.bullet-list {
  display: grid;
  gap: 10px;
}

.bullet-list p {
  margin: 0;
  padding-left: 18px;
  position: relative;
}

.bullet-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.bullet-list.separated {
  margin-top: 24px;
}

.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-year {
  color: var(--gold);
  font-size: 0.72rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row span {
  padding: 0.62rem 0.88rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  font-size: 0.88rem;
}

.project-link {
  align-self: flex-start;
  color: var(--gold);
  padding-inline: 0;
  border: none;
  background: transparent;
}

.skill-groups {
  display: grid;
  gap: 22px;
}

.stacked-info {
  display: grid;
  gap: 16px;
}

.info-block {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-strong);
}

.info-block h3,
.info-block p {
  margin: 0;
}

.info-block p {
  color: var(--muted);
  line-height: 1.7;
}

.separated-block {
  margin-top: 24px;
}
.skill-group h3 {
  margin-bottom: 12px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

a.contact-card,
a.contact-card:link,
a.contact-card:visited,
a.contact-card:hover,
a.contact-card:active {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

a.contact-card span {
  color: var(--muted);
}

a.contact-card strong {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .content-grid,
  .two-column,
  .contact-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 12px;
  }

  .panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-copy h1 span,
  .hero-copy h1 strong {
    font-size: clamp(2.7rem, 18vw, 4.8rem);
  }

  .control-group,
  .hero-actions {
    width: 100%;
  }

  .ghost-button,
  .solid-button,
  .ghost-link {
    flex: 1;
    text-align: center;
  }

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