/* ================================================================
   SITE — standalone Watercolor portfolio.
   Drops the comparison frame, turns the page into a full-width
   responsive site, wires the headline / body / label font tweaks
   (CSS vars), project cards, scroll-reveal motion, the experience list
   and the watercolor-wash hover on clickable tags.
   Loaded LAST (after portfolio-sections.css). Uses renni-brand-tokens.css vars.
   ================================================================ */

html { scroll-behavior: smooth; }
body { background: var(--paper, #f5f2ea); }

/* font vars — defaults on .app so the panel's inline style on .app wins and .page inherits */
.app.single {
  --font-head: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, monospace;
  --page-gutter: 48px;
  --site-max: 1280px;
  --grain-content: 0.1;
  --grain-chrome: 0.2;
  --pcard-hover-wash:
    radial-gradient(64% 58% at 24% 22%, rgba(90, 122, 138, 0.2), transparent 72%),
    radial-gradient(58% 56% at 78% 78%, rgba(184, 94, 62, 0.16), transparent 72%),
    #f5f2ea;
  --grain-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- shed the dark board: full-bleed paper + grain, content column capped ---- */
.app.single {
  background: var(--paper, #f5f2ea);
  min-height: 100vh;
  position: relative;
}
/* base grain — full viewport (no column seam) */
.app.single::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--paper, #f5f2ea);
  background-image: var(--grain-texture);
  mix-blend-mode: multiply;
  opacity: calc(var(--grain-content, 0.1) * 0.95);
}
.single-stage { display: block; padding: 0; position: relative; z-index: 1; }
.single-stage .page {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  --pw: 100%;
  border-radius: 0;
  box-shadow: none;
  min-height: 100vh;
  overflow: visible;
  position: relative;
  background: transparent;
}
.page.grain::before { display: none; }

/* full-bleed chrome (nav + footer); content sections capped */
.page.grain > .nav,
.page.grain > .contact {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  background: transparent;
}
.page.grain > .hero,
.page.grain > .rsec {
  width: 100%;
  max-width: var(--site-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  position: relative;
  background: transparent;
}
.site-inner {
  width: 100%;
  max-width: var(--site-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
/* extra grain on nav + footer — full width bands */
.page.grain > .nav::before,
.page.grain > .contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--grain-texture);
  mix-blend-mode: multiply;
  opacity: calc((var(--grain-chrome, 0.2) - var(--grain-content, 0.1)) * 0.95);
}
.page.grain > .hero > *,
.page.grain > .rsec > * {
  position: relative;
  z-index: 1;
}

/* no divider between hero and project sections */
.s-watercolor .hero,
.page .rsec,
.page #work {
  border-top: none !important;
  border-bottom: none !important;
}

/* ---------------- DISCOVER MORE — hidden for now, kept in markup ---------------- */
.page #discover,
.page .rsec-discover {
  display: none !important;
}
.discover-trail-stage {
  position: relative;
  margin-top: 8px;
  min-height: clamp(320px, 52vh, 520px);
  border: none;
  background: transparent;
  overflow: hidden;
  touch-action: none;
}
.discover-trail.image-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.image-trail-item {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.discover-trail-thumb {
  width: clamp(88px, 22vw, 140px);
  height: clamp(96px, 24vw, 156px);
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 12px 32px -16px rgba(44, 40, 35, 0.28);
}
.discover-trail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.discover-trail-ph {
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.discover-trail-hint {
  position: absolute;
  top: clamp(14px, 3vw, 22px);
  left: clamp(16px, 3vw, 24px);
  margin: 0;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8a857c);
  pointer-events: none;
  z-index: 2;
}
.discover-fallback {
  margin-top: 8px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  width: 100%;
}
.discover-fallback .dtile {
  flex: 0 0 196px;
  scroll-snap-align: start;
}
@media (max-width: 810px) {
  .discover-trail-stage {
    min-height: clamp(280px, 46vh, 400px);
  }
}

/* section rhythm */
.page .rsec {
  padding-top: 56px;
  padding-bottom: 32px;
}
.page .rsec:first-of-type {
  padding-top: 48px;
}

/* base body font follows the tweak */
.s-watercolor { font-family: var(--font-body); }

/* ---------------- NAV: logo+RENNI | menu | SAY HI ---------------- */
.s-watercolor .nav {
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border, rgba(44,40,35,.12));
}
.s-watercolor .nav .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 202;
}
.s-watercolor .nav-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(44, 40, 35, 0.16);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  color: var(--ink-mute, #8a857c);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  line-height: 1;
}
.s-watercolor .nav-toggle-label {
  display: block;
  transition: opacity 0.22s ease, letter-spacing 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav--open .nav-toggle {
  color: var(--ink, #2c2823);
}
.s-watercolor .nav-actions {
  display: contents;
}
.s-watercolor .nav-overlay {
  display: none;
}
/* desktop / tablet — menu centered, Say hi right (panel must not occupy one grid cell) */
@media (min-width: 811px) {
  .s-watercolor .nav-actions,
  .s-watercolor .nav-actions-panel {
    display: contents;
  }
  .s-watercolor .nav-actions-panel .menu {
    position: static;
    z-index: auto;
  }
  .s-watercolor .menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .s-watercolor .nav-cta {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
}
.s-watercolor .brand { display: flex; align-items: center; gap: 10px; justify-self: start;
  text-decoration: none; color: inherit; }
.s-watercolor .brand-logo { width: 30px; height: 30px; object-fit: contain; }
.s-watercolor .brand .logo { font-family: var(--font-label); font-size: 13px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink, #2c2823); }
.s-watercolor .menu { display: flex; gap: 26px; justify-self: center; }
.s-watercolor .menu-link {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute, #8a857c);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}
.s-watercolor .menu-link-text {
  position: relative;
  z-index: 1;
}
.s-watercolor .menu-link::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.04em;
  height: 0.55em;
  z-index: 0;
  pointer-events: none;
  border-radius: 3px 5px 4px 3px;
  mix-blend-mode: multiply;
  transform: rotate(-0.5deg) scaleX(0.08);
  transform-origin: left center;
  opacity: 0;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(72% 120% at 18% 55%, rgba(250, 222, 75, 0.95), transparent 68%),
    radial-gradient(68% 100% at 72% 38%, rgba(90, 122, 138, 0.48), transparent 65%),
    radial-gradient(62% 95% at 48% 78%, rgba(184, 94, 62, 0.38), transparent 70%),
    rgba(250, 222, 75, 0.5);
}
.s-watercolor .menu-link:hover {
  color: var(--ink, #2c2823);
}
.s-watercolor .menu-link:hover::before {
  opacity: 1;
  transform: rotate(-0.5deg) scaleX(1);
}
/* pill buttons — Say hi matches Pittsburgh / contact links */
.s-watercolor .nav-cta {
  justify-self: end;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink, #2c2823);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(44, 40, 35, 0.16);
  border-radius: 999px;
  padding: 9px 15px;
}

/* watercolor-wash hover — animated via ::before */
.s-watercolor .nav-cta,
.s-watercolor .resume-btn,
.s-watercolor .contact-links a {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: transparent;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.s-watercolor .nav-cta::before,
.s-watercolor .resume-btn::before,
.s-watercolor .contact-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(72% 82% at 28% 28%, rgba(90,122,138,.52), transparent 72%),
    radial-gradient(72% 82% at 76% 72%, rgba(184,94,62,.44), transparent 72%),
    radial-gradient(60% 60% at 54% 50%, rgba(120,142,84,.30), transparent 74%),
    #f2ede2;
}
.s-watercolor .nav-cta:hover,
.s-watercolor .resume-btn:hover,
.s-watercolor .contact-links a:hover {
  color: var(--ink, #2c2823);
}
.s-watercolor .nav-cta:hover,
.s-watercolor .resume-btn:hover {
  border-color: rgba(90, 122, 138, 0.62);
  box-shadow: 0 0 0 1px rgba(90, 122, 138, 0.22);
}
.s-watercolor .contact-links a:hover {
  border-color: transparent;
}
.s-watercolor .nav-cta:hover::before,
.s-watercolor .resume-btn:hover::before,
.s-watercolor .contact-links a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ---------------- HERO ---------------- */
.s-watercolor .hero { text-align: left; padding-top: 64px; padding-bottom: 72px;
  border-bottom: none; container-type: inline-size; }
.s-watercolor .hero-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(16px, 2.5vw, 24px);
  row-gap: 7px;
  margin: 0 0 9px;
}
.s-watercolor .hero-intro .hero-photo {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
.s-watercolor .hero-intro .name {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  align-self: center;
}
.s-watercolor .hero-intro .hero-deck {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}
.s-watercolor .hero-colon {
  margin-left: 0.02em;
}
@media (max-width: 810px) {
  .s-watercolor .hero-deck-lead::first-letter {
    text-transform: uppercase;
  }
}
.s-watercolor .hero-line,
.s-watercolor .hero-intro .name.hero-line,
.s-watercolor .hero .role.hero-line {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(22px, 7.5cqi, 42px);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.s-watercolor .hero-intro .name.hero-line {
  font-weight: 600;
  color: var(--ink-dark, #2b2721);
}
.s-watercolor .hero .role.hero-line {
  color: var(--ink-soft, #5a554c);
  margin: 0 0 18px;
}
.rolling-word {
  display: inline-block;
  min-width: 7.5ch;
  text-align: left;
}
.s-watercolor .hero-photo {
  width: clamp(56px, 9vw, 80px);
  height: clamp(56px, 9vw, 80px);
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1;
  box-shadow: inset 0 0 0 1px rgba(44, 40, 35, 0.1);
  transform: rotate(-0.6deg);
  transform-origin: center center;
}
.s-watercolor .hero-intro .name.hero-line {
  margin: 0;
}
/* section intros match hero tagline */
.s-watercolor .rsec-sub.tagline,
.hero > .tagline {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-mid, #6a655c);
  margin: 4px 0 22px;
  max-width: none;
  opacity: 1;
}
.s-watercolor .role:not(.hero-line) { font-family: var(--font-head); font-style: normal; font-weight: 500;
  font-size: clamp(22px, 7.5cqi, 42px); line-height: 1.06; letter-spacing: -.03em;
  color: var(--ink-soft, #5a554c); margin: 0 0 18px; max-width: none; width: 100%; }
.s-watercolor .role .emph-yellow { color: var(--emphasis-yellow, #fade4b); }
.s-watercolor .role .emph-red { color: var(--emphasis-red, #d63b30); }

/* watercolor marker highlights — animated wash */
@keyframes wc-highlight-in {
  from {
    opacity: 0;
    transform: rotate(-0.6deg) scaleX(0.06);
  }
  to {
    opacity: 1;
    transform: rotate(-0.6deg) scaleX(1);
  }
}
.wc-mark {
  position: relative;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.wc-mark::before {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.05em;
  height: 0.58em;
  z-index: -1;
  pointer-events: none;
  border-radius: 3px 6px 4px 3px;
  mix-blend-mode: multiply;
  transform: rotate(-0.6deg) scaleX(0.06);
  transform-origin: left center;
  opacity: 0;
  animation: none;
}
.wc-reveal.is-visible .wc-mark::before,
.rcard-text.wc-reveal.is-visible .wc-mark::before {
  animation: wc-highlight-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--wc-order, 0) * 420ms);
}
.rcard-text.wc-reveal .wc-mark::before {
  opacity: 0;
  transform: rotate(-0.6deg) scaleX(0.06);
}
.wc-mark--instant::before {
  opacity: 1;
  transform: rotate(-0.6deg) scaleX(1);
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .wc-reveal.is-visible .wc-mark::before {
    opacity: 1;
    transform: rotate(-0.6deg) scaleX(1);
    animation: none;
  }
}
.wc-mark--yellow::before {
  background:
    radial-gradient(72% 120% at 18% 55%, rgba(250, 222, 75, 0.95), transparent 68%),
    radial-gradient(68% 100% at 72% 38%, rgba(90, 122, 138, 0.48), transparent 65%),
    radial-gradient(62% 95% at 48% 78%, rgba(184, 94, 62, 0.38), transparent 70%),
    rgba(250, 222, 75, 0.5);
}
.wc-mark--red::before {
  background:
    radial-gradient(78% 115% at 22% 50%, rgba(214, 59, 48, 0.65), transparent 68%),
    radial-gradient(65% 100% at 78% 45%, rgba(184, 94, 62, 0.45), transparent 66%),
    radial-gradient(58% 90% at 55% 72%, rgba(90, 122, 138, 0.28), transparent 72%),
    rgba(214, 59, 48, 0.28);
}
.wc-mark--blue::before {
  background:
    radial-gradient(72% 120% at 18% 55%, rgba(90, 122, 138, 0.55), transparent 68%),
    radial-gradient(68% 100% at 72% 38%, rgba(120, 142, 164, 0.42), transparent 65%),
    radial-gradient(62% 95% at 48% 78%, rgba(184, 94, 62, 0.22), transparent 70%),
    rgba(90, 122, 138, 0.28);
}
.wc-mark--yellow { color: inherit; }
.wc-mark--red { color: var(--emphasis-red, #d63b30); }
.wc-mark--blue { color: inherit; }
.s-watercolor .role .emph-red,
.s-watercolor .role .typewriter.emph-red { color: var(--emphasis-red, #d63b30); }
.typewriter { display: inline; white-space: pre-wrap; }
.typewriter-cursor {
  margin-left: 1px;
  animation: typewriter-cursor-blink 0.8s step-end infinite;
}
@keyframes typewriter-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.s-watercolor .tagline {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-mid, #6a655c);
  margin: 0;
}
@media (min-width: 811px) {
  .s-watercolor .tagline {
    white-space: nowrap;
    max-width: none;
  }
}

/* ---------------- SECTION HEADS (label shares the sub-sentence font) ---------------- */
.page .rsec-head { display: flex; align-items: center; justify-content: space-between; }
.page .rsec-head .sec-label { flex: 0 0 auto; }
.s-watercolor .sec-label { font-family: var(--font-head); text-transform: none; letter-spacing: -.02em;
  border: none; padding: 0; text-align: left; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600;
  color: var(--ink-dark, #2b2721); white-space: nowrap; }
.s-watercolor .rsec-sub:not(.tagline) { font-family: var(--font-body); font-style: normal; font-size: 16px;
  line-height: 1.62; color: var(--ink-mid, #6a655c); opacity: 1; max-width: none; }

/* ---------------- PROJECT CARDS — bento: 1 featured row + 2 below ---------------- */
.app.single .page #work .rail.rail-bento[data-mode="scroll"],
.app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  overflow-x: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}
.app.single .page #work .rail.rail-bento[data-mode="scroll"] .pcard,
.app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] .pcard {
  flex: unset;
  width: 100%;
  min-width: 0;
  scroll-snap-align: unset;
  border: 1px solid rgba(44, 40, 35, 0.1);
  background: transparent;
  overflow: hidden;
  position: relative;
  transition: border-color 0.35s ease;
}
/* quote-card watercolor — must match .s-watercolor .rcard specificity */
.app.single .page #work .rail.rail-bento[data-mode="scroll"] .pcard::before,
.app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] .pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--pcard-hover-wash);
}
.app.single .page #work .rail.rail-bento[data-mode="scroll"] .pcard:hover::before,
.app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] .pcard:hover::before {
  opacity: 1;
}
.app.single .page #work .rail.rail-bento[data-mode="scroll"] .pcard:hover,
.app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] .pcard:hover {
  border-color: rgba(90, 122, 138, 0.28);
}
.pcard-hover-wash {
  display: none;
}
.rail-bento .pcard {
  cursor: pointer;
  transition: border-color 0.35s ease, box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rail-bento .pcard:hover {
  box-shadow: 0 10px 28px -16px rgba(44, 40, 35, 0.22);
}
.rail-bento .pcard > * {
  position: relative;
  z-index: 1;
}
.rail-bento .pcard .pcard-titlewrap {
  background: var(--paper-card, #fcfbf7);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.35s ease;
}
.rail-bento .pcard .pcard-titlewrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--pcard-hover-wash);
}
.rail-bento .pcard:hover .pcard-titlewrap::before {
  opacity: 1;
}
.rail-bento .pcard:hover .pcard-titlewrap {
  box-shadow: none;
}
/* featured — full width, image left / copy right */
.rail-bento .pcard:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}
.rail-bento .pcard:first-child .pcard-media {
  width: 100%;
}
.rail-bento .pcard:first-child .pcard-titlewrap {
  margin-top: 0;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  border-left: 1px solid rgba(44, 40, 35, 0.1);
  min-height: 0;
}
@media (min-width: 1041px) {
  /* Fixed row height — Safari loops if children use height/min-height 100% in a stretch grid */
  .rail-bento .pcard:first-child {
    grid-template-rows: minmax(min(46vw, 440px), auto);
  }
  .rail-bento .pcard:first-child .pcard-media {
    aspect-ratio: unset;
    min-height: 0;
    height: auto;
    align-self: stretch;
  }
  .rail-bento .pcard:first-child .pcard-titlewrap {
    justify-content: center;
    min-height: 0;
    align-self: stretch;
  }
}
.rail-bento .pcard:first-child .pcard-titlerow {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.rail-bento .pcard:first-child .pcard-tags {
  text-align: left;
  white-space: normal;
}
/* bottom pair — image top, copy bottom */
.rail-bento .pcard:not(:first-child) {
  display: flex;
  flex-direction: column;
}
.rail-bento .pcard:not(:first-child) .pcard-media {
  aspect-ratio: 16 / 11;
  flex: 1 1 auto;
  width: 100%;
}
.rail-bento .pcard:not(:first-child) .pcard-titlewrap {
  margin-top: 0;
  padding: 18px 20px 22px;
  flex: 0 0 auto;
  border-top: 1px solid rgba(44, 40, 35, 0.08);
}
.rail-bento .pcard-titlewrap {
  margin-top: 0;
}
.app.single .page .drail[data-mode="scroll"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  overflow-x: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
  width: 100%;
}
.app.single .page .drail[data-mode="scroll"] .dtile {
  flex: unset;
  width: auto;
  scroll-snap-align: unset;
}
.app.single .page .rrail[data-mode="scroll"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow-x: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
  width: 100%;
}
.app.single .page .rrail[data-mode="scroll"] .rcard {
  flex: unset;
  width: auto;
  scroll-snap-align: unset;
}

.page .rail[data-mode="scroll"] .pcard .pcard-media,
.page .rail[data-mode="static"] .pcard .pcard-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
}
.page .pcard-media { position: relative; border-radius: var(--radius-card, 0); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(44,40,35,.08); }
.page .pcard-titlewrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 13px;
  position: relative;
  min-height: 0;
}
.pcard-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink, #2c2823);
}
.pcard-more-arrow {
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}
.rail-bento .pcard:hover .pcard-more,
.pcard.is-openable:hover .pcard-more,
.pcard.is-openable:focus-visible .pcard-more {
  opacity: 1;
}
.rail-bento .pcard .pcard-titlewrap {
  flex: 1 1 auto;
}
.page .pcard-media .thumb,
.page .pcard-media .dropslot {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  border-radius: 0;
}
.app.single .page .rail[data-mode="scroll"] .pcard .dropslot,
.app.single .page .rail[data-mode="static"] .pcard .dropslot {
  height: 100% !important;
}
.page .pcard-titlewrap { display: flex; flex-direction: column; gap: 4px; margin-top: 13px; position: relative; }
.s-watercolor .pcard-summary,
.page .pcard-summary {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-mid, #6a655c);
  margin: 6px 0 0;
}
.page .pcard-titlerow {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.page .pcard-titlerow .work-title { flex: 1 1 auto; min-width: 0; }
.page .pcard-titlerow .pcard-tags {
  flex: 0 0 auto; margin: 0; text-align: right; white-space: nowrap;
}
.s-watercolor .pcard-tags { font-family: var(--font-label); color: #000; }
.page .pcard-tags { color: #000; }
.s-watercolor .work-title { font-family: var(--font-head); font-weight: 600; font-size: 23px; }
/* scroll reveal — projects, quotes, experience */
.reveal-group .reveal-item {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-group .reveal-item {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-i, 0) * 80ms);
  }
  .reveal-group.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
  }
  /* Scale the image, not the grid-sized media wrapper (Safari layout feedback on hover) */
  .reveal-group .reveal-item-media {
    transform: none;
  }
  .reveal-group .reveal-item-media > .thumb,
  .reveal-group .reveal-item-media > .dropslot {
    transform: scale(0.98);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-i, 0) * 80ms);
  }
  .reveal-group.is-visible .reveal-item-media > .thumb,
  .reveal-group.is-visible .reveal-item-media > .dropslot {
    transform: scale(1);
  }
  .reveal-group .reveal-item--quote {
    transform: translateY(14px) scale(0.98);
    transition-delay: calc(var(--reveal-i, 0) * 100ms);
  }
  .reveal-group.is-visible .reveal-item--quote {
    transform: translateY(0) scale(1);
  }
  .reveal-group:not(.is-visible) .reveal-item-quote {
    opacity: 0;
  }
  .reveal-group .reveal-item-quote {
    transition: opacity 0.4s ease;
    transition-delay: calc(var(--reveal-i, 0) * 100ms - 50ms);
  }
  .reveal-group.is-visible .reveal-item-quote {
    opacity: 1;
  }
  .reveal-group .reveal-item--exp {
    transform: translateY(12px);
    transition-delay: calc(var(--reveal-i, 0) * 90ms);
  }
  .reveal-group.is-visible .reveal-item--exp {
    transform: translateY(0);
  }
  .reveal-group .reveal-item--exp {
    border-top-color: transparent;
  }
  .reveal-group.is-visible .reveal-item--exp {
    border-top-color: rgba(44, 40, 35, 0.12);
  }
  .page .exp-item.reveal-item--exp:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: rgba(44, 40, 35, 0.12);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--reveal-i, 0) * 90ms + 80ms);
  }
  .reveal-group.is-visible .exp-item.reveal-item--exp:not(:first-child)::before {
    transform: scaleX(1);
  }
}
.page .exp-item.reveal-item--exp {
  position: relative;
}
.page .exp-item.reveal-item--exp:not(:first-child) {
  border-top-color: transparent;
}
.reveal-group .reveal-item-quote {
  opacity: 1;
}

/* quote cards — extra top padding */
.app.single .page .rcard,
.s-watercolor .page .rcard {
  border-radius: 12px;
  padding: 36px 22px 20px;
}

/* discover + reviews — fonts follow the tweaks */
.s-watercolor .dtile-title { font-family: var(--font-head); }
.s-watercolor .dtile-kind { font-family: var(--font-label); }
.s-watercolor .rquote,
.s-watercolor .rby-name { font-family: var(--font-head); }
.s-watercolor .rcard-text { font-family: var(--font-body); }
.s-watercolor .rby-role { font-family: var(--font-label); }

/* ---------------- ABOUT → experience list + résumé button ---------------- */
.page .about-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page .about-head .exp-tabs {
  margin: 0;
  flex-shrink: 0;
}
.s-watercolor .resume-btn { font-family: var(--font-label); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink, #2c2823); text-decoration: none;
  border: 1px solid rgba(44,40,35,.28); border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
.exp-journey { margin-top: 8px; }
.exp-journey-body { margin-top: 0; }
.exp-resume-foot {
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
  padding-top: 4px;
}
.exp-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(44, 40, 35, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.28);
}
.exp-tab {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute, #8a857c);
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease;
}
.exp-tab + .exp-tab {
  margin-left: 2px;
}
.exp-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background:
    radial-gradient(72% 82% at 28% 28%, rgba(90, 122, 138, 0.52), transparent 72%),
    radial-gradient(72% 82% at 76% 72%, rgba(184, 94, 62, 0.44), transparent 72%),
    #f2ede2;
}
/* hover — soft preview wash, no ring */
.exp-tab:hover:not(.is-active) {
  color: var(--ink-mid, #6a655c);
}
.exp-tab:hover:not(.is-active)::before {
  opacity: 0.42;
  transform: scale(1);
}
/* selected — full wash + ink text + inset ring */
.exp-tab.is-active {
  color: var(--ink, #2c2823);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(44, 40, 35, 0.22);
}
.exp-tab.is-active::before {
  opacity: 1;
  transform: scale(1);
  background:
    radial-gradient(72% 82% at 28% 28%, rgba(90, 122, 138, 0.58), transparent 72%),
    radial-gradient(72% 82% at 76% 72%, rgba(184, 94, 62, 0.48), transparent 72%),
    rgba(242, 237, 226, 0.95);
}
.exp-tab.is-active:hover {
  color: var(--ink, #2c2823);
}
.exp-tab.is-active:hover::before {
  opacity: 1;
}
.exp-panel[hidden] {
  display: none;
}
.exp-panel.is-active .exp-list > .exp-item:first-child {
  border-top: none;
  padding-top: 0;
}
.page .exp-list { list-style: none; margin: 0; padding: 0; }
.page .exp-list--edu { margin-bottom: 0; }
.exp-list > .exp-item:first-child { border-top: none; padding-top: 0; }
.page .exp-item { display: flex; justify-content: space-between; align-items: baseline; gap: 28px;
  padding: 18px 0; border-top: 1px solid rgba(44,40,35,.12); }
.page .exp-item:first-child { border-top: none; }
.page .exp-item:last-child { border-bottom: none; }
.page .exp-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.page .exp-main .exp-role { width: 100%; }
.s-watercolor .exp-role { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink-dark, #2b2721); line-height: 1.18; }
.s-watercolor .exp-degree-sep,
.s-watercolor .exp-minor-inline {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.s-watercolor .exp-place {
  margin: 0;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ink, #2c2823);
}
@media (min-width: 811px) {
  .page .exp-item {
    align-items: stretch;
  }
  .page .exp-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    justify-content: space-between;
    gap: 8px;
    padding-top: 2px;
    min-height: 100%;
  }
  .exp-meta .exp-place {
    order: -1;
    margin-bottom: auto;
    text-align: right;
    white-space: normal;
    max-width: 22ch;
  }
  .exp-meta .exp-when {
    order: 0;
    margin-top: auto;
    align-self: flex-end;
  }
  .page .exp-meta:has(.exp-place:only-child) .exp-when,
  .page .exp-meta:not(:has(.exp-place)) .exp-when {
    margin-top: auto;
  }
}
.s-watercolor .exp-org,
.s-watercolor .exp-type,
.s-watercolor .exp-sep {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.s-watercolor .exp-detail {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft, #5a554c);
  font-style: italic;
  line-height: 1.45;
  max-width: 52ch;
}
.page .exp-meta { display: flex; flex-direction: column; gap: 2px; text-align: right; white-space: nowrap; flex: 0 0 auto; padding-left: 24px; }
.s-watercolor .exp-when,
.s-watercolor .exp-place {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink, #2c2823);
}

/* ---------------- CONTACT ---------------- */
.s-watercolor .contact { border-top: 1px solid rgba(44,40,35,.12); }
.page .contact {
  margin-top: 24px;
  padding-top: 56px;
  padding-bottom: 64px;
}
.page .contact .contact-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.s-watercolor .contact-cta {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-mid, #6a655c);
  margin: 0;
  max-width: none;
}
.s-watercolor .contact-links a {
  font-size: 12px;
  letter-spacing: .04em;
  padding: 9px 15px;
  border: 1px solid rgba(44, 40, 35, 0.16);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}
.s-watercolor .contact-h { font-family: var(--font-head); font-weight: 600; margin: 0; }
.s-watercolor .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.s-watercolor .contact .foot-row { font-family: var(--font-label); margin-top: 20px; gap: 20px; }
.s-watercolor .contact .foot-tagline {
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.s-watercolor .contact .foot-emoji {
  font-family: var(--font-body);
  letter-spacing: 0;
  opacity: 0.88;
}

/* ================================================================
   RESPONSIVE — 1280 / 810 breakpoints
   ================================================================ */
@media (max-width: 1280px) {
  .app.single { --page-gutter: 40px; }
}

@media (max-width: 1040px) {
  .app.single .page #work .rail.rail-bento[data-mode="scroll"],
  .app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] {
    align-items: start;
  }
  .app.single .page #work .rail.rail-bento[data-mode="scroll"] .pcard,
  .app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] .pcard {
    overflow: visible;
  }
  .rail-bento .pcard:not(:first-child) .pcard-media {
    flex: 0 0 auto;
  }
  /* Featured cards (SportPilot, JoliPay) — stack early so copy isn’t squeezed */
  .rail-bento .pcard:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(min-content, auto);
    align-items: stretch;
    align-content: start;
  }
  .rail-bento .pcard:first-child .pcard-media {
    aspect-ratio: 16 / 11;
    width: 100%;
    min-height: 0;
    height: auto;
  }
  .rail-bento .pcard:first-child .pcard-titlewrap {
    min-height: 0;
    height: auto;
    overflow: visible;
    justify-content: flex-start;
    padding: 20px 20px 32px;
    border-left: none;
    border-top: 1px solid rgba(44, 40, 35, 0.12);
  }
  .app.single .page .rrail[data-mode="scroll"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes nav-menu-link-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 810px) {
  .app.single { --page-gutter: 16px; }
  .s-watercolor .nav {
    position: sticky;
    top: 0;
    z-index: 200;
    padding-top: 12px;
    padding-bottom: 0;
    background: transparent;
  }
  .s-watercolor .nav .nav-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0;
    padding-bottom: 12px;
  }
  .s-watercolor .nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }
  .s-watercolor .nav-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-rows: 0fr;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    padding: 0;
    border-top: 1px solid transparent;
    position: relative;
    z-index: 203;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition:
      grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      margin-top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.35s ease,
      visibility 0s linear 0.42s;
  }
  .s-watercolor .nav-actions.is-open {
    grid-template-rows: 1fr;
    margin-top: 12px;
    padding: 0;
    border-top-color: rgba(44, 40, 35, 0.12);
    pointer-events: auto;
    visibility: visible;
    transition:
      grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      margin-top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.35s ease,
      visibility 0s;
  }
  .s-watercolor .nav-actions-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    overflow: hidden;
    padding: 14px 0 4px;
    position: relative;
    isolation: isolate;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .s-watercolor .nav-actions.is-open .nav-actions-panel {
    opacity: 1;
    transform: translateY(0);
  }
  .s-watercolor .nav-actions-panel .menu {
    position: relative;
    z-index: 2;
  }
  .s-watercolor .nav--open {
    padding-bottom: 0;
  }
  .s-watercolor .nav--open .nav-inner {
    padding-bottom: 16px;
    transition: padding-bottom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .s-watercolor .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    justify-self: stretch;
    width: 100%;
  }
  .s-watercolor .menu-link {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    border-bottom: none;
    position: relative;
    z-index: 1;
  }
  .s-watercolor .nav-cta {
    display: block;
    position: relative;
    z-index: 1;
    justify-self: auto;
    align-self: stretch;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    padding: 12px 15px;
    text-align: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    order: 2;
    overflow: hidden;
    isolation: isolate;
  }
  .s-watercolor .nav-actions-panel .nav-cta::before {
    border-radius: 999px;
  }
  .s-watercolor .nav-actions .menu {
    order: 1;
    flex: 0 0 auto;
  }
  .s-watercolor .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 201;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s ease, opacity 0.35s ease;
  }
  .s-watercolor .nav-overlay.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    .s-watercolor .nav-actions.is-open .menu-link {
      animation: nav-menu-link-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }
    .s-watercolor .nav-actions.is-open .menu-link:nth-child(1) { animation-delay: 0.08s; }
    .s-watercolor .nav-actions.is-open .menu-link:nth-child(2) { animation-delay: 0.12s; }
    .s-watercolor .nav-actions.is-open .menu-link:nth-child(3) { animation-delay: 0.16s; }
    .s-watercolor .nav-actions.is-open .menu-link:nth-child(4) { animation-delay: 0.2s; }
    .s-watercolor .nav-actions.is-open .nav-cta {
      animation: nav-menu-link-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.26s backwards;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .s-watercolor .nav-actions,
    .s-watercolor .nav-actions-panel,
    .s-watercolor .nav-overlay {
      transition-duration: 0.01ms;
    }
  }
  .s-watercolor .brand .logo { font-size: 12px; }
  .s-watercolor .hero { padding-top: 40px; padding-bottom: 34px; }
  .s-watercolor .hero-line,
  .s-watercolor .hero-intro .name.hero-line,
  .s-watercolor .hero .role.hero-line {
    font-size: clamp(18px, 6cqi, 28px);
  }
  .s-watercolor .hero-photo {
    width: clamp(48px, 12vw, 64px);
    height: clamp(48px, 12vw, 64px);
  }
  .page .exp-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .page .exp-meta {
    text-align: left;
    padding-left: 0;
    width: 100%;
  }
  .page .exp-main,
  .page .exp-main .exp-role {
    text-align: left;
    width: 100%;
  }
  .exp-meta .exp-place {
    text-align: left;
    width: 100%;
  }
  .s-watercolor .role { font-size: clamp(18px, 6cqi, 28px); max-width: none; width: 100%; }
  .s-watercolor .tagline {
    font-size: clamp(13px, 3.6vw, 15px);
    max-width: 100%;
    white-space: normal;
    line-height: 1.55;
  }
  /* Mobile: category labels above the title; let them wrap so cards never
     overflow the frame (nowrap tags were forcing featured cards wider). */
  .rail-bento .pcard-titlerow,
  .rail-bento .pcard:first-child .pcard-titlerow {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }
  .rail-bento .pcard-tags,
  .rail-bento .pcard:first-child .pcard-tags {
    text-align: left;
    white-space: normal;
    flex: 0 0 auto;
    max-width: 100%;
  }
  .rail-bento .pcard .work-title,
  .rail-bento .pcard:first-child .work-title {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
  }
  /* Featured cards (SportPilot, JoliPay) share the single-column width of the
     others — clamp the grid track so content can't push past the frame. */
  .rail-bento .pcard:first-child {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail-bento .pcard:first-child .pcard-media,
  .rail-bento .pcard:first-child .pcard-titlewrap {
    min-width: 0;
    max-width: 100%;
  }
  .s-watercolor .rsec-sub.tagline,
  .hero > .tagline { font-size: clamp(13px, 3.6vw, 16px); }
  .app.single .page #work .rail.rail-bento[data-mode="scroll"],
  .app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] {
    grid-template-columns: 1fr;
  }
  .rail-bento .pcard:first-child .pcard-media {
    aspect-ratio: 16 / 11;
    min-height: 0;
    height: auto;
  }
  .rail-bento .pcard:first-child .pcard-titlewrap {
    padding: 20px 20px 34px;
  }
  .app.single .page #work .rail.rail-bento[data-mode="scroll"],
  .app.single .page #sandbox .rail.rail-bento[data-mode="scroll"] {
    gap: 20px;
  }
  .app.single .page .rrail[data-mode="scroll"] {
    grid-template-columns: 1fr;
  }
  .s-watercolor .exp-role { font-size: 20px; }
  .page .about-head {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  .page .about-head .sec-label {
    flex: 1 1 auto;
    min-width: 0;
  }
  .page .about-head .exp-tabs {
    flex: 0 0 auto;
    max-width: min(100%, 220px);
  }
  .exp-tabs { padding: 2px; border-radius: 5px; }
  .exp-resume-foot {
    margin-top: 18px;
  }
  .exp-tab { padding: 9px 14px; font-size: 10px; border-radius: 3px; }
}
