/* Styner Stiner brand layer */
.s-logo__spark { fill: var(--accent); }
.styner-topnav { display: none; }
@media (min-width: 1200px) {
  .styner-topnav { display: flex; gap: 3.2rem; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; }
  .styner-topnav a { font: 600 1.5rem/1 var(--_font-accent, inherit); text-transform: uppercase; letter-spacing: .04em; color: var(--t-bright); text-decoration: none; padding-bottom: .4rem; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
  .styner-topnav a:hover, .styner-topnav a.is-active { border-color: var(--accent); color: var(--accent); }
}

.styner-hero { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; padding-top: 7rem; }
@media (min-width: 1200px) { .styner-hero { grid-template-columns: 7fr 5fr; gap: 6rem; } }
.styner-hero__media { max-width: 40rem; margin: 0 auto; width: 100%; transform: rotate(-2deg); transition: transform .4s; }
.styner-hero__media:hover { transform: rotate(0); }
.styner-hero__media video, .styner-hero__media img { width: 100%; height: auto; border-radius: 2.4rem; display: block;
  box-shadow: 0 2rem 5rem rgba(0,0,0,.18); }
.styner-hero__lead { font-size: 2rem; line-height: 1.45; margin-top: 2.4rem; max-width: 62rem; opacity: .85; }
.styner-hero h1 { text-align: left; }
.styner-hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 3.2rem; }
.styner-center { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 4rem; }
.styner-links { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: 1.6rem; }
.styner-tags { display: flex; flex-wrap: wrap; gap: 1rem; }
.styner-tags .tag { font-size: 1.6rem; padding: 1rem 1.8rem; }
.styner-portrait { max-width: 32rem; margin-left: auto; transform: rotate(2deg); }
.styner-portrait img { width: 100%; border-radius: 50%; box-shadow: 0 2rem 5rem rgba(0,0,0,.18); }
.mxd-cpb-list__image:empty { display: none; }

/* Spacing fixes: keep section titles off the content below */
@media (min-width: 1200px) {
  .mxd-section-title .mxd-grid-item > .mxd-section-title__data:has(+ .mxd-section-title__title) {
    min-height: 0;
  }
}
.mxd-resume__item { padding: 1rem 0; }
@media (min-width: 1200px) {
  .mxd-resume__item { padding: 1.2rem 0; }
}
/* Keep letter tails (g, y, p) from being cut off in headings */
.mxd-split-lines .line-mask { padding-bottom: .14em; margin-bottom: -.14em; }

/* Small caption naming the project pictured on a card */
.styner-card-note { margin-top: 1.4rem; font-size: 1.5rem; line-height: 1.5; opacity: .8; }
.styner-card-note strong { font-weight: 600; opacity: 1; }

/* Newest build section */
.styner-featured-tags { margin-top: 2.4rem; }
.mxd-cpb-list__image a { display: block; }
