:root {
  --background: #f3f5f0;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --surface-muted: #e7ece2;
  --text: #1f2a20;
  --muted: #566556;
  --accent: #0f8f72;
  --accent-strong: #0b5e4c;
  --accent-soft: rgba(15, 143, 114, 0.1);
  --border: rgba(31, 42, 32, 0.14);
  --shadow: 0 18px 40px rgba(31, 42, 32, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(15, 143, 114, 0.08) 0, rgba(15, 143, 114, 0) 320px),
    linear-gradient(rgba(31, 42, 32, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 32, 0.018) 1px, transparent 1px),
    var(--background);
  background-size: auto, 132px 132px, 132px 132px, auto;
  background-position: 0 0, center top, center top, 0 0;
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.masthead {
  max-width: 960px;
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--border);
}

.masthead-copy {
  display: grid;
  align-content: start;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 12ch;
  font-size: 4rem;
  line-height: 0.98;
  font-weight: 760;
}

.role {
  max-width: 38ch;
  margin-bottom: 28px;
  color: var(--accent-strong);
  font-size: 1.16rem;
  line-height: 1.45;
  font-weight: 620;
}

.intro,
.columns p,
.experience p,
.info-group p,
.contact-copy {
  color: var(--muted);
}

.intro {
  max-width: 64ch;
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.78;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  max-width: 840px;
  margin: 42px 0 0;
}

.signal-card {
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(15, 143, 114, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 143, 114, 0.05), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  box-shadow: 0 12px 28px rgba(31, 42, 32, 0.05);
}

.signal-kicker,
.signal-title,
.signal-text {
  margin-bottom: 0;
}

.signal-kicker {
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 760;
}

.signal-card:first-child .signal-kicker {
  font-size: 2.35rem;
  line-height: 0.98;
}

.signal-title {
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}

.signal-text {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.actions,
.meta,
.tags,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions {
  margin: 36px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #f4fbf8;
  box-shadow: 0 14px 24px rgba(15, 143, 114, 0.18);
}

.meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta li,
.tags span,
.contact-list a,
.contact-list span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 42, 32, 0.08);
}

h2 {
  margin-bottom: 0;
  font-size: 2.15rem;
  line-height: 1.1;
}

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

.columns p {
  font-size: 1.05rem;
}

.tags span {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
}

.timeline {
  display: grid;
  gap: 26px;
  max-width: 920px;
}

.freelance-section {
  padding-top: 24px;
}

.freelance-card {
  display: grid;
  gap: 18px;
  max-width: 920px;
  padding: 28px;
  border: 1px solid rgba(15, 143, 114, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 143, 114, 0.1), rgba(255, 255, 255, 0.94) 40%),
    var(--surface);
  box-shadow: var(--shadow);
}

.freelance-copy {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.experience {
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8));
  box-shadow: var(--shadow);
}

.experience-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.company-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.company-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
}

.experience-date,
.experience-role,
.stack {
  margin-bottom: 0;
}

.experience-date {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(15, 143, 114, 0.18);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.experience h3,
.info-group h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.company-brand h3 a {
  text-decoration: none;
  color: inherit;
}

.experience-role {
  color: var(--text);
  font-weight: 700;
}

.highlights,
.plain-list {
  padding-left: 18px;
  color: var(--muted);
}

.highlights {
  margin-top: 14px;
}

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

.stack {
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 700;
}

.info-group + .info-group {
  margin-top: 24px;
}

.contact-copy {
  max-width: 48ch;
}

.contact-list {
  margin-top: 20px;
}

.contact-list a {
  text-decoration: none;
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.4rem;
  }

  .signal-strip,
  .columns,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .masthead {
    padding: 40px 0 56px;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 1100px);
    padding: 24px 0 48px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .role {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 1.05rem;
  }

  .intro {
    font-size: 1rem;
    line-height: 1.72;
  }

  .button,
  .meta li,
  .tags span,
  .contact-list a,
  .contact-list span {
    width: 100%;
    justify-content: flex-start;
  }

  .signal-strip {
    margin-top: 32px;
    gap: 14px;
  }

  .signal-card {
    min-height: auto;
    padding: 18px;
  }

  .freelance-card {
    padding: 20px;
  }

  .experience {
    padding: 22px;
  }
}
