:root {
  color-scheme: light;
  --page: #f5f4ef;
  --paper: #fffefa;
  --ink: #1d2925;
  --muted: #6f7972;
  --faint: #9da69f;
  --line: #e4e6df;
  --accent: #286d5a;
  --accent-dark: #1b5143;
  --accent-soft: #e3eee8;
  --warm: #e8dfcf;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.page-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 80px rgb(34 46 39 / 4%);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 650px;
  padding: 38px 28px 30px;
  border-right: 1px solid var(--line);
  background: #fbfaf6;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0 25px;
  color: #c1c7c0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.language-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #9ba39c;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.language-button:hover,
.language-button.is-active {
  color: var(--accent);
}

.language-button:focus-visible,
a:focus-visible {
  outline: 2px solid #6caa91;
  outline-offset: 4px;
}

.sidebar-rule {
  height: 1px;
  background: var(--line);
}

.sidebar-label {
  margin: 28px 0 13px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 5px;
}

.side-nav-link {
  position: relative;
  padding: 8px 0 8px 14px;
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.side-nav-link::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  content: "";
  transform: translateY(-50%);
}

.side-nav-link:hover,
.side-nav-link.is-current {
  color: var(--accent);
}

.side-nav-link.is-current::before {
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.sidebar-bottom {
  margin-top: auto;
}

.location {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.location-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #cf9a55;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #d6e2da;
  border-radius: 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease;
}

.contact-link:hover {
  border-color: #b7d0c2;
  background: var(--accent-soft);
}

.main-content {
  min-width: 0;
  padding: 0 clamp(32px, 8vw, 118px);
}

.hero {
  padding: 68px 0 57px;
  border-bottom: 1px solid var(--line);
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62a77d;
  box-shadow: 0 0 0 3px #e6f1e8;
}

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

.hero h1 {
  margin: 36px 0 17px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 600;
  letter-spacing: -3.2px;
  line-height: 1.13;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.print-contact {
  display: none;
}

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

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #bdcfc2;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 48px;
}

.meta-item {
  display: grid;
  gap: 2px;
}

.meta-item strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.45px;
}

.meta-item:first-child strong {
  font-size: 21px;
}

.meta-item strong span {
  color: var(--accent);
}

.meta-item > span {
  color: var(--muted);
  font-size: 10px;
}

.meta-divider {
  width: 1px;
  height: 31px;
  background: var(--line);
}

.content-section {
  padding: 49px 0 48px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 26px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-kicker {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.3;
}

.section-index {
  padding-top: 4px;
  color: #b3bbb4;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 7px;
  bottom: 10px;
  left: 4px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 17px;
  padding: 0 0 27px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border: 2px solid #d7dfd8;
  border-radius: 50%;
  background: var(--paper);
}

.timeline-item:first-child .timeline-marker {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-content {
  min-width: 0;
}

.timeline-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.timeline-heading h3,
.education-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.25px;
}

.company {
  margin: 2px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.date {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 10px;
  text-align: right;
}

.experience-details {
  display: grid;
  gap: 5px;
  margin: 0 0 11px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.experience-details li::marker {
  color: #a4b7a9;
}

.tag-list,
.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f3ee;
  color: #66746a;
  font-size: 10px;
  line-height: 1.55;
}

.current-label {
  align-self: start;
  margin-top: 1px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

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

.education-card,
.skill-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffefa;
}

.education-date {
  display: block;
  margin-bottom: 11px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.education-card h3 {
  font-size: 13px;
  line-height: 1.5;
}

.education-organization {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 11px;
}

.education-detail {
  margin-bottom: 0;
  color: #808981;
  font-size: 11px;
  line-height: 1.6;
}

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

.skill-card h3,
.interest-group h3 {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.skill-card .tag-list {
  gap: 6px;
}

.interest-list {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 25px;
}

.interest-group h3 {
  margin-bottom: 9px;
  color: var(--muted);
}

.interest-tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #59665d;
  font-size: 11px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  color: var(--faint);
  font-size: 10px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 920px) {
  .page-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .sidebar {
    padding-right: 22px;
    padding-left: 22px;
  }

  .main-content {
    padding-right: 38px;
    padding-left: 38px;
  }

  .timeline-item {
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .current-label {
    grid-column: 2;
    justify-self: start;
    grid-row: 1;
    margin: -4px 0 0;
    transform: translateY(28px);
  }
}

@media (max-width: 680px) {
  .page-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .language-switch {
    margin: 0;
  }

  .sidebar-rule,
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }

  .side-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    margin: 12px -20px -14px;
    padding: 0 20px 11px;
    scrollbar-width: none;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .side-nav-link {
    flex: 0 0 auto;
    padding: 4px 0;
    font-size: 11px;
  }

  .side-nav-link::before {
    display: none;
  }

  .side-nav-link.is-current {
    box-shadow: inset 0 -2px var(--accent);
  }

  .main-content {
    padding: 0 22px;
  }

  .hero {
    padding: 47px 0 38px;
  }

  .hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: clamp(37px, 10vw, 54px);
    letter-spacing: -2px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-meta {
    gap: 14px;
    justify-content: space-between;
    margin-top: 36px;
  }

  .meta-item strong {
    font-size: 13px;
  }

  .meta-item:first-child strong {
    font-size: 18px;
  }

  .meta-item > span {
    font-size: 9px;
  }

  .content-section {
    padding: 37px 0;
  }

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

  .section-heading h2 {
    font-size: 24px;
  }

  .timeline-item {
    gap: 12px;
    padding-bottom: 24px;
  }

  .timeline-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .date {
    text-align: left;
  }

  .current-label {
    grid-row: auto;
    margin-top: -2px;
    transform: none;
  }

  .education-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .interest-list {
    grid-template-columns: 1fr;
    gap: 21px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 15mm 16mm;
  }

  body,
  .page-shell {
    background: white;
  }

  body {
    font-size: 9pt;
    line-height: 1.45;
  }

  .page-shell {
    display: block;
    box-shadow: none;
  }

  .sidebar,
  .hero-actions,
  .availability,
  .site-footer a,
  .section-index {
    display: none;
  }

  .main-content {
    padding: 0;
  }

  .hero {
    padding: 0 0 12px;
  }

  .hero h1 {
    margin: 14px 0 8px;
    font-size: 30pt;
    letter-spacing: -1.5px;
  }

  .hero-copy {
    max-width: none;
    margin-bottom: 10px;
    font-size: 9pt;
  }

  .print-contact {
    display: block;
    margin-bottom: 8px;
    font-size: 8pt;
  }

  .hero-meta {
    gap: 20px;
    margin-top: 14px;
  }

  .content-section {
    padding: 15px 0;
  }

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

  .section-heading h2 {
    font-size: 18pt;
  }

  .section-kicker {
    font-size: 8pt;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
    break-inside: avoid;
  }

  .timeline-marker {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-content {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-item .current-label {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin: 3px 0 0;
  }

  .timeline-heading {
    margin-bottom: 4px;
  }

  .timeline-heading h3 {
    font-size: 10pt;
  }

  .company,
  .experience-details,
  .date {
    font-size: 8pt;
  }

  .experience-details {
    gap: 2px;
    margin-bottom: 5px;
  }

  .tag-list,
  .interest-tags {
    gap: 3px;
  }

  .tag-list li,
  .interest-tags li {
    padding: 2px 5px;
    font-size: 7pt;
  }

  .current-label {
    display: none;
  }

  .education-grid,
  .skills-grid {
    gap: 6px;
  }

  .education-card,
  .skill-card {
    padding: 9px;
    break-inside: avoid;
  }

  .education-date,
  .education-organization,
  .education-detail {
    font-size: 8pt;
  }

  .education-card h3,
  .skill-card h3,
  .interest-group h3 {
    margin-bottom: 5px;
    font-size: 9pt;
  }

  .interest-list {
    gap: 15px;
  }

  .content-section {
    break-inside: auto;
  }

  #education,
  #skills,
  #interests {
    break-inside: avoid;
  }

  .site-footer {
    padding: 10px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
