/* Reset.less
 * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here	that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
 * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
html,
body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
cite,
code,
del,
dfn,
em,
img,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dd,
dl,
dt,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  line-height: 1;
  font-family: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
ol,
ul {
  list-style: none;
}
q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
}
html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
audio:not([controls]) {
  display: none;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
button,
input {
  line-height: normal;
  *overflow: visible;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #1b211f;
  --ink-muted: #5b6461;
  --ink-faint: #8b928f;
  --accent: #0e5c57;
  --accent-soft: #e4efec;
  --hairline: #dedbd3;
  --fs-name: clamp(2.25rem, 1.6rem + 2.6vw, 3.4rem);
  --fs-role: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  --fs-title: clamp(1.4rem, 1.28rem + 0.5vw, 1.7rem);
  --fs-subtitle: 1.15rem;
  --fs-body: 1.05rem;
  --fs-small: 0.92rem;
  --fs-micro: 0.78rem;
  --space-1: 0.5rem;
  --space-2: 0.9rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --max-width: 58rem;
  --label-width: 11.5rem;
  --entry-meta-width: 10.5rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181a;
    --surface: #191e20;
    --ink: #ececea;
    --ink-muted: #9ba6a2;
    --ink-faint: #6b7573;
    --accent: #5fd1c2;
    --accent-soft: #1c2c2a;
    --hairline: #2a3234;
    color-scheme: dark;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}
body {
  transition: background-color 0.2s ease, color 0.2s ease;
}
em {
  font-style: italic;
}
a,
a:visited {
  color: var(--ink);
  text-decoration: none;
  line-height: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cv-link {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  line-height: 1.9;
}
.cv-link:hover {
  opacity: 0.75;
}
code {
  font-family: var(--font-body);
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.cv {
  max-width: calc(var(--max-width) + var(--label-width));
  margin: 0 auto;
  padding: var(--space-5) var(--space-3) var(--space-6);
}
.cv-section {
  display: grid;
  grid-template-columns: var(--label-width) 1fr;
  gap: var(--space-4);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid var(--hairline);
}
.cv-section:first-of-type {
  margin-top: var(--space-5);
}
.cv-section__label h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-title);
  color: var(--ink);
}
.cv-section__label::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-bottom: var(--space-2);
  background: var(--accent);
}
.cv-section__body > * + * {
  margin-top: var(--space-3);
}
.cv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.cv-grid__divider {
  grid-column: -1;
  border: none;
  border-top: 1px solid var(--hairline);
  margin: var(--space-1) 0;
}
.cv-entry-list {
  display: flex;
  flex-direction: column;
}
.cv-entry {
  display: grid;
  grid-template-columns: var(--entry-meta-width) 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}
.cv-entry:not(:first-child) {
  border-top: 1px solid var(--hairline);
}
@media (max-width: 640px) {
  .cv {
    padding: var(--space-4) var(--space-2) var(--space-5);
  }
  .cv-section {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .cv-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .cv-entry {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
}
@media print {
  @page {
    size: A4;
    margin: 14mm;
  }
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --ink: #1b211f;
    --ink-muted: #5b6461;
    --ink-faint: #8b928f;
    --accent: #0e5c57;
    --accent-soft: #e4efec;
    --hairline: #d8d5cd;
  }
  html,
  body {
    background: var(--bg);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cv {
    max-width: none;
    padding: 0;
  }
  .cv-section,
  .cv-entry {
    grid-template-columns: 1fr;
    gap: 0.4em;
  }
  .cv-entry,
  .cv-section__label {
    break-inside: avoid;
  }
  a {
    break-inside: avoid;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
    break-inside: avoid;
  }
}
.cv-entry__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.cv-entry__time {
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  line-height: 1.4;
}
.cv-entry__range {
  white-space: nowrap;
}
.cv-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.cv-entry__tag {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.cv-entry__title {
  font-weight: 600;
  font-size: var(--fs-body);
}
.cv-entry__role {
  margin-top: 0.2em;
  font-size: var(--fs-small);
  color: var(--ink-muted);
}
.cv-entry__description {
  margin-top: 0.6em;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--ink);
}
.cv-entry__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-subtitle);
}
.cv-entry__name code {
  font-style: italic;
}
.cv-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--hairline);
}
.cv-name {
  font-family: var(--font-display);
  font-size: var(--fs-name);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cv-role {
  margin-top: var(--space-1);
  font-size: var(--fs-role);
  color: var(--accent);
}
.cv-header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4em;
  list-style: none;
}
.cv-header__contact a {
  font-size: var(--fs-small);
  color: var(--ink-muted);
}
.cv-header__contact a:hover {
  color: var(--accent);
}
@media (max-width: 640px) {
  .cv-header {
    align-items: flex-start;
  }
  .cv-header__contact {
    align-items: flex-start;
  }
}
.cv-prose p {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
}
.cv-prose p + p {
  margin-top: 0.9em;
}
.cv-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-subtitle);
  color: var(--ink);
  margin-bottom: 0.4em;
}
.cv-subtitle code {
  font-style: italic;
}
.cv-blurb p {
  font-size: var(--fs-small);
  color: var(--ink-muted);
  line-height: 1.55;
}
.cv-skills {
  list-style: none;
}
.cv-skills li {
  font-size: var(--fs-small);
  line-height: 1.9;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
