:root {
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji";
  --text-primary: rgba(20, 20, 20, 0.92);
  --text-secondary: rgba(129, 129, 129, 1);
  --bg-primary: rgba(255, 255, 255, 1);
  --bg-secondary: rgba(248, 248, 248, 1);
  --border: rgba(0, 0, 0, 0.1);
  --orange: #ff7300;
  --font-size-small: 12px;
  --font-size-regular: 14px;
  --font-size-large: 20px;
  --radius-large: 12px;
  --radius-regular: 8px;
  --radius-small: 4px;
  --spacer-small: 4vh;
  --spacer-medium: 8vh;
  --spacer-large: 16vh;
  --gutter: 8px;
}

@supports (color: color(display-p3 1 1 1)) {
  :root {
    --orange: color(display-p3 0.99 0.49 0.16);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --bg-primary: rgba(0, 0, 0, 1);
    --bg-secondary: rgba(25, 25, 25, 1);
    --border: rgba(255, 255, 255, 0.2);
  }
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  font-synthesis: none;
  font-size: var(--font-size-regular);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
}

figure {
  margin: 0;
}

video {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-large);
}

/* Typography */
h1 {
  font-size: var(--font-size-large);
  font-weight: 500;
  line-height: 140%;
}

.site-name,
h2,
h3,
h4,
h5,
h6 {
  font-size: var(--font-size-regular);
  font-weight: 500;
}

.site-name_blue {
  font-size: var(--font-size-regular);
  font-weight: 500;
  color: #0018a8;
}

p {
  margin: 0;
  hyphens: none;
  color: var(--text-primary);
}

/* -------------------------------------------------------------------------
   Apple HIG Links: Exactly matching boot.css line 369
   Eliminates default browser blue (#0000ee) across all pages including legal.html
   ------------------------------------------------------------------------- */
a {
  color: var(--text-primary);
  text-decoration-line: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  text-decoration-color: var(--text-primary);
}

/* Exceptions: Buttons and navigation pills must not have underlines */
.button,
.button:hover,
nav.header-menu a,
.header-menu__item,
.header-menu__item:hover,
.runs-meta-row__link,
.runs-meta-row__link:hover,
.runs-frame__link {
  text-decoration: none !important;
}

/* 4:5 Visual Frame */
.runs-frame {
  position: relative;
  width: 100%;
  max-width: min(100%, 540px);
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  margin: 0 auto;
}

.runs-frame__link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Apple HIG: Never crop higher portraits; fit within 4:5 frame */
.runs-frame__img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
  margin: 0 auto !important;
  user-select: none;
  -webkit-user-select: none;
}

/* Blog / Article Headings */
.the-content h1,
.the-content h2,
.the-content h3,
.the-content h4,
.the-content h5,
.the-content h6 {
  color: var(--text-primary);
}

/* Dashboard Header Title */
.auth-card__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 24px 0;
  padding: 0;
  text-align: center;
}

button {
  font: inherit;
}

ul {
  margin-bottom: 24px;
  padding: 20px;
  list-style: none;
  color: var(--text-secondary);
}

ul li {
  margin-bottom: 20px;
}

ul li::before {
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  content: "-";
}

hr {
  margin: 5vh 0;
  border: 0;
  border-top: 1px solid var(--border);
}

code {
  padding: 0.2em 0.4em;
  white-space: break-spaces;
  font-size: 85%;
  color: var(--text-primary);
  background: var(--border);
  border-radius: var(--radius-small);
}

blockquote {
  margin: 4vh 0;
  padding: 2vh;
  color: var(--text-secondary);
  font-style: italic;
  background: var(--bg-secondary);
  border-radius: var(--radius-regular);
}

.the-content blockquote p {
  margin: 0;
}

pre,
pre code {
  display: block;
  width: 100%;
  height: auto;
  overflow-x: auto;
  white-space: pre;
  font-family: monospace;
  font-size: var(--font-size-small);
  background: var(--bg-secondary);
  border-radius: var(--radius-small);
}

pre {
  margin: 2vh 0;
  padding: 24px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 calc(var(--gutter) * 3);
}

.row {
  display: flex;
  flex-flow: row wrap;
}

.col-100 {
  width: 100%;
  padding: 0 var(--gutter);
}

.full-row-border-top {
  position: relative;
}

.full-row-border-top::before {
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  content: "";
  background: var(--border);
}

.hero {
  padding: 12vh 0;
}

/* Controls */
.button {
  display: inline-block;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
}

.button.small {
  padding: 4px 16px;
  font-size: var(--font-size-small);
}

.button.secondary {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border);
}

.button.secondary:hover {
  background: var(--bg-secondary);
}

.label {
  display: inline-block;
  color: var(--text-primary);
  line-height: 1;
  border-radius: 999px;
}

.label.small {
  padding: 4px 8px;
  font-size: var(--font-size-small);
}

.label.secondary.filled {
  color: var(--text-secondary);
  background: var(--border);
}

/* Stuff */
.stuff-grid {
  --stuff-grid-columns: 2;

  display: grid;
  grid-template-columns: repeat(var(--stuff-grid-columns), minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 24px);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 32px) clamp(32px, 6vh, 80px);
}

.item {
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}

.item:hover,
.item:focus-within {
  opacity: 0.8;
}

.item__folder-caption {
  margin-top: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.item__image-file img,
.other-file {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
}

.item__image-file img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.other-file {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: var(--font-size-small);
  text-align: center;
  background: var(--bg-secondary);
}

.item__text-filename {
  min-width: 0;
  padding: 12px;
  overflow-wrap: anywhere;
}

.message {
  grid-column: 1 / -1;
  padding: var(--spacer-medium) 24px;
  color: var(--text-secondary);
  text-align: center;
}

@media screen and (min-width: 680px) {
  .stuff-grid {
    --stuff-grid-columns: 4;
  }
}

@media screen and (min-width: 1024px) {
  .stuff-grid {
    --stuff-grid-columns: 7;
  }
}

@media screen and (min-width: 1360px) {
  .stuff-grid {
    --stuff-grid-columns: 10;
  }
}

@media screen and (min-width: 1800px) {
  .stuff-grid {
    --stuff-grid-columns: 12;
  }
}

.lazy-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1px;
  padding: var(--spacer-large) 0;
}

.lazy-loader[aria-busy="true"]::after {
  content: "Loading…";
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.text-file-content {
  padding: 6vh 0;
}

/* Blog */
.the-content p {
  margin-bottom: 40px;
}

.the-content h1 {
  margin-bottom: 12vh;
}

.the-content h2,
.the-content h3,
.the-content h4,
.the-content h5,
.the-content h6 {
  margin-top: 80px;
}

.the-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 6vh 0;
  overflow: hidden;
  border-radius: var(--radius-small);
}

.blog-list-item {
  display: block;
  padding: 0.8vh 0;
  text-decoration: none;
}

.blog-list-item__title {
  text-decoration-line: underline;
  text-decoration-color: var(--border);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-list-item__date {
  margin-left: 2px;
  white-space: nowrap;
  font-size: var(--font-size-small);
}

.blog-list-item:hover .blog-list-item__title {
  text-decoration-color: var(--text-secondary);
}

.post-chapter {
  padding: 1vh 0;
  border-bottom: 1px solid var(--border);
}

/* Image lightbox */
.zoomlightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: zoom-in;
  color: inherit;
  background: transparent;
  border: 0;
}

.zoomlightbox-container {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: zoom-out;
  text-align: center;
  background: var(--bg-secondary);
}

.zoomlightbox-image {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: 520px;
  height: auto;
  max-height: 520px;
  transform: translate(-50%, -50%);
}

.zoomlightbox-image-name,
.close-zoomlightbox {
  position: absolute;
  left: 50%;
  width: 320px;
  margin-left: -160px;
  font-size: var(--font-size-small);
  text-align: center;
}

.zoomlightbox-image-name {
  top: 15px;
}

.close-zoomlightbox {
  bottom: 15px;
  cursor: pointer;
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auto-margins {
  margin: auto;
}

.fluid-img {
  display: block;
  width: 100%;
  height: auto;
}

.show-on-desktop-only {
  display: block;
}

.show-on-mobile-only {
  display: none;
}

.border-all-around {
  border: 1px solid var(--border);
}

.border-top {
  border-top: 1px solid var(--border);
}

.border-bottom {
  border-bottom: 1px solid var(--border);
}

.bg-primary {
  background-color: var(--bg-primary);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.text-color-primary {
  color: var(--text-primary);
}

.text-color-secondary {
  color: var(--text-secondary);
}

.text-align-center {
  text-align: center;
}

.text-align-left {
  text-align: left;
}

.text-align-right {
  text-align: right;
}

.text-small {
  font-size: var(--font-size-small);
}

.text-regular {
  font-size: var(--font-size-regular);
}

.text-large {
  font-size: var(--font-size-large);
  line-height: 1.4;
}

.no-margin {
  margin: 0;
}

.no-margin-top {
  margin-top: 0;
}

.no-margin-bottom {
  margin-bottom: 0;
}

.large-margin-bottom {
  margin-bottom: var(--spacer-large);
}

.large-margin-top {
  margin-top: var(--spacer-large);
}

.medium-margin-bottom {
  margin-bottom: var(--spacer-medium);
}

.medium-margin-top {
  margin-top: var(--spacer-medium);
}

.small-margin-bottom {
  margin-bottom: var(--spacer-small);
}

.small-margin-top {
  margin-top: var(--spacer-small);
}

.no-padding {
  padding: 0;
}

.no-padding-top {
  padding-top: 0;
}

.no-padding-bottom {
  padding-bottom: 0;
}

.large-padding-bottom {
  padding-bottom: var(--spacer-large);
}

.large-padding-top {
  padding-top: var(--spacer-large);
}

.medium-padding-bottom {
  padding-bottom: var(--spacer-medium);
}

.medium-padding-top {
  padding-top: var(--spacer-medium);
}

.small-padding-bottom {
  padding-bottom: var(--spacer-small);
}

.small-padding-top {
  padding-top: var(--spacer-small);
}

.padded-section {
  padding: var(--spacer-large) 0;
}

@media screen and (max-width: 821px) {
  .show-on-desktop-only {
    display: none;
  }

  .show-on-mobile-only {
    display: block;
  }

  .zoomlightbox-image {
    max-width: 90%;
    max-height: 60%;
  }
}

/* Homepage */
.hero-cell {
  --cell-grid: #e5e5e5;
  --cell-accent: #f5ec75;
  --cell-connection: rgba(218, 148, 113, 0.30);
  --cell-connection-light: rgba(241, 183, 146, 0.20);
  --cell-connection-dark: rgba(168, 139, 168, 0.38);
  --cell-tone-peach: #ffd9bb;
  --cell-tone-coral: #ffac7d;
  --cell-tone-lilac: #b19bd0;
  --cell-tone-sky: #58aef1;
  --cell-tone-cyan: #a4e1eb;

  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-top: var(--spacer-medium);
  background: var(--bg-primary);
  color-scheme: light dark;
  touch-action: none;
  cursor: grab;
}

.resume .one-project > h2 {
  margin: 0 0 1em;
}

@media (prefers-color-scheme: dark) {
  .hero-cell {
    --cell-accent: #fff58e;
    --cell-grid: #292929;
    --cell-connection: rgba(235, 172, 139, 0.36);
    --cell-connection-light: rgba(250, 200, 162, 0.22);
    --cell-connection-dark: rgba(183, 161, 205, 0.44);
    --cell-tone-peach: #ffdcc2;
    --cell-tone-coral: #ffb088;
    --cell-tone-lilac: #bca6df;
    --cell-tone-sky: #70baff;
    --cell-tone-cyan: #afeaf2;
  }
}

/* ==========================================================================
   1. APPLE HIG: RESPONSIVE HEADER SPACING (1:1 PARITY WITH WORK.PHP)
   ========================================================================== */

/* Base & Mobile: Compact padding top on handheld screens (1:1 like work.php) */
header.home-hero,
header.home-hero.small-padding-top,
header.home-hero.large-padding-top,
.page-home header.home-hero,
.page-home header.home-hero.small-padding-top,
.page-home header.home-hero.large-padding-top {
  padding-top: var(--spacer-small, 4vh) !important;
  box-sizing: border-box;
}

/* Desktop Breakpoint: Generous 16vh breathing room only on desktop screens */
@media (min-width: 680px) {
  header.home-hero.large-padding-top,
  .page-home header.home-hero.large-padding-top {
    padding-top: var(--spacer-large, 16vh) !important;
  }
}

@media screen and (max-width: 768px) {
  .large-padding-top,
  header.large-padding-top,
  .home-hero.large-padding-top,
  .page-home header.home-hero.large-padding-top {
    padding-top: 4vh !important;
  }
}

/* Header Bottom Margin */
header.home-hero.small-margin-bottom {
  margin-bottom: var(--spacer-small, 4vh) !important;
}

/* Site Name Paragraph: Preserves rhythm */
.home-hero .site-name,
.site-name {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif);
  font-size: var(--font-size-regular, 14px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary) !important;
}

.home-hero .site-name.small-margin-bottom,
.site-name.small-margin-bottom {
  margin-bottom: var(--spacer-small, 4vh) !important;
}

/* Apple HIG: Header Site-Name Link (1:1 with robertlipinski_new_2026) */
.home-hero .site-name a,
.site-name a,
header.home-hero a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--text-primary) !important;
  text-decoration-line: underline !important;
  text-decoration-color: var(--border) !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  display: inline;
  min-height: auto;
  line-height: inherit;
  transition: text-decoration-color var(--duration-apple, 0.28s) var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1));
}

.home-hero .site-name a:hover,
.site-name a:hover,
header.home-hero a:hover {
  text-decoration-color: var(--text-primary) !important;
}

/* ==========================================================================
   2. HEADER SPLIT ROW WITH RIGHT-ALIGNED COUNTER (1:1 ALIGNED WITH RUNS.PHP)
   ========================================================================== */

.one-project--split {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  width: 100% !important;
  box-sizing: border-box;
}

.one-project--split.small-margin-bottom {
  margin-bottom: var(--spacer-small, 24px) !important;
}

.one-project--split .one-project__title,
.one-project--split p {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif);
  font-size: var(--font-size-regular, 14px);
  font-weight: 400;
  color: rgba(20, 20, 20, 0.92);
  line-height: 1.4;
}

.runs-counter--header,
.artwork-counter--header {
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif);
  font-size: var(--font-size-regular, 14px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(20, 20, 20, 0.92);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* ==========================================================================
   3. ARTWORK STAGE, 4:5 FRAME & TAP ZONES (APPLE HIG CONTAIN SCALING)
   ========================================================================== */

.artwork-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.artwork-carousel {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.artwork-carousel::-webkit-scrollbar {
  display: none;
}

.artwork-carousel .dont-collapse {
  flex: 0 0 100% !important;
  width: 100% !important;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}

.artwork-card {
  width: 100%;
  max-width: min(100%, 540px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Apple HIG: Strict 4:5 Aspect Ratio Container (Zero Shadow on Frame) */
.artwork-frame {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  max-height: calc(100svh - 220px);
  overflow: visible !important; /* Allows floating shadow to project outside without clipping */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 0 12px 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 680px) {
  .artwork-frame {
    max-height: 560px;
    margin-bottom: 14px !important;
  }
}

/* Apple HIG: Tight Bounding Box with 16px Inset & 360° Omnidirectional Shadow */
.artwork-frame img,
.artwork-frame .fluid-img,
.artwork-frame img.fluid-img {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: auto !important;
  width: auto !important;
  height: auto !important;
  /* 16px inset on all four sides (8pt grid parity) */
  max-width: calc(100% - 32px) !important;
  max-height: calc(100% - 32px) !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: none !important;
  display: block !important;
  user-select: none;
  -webkit-user-select: none;

  /* Apple HIG: Intensified Omnidirectional Shadow with Steep Falloff (Zero Carousel Edge Clipping) */
  box-shadow: 0 0 2px 0 rgba(17, 12, 46, 0.20), 0 0 10px 1px rgba(17, 12, 46, 0.16) !important;
  filter: drop-shadow(0 0 2px rgba(17, 12, 46, 0.20)) drop-shadow(0 0 8px rgba(17, 12, 46, 0.16));
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter;
}

@media (prefers-reduced-motion: reduce) {
  .artwork-frame img,
  .artwork-frame .fluid-img,
  .artwork-frame img.fluid-img {
    transition: none !important;
  }
}

/* Invisible tap zones for desktop and tablet quick click navigation */
.artwork-stage__tap-zone {
  position: absolute;
  top: 0;
  height: 65%;
  width: 25%;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.artwork-stage__tap-zone--prev { left: 0; }
.artwork-stage__tap-zone--next { right: 0; }

/* ==========================================================================
   4. METADATA ROWS (LEFT CAPTION, RIGHT-ALIGNED PRICE & DIMENSIONS)
   ========================================================================== */

.runs-meta-row {
  width: 100% !important;
  max-width: min(100%, 540px) !important;
  margin: 4px auto 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.runs-meta-row:first-of-type {
  margin-top: 10px !important;
}

.runs-meta-row:last-of-type {
  margin-bottom: 28px !important;
}

/* Left: Title, Year, Medium */
.runs-meta-row__caption {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(20, 20, 20, 0.92) !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-transform: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

/* Right: Price, Dimensions, Status (Strictly Right-Aligned) */
.runs-meta-row__link,
.runs-meta-row__value {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(20, 20, 20, 0.92) !important;
  line-height: 1.4 !important;
  text-align: right !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  display: inline-block;
}

/* Prevent layout shift on empty companion values */
.runs-meta-row__link:empty,
.runs-meta-row__value:empty {
  display: inline-block;
  min-width: 1px;
}

/* ==========================================================================
   5. FOOTER STACKING & ACCESSIBILITY
   ========================================================================== */

footer.page-footer,
footer.small-padding-bottom {
  position: relative;
  z-index: 100 !important;
}

footer a {
  position: relative;
  z-index: 101 !important;
  pointer-events: auto !important;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .site-name a,
  .site-name a {
    transition: none !important;
  }
}

/* ==========================================================================
   6. APPLE HIG DARK MODE COMPLIANCE
   ========================================================================== */

   @media (prefers-color-scheme: dark) {
    .one-project--split .one-project__title,
    .one-project--split p,
    .runs-counter--header,
    .artwork-counter--header,
    .runs-meta-row__caption,
    .runs-meta-row__link,
    .runs-meta-row__value {
      color: rgba(255, 255, 255, 0.92) !important;
    }
  
    /* Omnidirectional steep falloff shadow on dark backgrounds */
    .artwork-frame img,
    .artwork-frame .fluid-img,
    .artwork-frame img.fluid-img {
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.9) !important;
      filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.18)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.9));
    }
  }

/* ==============================================================
   MOBILE ORIENTATION: STRICT PORTRAIT ENFORCEMENT
============================================================== */
@media screen and (max-width: 900px) and (orientation: landscape) {
  /* Overlay preventing unusable landscape deformation on mobile phones */
  body::before {
    content: "Please rotate your device to portrait mode.";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif);
    font-size: var(--font-size-regular, 14px);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
  }
}

@media screen and (max-width: 900px) and (orientation: landscape) and (prefers-color-scheme: dark) {
  body::before {
    background: rgba(0, 0, 0, 0.92);
    color: rgba(255, 255, 255, 0.92);
  }
}