:root {
  --canvas: #F9F8F6;
  --surface: #FFFFFF;
  --ink: #18181B;
  --muted: #52525B;
  --subtle: #71717A;
  --line: #E4E4E7;
  --sage: #3F5E52;
  --sage-light: #EDF2F0;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Browser defaults and the visual tokens used by the reference. */
*, ::before, ::after {
  box-sizing: border-box;
  border: 0 solid #E5E7EB;
}

html {
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4, p, ul) { margin: 0; }
:where(h1, h2, h3, h4) { font-size: inherit; font-weight: inherit; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
strong { font-weight: bolder; }
svg { display: block; vertical-align: middle; }

button, input {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-feature-settings: inherit;
  letter-spacing: inherit;
}

button {
  appearance: button;
  background-color: transparent;
  cursor: pointer;
}

.swiss-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.swiss-card:hover { border-color: #A1A1AA; }

.timeline-role {
  --timeline-accent: var(--sage);
  border-color: var(--timeline-accent);
}

.timeline-role:not(:last-child) { padding-bottom: 2.25rem; }
.timeline-role:last-child { --timeline-accent: var(--line); }
.timeline-dot { background-color: var(--sage); }
.timeline-role:last-child .timeline-dot { background-color: var(--subtle); }
.timeline-role li::marker { color: var(--sage); }
.timeline-role:last-child li::marker { color: var(--subtle); }

.education-entry:not(:last-child) {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.clipboard-input {
  position: fixed;
  inset: 0 auto auto 0;
  opacity: 0;
  pointer-events: none;
}

/* Layout and spacing */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid-cols-1 { grid-template-columns: minmax(0, 1fr); }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }

.absolute { position: absolute; }
.fixed { position: fixed; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-1\.5 { top: 0.375rem; }
.-left-\[5px\] { left: -5px; }
.right-6 { right: 1.5rem; }
.bottom-6 { bottom: 1.5rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.min-w-0 { min-width: 0; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-5 { width: 1.25rem; }
.w-10 { width: 2.5rem; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }

.mx-auto { margin-inline: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2\.5 { padding-inline: 0.625rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.py-1 { padding-block: 0.25rem; }
.py-2\.5 { padding-block: 0.625rem; }
.py-20 { padding-block: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-16 { padding-top: 4rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }

/* Type, color and UI states */
.font-mono { font-family: var(--mono); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.list-disc { list-style-type: disc; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }
.text-subtle { color: var(--subtle); }
.text-sage { color: var(--sage); }
.text-white { color: var(--surface); }
.bg-canvas { background-color: var(--canvas); }
.bg-canvas\/90 { background-color: rgb(249 248 246 / 90%); }
.bg-ink { background-color: var(--ink); }
.bg-sage { background-color: var(--sage); }
.bg-sage-light { background-color: var(--sage-light); }
.bg-surface { background-color: var(--surface); }
.bg-transparent { background-color: transparent; }

.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-line { border-color: var(--line); }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%); }
.opacity-0 { opacity: 0; }
.pointer-events-none { pointer-events: none; }
.translate-y-2 { transform: translateY(0.5rem); }
.scroll-smooth { scroll-behavior: smooth; }

.selection\:bg-sage::selection, .selection\:bg-sage ::selection { background-color: var(--sage); }
.selection\:text-white::selection, .selection\:text-white ::selection { color: var(--surface); }
.hover\:bg-sage:hover { background-color: var(--sage); }
.hover\:border-ink:hover { border-color: var(--ink); }
.hover\:border-sage:hover { border-color: var(--sage); }
.hover\:text-ink:hover { color: var(--ink); }
.hover\:text-sage:hover { color: var(--sage); }

.transition-colors {
  transition: color 150ms var(--transition-ease), background-color 150ms var(--transition-ease),
    border-color 150ms var(--transition-ease);
}

.transition-all { transition: all 150ms var(--transition-ease); }
.duration-200 { transition-duration: 200ms; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-baseline { align-items: baseline; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:px-8 { padding-inline: 2rem; }
  .sm\:py-24 { padding-block: 6rem; }
  .sm\:pt-24 { padding-top: 6rem; }
  .sm\:pb-28 { padding-bottom: 7rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:border-l { border-left-width: 1px; }
  .lg\:border-line { border-color: var(--line); }
  .lg\:pl-8 { padding-left: 2rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
