:root {
  color-scheme: light;
  --paper: #f6f6ef;
  --ink: #171a16;
  --muted: #4b5148;
  --line: #cfd2c6;
  --lime: #d3f751;
  --olive: #4e680d;
  --dark: #171b16;
  --wrap: 1256px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 74px;
  --radius: 22px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header) + 22px); }
body { margin: 0; background: var(--paper); color: var(--ink); }
body, button { font-family: Inter, "Segoe UI", Arial, sans-serif; }
body { font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.3vw, 4.65rem); letter-spacing: -.059em; font-weight: 780; }
h2 span { color: var(--olive); }
h3 { font-size: clamp(1.25rem, 2.45vw, 1.66rem); letter-spacing: -.035em; font-weight: 720; line-height: 1.14; }
main:focus, section:focus, header:focus { outline: none; }
:focus-visible { outline: 3px solid #536e10; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--lime); }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section-space { padding-block: clamp(65px, 8.5vw, 126px); }
.skip {
  position: fixed;
  z-index: 20;
  inset: 12px auto auto 12px;
  padding: 9px 14px;
  border-radius: 6px;
  color: white;
  background: var(--dark);
  transform: translateY(calc(-100% - 24px));
}
.skip:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 740;
  letter-spacing: -.027em;
}
.monogram {
  display: grid;
  grid-auto-flow: column;
  place-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--paper);
  font-size: .98rem;
  letter-spacing: -.07em;
}
.monogram span { color: var(--lime); }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2.25vw, 35px); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: .3em;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 650;
  color: var(--muted);
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 5.2vw, 79px);
  padding-block: clamp(48px, 6vw, 90px);
}
.hero-copy { padding-block: 10px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .105em;
}
.signal { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 2px; background: var(--lime); border: 1px solid #657b23; }
.eyebrow-separator { color: #69705f; }
.hero h1 {
  margin-top: 21px;
  font-size: clamp(3.2rem, 7.3vw, 7.2rem);
  line-height: .96;
  letter-spacing: -.065em;
  text-wrap: nowrap;
  font-weight: 820;
}
.hero h1 span { color: var(--olive); }
.hero-thesis {
  margin-top: 21px;
  font-size: clamp(1.67rem, 3.04vw, 2.62rem);
  line-height: 1.08;
  font-weight: 710;
  letter-spacing: -.056em;
}
.hero-intro {
  max-width: 40ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.075rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 33px; }
.button {
  min-height: 51px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 720;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-dark { color: #fff; background: var(--dark); border-color: var(--dark); }
.button-dark:hover { color: var(--ink); background: var(--lime); border-color: #687b23; }
.button-outline { border-color: #858d7b; }
.button-outline:hover { background: #e9ebdf; border-color: var(--ink); }
.linkedin-mark {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: -.04em;
}
.hero-art {
  position: relative;
  aspect-ratio: 1.03;
  align-self: center;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1c211c;
}
.hero-art img, .stage-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art img { object-position: center 12%; }
.corner { position: absolute; width: 21px; height: 21px; pointer-events: none; }
.corner-top { inset: 19px auto auto 19px; border-top: 1px solid #d5ef8c94; border-left: 1px solid #d5ef8c94; }
.corner-bottom { inset: auto 19px 19px auto; border-right: 1px solid #d5ef8c94; border-bottom: 1px solid #d5ef8c94; }

.focus-strip { border-block: 1px solid var(--line); background: #edeee5; }
.focus-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; list-style: none; }
.focus-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 19px 8px;
  text-align: center;
  font-size: .9rem;
  font-weight: 690;
}
.focus-list li + li { border-left: 1px solid var(--line); }
.focus-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid var(--olive);
  transform: rotate(45deg);
}
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px clamp(35px, 5.2vw, 79px);
  margin-bottom: clamp(28px, 4vw, 59px);
}
.section-intro h2, .speaker h2, .contact h2 { margin-top: 12px; }
.section-intro > p { max-width: 43ch; color: var(--muted); font-size: clamp(1.0625rem, 1.55vw, 1.19rem); }
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  gap: clamp(20px, 3vw, 40px);
}
.role-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(25px, 3.1vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e9ecdf;
}
.role-icon {
  display: grid;
  place-content: center;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  flex: 0 0 45px;
  width: 45px;
  margin-bottom: clamp(27px, 4vw, 56px);
  border-radius: 9px;
  color: var(--lime);
  background: var(--dark);
}
.role-icon i { display: block; width: 5px; background: currentColor; border-radius: 1px; }
.role-icon i:nth-child(1) { height: 8px; }
.role-icon i:nth-child(2) { height: 13px; }
.role-icon i:nth-child(3) { height: 18px; }
.role-card h3 { margin-top: 11px; font-size: clamp(1.68rem, 3.15vw, 2.68rem); }
.role-card > p:last-child { margin-top: 14px; max-width: 45ch; color: var(--muted); }
.evidence { border-top: 1px solid var(--line); }
.evidence article { padding: clamp(18px, 2vw, 27px) 2px; border-bottom: 1px solid var(--line); }
.evidence article p { max-width: 55ch; margin-top: 9px; color: var(--muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--olive);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.text-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.credentials {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3vw, 45px);
  margin-top: 29px;
}
.credentials h3 { font-size: 1.07rem; letter-spacing: -.025em; }
.credentials ul { display: flex; flex-wrap: wrap; gap: 6px 21px; margin: 0; padding: 0; list-style: none; }
.credentials li { color: var(--muted); font-size: .94rem; }
.credentials li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 3px 0; background: var(--olive); border-radius: 50%; }

.security { background: #e9ecdf; border-top: 1px solid var(--line); }
.security .section-intro { grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr); gap: 20px clamp(27px, 4vw, 60px); }
.security h2 { margin-top: 0; font-size: clamp(2rem, 4.65vw, 4rem); overflow-wrap: anywhere; }
.security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(19px, 3vw, 39px); }
.security-grid article { padding-top: 19px; border-top: 2px solid #838f70; }
.security-grid p { margin-top: 11px; color: var(--muted); }

.competencies { background: var(--dark); color: var(--paper); }
.competencies :focus-visible { outline-color: var(--lime); }
.competencies h2 span { color: var(--lime); }
.competencies .section-intro > p { color: #c6ccbd; }
.skill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.skill {
  padding: clamp(19px, 2vw, 28px);
  border: 1px solid #454d3f;
  border-radius: 14px;
  background: #242a21;
}
.skill h3 { min-height: 2.25em; }
.skill p { color: #d2d7cb; margin-top: 7px; }
.skill-ai { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.skill-ai p { color: #293316; }
.skill-icon { display: block; width: 25px; height: 25px; margin: 0 0 28px; color: var(--lime); position: relative; }
.skill-ai .skill-icon { color: var(--ink); }
.skill-icon::before, .skill-icon::after { content: ""; position: absolute; }
.icon-lead::before { width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; left: 7px; top: 1px; }
.icon-lead::after { width: 20px; height: 10px; border: solid currentColor; border-width: 2px 2px 0; border-radius: 10px 10px 0 0; left: 2px; bottom: 1px; }
.icon-infra::before { inset: 2px 1px 14px; border: 2px solid currentColor; border-radius: 2px; }
.icon-infra::after { inset: 14px 1px 2px; border: 2px solid currentColor; border-radius: 2px; }
.icon-flow::before { inset: 3px 4px; border: 2px solid currentColor; border-radius: 50%; }
.icon-flow::after { width: 7px; height: 7px; top: 3px; right: 3px; border: solid currentColor; border-width: 2px 2px 0 0; }
.icon-ai::before { inset: 0; background: currentColor; clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%); }

.speaker { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6.1vw, 93px); }
.stage-image { position: relative; overflow: hidden; aspect-ratio: 1.37; border-radius: var(--radius); background: #1a2017; }
.stage-image img { object-position: 48% center; }
.speaker-copy > p:not(.eyebrow) { margin-top: 19px; max-width: 43ch; color: var(--muted); font-size: 1.1rem; }
.speaker-role { margin-top: 22px; padding-top: 21px; border-top: 1px solid var(--line); }
.speaker-role p { max-width: 45ch; margin-top: 8px; color: var(--muted); }

.contact { background: var(--lime); }
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 23px;
  padding-block: clamp(45px, 5.7vw, 79px);
}
.contact .signal { background: var(--dark); border-color: var(--dark); }
.contact h2 span { color: var(--ink); }
.contact-inner p:last-child { margin-top: 15px; color: #293316; font-size: 1.095rem; }
.contact .button { flex-shrink: 0; }
.contact .button:hover { color: var(--ink); background: var(--paper); border-color: var(--ink); }
.site-footer { color: var(--paper); background: var(--dark); }
.site-footer :focus-visible { outline-color: var(--lime); }
.footer-inner { min-height: 73px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 15px; }
.footer-inner p, .footer-inner a { font-size: .9rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .24em; }
.footer-inner a:hover { color: var(--lime); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-art img { animation: settle-in .85s cubic-bezier(.17, .7, .31, 1) both; }
  .is-revealing { animation: scroll-reveal .46s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms) backwards; }
  :is(.security-grid, .skill-grid) > :nth-child(2) { --reveal-delay: 35ms; }
  :is(.security-grid, .skill-grid) > :nth-child(3) { --reveal-delay: 70ms; }
  .skill-grid > :nth-child(4) { --reveal-delay: 105ms; }
  @keyframes settle-in { from { transform: scale(1.045); } to { transform: scale(1); } }
  @keyframes scroll-reveal {
    from { opacity: .35; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1040px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill h3 { min-height: 0; }
}

@media (max-width: 880px) {
  :root { --header: 66px; }
  .header-inner { display: flex; flex-wrap: wrap; gap: 0 12px; }
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 77px;
    min-height: 44px;
    padding: 0 9px;
    background: transparent;
    border: 1px solid #858d7b;
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
    font-size: .9rem;
  }
  .menu-icon { position: relative; width: 15px; height: 13px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 15px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-icon::before { top: 3px; }
  .menu-icon::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 6px; transform: rotate(-45deg); }
  .site-nav { flex: 0 0 100%; flex-wrap: wrap; gap: 0 16px; padding-bottom: 6px; }
  .js .site-nav {
    flex-wrap: nowrap;
    display: none;
    position: absolute;
    z-index: 2;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 17px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px #151b1620;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
  }
  .js .menu-toggle[aria-expanded="true"] + .site-nav { display: flex; }
  .js .site-nav a { padding-inline: 7px; }
  html:not(.js) .site-header { position: static; }
}

@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-top: 42px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(3.05rem, 12.6vw, 5.35rem); }
  .hero-thesis { margin-top: 15px; }
  .hero-intro { margin-top: 17px; }
  .hero-actions { margin-top: 23px; }
  .hero-art { aspect-ratio: 1.27; }
  .desktop-break { display: none; }
  .section-intro, .experience-grid, .speaker { grid-template-columns: minmax(0, 1fr); }
  .section-intro { gap: 15px; }
  .security .section-intro, .security-grid { grid-template-columns: minmax(0, 1fr); }
  .speaker-copy { grid-row: 1; }
  .stage-image { aspect-ratio: 1.62; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 490px) {
  .focus-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-list li { padding: 11px 6px; gap: 7px; justify-content: flex-start; text-align: start; font-size: .875rem; line-height: 1.35; overflow-wrap: anywhere; }
  .focus-list li:nth-child(3) { border-left: 0; }
  .focus-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .focus-list li:nth-child(even) { padding-left: 11px; }
  .skill-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .skill-icon { margin-bottom: 16px; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: clamp(2.45rem, 13.3vw, 3rem); }
  .security h2 { font-size: clamp(1.7rem, 8.5vw, 2rem); }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 11px; font-size: .9rem; }
}

@media print {
  .is-revealing { animation: none; }
  :root { --gutter: 0px; }
  body, .competencies, .security, .contact, .site-footer { background: #fff; color: #111; }
  .site-header, .skip, .hero-art, .stage-image, .hero-actions, .focus-strip, .site-footer { display: none; }
  .hero, .speaker, .section-intro { display: block; }
  .section-space, .hero, .contact-inner { padding-block: 12pt; }
  .hero h1, h2 { font-size: 30pt; }
  .competencies h2 span, .competencies .section-intro > p, .skill p, .skill-icon { color: #222; }
  .skill { background: #fff; border-color: #bbb; }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .button-dark { background: #fff; color: #111; }
  .experience-grid { display: block; }
  article { break-inside: avoid; }
}
