:root {
  --paper: #f3f0e9;
  --ink: #29232f;
  --muted: #655e6c;
  --accent: #684391;
  --accent-dark: #50306f;
  --accent-soft: #eee7f4;
  --accent-light: #d7bce9;
  --dark-surface: #2d213a;
  --line: #d5d3c9;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 7px;
}
::selection {
  color: var(--ink);
  background: #d9c4e9;
}
strong {
  font-weight: 600;
}
em {
  font-family: var(--serif);
  font-weight: 500;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h2 {
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
}
span {
  display: inline-block;
}
.header {
  height: 112px;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-weight: 650;
  font-size: 42px;
  letter-spacing: -5px;
  line-height: 1;
}
nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 13px;
}
nav a {
  padding: 12px 0;
}
nav a:hover,
.text-link:hover,
.email:hover {
  color: var(--accent);
}
.nav-contact {
  border-bottom: 1px solid var(--ink);
}
.hero {
  padding: 15px 5.5% 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 7%;
  position: relative;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1.6;
}
.hero-copy > .eyebrow {
  margin: 8px 0 24px;
}
.hero h1 {
  font-size: clamp(90px, 10.8vw, 172px);
  line-height: 0.84;
  letter-spacing: -0.085em;
  font-weight: 500;
  margin-left: -8px;
}
.period {
  color: var(--accent);
}
.hero-intro {
  margin-top: 35px;
  max-width: 440px;
}
.hero-intro h2 {
  font-size: clamp(26px, 2.5vw, 38px);
  letter-spacing: -0.04em;
}
.hero-intro > p {
  font-size: 15px;
  max-width: 380px;
  margin: 17px 0 23px;
  color: var(--muted);
}
.button {
  border-radius: 6px;
  background: var(--accent);
  color: var(--paper);
  padding: 17px 21px;
  display: inline-flex;
  align-items: center;
  gap: 45px;
  font-size: 12px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.portrait {
  align-self: stretch;
  position: relative;
  overflow: hidden;
  min-height: 550px;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  position: absolute;
  inset: 0;
  animation: portrait-in 1.3s ease-out both;
}
.portrait figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 55px 22px 20px;
  background: linear-gradient(transparent, #0009);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-top: 36px;
  padding-bottom: 24px;
  font-size: 12px;
}
.hero-bottom p {
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #68439112;
  flex-shrink: 0;
}
.section {
  padding: 110px 5.5%;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 30px;
}
.section-heading > .eyebrow {
  grid-column: 1;
}
.section-heading h2 {
  grid-column: 2;
  font-size: clamp(34px, 4.1vw, 64px);
}
.section-heading > p:last-child {
  grid-column: 2;
  font-size: 14px;
  max-width: 400px;
  color: var(--muted);
  margin-top: -8px;
}
.experience-list {
  margin-top: 60px;
  border-top: 1px solid var(--ink);
}
.experience {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 60px 1fr 190px 25px;
  align-items: center;
  padding: 30px 0;
  gap: 20px;
}
summary::-webkit-details-marker {
  display: none;
}
.experience-number {
  font-size: 10px;
  color: var(--muted);
  align-self: start;
  padding-top: 8px;
}
.experience-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.company {
  font-size: 32px;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-weight: 500;
}
.experience-meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.expand {
  font-size: 26px;
  font-weight: 400;
  transition: transform 0.25s;
  color: var(--accent);
}
details[open] .expand {
  transform: rotate(45deg);
}
summary:hover .company {
  color: var(--accent);
}
.experience-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 0 65px 36px 80px;
}
.work-statement {
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.experience-body > div p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
}
.work-note {
  font-size: 12px;
  color: var(--accent);
  line-height: 1.6;
  margin-top: 5px;
}
.text-link {
  font-size: 12px;
  display: table;
  margin: 30px 0 0 auto;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
}
.approach {
  background: var(--dark-surface);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-top: 100px;
  padding-bottom: 100px;
}
.approach h2 {
  font-size: clamp(38px, 4.6vw, 70px);
  margin-top: 30px;
}
.approach em {
  color: var(--accent-light);
}
.principles {
  padding-top: 27px;
}
.principles article {
  display: flex;
  gap: 24px;
  padding: 25px 0;
  border-top: 1px solid #f3f0e930;
}
.principles article > span {
  font-size: 10px;
  padding-top: 7px;
  color: #d7cfdd;
}
.principles h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 12px;
}
.principles p {
  font-size: 15px;
  color: #d7cfdd;
  max-width: 340px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 30px;
}
.asterisk {
  color: var(--accent);
  display: block;
  width: 140px;
  height: 140px;
  margin-top: 50px;
}
.about h2 {
  font-size: clamp(38px, 4.5vw, 64px);
  margin-bottom: 30px;
}
.about-copy > p {
  font-size: 17px;
  max-width: 570px;
  margin-bottom: 20px;
  color: var(--muted);
}
.about-facts {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.about-facts p {
  font-size: 14px;
  margin-top: 10px;
}
.about-facts small {
  font-size: 11px;
  color: var(--muted);
}
.contact {
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/floral.svg") repeat;
  background-size: 200px 200px;
  opacity: 0.2;
  mask-image: linear-gradient(to right, transparent 25%, #000 85%);
  pointer-events: none;
}
.contact > div {
  position: relative;
  z-index: 1;
}
.contact h2 {
  font-size: clamp(40px, 5.8vw, 86px);
  margin: 30px 0 24px;
}
.contact p:not(.eyebrow) {
  max-width: 420px;
  font-size: 14px;
  color: var(--muted);
}
.contact-link {
  font-size: 34px;
  letter-spacing: -0.04em;
  display: table;
  padding: 24px 0 4px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: none;
}
.email {
  font-size: 15px;
  margin-top: 22px;
  display: table;
}
.contact-mark {
  position: absolute;
  right: 5.5%;
  bottom: 0;
  font-size: clamp(180px, 30vw, 420px);
  letter-spacing: -0.12em;
  font-weight: 500;
  color: #d9cce5;
  transform: rotate(-12deg);
  line-height: 1.3;
  pointer-events: none;
}
footer {
  padding: 30px 5.5%;
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 10px;
}
footer > span:first-of-type {
  color: var(--muted);
  flex: 1;
}
.footer-name {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.04em;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  background: var(--ink);
  color: white;
  padding: 14px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.entrance {
  animation: enter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero h1 {
  animation-delay: 0.08s;
}
.hero-intro {
  animation-delay: 0.18s;
}
.portrait {
  animation-delay: 0.12s;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js-motion .reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes portrait-in {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}
@media (min-width: 1600px) {
  .hero {
    min-height: 760px;
  }
  .portrait {
    min-height: 650px;
  }
  .hero-intro {
    margin-top: 45px;
  }
  .hero-intro > p {
    font-size: 16px;
  }
}
@media (max-width: 900px) {
  .header {
    height: 90px;
  }
  .hero {
    column-gap: 5%;
  }
  .hero-copy > .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: 12vw;
  }
  .portrait {
    min-height: 520px;
  }
  .hero-intro {
    margin-top: 30px;
  }
  .hero-intro h2 {
    font-size: 27px;
  }
  .portrait figcaption {
    flex-direction: column;
    gap: 5px;
  }
  .section {
    padding: 80px 5.5%;
  }
  .section-heading,
  .about {
    grid-template-columns: 0.7fr 1.8fr;
  }
  .approach {
    gap: 7%;
  }
  summary {
    grid-template-columns: 35px 1fr 130px 18px;
    gap: 12px;
  }
  .experience-body {
    padding-left: 47px;
    padding-right: 30px;
    gap: 6%;
  }
  .work-statement {
    font-size: 23px;
  }
  .about-facts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .header {
    height: 82px;
    padding: 0 6%;
  }
  .wordmark {
    font-size: 36px;
  }
  nav {
    gap: 24px;
    font-size: 11px;
  }
  .nav-contact span {
    margin-left: 10px;
  }
  .hero {
    padding: 8px 6% 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy > .eyebrow {
    font-size: 11px;
    letter-spacing: 0.07em;
    margin: 8px 0 20px;
    max-width: 300px;
  }
  .hero h1 {
    font-size: 20.9vw;
    line-height: 0.84;
    letter-spacing: -0.08em;
    margin-left: -5px;
  }
  .hero-intro {
    margin: 22px 0 26px;
    max-width: 100%;
  }
  .hero-intro h2 {
    font-size: 29px;
  }
  .hero-intro > p {
    font-size: 14px;
    margin: 14px 0 18px;
    max-width: 330px;
  }
  .hero-intro > .hero-availability {
    font-size: 12px;
    margin: 0 0 18px;
  }
  .button {
    padding: 15px 19px;
  }
  .portrait {
    min-height: 0;
    width: 100%;
    animation: none;
    opacity: 1;
    transform: none;
  }
  .portrait img {
    position: static;
    display: block;
    width: 100%;
    height: clamp(210px, 55vw, 330px);
    object-position: 50% 12%;
    animation: none;
  }
  .portrait figcaption {
    padding: 35px 16px 15px;
    flex-direction: row;
    font-size: 11px;
  }
  .hero-bottom {
    margin-top: 22px;
    padding-bottom: 20px;
    font-size: 12px;
    gap: 4px;
    align-items: start;
    flex-direction: column;
    margin-top: 16px;
    padding-bottom: 12px;
  }
  .hero-bottom p {
    max-width: 220px;
  }
  .hero-bottom > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
  }
  .hero-bottom > a[href="#work"] {
    display: none;
  }
  .section {
    padding: 65px 6%;
  }
  .section-heading,
  .about {
    display: block;
  }
  .section-heading h2 {
    font-size: 35px;
    margin: 23px 0;
  }
  .section-heading > p:last-child {
    font-size: 13px;
    margin: 0;
  }
  .experience-list {
    margin-top: 35px;
  }
  summary {
    grid-template-columns: 25px 1fr 18px;
    gap: 10px;
    padding: 24px 0;
  }
  .experience-meta {
    display: block;
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.5;
  }
  .experience-meta br {
    display: none;
  }
  summary .expand {
    grid-column: 3;
    grid-row: 1;
  }
  .company {
    font-size: 27px;
  }
  .experience-title {
    font-size: 14px;
  }
  .experience-number {
    font-size: 9px;
  }
  .experience-body {
    grid-template-columns: 1fr;
    padding: 0 12px 25px 35px;
    gap: 15px;
  }
  .work-statement {
    font-size: 24px;
  }
  .experience-body > div p {
    font-size: 14px;
  }
  .text-link {
    font-size: 11px;
  }
  .approach {
    display: block;
  }
  .approach h2 {
    font-size: 47px;
    margin-top: 25px;
  }
  .principles {
    padding-top: 35px;
  }
  .principles article {
    padding: 24px 0;
  }
  .principles h3 {
    font-size: 19px;
  }
  .about-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
  }
  .asterisk {
    width: 50px;
    height: 50px;
    margin: 0;
    flex-shrink: 0;
  }
  .about h2 {
    font-size: 37px;
    margin-bottom: 23px;
  }
  .about-copy > p {
    font-size: 15px;
  }
  .about-facts {
    gap: 25px;
    margin-top: 30px;
  }
  .contact {
    min-height: 0;
  }
  .contact h2 {
    font-size: 42px;
  }
  .contact p:not(.eyebrow) {
    font-size: 13px;
    max-width: 310px;
  }
  .contact-link {
    font-size: 27px;
  }
  .contact-mark {
    font-size: clamp(160px, 42vw, 240px);
    bottom: 0;
    right: 6%;
    opacity: 0.65;
  }
  footer {
    padding: 25px 6%;
    gap: 25px;
    flex-wrap: wrap;
  }
  footer > span:first-of-type {
    order: 4;
    flex-basis: 100%;
    font-size: 9px;
  }
  .footer-name {
    margin-right: auto;
  }
  footer > span:last-child {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Hiring information stays visible without opening experience details. */
.experience-proof {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 5px;
}
.hero-intro > .hero-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--accent-dark);
  margin: 0 0 20px;
}
.hero-actions,
.contact-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: inherit;
  font-size: 13px;
  background: none;
  padding: 0;
  border: 0;
  color: var(--accent-dark);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-skip-ink: none;
}
.secondary-link:hover {
  color: var(--accent);
}
.contact-options {
  margin-top: 22px;
}
[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .hero-actions {
    gap: 10px 18px;
  }
  .button {
    gap: 20px;
    font-size: 13px;
  }
  .hero-intro > .hero-availability {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .experience-proof {
    font-size: 13px;
  }
}

/* Contact information is repeated at the top only in the printed profile. */
.print-contact {
  display: none;
}

/* Keep promotions grouped under the same employer. */
.role-entry h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.experience-body .role-period {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.role-entry + .role-entry {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Optional analytics never shifts the page or blocks browsing. */
.analytics-consent {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  width: min(440px, calc(100% - 48px));
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 35px #29232f18;
}
.analytics-consent h2 { font-size: 20px; letter-spacing: -0.02em; }
.analytics-consent p { margin: 10px 0; font-size: 13px; }
.analytics-consent a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; gap: 12px; margin-top: 18px; }
.analytics-consent-actions button {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--paper);
  color: var(--accent-dark);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.analytics-preferences {
  padding: 12px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media print { .analytics-consent, .analytics-preferences { display: none !important; } }

.certification-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}
.certification-badge { flex: 0 0 56px; object-fit: contain; }
.about-facts .certification-link p { margin: 0; }
.certification-name { text-decoration: underline; text-underline-offset: 3px; }
.certification-link small { display: block; margin-top: 5px; }
.certification-link:hover { color: var(--accent); }
@media (max-width: 900px) {
  .certification-fact { grid-column: 1 / -1; }
}
