/* ==========================================================================
   NEOBRUTALISM DESIGN SYSTEM
   High contrast, thick black borders, hard offset drop shadows,
   playful pastel & pop color blocking, tactile pill buttons,
   technical blueprint dot grid, and snappy interactive feedback.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Core Palette */
  --paper: #FFFDF5;
  --ink: #111111;
  --sheet: #FFFFFF;
  --surface: #FFF9E6;
  --muted: #4A4A4A;

  /* Neobrutalist Pop Accents */
  --accent: #FFE600;        /* Electric Canary Yellow */
  --accent-text: #111111;
  --accent-cyan: #54D6FF;   /* Cyan Pop */
  --accent-pink: #FF66A1;   /* Bubblegum Pink */
  --accent-lime: #52E252;   /* Acid Mint */
  --accent-purple: #C084FC; /* Lilac */
  --accent-orange: #FF9233; /* Tangerine Pop */

  /* Pastel Card Tints */
  --tint-yellow: #FFF9DB;
  --tint-cyan: #E0F7FF;
  --tint-pink: #FFE8F2;
  --tint-lime: #E8FDE8;
  --tint-purple: #F3E8FF;
  --tint-orange: #FFEDDE;

  /* Layout & Geometry */
  --gutter: clamp(16px, 3.5vw, 48px);
  --border-width: 3px;
  --border-width-sm: 2px;
  --border: var(--border-width) solid var(--ink);
  --border-sm: var(--border-width-sm) solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-xl: 12px 12px 0 var(--ink);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-pill: 9999px;

  /* Typography */
  --macro: "Plus Jakarta Sans", "Space Grotesk", "Archivo Black", "Arial Black", Impact, sans-serif;
  --mono: "Space Mono", "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;
  --prose: "Space Grotesk", "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

html.dark-theme,
html[data-theme="dark"] {
  color-scheme: dark;

  --paper: #18181B;
  --ink: #FFFFFF;
  --sheet: #222228;
  --surface: #2A2A32;
  --muted: #B8B8B8;

  --accent: #FFE600;
  --accent-text: #111111;
  --accent-cyan: #00F0FF;
  --accent-pink: #FF3385;
  --accent-lime: #39FF14;
  --accent-purple: #D946EF;
  --accent-orange: #FF8800;

  --tint-yellow: #2A2715;
  --tint-cyan: #152B36;
  --tint-pink: #361726;
  --tint-lime: #153218;
  --tint-purple: #2F1736;
  --tint-orange: #332014;

  --border: var(--border-width) solid var(--ink);
  --border-sm: var(--border-width-sm) solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
}

/* Base Reset & Blueprint Grid Canvas */
* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(17, 17, 17, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--prose);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

html.dark-theme body,
html[data-theme="dark"] body {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #111;
}

h1, h2, h3, h4 {
  font-family: var(--macro);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

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

h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus {
  outline: none;
}

button:disabled {
  cursor: default;
  opacity: .35;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-width {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 120;
  top: 10px;
  left: 10px;
  padding: 14px 20px;
  background: var(--accent);
  color: #111;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: translateY(-160%);
  transition: transform .15s ease;
}

.skip-link:focus {
  transform: none;
}

/* Micro Typography */
.logo, .site-nav a, .theme-toggle, .back-link, .project-number, .category,
.tile-number, .fact dt, .tl-org, .tl-date, .tag, .project-kicker, .stack-label,
.highlight-label, .step-no, .gallery-heading span, .gallery-figure figcaption,
.gallery-more, .release, .draft-note, .project-nav small, .site-footer,
.lightbox-top p, .lightbox button, .lightbox-caption, .skip-link, .todo-box,
.work-header h1 span, .work-header h2 span, .theme-switch-pill, .bento-tag,
.bento-category, .section-bento-count, .archive-badge, .archive-filter-btn {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.35;
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  padding-top: 14px;
  background: var(--paper);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-block: var(--border);
}

.brand {
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  min-width: 0;
  text-decoration: none;
}

.logo {
  font-family: var(--macro);
  font-size: 16px;
  letter-spacing: -.01em;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
}

.brand-role {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
}

.site-nav a {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 0;
  transition: color .15s;
}

.site-nav a::before { content: "[ "; }
.site-nav a::after { content: " ]"; }
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--accent-orange);
}

/* Preferences Toolbar: Footer Controls (Theme Toggle + Edition Switcher) */
.footer-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-controls a::before,
.footer-controls a::after,
.footer-controls button::before,
.footer-controls button::after {
  content: none !important;
}

.theme-toggle {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 800;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-pill);
  background: var(--sheet);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all .12s ease;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #111;
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4.5px 4.5px 0 var(--ink);
}

.theme-toggle:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

.theme-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.style-switcher {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-pill);
  background: var(--sheet);
  overflow: hidden;
  height: 44px;
}

.style-seg {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 100%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all .12s ease;
  line-height: 1;
}

.style-seg:hover:not(.active) {
  color: #111;
  background: var(--tint-yellow);
}

.style-seg.active {
  background: var(--accent);
  color: #111;
  font-weight: 900;
  cursor: default;
}

/* ==========================================================================
   Studio Dispatch Ticker Bar
   ========================================================================== */
.dispatch-bar {
  display: flex;
  align-items: center;
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 10px;
  margin-bottom: clamp(20px, 2.5vw, 36px);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.dispatch-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: #111;
  border-right: var(--border);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 800;
}

.dispatch-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.7);
  animation: dispatchPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  flex-shrink: 0;
}

@keyframes dispatchPulse {
  0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(17, 17, 17, 0); }
  100% { box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); }
}

.dispatch-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
  padding: 0 8px;
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}

.dispatch-track {
  display: inline-flex;
  white-space: nowrap;
  animation: dispatchScroll 26s linear infinite;
  will-change: transform;
}

.dispatch-marquee:hover .dispatch-track,
.dispatch-marquee:focus-within .dispatch-track {
  animation-play-state: paused;
}

.dispatch-track span {
  display: inline-block;
  padding-right: 48px;
  color: var(--muted);
  font-size: 11px;
}

.dispatch-accent {
  color: var(--accent-orange);
  font-weight: 800;
}

.dispatch-strong {
  color: var(--ink);
  font-weight: 800;
}

.dispatch-sep {
  color: var(--accent-orange);
  font-style: normal;
  font-weight: 800;
  margin-inline: 2px;
}

@keyframes dispatchScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.dispatch-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--sheet);
  border-left: var(--border);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--ink);
}

.dispatch-clock-tag {
  color: var(--accent-orange);
  font-weight: 800;
}

.dispatch-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
}

@media (max-width: 960px) {
  .dispatch-clock { display: none; }
}

@media (max-width: 640px) {
  .dispatch-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .dispatch-status {
    border-right: none;
    border-bottom: var(--border);
    padding: 10px 14px;
    font-size: 10px;
    justify-content: flex-start;
  }
  .dispatch-marquee {
    padding: 9px 0;
  }
  .dispatch-track span {
    font-size: 10px;
    padding-right: 32px;
  }
}

/* ==========================================================================
   Work Header & View Toggle
   ========================================================================== */
.work-header {
  border-top: var(--border);
  padding-block: 20px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.work-header h1, .work-header h2 {
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -.04em;
  line-height: .9;
  margin: 0 auto 0 0;
  font-weight: 900;
}

.work-header h1::before, .work-header h2::before {
  content: "///";
  color: var(--accent);
  text-shadow: 1.5px 1.5px 0 var(--ink);
  font-family: var(--mono);
  font-size: .4em;
  letter-spacing: .05em;
  margin-right: .8em;
  vertical-align: .4em;
}

.work-header h1 span, .work-header h2 span {
  display: inline-block;
  vertical-align: top;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-left: 12px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #111;
}

#work, #karya {
  container-type: inline-size;
  padding-top: clamp(24px, 3.2vw, 44px);
}

.hero-statement {
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  background: var(--sheet);
  padding: clamp(20px, 2.8vw, 36px);
  margin-bottom: clamp(24px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-statement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-statement-lead {
  margin: 0;
  font-family: var(--macro);
  font-size: clamp(22px, 3.1vw, 44px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 34ch;
}

.hero-statement-sub {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 72ch;
}

.view-toggle {
  display: flex;
  gap: 8px;
}

.view-toggle button {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--sheet);
  cursor: pointer;
  transition: all .15s ease;
}

.view-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.view-toggle button:hover:not(.active) {
  background: var(--accent);
  color: #111;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ==========================================================================
   Project Bento Cards (Selected Works: Murry, Cirrus, Onager)
   ========================================================================== */
.projects {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  background: transparent;
  border: none;
}

.case-bento-tile {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 36px);
  text-decoration: none;
  min-width: 0;
  position: relative;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 14px;
  color: inherit;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
  overflow: hidden;
}

.case-bento-tile:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.case-bento-tile:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

/* 3-Tier Hierarchy */
.case-bento-lead {
  grid-column: span 12;
  background: var(--tint-yellow);
}

.case-bento-secondary {
  grid-column: span 7;
  background: var(--tint-cyan);
}

.case-bento-tertiary {
  grid-column: span 5;
  background: var(--tint-pink);
}

.case-bento-tile .bento-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(16px, 2vw, 24px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.bento-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sheet);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 800;
  letter-spacing: .06em;
}

.bento-category, .bento-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

.case-bento-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
  flex: 1;
}

.case-bento-secondary .case-bento-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 22px;
}

.case-bento-tertiary .case-bento-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 18px;
}

.case-bento-media {
  margin: 0;
  aspect-ratio: 1/1;
  background: #FFFFFF;
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}

html.dark-theme .case-bento-media {
  background: #222228;
}

.case-bento-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(12px, 2vw, 28px);
  display: block;
  transition: transform .25s ease;
  position: relative;
  z-index: 10;
}

.case-bento-tile:hover .case-bento-media img {
  transform: scale(1.04);
}

.case-bento-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  justify-content: flex-start;
}

.case-bento-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #111;
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.case-bento-title {
  font-family: var(--macro);
  font-size: clamp(24px, 2.8vw, 44px);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-weight: 900;
}

.case-bento-secondary .case-bento-title { font-size: clamp(20px, 2.2vw, 30px); }
.case-bento-tertiary .case-bento-title { font-size: clamp(18px, 1.8vw, 26px); }

.case-bento-cat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.case-bento-desc {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 48ch;
}

.case-bento-secondary .case-bento-desc,
.case-bento-tertiary .case-bento-desc {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-bento-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 18px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  background: var(--sheet);
  color: var(--ink);
  transition: all .12s ease;
}

.tag:hover {
  background: var(--accent);
  color: #111;
  transform: translate(-1.5px, -1.5px);
  box-shadow: 3px 3px 0 var(--ink);
}

.case-bento-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--sheet);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: auto;
  transition: transform .15s ease-out, box-shadow .15s ease-out, background .15s ease;
}

.case-bento-tile:hover .case-bento-cta {
  background: var(--accent);
  color: #111;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.case-bento-cta .cta-arrow {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  transition: transform .15s ease-out;
}

.case-bento-tile:hover .case-bento-cta .cta-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Other Work Section (Cuscus, Poplar, Meerkat, Yamasvggest)
   ========================================================================== */
.other-work {
  margin-top: 80px;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: none;
}

.other-tile {
  aspect-ratio: 1/1;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease-out, box-shadow .15s ease-out, background .15s;
  color: var(--ink);
}

.other-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
  background: var(--tint-yellow);
  z-index: 10;
}

.other-tile:nth-child(2):hover { background: var(--tint-lime); }
.other-tile:nth-child(3):hover { background: var(--tint-purple); }
.other-tile:nth-child(4):hover { background: var(--tint-cyan); }
.other-tile:nth-child(5):hover { background: var(--tint-orange); }

.tile-image {
  margin: 0;
  min-height: 0;
  display: flex;
  background: #FFFFFF;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
}

html.dark-theme .tile-image {
  background: #222228;
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(8px, 1.4vw, 24px);
  position: relative;
  z-index: 10;
  transition: transform .25s ease;
}

.other-tile:hover .tile-image img,
.archive-tile:hover .tile-image img {
  transform: scale(1.06);
}

.tile-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  row-gap: 6px;
  padding: 10px 12px 14px;
  background: inherit;
}

.tile-meta {
  grid-column: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.tile-number {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #111;
  background: var(--accent);
  padding: 2px 6px;
  border: 1px solid var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  border-radius: 4px;
}

.tile-number::before {
  content: "D-";
}

.other-tile.is-more .tile-number::before {
  content: none;
}

.tile-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.tile-title {
  grid-column: 1;
  margin: 0;
  font-family: var(--macro);
  font-size: clamp(14px, 1.45vw, 22px);
  letter-spacing: -.03em;
  line-height: .95;
  overflow-wrap: anywhere;
  font-weight: 800;
  color: var(--ink);
}

.tile-arrow {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-more {
  display: grid;
  place-items: center;
  background: var(--accent);
  font-family: var(--macro);
  font-size: clamp(48px, 7vw, 112px);
  line-height: 1;
  color: #111;
  font-weight: 900;
  border-bottom: 2px solid var(--ink);
}

.other-tile.is-more:hover .tile-more {
  background: var(--accent-cyan);
}

/* ==========================================================================
   List View Override (Seamless Interop with main.js)
   ========================================================================== */
.projects.is-list-view, .other-grid.is-list-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 10px 0 20px;
}

.projects.is-list-view .case-bento-tile,
.other-grid.is-list-view .other-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 8px 18px;
  background: var(--sheet) !important;
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: var(--radius);
  outline: none;
  text-decoration: none;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.projects.is-list-view .case-bento-tile:hover,
.other-grid.is-list-view .other-tile:hover {
  transform: translate(-3px, -3px) !important;
  box-shadow: 6px 6px 0 var(--ink) !important;
  background: var(--tint-yellow) !important;
  z-index: 10;
}

.projects.is-list-view .bento-head,
.projects.is-list-view .case-bento-info > *:not(.case-bento-title),
.other-grid.is-list-view .tile-meta,
.other-grid.is-list-view .tile-number,
.other-grid.is-list-view .tile-badge,
.other-grid.is-list-view .tile-arrow {
  display: none;
}

.projects.is-list-view .case-bento-body,
.projects.is-list-view .case-bento-info,
.other-grid.is-list-view .tile-info {
  display: contents;
}

.other-grid.is-list-view .other-tile:hover .tile-info {
  background: transparent !important;
  color: inherit;
}

.projects.is-list-view .case-bento-media,
.other-grid.is-list-view .tile-image,
.other-grid.is-list-view .tile-more {
  width: clamp(48px, 5.5vw, 68px);
  height: clamp(48px, 5.5vw, 68px);
  flex-shrink: 0;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 8px;
  background: #FFFFFF;
  padding: 0;
  aspect-ratio: 1/1;
  outline: none;
}

.other-grid.is-list-view .tile-more {
  display: grid;
  place-items: center;
  font-size: clamp(28px, 3.8vw, 44px);
  background: var(--accent);
  color: #111;
}

.projects.is-list-view .case-bento-media img,
.other-grid.is-list-view .tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.projects.is-list-view .case-bento-title,
.other-grid.is-list-view .tile-title {
  font-family: var(--macro);
  font-size: clamp(28px, 4.5vw, 64px);
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.15s, transform 0.2s;
  white-space: nowrap;
  border: none;
  background: transparent;
  padding: 0;
  font-weight: 900;
}

.projects.is-list-view .case-bento-tile:hover .case-bento-title,
.other-grid.is-list-view .other-tile:hover .tile-title {
  color: var(--accent-orange);
  transform: translateX(12px);
}

/* ==========================================================================
   Project Detail Page & Case Study
   ========================================================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 24px;
  margin-bottom: 8px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: var(--radius-pill);
  background: var(--sheet);
  color: var(--ink);
  transition: all .15s ease;
}

.back-link:hover {
  background: var(--accent);
  color: #111;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.project-header {
  padding: 32px 0 36px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  border-top: var(--border);
  margin-top: 8px;
}

.project-header .project-kicker {
  grid-column: 1/5;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  margin: 0;
  align-self: start;
  background: var(--accent);
  color: #111;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.project-header h1 {
  grid-column: 5/-1;
  margin: 0;
  font-family: var(--macro);
  font-size: clamp(40px, 8vw, 128px);
  line-height: .85;
  letter-spacing: -.05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.project-header .project-lead {
  grid-column: 5/12;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  margin: 0;
  max-width: 36em;
  color: var(--ink);
}

.process-jump {
  grid-column: 5/-1;
  justify-self: start;
  padding: 12px 20px;
  min-height: 44px;
  border: 2px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: var(--radius-pill);
  background: var(--accent-cyan);
  color: #111;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
}

.process-jump:hover {
  background: var(--accent);
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.process-jump:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

.draft-note {
  margin: 0 0 20px;
  padding: 12px 18px;
  font-size: 12px;
  font-family: var(--mono);
  font-weight: 700;
  border: 2px dashed var(--ink);
  background: var(--tint-yellow);
  color: var(--ink);
  border-radius: 8px;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px;
  background: transparent;
  border: none;
}

.fact {
  flex: 1 1 170px;
  background: var(--sheet);
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 0;
}

.fact dt {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  margin: 0;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.fact.is-todo dd {
  font-weight: 400;
  color: var(--muted);
}

.fact.is-award dd {
  color: var(--accent-orange);
}

.project-cover {
  padding: 0;
  margin: 0 0 48px;
  background: var(--sheet);
  border: var(--border);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 14px;
  overflow: hidden;
}

.project-cover button,
.project-cover-btn {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: center;
}

.project-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 760px;
  max-height: min(82vh, 900px);
  margin: 0 auto;
  object-fit: contain;
  padding: clamp(16px, 2vw, 36px);
  position: relative;
  z-index: 10;
  transition: transform .25s ease;
}

.project-cover.is-wide img {
  max-width: none;
}

/* Standard Project Section (Cuscus, Meerkat, Poplar, etc.) */
.project-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
}

.project-section h2 {
  grid-column: 1/5;
  margin: 2px 0 0;
  font-family: var(--macro);
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -.03em;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
}

.project-section h2::before {
  content: "> ";
  color: var(--accent-orange);
  font-family: var(--mono);
}

.section-body {
  grid-column: 5/12;
}

.section-body p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  max-width: 48em;
  margin: 0;
}

.section-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-body li {
  padding: 0 0 10px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
}

.section-body li::before {
  content: ">>>";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  top: .25em;
}

/* ==========================================================================
   Editorial Blocks (Flagships: Cirrus, Onager, Murry)
   ========================================================================== */
.editorial-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 0;
  border-top: var(--border);
  align-items: start;
}

.editorial-spread .spread-text {
  grid-column: 1/6;
}

.editorial-spread .spread-text .project-kicker {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 11px;
  background: var(--accent);
  color: #111;
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 4px;
  font-weight: 800;
}

.editorial-spread .spread-text h3 {
  font-family: var(--macro);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 0 0 20px;
  text-transform: uppercase;
  font-weight: 900;
}

.editorial-spread .spread-text p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.editorial-spread .spread-text strong,
.editorial-stack-spread .stack-col strong {
  font-weight: 800;
  background: var(--accent);
  padding: 1px 4px;
  border-radius: 3px;
}

.editorial-spread .spread-media {
  grid-column: 6/-1;
}

.editorial-spread.is-text-only .spread-text {
  grid-column: 1/9;
}

.media-frame-16-9 {
  width: 100%;
  margin: 0;
  aspect-ratio: 16/9;
  background: #FFFFFF;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

html.dark-theme .media-frame-16-9 {
  background: #222228;
}

.media-frame-16-9 img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  padding: 16px;
  display: block;
}

.product-grid-1-1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: none;
}

.product-frame-1-1 {
  aspect-ratio: 1/1;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}

html.dark-theme .product-frame-1-1 {
  background: #222228;
}

.product-frame-1-1 img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 10px;
  display: block;
}

.editorial-highlight {
  background: var(--tint-yellow);
  border: var(--border);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 24px 0 48px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.editorial-highlight .highlight-label {
  grid-column: 1/-1;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.editorial-highlight .highlight-lead {
  grid-column: 1/6;
  font-family: var(--macro);
  text-transform: uppercase;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0;
  font-weight: 900;
}

.editorial-highlight .highlight-details {
  grid-column: 6/-1;
}

.editorial-highlight .highlight-details p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.editorial-highlight .highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.editorial-highlight .highlight-list li {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  padding: 10px 0 10px 32px;
  position: relative;
  border-top: 1.5px solid var(--ink);
}

.editorial-highlight .highlight-list li::before {
  content: ">>>";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent-orange);
  font-family: var(--mono);
  font-size: 11px;
}

.editorial-stack-spread {
  padding: 40px 0;
  border-top: var(--border);
}

.editorial-stack-spread .stack-label {
  display: inline-block;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: #111;
  background: var(--accent);
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-stack-spread .stack-media {
  margin-bottom: 28px;
}

.editorial-stack-spread .stack-columns {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
}

.editorial-stack-spread .stack-col {
  grid-column: span 6;
}

.editorial-stack-spread .stack-col p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Case Study Narrative Layout
   ========================================================================== */
.case-study {
  margin: 8px 0 56px;
}

.case-study-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 36px 0;
  border-top: 2px solid var(--ink);
  align-items: start;
}

.case-study-section:first-child {
  border-top-width: var(--border-width);
}

.case-study-heading {
  grid-column: 1/5;
  max-width: 15ch;
  font-family: var(--macro);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: uppercase;
  font-weight: 900;
}

.case-study-copy {
  grid-column: 5/12;
  min-width: 0;
}

.case-study-copy p {
  margin: 0;
  max-width: 65ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

.case-study-outcome {
  margin-top: 20px;
  padding: 32px;
  border: var(--border);
  box-shadow: 6px 6px 0 var(--ink);
  border-radius: 14px;
  background: var(--tint-yellow);
}

.case-study-outcome .case-study-copy {
  grid-column: 5/-1;
}

/* ==========================================================================
   Process Research (Cirrus) & Decisions
   ========================================================================== */
.process-research {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 0 40px;
  border-top: 2px solid var(--ink);
}

.process-research-copy {
  grid-column: 1/5;
}

.process-research-copy h3 {
  font-family: var(--macro);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  margin: 0 0 20px;
  text-transform: uppercase;
  font-weight: 900;
}

.process-research-copy p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 40ch;
}

.process-research > .process-media-grid {
  grid-column: 5/12;
  margin-top: 0;
}

.process-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  margin-top: 24px;
}

.process-media-grid.is-wide {
  grid-template-columns: 1fr;
}

.process-media-figure {
  margin: 0;
  min-width: 0;
}

.process-media-button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 2px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: 10px;
  background: #FFFFFF;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

html.dark-theme .process-media-button {
  background: #222228;
}

.process-media-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.process-media-button img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
}

.process-media-grid.is-wide .process-media-button img {
  height: auto;
  max-height: 620px;
}

.process-media-figure figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.process-decisions {
  margin: 24px 0 0;
}

.process-decisions > div {
  border-top: 2px solid var(--ink);
  padding: 18px 0;
}

.process-decisions dt {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 8px;
}

.process-decisions dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ==========================================================================
   Universal Bento Section & Process Bento Grid
   ========================================================================== */
.section-bento-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: var(--border);
  padding-top: clamp(20px, 2.5vw, 36px);
  margin-top: clamp(48px, 6vw, 84px);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-bento-title {
  font-family: var(--macro);
  font-size: clamp(30px, 4.5vw, 68px);
  letter-spacing: -.05em;
  line-height: .9;
  text-transform: uppercase;
  margin: 0;
  font-weight: 900;
}

.section-bento-title::before {
  content: "///";
  color: var(--accent);
  text-shadow: 1.5px 1.5px 0 var(--ink);
  font-family: var(--mono);
  font-size: .42em;
  letter-spacing: .05em;
  margin-right: .8em;
  vertical-align: .35em;
}

.section-bento-count {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111;
  background: var(--accent);
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  border-radius: 4px;
}

/* Universal Bento Column Spans */
.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-7  { grid-column: span 7; }
.bento-col-6  { grid-column: span 6; }
.bento-col-5  { grid-column: span 5; }
.bento-col-4  { grid-column: span 4; }

.process-bento-section {
  margin-top: clamp(48px, 6vw, 84px);
}

.process-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: none;
}

.process-bento-tile {
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 32px);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.process-bento-tile:nth-child(odd) { background: var(--sheet); }
.process-bento-tile:nth-child(even) { background: var(--paper); }
.process-intro-tile { background: var(--tint-cyan) !important; }

.process-intro-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 28px;
  align-items: start;
}

.process-intro-heading {
  font-family: var(--macro);
  font-size: clamp(22px, 2.5vw, 36px);
  letter-spacing: -.04em;
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 900;
}

.process-intro-copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  max-width: 44ch;
}

.bento-step-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.bento-step-title {
  font-family: var(--macro);
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -.03em;
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 900;
}

.bento-step-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 54ch;
}

.bento-media-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.bento-media-grid > .bento-media-figure {
  flex: 1 1 200px;
  min-width: 0;
}

.bento-media-grid[data-count="1"] > .bento-media-figure {
  flex-basis: 100%;
}

.bento-media-grid[data-count="2"] > .bento-media-figure,
.bento-media-grid[data-count="4"] > .bento-media-figure {
  flex-basis: calc(50% - 6px);
}

.bento-media-grid[data-count="3"] > .bento-media-figure,
.bento-media-grid[data-count="5"] > .bento-media-figure,
.bento-media-grid[data-count="6"] > .bento-media-figure {
  flex-basis: calc(33.333% - 8px);
}

.bento-media-grid.is-wide {
  display: grid;
  grid-template-columns: 1fr;
}

.bento-media-figure {
  margin: 0;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

html.dark-theme .bento-media-figure {
  background: #222228;
}

.bento-media-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: inherit;
  border: 0;
  cursor: pointer;
  position: relative;
}

.bento-media-btn img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform .2s ease;
  position: relative;
  z-index: 10;
}

.bento-media-grid.is-wide .bento-media-btn img {
  height: auto;
  max-height: 640px;
}

.bento-media-btn:hover img {
  transform: scale(1.03);
}

.bento-media-caption {
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
  line-height: 1.4;
}

.bento-decisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 0;
}

.bento-decision-item {
  background: var(--sheet);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 8px;
  padding: 16px 18px;
}

.bento-decision-title {
  display: block;
  font-family: var(--macro);
  font-size: 14px;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 800;
}

.bento-decision-title::before {
  content: "/// ";
  color: var(--accent-orange);
  font-family: var(--mono);
  font-size: 10px;
}

.bento-decision-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.todo-box {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 11.5px;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 2px dashed var(--ink);
  background: var(--tint-yellow);
  border-radius: 8px;
  margin-top: auto;
}

.todo-box::before {
  content: "[ TO ADD ] ";
  color: var(--accent-orange);
  font-weight: 800;
  margin-right: .6em;
}

/* User Research Persona & Moodboard */
.research-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.research-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  background: var(--sheet);
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: 12px;
}

.research-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.persona-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.persona-fact {
  flex: 1 1 120px;
  min-width: 0;
  padding: 8px 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}

.persona-fact dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.persona-fact dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.persona-section h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.persona-section p, .persona-section li {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
}

.persona-section ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.1em;
}

.moodboard-title {
  margin: 0;
  font-family: var(--macro);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 900;
}

.moodboard-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.moodboard-card .bento-media-grid {
  margin-top: 0;
  padding-top: 4px;
}



/* ==========================================================================
   Documentation Bento Grid (Final & Project)
   ========================================================================== */
.gallery-section {
  margin-top: clamp(48px, 6vw, 84px);
}

.doc-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: none;
}

.doc-bento-tile {
  margin: 0;
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.doc-bento-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.doc-bento-tile[hidden] {
  display: none;
}

.doc-bento-tile .bento-head {
  padding: 12px 16px 10px;
  margin: 0;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.doc-bento-btn {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 220px;
  padding: clamp(12px, 1.8vw, 24px);
  background: #FFFFFF;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

html.dark-theme .doc-bento-btn {
  background: #222228;
}

.doc-bento-btn img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  transition: transform .25s ease;
  position: relative;
  z-index: 10;
}

.doc-bento-tile.bento-col-8 .doc-bento-btn img { max-height: 520px; }
.doc-bento-tile.bento-col-4 .doc-bento-btn img { max-height: 300px; }

.doc-bento-tile:hover .doc-bento-btn img {
  transform: scale(1.03);
}

.doc-bento-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-weight: 700;
}

.doc-bento-cap-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-bento-cap-zoom {
  font-size: 16px;
  color: var(--accent-orange);
  line-height: 1;
  font-weight: 900;
}

.gallery-more {
  display: block;
  width: 100%;
  margin: 24px 0 0;
  padding: 15px 20px;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #111;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  cursor: pointer;
  transition: all .15s ease;
}

.gallery-more:hover {
  background: var(--accent-cyan);
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.gallery-more:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

/* Collection Item Groups */
.collection-item-group {
  margin-top: clamp(36px, 4vw, 56px);
}
.collection-item-group:first-of-type {
  margin-top: 0;
}
.item-group-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 14px 20px;
  background: var(--tint-yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  margin-bottom: 16px;
}
.item-group-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.item-group-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  background: var(--accent-orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: .06em;
}
.item-group-title {
  font-family: var(--macro);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0;
  color: var(--ink);
}
.item-group-spec {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
}
.item-group-count {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ink);
  white-space: nowrap;
}

/* Spec Sheet Accordion */
.spec-sheet {
  margin-top: 64px;
  border-top: var(--border);
}

.spec-sheet summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--macro);
  text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 52px);
  letter-spacing: -.04em;
  line-height: .9;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.spec-sheet summary::-webkit-details-marker {
  display: none;
}

.spec-sheet summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 8px;
  background: var(--sheet);
  font-family: var(--mono);
  font-size: 28px;
  line-height: 1;
}

.spec-sheet[open] summary::after {
  content: "\2212";
  background: var(--accent);
}

.spec-sheet summary:hover {
  color: var(--accent-orange);
}

.release {
  margin: 48px 0 0;
  padding-top: 20px;
  border-top: var(--border);
  font-size: 11.5px;
  font-family: var(--mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.release-copy {
  margin: 0;
  flex: 1 1 480px;
  line-height: 1.65;
  color: var(--ink);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.release-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.release a,
.release-link {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--accent);
  padding: 8px 14px;
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all .12s ease;
}

.release a:hover,
.release-link:hover {
  background: var(--accent-cyan);
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4px 4px 0 var(--ink);
}

.release a:active,
.release-link:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 72px;
}

.project-nav a {
  display: block;
  padding: 24px;
  text-decoration: none;
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  color: var(--ink);
  transition: all .15s ease;
}

.project-nav a:last-child {
  text-align: right;
}

.project-nav small {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  margin-bottom: 12px;
  background: var(--accent);
  color: #111;
  padding: 2px 6px;
  border: 1px solid var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  border-radius: 4px;
  font-weight: 800;
}

.project-nav strong {
  font-family: var(--macro);
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 44px);
  letter-spacing: -.04em;
  line-height: .95;
  display: block;
}

.project-nav a:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
  background: var(--tint-yellow);
}

.project-nav a:last-child:hover {
  background: var(--tint-cyan);
}

.not-found {
  padding-block: 100px;
}

.not-found h1 {
  font-size: clamp(40px, 8vw, 120px);
  line-height: .85;
  margin-bottom: 24px;
}

.image-error {
  display: block;
  padding: 32px;
  background: var(--tint-yellow);
  font-family: var(--mono);
  font-size: 12px;
  border: 2px dashed var(--ink);
  border-radius: 8px;
}

/* ==========================================================================
   Archive Page
   ========================================================================== */
.archive-page {
  padding-bottom: 80px;
}

.archive-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.archive-title-wrap {
  min-width: 0;
}

.archive-lead {
  max-width: 50ch;
  margin: 0;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 1.6;
  color: var(--muted);
}

.archive-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}

.archive-filter-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

.archive-filter-btn {
  background: var(--sheet);
  border: 2px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
  transition: all .15s ease;
}

.archive-filter-btn:hover {
  background: var(--tint-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.archive-filter-btn.active {
  background: var(--accent);
  color: #111;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: none;
}

.archive-tile {
  aspect-ratio: 1/1;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all .15s ease-out;
  color: var(--ink);
}

.archive-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
  background: var(--tint-yellow);
  z-index: 10;
}

.archive-tile:hover .tile-info {
  background: transparent;
}

.archive-tile:hover .tile-title {
  color: var(--accent-orange);
}

.archive-tile-meta {
  grid-column: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.archive-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}

.archive-tile-title-wrap {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archive-tile-cat {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  font-family: var(--prose);
}

/* ==========================================================================
   About Page Bento Grid
   ========================================================================== */
.about-page {
  padding-bottom: 80px;
}

.page-head {
  padding: clamp(28px, 4vw, 64px) 0 clamp(20px, 2.5vw, 36px);
}

.page-eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.page-eyebrow::before {
  content: "///";
  color: var(--accent-orange);
  margin-right: .9em;
}

.page-title {
  margin: 0;
  font-family: var(--macro);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(44px, 9vw, 152px);
  letter-spacing: -.05em;
  line-height: .9;
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.bento-tile {
  background: var(--sheet);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 36px);
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.bento-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.bento-statement { grid-column: span 7; background: var(--tint-yellow); }
.bento-facts { grid-column: span 5; background: var(--tint-cyan); }
.bento-skill-wide { grid-column: span 6; background: var(--sheet); }
.bento-skill-third { grid-column: span 4; background: var(--sheet); }
.bento-experience { grid-column: span 7; background: var(--sheet); }
.bento-education { grid-column: span 5; background: var(--tint-lime); }
.bento-contact { grid-column: span 12; background: var(--sheet); padding: 0; }

.bento-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bento-tag { color: var(--accent-orange); }
.bento-category, .bento-num { color: var(--ink); }

.bento-lead-title {
  font-family: var(--macro);
  font-size: clamp(24px, 3vw, 44px);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-wrap: balance;
  font-weight: 900;
}

.bento-lead-desc {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  max-width: 52ch;
}

.bento-statement .bento-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.bento-facts .bento-body {
  display: grid;
  grid-template-columns: minmax(130px, 150px) 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.bento-portrait {
  margin: 0;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
  background: var(--sheet);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  height: 100%;
  min-height: 165px;
}

.bento-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .25s ease;
}

.bento-tile:hover .bento-portrait img {
  transform: scale(1.03);
}

.bento-facts-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.fact-item {
  border-bottom: 1.5px solid rgba(17, 17, 17, 0.15);
  padding-bottom: 5px;
}

.fact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-item dt {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.fact-item dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.bento-cv-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  background: var(--accent);
  color: #111;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: auto;
  transition: all .15s ease;
}

.bento-cv-cta:hover {
  background: var(--accent-cyan);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.bento-cv-cta:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

.bento-cv-cta .cta-arrow {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.bento-body .tags {
  margin-bottom: 0;
}

.bento-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(17, 17, 17, 0.1);
}

.bento-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bento-row-date {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.bento-row-role {
  font-family: var(--macro);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-transform: uppercase;
  display: block;
  font-weight: 900;
}

.bento-row-org {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
  font-weight: 600;
}

.bento-row-award {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-orange);
  margin-top: 6px;
  display: block;
  line-height: 1.4;
}

.bento-contact .bento-head {
  margin: clamp(20px, 2.5vw, 36px) clamp(20px, 2.5vw, 36px) 0;
}

.bento-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 2.5vw, 36px);
}

.bento-contact-item {
  background: var(--sheet);
  border: 2.5px solid var(--ink);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  border-radius: 12px;
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: all .15s ease;
}

.bento-contact-item .contact-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bento-contact-item .contact-dest {
  grid-column: 1;
  font-family: var(--macro);
  font-size: clamp(14px, 1.35vw, 20px);
  letter-spacing: -.03em;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.bento-contact-item .contact-sym {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  font-size: 24px;
  font-family: var(--mono);
  font-weight: 900;
}

.bento-contact-item:hover {
  background: var(--accent);
  color: #111;
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding-block: 36px 28px;
  margin-top: 96px;
  border-top: var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11.5px;
  font-family: var(--mono);
  font-weight: 700;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 10px, var(--accent) 10px 20px);
}

.site-footer button {
  padding: 12px 18px;
  min-height: 44px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-pill);
  background: var(--sheet);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
}

.site-footer button:hover {
  background: var(--accent);
  color: #111;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.site-footer button:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

/* ==========================================================================
   Lightbox Pop Dialog
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 16px var(--gutter);
}

.lightbox:not([open]) {
  display: none;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: var(--border);
  padding-bottom: 12px;
}

.lightbox-top p {
  font-size: 12px;
  margin: 0;
  font-weight: 800;
  color: var(--accent-orange);
}

.lightbox button {
  min-height: 44px;
  padding: 8px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: var(--radius-pill);
  background: var(--sheet);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
}

.lightbox button:hover:not(:disabled) {
  background: var(--accent);
  color: #111;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.lightbox button:active:not(:disabled) {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 20px 0;
  position: relative;
}

.lightbox-stage img {
  max-width: min(100%, 900px);
  max-height: min(100%, 72vh);
  object-fit: contain;
  background: #FFFFFF;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 12px;
  position: relative;
  z-index: 10;
}

.lightbox-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  border-top: var(--border);
  padding-top: 12px;
}

.lightbox-caption {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Page Shutter Transitions
   ========================================================================== */
.page-shutter {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--accent);
  border: var(--border);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
}

@keyframes shutterDown {
  0% { clip-path: inset(0 0 100% 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes shutterUp {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(100% 0 0 0); }
}

.page-shutter.is-closing {
  animation: shutterDown 0.35s cubic-bezier(0.8, 0, 0.2, 1) forwards;
  pointer-events: all;
}

.page-shutter.is-opening {
  animation: shutterUp 0.35s cubic-bezier(0.8, 0, 0.2, 1) forwards;
  pointer-events: none;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
  .other-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .bento-statement, .bento-facts, .bento-skill-wide, .bento-experience, .bento-education {
    grid-column: span 12;
  }
  .bento-skill-third { grid-column: span 6; }
  .bento-skill-third:last-of-type { grid-column: span 12; }
  .bento-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .case-bento-secondary { grid-column: span 6; }
  .case-bento-tertiary { grid-column: span 6; }
  .case-bento-secondary .case-bento-body,
  .case-bento-tertiary .case-bento-body { grid-template-columns: 1fr; }
  .process-bento-tile.bento-col-6 { grid-column: span 12; }
  .doc-bento-tile.bento-col-8, .doc-bento-tile.bento-col-4 { grid-column: span 6; }
  .doc-bento-tile:last-child:nth-child(odd) { grid-column: span 12 !important; }
  .process-intro-body { grid-template-columns: 1fr; }
  .editorial-spread { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .editorial-spread .spread-text, .editorial-spread .spread-media, .editorial-spread.is-text-only .spread-text { grid-column: 1/-1; }
  .product-grid-1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-highlight { display: block; padding: 24px; }
  .editorial-highlight .highlight-lead { margin: 12px 0 16px; }
  .editorial-stack-spread .stack-columns { grid-template-columns: 1fr; gap: 16px; }
  .editorial-stack-spread .stack-col { grid-column: 1/-1; }
  .case-study-copy { grid-column: 5/-1; }
  .process-research-copy { grid-column: 1/-1; }
  .process-research-copy p { max-width: 65ch; }
  .process-research > .process-media-grid { grid-column: 1/-1; }
  .research-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-header-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  .site-header { position: static; padding-top: 10px; }
  html { scroll-padding-top: 16px; }
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 0; }
  .brand { flex: 1 0 100%; padding: 12px 0 8px; }
  .logo { font-size: 14px; }
  .brand-role { font-size: 9px; }
  .site-nav { flex: 1 0 100%; gap: 12px; padding-bottom: 8px; justify-content: space-between; flex-wrap: wrap; }
  .nav-mark { display: none; }
  .site-nav a { font-size: 11px; white-space: nowrap; padding: 6px 0; }
  .footer-controls { margin-block: 4px; }
  .theme-toggle, .style-seg { font-size: 10px; }
  .case-bento-lead,
  .case-bento-secondary,
  .case-bento-tertiary { grid-column: span 12; padding: 18px; }
  .case-bento-body { grid-template-columns: 1fr !important; gap: 16px; }
  .other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { margin-top: 64px; flex-wrap: wrap; }
  .project-header { display: block; padding-block: 24px 28px; }
  .project-header .project-kicker { display: block; margin-bottom: 20px; }
  .project-header h1 { font-size: clamp(38px, 13vw, 72px); }
  .project-header .project-lead { margin-top: 20px; font-size: 17px; }
  .project-cover { margin-bottom: 32px; }
  .project-cover img { height: auto; max-height: 65dvh; min-height: 260px; }
  .project-section { display: block; padding-block: 22px; }
  .project-section h2 { margin: 0 0 14px; }
  .process-bento-tile, .doc-bento-tile { grid-column: span 12 !important; padding: 18px; }
  .doc-bento-btn { min-height: 180px; }
  .doc-bento-btn img { max-height: 280px !important; }
  .process-bento-section, .gallery-section { margin-top: 40px; }
  .item-group-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .project-nav { grid-template-columns: 1fr; margin-top: 48px; }
  .project-nav a:last-child { text-align: left; }
  .lightbox { padding: 12px 16px; }
  .lightbox-bottom { gap: 10px; }
  .lightbox button { padding: 8px 10px; font-size: 11px; }
  .case-study-section { grid-template-columns: 1fr; gap: 16px; padding-block: 28px; }
  .case-study-heading, .case-study-copy, .case-study-outcome .case-study-copy { grid-column: 1/-1; }
  .case-study-heading { max-width: none; }
  .case-study-outcome { padding: 24px 20px; }
  .process-jump { margin-top: 20px; }
  .process-research { display: block; }
  .process-research > .process-media-grid { margin-top: 24px; }
  .process-media-grid { grid-template-columns: 1fr; }
  .process-media-button img { height: auto; max-height: 440px; }
  .bento-skill-third { grid-column: span 12; }
  .bento-row { grid-template-columns: 1fr; gap: 4px; }
  .bento-tile { padding: 18px; }
  .bento-contact .bento-head { margin: 18px 18px 0; }
  .bento-lead-title br { display: none; }
  .bento-media-grid[data-count="3"] > .bento-media-figure,
  .bento-media-grid[data-count="5"] > .bento-media-figure,
  .bento-media-grid[data-count="6"] > .bento-media-figure { flex-basis: calc(50% - 6px); }
  .work-header { flex-wrap: wrap; row-gap: 14px; }
  .work-header h1, .work-header h2 { flex: 1 1 100%; font-size: clamp(28px, 8.4vw, 44px); }
  .hero-statement-meta { flex-wrap: wrap; row-gap: 6px; }
  .view-toggle { margin-left: auto; }
}

@media (max-width: 500px) {
  .archive-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================================
   PROJECT 13 — Visual Brand Guidelines & Design System Components
   ============================================================================= */

/* 1. Metric Strip */
.metric-strip-section {
  margin: 32px 0;
  padding: 0;
}
.metric-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.metric-card {
  background: var(--paper, #f4f4f0);
  border: 1px solid var(--ink, #111);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease;
}
.metric-card:hover {
  transform: translateY(-2px);
}
.metric-val {
  font-family: var(--font-mono, monospace);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent, #ed872d);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.metric-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink, #111);
  margin-bottom: 4px;
  line-height: 1.3;
}
.metric-sub {
  font-size: 11px;
  color: var(--muted, #666);
  line-height: 1.35;
}

/* 2. Visual Swatch Palette */
.swatch-palette-section {
  margin: 48px 0;
}
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.swatch-card {
  background: var(--paper, #f4f4f0);
  border: 1px solid var(--ink, #111);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.swatch-card:hover {
  transform: translateY(-2px);
}
.swatch-chip {
  height: 54px;
  width: 100%;
  border-bottom: 1px solid var(--ink, #111);
  position: relative;
}
.swatch-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.swatch-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.swatch-name {
  font-family: var(--font-sans, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink, #111);
}
.swatch-hex {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--muted, #666);
  background: rgba(0,0,0,0.05);
  padding: 2px 6px;
  border: 1px solid rgba(0,0,0,0.1);
}
.swatch-role {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #ed872d);
}
.swatch-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted, #4a4a46);
  margin: 4px 0 0;
}

/* 3. Visual Modular Cards (One Person Two Modes, Subcultures, etc.) */
.visual-cards-section {
  margin: 48px 0;
}
.visual-cards-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.visual-cards-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.visual-cards-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.v-card {
  background: var(--paper, #f4f4f0);
  border: 1px solid var(--ink, #111);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.v-card.dark-theme {
  background: #181816;
  color: #f4f4f0;
  border-color: #333;
}
.v-card.dark-theme .v-card-title,
.v-card.dark-theme .v-card-tag,
.v-card.dark-theme .v-chip {
  color: #f4f4f0;
}
.v-card.dark-theme .v-card-category {
  color: #888;
}
.v-card.dark-theme .v-card-lead,
.v-card.dark-theme .v-card-list li {
  color: #bbb;
}
.v-card.dark-theme .v-chip {
  background: #282824;
  border-color: #444;
}
.v-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.v-card.dark-theme .v-card-head {
  border-bottom-color: rgba(255,255,255,0.1);
}
.v-card-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent, #ed872d);
}
.v-card-category {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted, #666);
}
.v-card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.25;
}
.v-card-lead {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #4a4a46);
  margin: 0 0 14px;
}
.v-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.v-chip {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 2px;
}
.v-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-card-list li {
  font-size: 12.5px;
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}
.v-card-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent, #ed872d);
  font-weight: bold;
}
.v-card-media {
  margin: 0 0 16px;
  border: var(--border, 2px solid #111);
  box-shadow: var(--shadow-sm, 3px 3px 0 #111);
  border-radius: 6px;
  background: var(--surface, #fff);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 280px;
}
.v-card-media-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.v-card-media-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.v-card:hover .v-card-media-btn img {
  transform: scale(1.03);
}

/* Split Visual Card (Portrait Media Left + Info Right) */
.v-card-has-media .v-card-body {
  display: grid;
  grid-template-columns: minmax(180px, 38%) 1fr;
  gap: 20px;
  align-items: stretch;
  flex: 1;
  margin-top: 4px;
}
.v-card-has-media .v-card-media {
  margin: 0;
  height: 100%;
  min-height: 280px;
  max-height: none;
  aspect-ratio: unset;
  display: flex;
  flex-direction: column;
}
.v-card-has-media .v-card-media-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px 10px;
  box-sizing: border-box;
}
.v-card-has-media .v-card-media-btn img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.v-card-has-media .v-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.v-card-has-media .v-card-info .v-card-title {
  margin: 0 0 8px;
}
.v-card-has-media .v-card-info .v-card-lead {
  margin: 0 0 12px;
}
.v-card-has-media .v-card-info .v-card-link {
  margin-top: auto;
  padding-top: 14px;
}
.v-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange, #ED872D);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.v-card-link:hover {
  color: var(--ink, #111);
  text-decoration: underline;
  transform: translateX(3px);
}

/* 4. Anti-Jargon Dictionary Cards */
.dictionary-section {
  margin: 48px 0;
}
.dictionary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.dict-card {
  background: var(--paper, #f4f4f0);
  border: 1px solid var(--ink, #111);
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
  transition: transform 0.15s ease;
}
.dict-card:hover {
  transform: translateY(-2px);
}
.dict-bad {
  background: rgba(0,0,0,0.03);
  border: 1px dashed rgba(0,0,0,0.2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dict-tag {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.dict-tag-bad {
  color: #999;
}
.dict-tag-good {
  color: var(--accent, #ed872d);
}
.dict-term {
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink, #111);
}
.dict-fact {
  font-size: 11px;
  color: var(--muted, #666);
  line-height: 1.35;
}
.dict-arrow {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent, #ed872d);
  text-align: center;
}
.dict-good {
  background: #fff;
  border: 1px solid var(--ink, #111);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dict-benefit {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink, #111);
  margin: 0;
  font-style: italic;
}

/* 5. Art Direction 8-Canvas Board */
.art-board-section {
  margin: 48px 0;
}
.art-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.art-canvas-card {
  background: var(--paper, #f4f4f0);
  border: 1px solid var(--ink, #111);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.art-canvas-card:hover {
  transform: translateY(-2px);
}
.art-canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.art-canvas-num {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent, #ed872d);
}
.art-canvas-category {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: var(--muted, #666);
}
.art-canvas-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.art-canvas-focus {
  font-size: 12px;
  color: var(--muted, #4a4a46);
  margin: 0 0 10px;
  line-height: 1.4;
}
.art-canvas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  padding-top: 10px;
}
.art-canvas-chip {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.12);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .metric-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
  .art-board-grid { grid-template-columns: repeat(2, 1fr); }
  .visual-cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .visual-cards-grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .metric-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch-grid { grid-template-columns: 1fr; }
  .visual-cards-grid.cols-2,
  .visual-cards-grid.cols-4 { grid-template-columns: 1fr; }
  .dictionary-grid { grid-template-columns: 1fr; }
  .art-board-grid { grid-template-columns: 1fr; }
  .v-card-has-media .v-card-body { grid-template-columns: 1fr; gap: 16px; }
  .v-card-has-media .v-card-media { min-height: 240px; max-height: 320px; aspect-ratio: 4 / 5; }
}

/* =============================================================================
   Architectural Top Progress Bar & Smooth View Transition
   ============================================================================= */
.page-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent, #ed872d);
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 8px rgba(237, 135, 45, 0.4);
  transition: width 0.2s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.12s ease;
}
.page-progress-bar.is-loading {
  opacity: 1;
  width: 70%;
  transition: width 0.25s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.08s ease;
}
.page-progress-bar.is-finishing {
  opacity: 1;
  width: 100%;
  transition: width 0.1s ease-out, opacity 0.15s ease 0.08s;
}
.page-progress-bar.is-loaded {
  opacity: 0;
  width: 100%;
}

.view-reveal {
  animation: viewReveal 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes viewReveal {
  0% {
    opacity: 0.2;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
