@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/source-sans-3-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/source-sans-3-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #faf9f5;
  --ink: #152e31;
  --teal: #12695f;
  --muted: #465d5c;
  --line: #cbd6ce;
  --pale: #eaf0e9;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ol, blockquote { margin: 0; }
body { font-size: 1.125rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
:is(a, summary):focus-visible { outline: 3px solid #cc6b2d; outline-offset: 5px; }
::selection { color: #112d2c; background: #b8dfcc; }
.wrap { width: min(73.5rem, calc(100% - 6rem)); margin-inline: auto; }
.skip {
  position: absolute; z-index: 5; top: .4rem; left: 1rem;
  padding: .65rem 1rem; background: white; color: var(--ink);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.signature { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.3rem; font-weight: 700; letter-spacing: -.035em; }
.monogram { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; padding-right: .08em; border-radius: .62rem .15rem .62rem .15rem; background: var(--ink); color: #f6f7ec; font-size: 1.3rem; letter-spacing: -.12em; line-height: 1; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: 1rem; font-weight: 700; text-decoration: none; }
nav a:hover, .signature:hover { color: var(--teal); }
.nav-resume { padding-inline: .95rem; border: 1px solid #8ba398; border-radius: .25rem; gap: .43rem; }
.nav-resume span { font-size: .67rem; letter-spacing: .035em; color: var(--muted); }
.nav-resume:hover { background: var(--pale); }

.hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.78fr); align-items: center; gap: clamp(2.5rem, 7vw, 7.2rem); padding-block: clamp(2.75rem, 5vw, 4.75rem); }
.eyebrow { color: var(--teal); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .135em; line-height: 1.35; }
.hero-role { display: flex; align-items: center; gap: .8rem; }
.hero-role::before { content: ""; width: 2rem; height: 3px; background: var(--teal); }
h1, h2, h3 { text-wrap: balance; }
h1 { margin: .75rem 0 1.15rem; font-size: clamp(3.2rem, 5.55vw, 5.25rem); font-weight: 700; line-height: .99; letter-spacing: -.057em; }
h1 em { color: var(--teal); font-style: normal; }
.intro { max-width: 35rem; color: var(--muted); font-size: clamp(1.17rem, 1.45vw, 1.38rem); line-height: 1.48; }
.actions { margin-top: 1.65rem; display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.95rem; padding: .6rem 1.3rem; border-radius: .28rem; background: var(--ink); color: #fff; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--teal); }
.text-link { display: inline-block; padding-block: .35rem; color: var(--teal); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .27em; }
.text-link:hover { text-decoration-thickness: 2px; }
.filetype { font-size: .83em; font-weight: 400; }
.portrait { justify-self: end; width: 100%; max-width: 23.6rem; }
.portrait-mat { position: relative; isolation: isolate; margin: 0 .6rem .65rem 0; }
.portrait-mat::before { content: ""; position: absolute; inset: .6rem -.6rem -.6rem .6rem; z-index: -1; background: #bed1bf; border-radius: .35rem 3.9rem .35rem .35rem; }
.portrait img { width: 100%; height: auto; aspect-ratio: .96; object-fit: cover; object-position: 49% 45%; border-radius: .35rem 3.9rem .35rem .35rem; }
.portrait figcaption { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; padding-top: .4rem; font-size: .9rem; color: var(--muted); }
.pin { width: .65rem; height: .65rem; border: 1.6px solid var(--teal); border-radius: 50% 50% 50% 12%; transform: rotate(-45deg); }

.reach { border-block: 1px solid var(--line); background: var(--pale); }
.reach-inner { display: grid; grid-template-columns: .6fr 3fr; gap: 1.7rem; align-items: center; padding-block: 1.45rem; }
.reach dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.reach dl div { display: flex; flex-direction: column-reverse; align-items: start; padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid #b4c9bc; }
.reach dt { font-size: 1rem; color: var(--muted); }
.reach dd { color: var(--ink); font-weight: 700; font-size: clamp(2.05rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.05; }
h2 { font-size: clamp(2.35rem, 3.9vw, 3.55rem); line-height: 1.06; letter-spacing: -.048em; }
.section-space { padding-block: clamp(3.25rem, 5.5vw, 5.5rem); }
.work h2 { margin-bottom: 1.65rem; }
.projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2.2rem, 4.5vw, 4.5rem); }
.project-art { min-height: 18rem; border-radius: .4rem; }
.project-type { margin-top: 1.55rem; }
.project h3 { margin-top: .4rem; font-size: clamp(1.8rem, 2.5vw, 2.25rem); line-height: 1.08; letter-spacing: -.04em; }
.project > p:not(.project-type) { max-width: 34rem; margin-top: .8rem; color: var(--muted); }
.project > .text-link { margin-top: .6rem; }
.checker-art { display: grid; place-items: center; padding: 2rem 1rem; background-color: #10483f; background-image: radial-gradient(circle at 1px 1px, #ffffff25 1px, transparent 1.25px); background-size: 16px 16px; }
.data-flow { width: 90%; max-width: 23.6rem; }
.data-node { width: max-content; max-width: 100%; min-height: 3.65rem; display: flex; align-items: center; gap: .75rem; padding: .62rem .95rem .65rem .75rem; border-radius: .35rem; }
.data-node.from { position: relative; z-index: 1; color: #f5fcf4; border: 1px solid #92b3a5; background: #19594c; }
.data-node.to { position: relative; z-index: 1; margin-left: auto; color: #163e35; border: 1px solid #c1d5c9; background: #eaf3e9; }
.data-text strong, .data-text small { display: block; }
.data-text strong { font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.1; }
.data-text small { margin-top: .15rem; font-size: .9rem; line-height: 1.15; }
.from small { color: #d4e8db; }
.to small { color: #415c51; }
.data-symbol, .checker-symbol { display: grid; place-content: center; width: 1.95rem; height: 2rem; }
.data-symbol i { width: 1.5rem; height: .44rem; margin-top: -.04rem; border: 1.4px solid #cae7bb; border-radius: 50%; }
.checker-symbol { position: relative; }
.checker-symbol i { position: absolute; width: 1.05rem; height: .61rem; top: .7rem; left: .05rem; background: transparent; border: 2px solid #378368; border-radius: .45rem; transform: rotate(-36deg); }
.checker-symbol i + i { left: .86rem; }
.connector { position: relative; width: 64%; height: 2.8rem; margin: 0 auto; }
.connector::before, .connector::after { content: ""; position: absolute; width: 51%; height: 50%; border-color: #b3d7a6; border-style: solid; }
.connector::before { left: 0; top: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: .65rem; }
.connector::after { right: 0; top: calc(50% - 2px); height: calc(50% + 2px); border-width: 2px 2px 0 0; border-top-right-radius: .65rem; }
.addison-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; padding: 1.15rem; background: #ddecf3; background-image: linear-gradient(135deg, #e9f4f7 0%, #d1e4ee 100%); }
.sample { width: min(100%, 17rem); overflow: hidden; border: 1px solid #9fbac9; border-radius: .75rem; background: #fcfefd; box-shadow: 0 5px 13px #1d48540f; color: #18343d; }
.sample-heading { display: flex; gap: .5rem; align-items: center; padding: .55rem .85rem; border-bottom: 1px solid #dae5e7; }
.sample-heading img { width: 1.82rem; height: 1.82rem; border-radius: .4rem; }
.sample-heading strong { font-size: 1.15rem; letter-spacing: -.035em; }
.sample-heading span { margin-left: auto; font-size: .78rem; color: #486572; }
.sample-body { padding: .75rem .95rem .6rem; }
.sample-label { color: #425c65; font-size: .9rem; }
.weight { margin: 0; font-size: 2.3rem; line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.weight span { font-size: 1.15rem; font-weight: 400; }
summary { width: fit-content; padding: .46rem 0; color: #125d75; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: underline; text-underline-offset: .23em; }
summary::marker { font-size: .8em; }
summary:hover { color: #083f57; }
.when-open, details[open] .when-closed { display: none; }
details[open] .when-open { display: inline; }
blockquote { margin: .12rem 0 .25rem; padding: .35rem 0 .35rem .65rem; border-left: 2px solid #86acba; font-size: .9rem; }
cite { display: block; margin-top: .12rem; font-size: .78rem; color: #486572; font-style: normal; }
.sample-caption { font-size: .83rem; text-align: center; color: #466472; }

.experience { border-top: 1px solid var(--line); background: #f0f2ed; }
.experience-inner { display: grid; grid-template-columns: .82fr 1.15fr; align-items: start; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(3.3rem, 6vw, 5.75rem); }
.experience-intro p { max-width: 26rem; margin: 1rem 0 .8rem; color: var(--muted); }
.timeline h3 { margin-bottom: .55rem; font-size: 1.05rem; letter-spacing: .035em; }
.timeline ol { list-style: none; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; align-items: baseline; gap: .75rem; padding: .85rem 0; border-top: 1px solid #c0cec4; }
.timeline li > span { font-size: .96rem; color: var(--teal); font-variant-numeric: tabular-nums; }
.timeline strong { display: block; font-size: 1.16rem; line-height: 1.2; letter-spacing: -.015em; }
.timeline li p { margin-top: .2rem; color: var(--muted); font-size: 1.02rem; line-height: 1.32; }
.contact { background: #163a35; color: #fff; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.contact-inner p { max-width: 31rem; margin-top: .8rem; color: #d5e5da; }
.contact-links { display: flex; align-items: flex-start; flex-direction: column; gap: .45rem; }
.contact-email { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.18; font-weight: 700; letter-spacing: -.03em; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.contact .text-link { font-size: 1rem; color: #c4e4ca; }
.contact a:hover { color: white; text-decoration-thickness: 2px; }

@media (max-width: 55rem) {
  .wrap { width: calc(100% - 4rem); }
  .hero { gap: 2rem; }
  .reach-inner { grid-template-columns: auto 1fr; }
  .projects { gap: 2rem; }
  .data-flow { width: 100%; }
  .experience-inner { gap: 2rem; }
  .timeline li { grid-template-columns: 5.9rem 1fr; }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .masthead-inner { min-height: auto; padding-top: .65rem; flex-wrap: wrap; gap: .1rem 1.2rem; }
  .signature { min-height: 2.55rem; font-size: 1.15rem; }
  .monogram { width: 1.92rem; height: 1.92rem; font-size: 1.1rem; }
  nav { gap: clamp(.8rem, 3.7vw, 1.55rem); }
  .nav-resume { min-height: 2rem; padding-inline: .55rem; }
  .hero { grid-template-columns: 1fr; gap: 1.7rem; padding-block: 2.4rem 1.8rem; }
  h1 { max-width: 34rem; font-size: clamp(2.95rem, 9.1vw, 3.8rem); }
  .intro { font-size: 1.18rem; }
  .actions { margin-top: 1.25rem; column-gap: 1.25rem; }
  .portrait { justify-self: start; width: min(100%, 22rem); }
  .portrait-mat { margin-right: .45rem; }
  .portrait img { max-height: 17.5rem; object-position: center 35%; }
  .portrait-mat::before { inset: .45rem -.45rem -.45rem .45rem; }
  .portrait figcaption { justify-content: flex-start; padding-top: .15rem; }
  .reach-inner { display: block; padding-block: 1.1rem 1.25rem; }
  .reach dl { margin-top: .55rem; gap: .65rem; }
  .reach dl div { padding-left: .7rem; }
  .reach dl div:first-child { padding-left: 0; border-left: 0; }
  .reach dd { font-size: clamp(1.62rem, 6vw, 2.2rem); }
  .reach dt { font-size: .88rem; line-height: 1.2; }
  .projects, .experience-inner { grid-template-columns: 1fr; }
  .projects { gap: 2.6rem; }
  .project-art { min-height: 15.5rem; }
  .data-flow { width: 88%; }
  .project-type { margin-top: 1.1rem; }
  .experience-inner { gap: 1.8rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
}
@media (max-width: 25rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-inner { flex-direction: column; align-items: flex-start; }
  nav { width: 100%; justify-content: space-between; gap: .4rem; }
  nav a { font-size: .94rem; }
  .reach dl { gap: .4rem; grid-template-columns: .84fr 1.05fr 1fr; }
  .data-flow { width: 100%; }
  .timeline li { grid-template-columns: 5.55rem 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .nav-resume { transition: background-color .15s; }
}
