:root {
  --bg: #f7f1e8;
  --bg-deep: #eee4d5;
  --surface: rgba(255, 252, 247, 0.72);
  --surface-strong: rgba(255, 252, 247, 0.88);
  --text: #1d1916;
  --muted: #6f625b;
  --line: rgba(29, 25, 22, 0.1);
  --line-strong: rgba(29, 25, 22, 0.16);
  --shadow: 0 18px 40px rgba(62, 44, 28, 0.05);
  --max-width: 1080px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 208, 115, 0.18), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(189, 223, 214, 0.32), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 25, 22, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 25, 22, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

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

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

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.page-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.26;
}

.page-glow-left {
  top: 8%;
  left: -110px;
  background: rgba(255, 131, 89, 0.42);
}

.page-glow-right {
  right: -120px;
  bottom: 18%;
  background: rgba(183, 228, 215, 0.62);
}

.site-header,
.intro,
.content-layout {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 2px 34px;
}

.brand {
  font-size: clamp(1.22rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 1;
}

.social-link img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.intro {
  max-width: 100%;
  padding: 16px 0 72px;
}

.intro-label {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
}

.intro-text {
  max-width: 100%;
  margin-top: 14px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--muted);
}

.intro-text-statement {
  max-width: 48rem;
  margin-top: 22px;
  font-size: 1.06rem;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--text);
}

.intro-text-secondary {
  max-width: 100%;
  margin-top: 10px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.85fr);
  grid-template-areas:
    "notes notes"
    "previously previously";
  column-gap: 26px;
  row-gap: 68px;
}

.list-section,
.side-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.main-column,
.side-column {
  display: grid;
  gap: 24px;
}

.main-column {
  grid-area: notes;
}

.side-column {
  grid-area: previously;
}

.list-section {
  padding: 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  padding: 6px 0 24px;
  border-bottom: 1px solid var(--line);
}

.section-label,
.entry-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.section-label-prominent {
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
}

.section-heading .section-label,
.side-section > .section-label {
  display: block;
  margin-bottom: 4px;
}

.section-copy {
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.65;
}

.entry {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.entry h2 {
  margin-top: 8px;
  font-size: clamp(1.14rem, 1.7vw, 1.32rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.entry p:last-child {
  max-width: 38rem;
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.entry-title-link {
  color: inherit;
}

.entry-title-link:hover,
.entry-title-link:focus-visible {
  color: var(--muted);
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.entry-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
  color: var(--muted);
  font-size: 0.78rem;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.entry-links a:hover,
.entry-links a:focus-visible {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

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

.side-section {
  padding: 4px 0 0;
}

.side-section p:not(.section-label) {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--muted);
}

.experience-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.experience-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0;
}

.experience-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.experience-logo-light {
  background: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.experience-logo-light img {
  background: #ffffff;
  object-fit: contain;
}

.experience-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-copy {
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--muted);
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "notes"
      "previously";
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 18px;
  }

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

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .site-header {
    padding-bottom: 26px;
  }

  .intro {
    padding-bottom: 30px;
  }

  .intro h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
  }

  .list-section,
  .side-section {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
