:root {
  --bg: #f6f3ec;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #1f1d1a;
  --muted: #6c655c;
  --line: #ddd4c8;
  --accent: #176b5a;
  --accent-soft: #e6f0ed;
  --shadow: 0 20px 40px rgba(52, 41, 26, 0.08);
  --radius: 22px;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fff7ea 0, transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, #f3efe7 100%);
  line-height: 1.6;
}

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

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

.page {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding: 14px 18px;
  border: 1px solid rgba(221, 212, 200, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar-links a:hover,
.project-links a:hover,
.link-list a:hover {
  color: var(--accent);
}

.hero,
.section-card {
  border: 1px solid rgba(221, 212, 200, 0.85);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 36px;
  margin-bottom: 20px;
}

.hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #efe6d5, #d9e9e4);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-role {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.5;
}

.hero-summary {
  max-width: 64ch;
  color: #35312b;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.trust-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.meta-list,
.stats,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-item,
.stat,
.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 14px;
}

.meta-item {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.stat {
  padding: 16px 18px;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-top: 20px;
}

.stack {
  display: grid;
  gap: 20px;
}

.section-card {
  padding: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.section-note {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.timeline,
.project-list,
.skill-groups,
.link-list,
.proof-grid {
  display: grid;
  gap: 14px;
}

.timeline-item,
.project-item,
.skill-group,
.proof-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.timeline-header,
.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.timeline-header h3,
.project-header h3,
.skill-group h3 {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}

.timeline-date,
.project-tag {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.timeline-company,
.project-stack {
  color: var(--accent);
  font-size: 0.94rem;
  margin-bottom: 10px;
}

.timeline-item ul {
  margin: 0;
  padding-left: 18px;
  color: #3d3832;
}

.timeline-item li + li {
  margin-top: 6px;
}

.project-item p,
.skill-group p,
.section-card > p {
  color: #3d3832;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
}

.chip {
  padding: 8px 12px;
  color: #3f3933;
  font-size: 0.92rem;
}

.link-list a {
  color: var(--accent);
  font-weight: 600;
}

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

.proof-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.proof-card p {
  color: #3d3832;
}

.service-list {
  margin: 0;
  padding-left: 18px;
  color: #3d3832;
}

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

.footer {
  margin-top: 20px;
  padding: 18px 10px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

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

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, var(--content-width));
    padding-top: 14px;
  }

  .topbar {
    border-radius: 22px;
    padding: 16px;
  }

  .topbar,
  .section-head,
  .timeline-header,
  .project-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    width: 100%;
    gap: 10px 14px;
  }

  .hero {
    gap: 20px;
    padding: 22px;
  }

  .hero-photo {
    width: 124px;
    height: 124px;
    border-radius: 22px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .section-card {
    padding: 22px;
  }

  .hero-actions {
    width: 100%;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .meta-item,
  .chip {
    width: 100%;
  }
}
