:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #20232d;
  --muted: #646773;
  --indigo: #4643a0;
  --line: #e5e6eb;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--indigo); }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--indigo); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; }
a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 10; transform: translateY(-200%); padding: 0.7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); color: white; }
.page-shell { width: min(1080px, calc(100% - 6rem)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2.5rem 2rem; }
.identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem 1rem; text-decoration: none; }
.identity strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.035em; }
.identity-dot { color: var(--indigo); }
.identity > span { color: var(--muted); font-size: 0.875rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 500; font-size: 0.9375rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.header-contact { padding-block: 0.6rem; }
.section-nav { border-bottom: 1px solid var(--line); }
.tab-list { display: flex; flex-wrap: wrap; gap: 0 2.25rem; }
.tab-link { position: relative; display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding-block: 0.75rem; text-decoration: none; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.tab-link::after { position: absolute; content: ""; bottom: -1px; left: 0; right: 0; height: 2px; background: transparent; }
.tab-link[aria-selected="true"] { color: var(--indigo); }
.tab-link[aria-selected="true"]::after { background: var(--indigo); }
main { min-height: 34rem; }
.tab-panel { padding-block: 3.5rem 4.5rem; scroll-margin-top: 1.5rem; }
/* Without JavaScript, the links navigate an ordinary readable document. */
.tab-panel + .tab-panel { border-top: 1px solid var(--line); }
.tabs-ready .tab-panel { border-top: 0; }
.eyebrow { margin-bottom: 1.15rem; color: var(--indigo); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.profile-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.profile-copy { padding-top: 0.25rem; }
h1 { font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.055em; }
.profile-role { margin-top: 1.25rem; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; letter-spacing: -0.025em; }
.profile-employer { margin-top: 0.2rem; color: var(--muted); font-size: 1.0625rem; }
.intro-text { max-width: 60ch; margin-top: 1.8rem; color: #505460; font-size: 1.0625rem; line-height: 1.75; }
.intro-text p + p { margin-top: 0.9rem; }
.profile-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); grid-template-areas: "portrait mine" "portrait underground"; gap: clamp(0.5rem, 1vw, 0.75rem); width: 100%; max-width: 560px; aspect-ratio: 1.6; justify-self: center; }
.profile-collage figure { min-width: 0; min-height: 0; overflow: hidden; border-radius: 4px; background: #eeece6; }
.profile-collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-portrait { grid-area: portrait; }
.collage-portrait img { object-position: 50% 35%; }
.collage-mine { grid-area: mine; }
.collage-mine img { object-position: 53% 45%; }
.collage-underground { grid-area: underground; }
.collage-underground img { object-position: 50% 75%; }
.about-bio { max-width: none; margin-top: 0.9rem; }
.qualifications { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3.75rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.detail-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1.2rem; }
.credentials { margin: 0; }
.credentials div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding-block: 0.3rem; }
.credentials dt { font-size: 0.9375rem; font-weight: 500; }
.credentials dd { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.education-institution { font-weight: 500; }
.education-degree { margin-top: 0.45rem; color: var(--muted); font-size: 0.9375rem; }
.education-note { margin-top: 0.65rem; color: var(--muted); font-size: 0.875rem; }
.section-heading { margin-bottom: 2.75rem; }
.section-heading .eyebrow { margin-bottom: 0.7rem; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.045em; }
.section-heading > p:last-child, .apps-heading > div > p:last-child { margin-top: 0.8rem; color: var(--muted); font-size: 1.0625rem; }
.employer { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.employer-logo { width: 104px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 3px; }
.employer-logo img { width: 64px; max-height: 60px; object-fit: contain; }
.employer-logo--encompass { background: #25282d; }
.employer-logo--encompass img { width: 72px; }
.employer-logo--rocscience img { width: 42px; }
.employer-logo--bhp img { width: 76px; }
.employer-logo--psm img { width: 70px; }
.employer-logo--uq { background: #51247a; padding: 0.5rem; }
.employer-logo--uq img { width: 100%; }
.employer-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.05rem; }
.employer-heading h3 { font-size: 1.3125rem; letter-spacing: -0.025em; }
.status { display: inline-flex; align-items: center; width: fit-content; padding: 0.18rem 0.6rem; border-radius: 4px; font-size: 0.875rem; font-weight: 500; line-height: 1.6; }
.current { color: #296151; background: #eef6f2; }
.accepted { color: var(--indigo); background: #f0eff9; margin-bottom: 0.65rem; }
.roles { list-style: none; margin: 1rem 0 0; padding: 0; }
.roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; padding-block: 0.5rem; }
.role-title { font-size: 1rem; }
.role-date { color: var(--muted); font-size: 0.875rem; padding-top: 0.12rem; font-variant-numeric: tabular-nums; }
.role-detail { display: block; margin-top: 0.12rem; color: var(--muted); font-size: 0.875rem; }
.publication-year { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.publication-year > h3 { padding-top: 0.1rem; color: var(--indigo); font-size: 1.1875rem; font-variant-numeric: tabular-nums; }
.publication-list { list-style: none; margin: 0; padding: 0; }
.publication { padding-bottom: 1.75rem; }
.publication + .publication { padding-top: 1.65rem; border-top: 1px solid #f0f0f3; }
.publication h4 { max-width: 64ch; font-size: 1.125rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.publication h4 a { text-decoration: none; }
.publication h4 a:hover { text-decoration: underline; }
.publication-arrow { color: var(--indigo); white-space: nowrap; }
.publication-authors { margin-top: 0.6rem; color: #505460; font-size: 0.9375rem; }
.publication-venue { margin-top: 0.25rem; color: var(--muted); font-size: 0.9375rem; }
.publication-type { display: block; margin-bottom: 0.55rem; color: var(--muted); font-size: 0.8125rem; }
.apps-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.suite-mark { flex: 0 0 auto; width: 80px; height: 80px; object-fit: contain; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.app-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease; }
.app-card:hover { color: var(--ink); border-color: #b7b5d8; background: #fcfcff; }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.app-card-top img { width: 64px; height: 64px; object-fit: contain; }
.app-arrow { color: var(--indigo); font-size: 1.2rem; }
.app-category { color: var(--muted); font-size: 0.8125rem; margin-bottom: 0.45rem; }
.app-card h3 { font-size: 1.375rem; letter-spacing: -0.035em; }
.app-description { margin-top: 0.7rem; margin-bottom: 1.6rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.app-domain { margin-top: auto; color: var(--indigo); font-size: 0.8125rem; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; color: var(--muted); font-size: 0.875rem; }
.site-footer a { padding-block: 0.5rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .page-shell { width: calc(100% - 3rem); }
  .profile-intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .qualifications { gap: 2rem; }
  .credentials div { grid-template-columns: 1fr; gap: 0; padding-block: 0.4rem; }
  .roles li { grid-template-columns: 1fr; row-gap: 0.15rem; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { padding-block: 1.4rem 1.2rem; align-items: flex-start; gap: 0.75rem; }
  .identity { display: grid; gap: 0.1rem; }
  .identity strong { font-size: 1.2rem; }
  .identity > span { font-size: 0.8125rem; }
  .header-contact { font-size: 0.875rem; }
  .tab-list { gap: 0 1.35rem; }
  .tab-link { font-size: 0.875rem; }
  .tab-panel { padding-block: 2.5rem 3rem; }
  .qualifications { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; padding-top: 1.8rem; }
  .credentials div { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.5rem; }
  .employer { grid-template-columns: 76px minmax(0, 1fr); gap: 1.1rem; padding-block: 1.6rem; }
  .employer-logo { width: 76px; height: 62px; }
  .employer-logo--encompass img { width: 60px; }
  .employer-logo--bhp img { width: 62px; }
  .employer-logo--psm img { width: 60px; }
  .employer-heading h3 { font-size: 1.1875rem; }
  .roles { margin-top: 0.6rem; }
  .publication-year { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 1.5rem; }
  .publication h4 { font-size: 1.0625rem; }
  .section-heading { margin-bottom: 2rem; }
  .suite-mark { width: 64px; height: 64px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { padding: 1.35rem; }
}
@media (max-width: 380px) {
  .page-shell { width: calc(100% - 2rem); }
  .tab-list { column-gap: 1rem; }
  .employer { grid-template-columns: 1fr; gap: 0.9rem; }
  .credentials div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .page-shell { width: 100%; }
  .section-nav, .skip-link, .header-contact, .site-footer { display: none; }
  .tab-panel[hidden] { display: block !important; }
  .tab-panel { padding-block: 1.5rem; }
  #experience, #publications, #apps { break-before: page; }
  .employer, .publication, .app-card { break-inside: avoid; }
  .employer-logo { print-color-adjust: exact; }
  .profile-collage { max-width: 320px; break-inside: avoid; }
}
