/* =========================================================
   theme-2026.css
   Shared visual layer for alisonoentoro.com (2026 refresh).

   Applies a strict black/white palette with Geist
   typography to the home page and all inner pages
   (portfolio/* and art/*). Inner pages keep their existing
   Webflow HTML structure; this stylesheet only overrides
   color, font, and typography hierarchy.

   Activate by adding `theme-2026` class to <body>.
   ========================================================= */

/* ---------- Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

/* ---------- Tokens ---------- */
.theme-2026 {
  --bg: #ffffff;
  --bg-inverse: #000000;
  --bg-accent-dark: #000000;
  --bg-muted: #f4f4f4;

  --text: #000000;
  --text-inverse: #ffffff;
  --text-muted: #6b6b6b;
  --text-muted-inverse: #d1d5dc;

  --border: rgba(0, 0, 0, 0.08);
  --border-inverse: rgba(255, 255, 255, 0.12);

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --max-content: 1200px;
  --max-narrow: 720px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  --space-2xl: 144px;
}

/* ---------- Reset on themed body ---------- */
body.theme-2026 {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font-sans) !important;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-2026 .main-wrapper,
body.theme-2026 .page-wrapper {
  background: var(--bg) !important;
}

/* Kill the Webflow beige */
body.theme-2026 .background-color-beige,
body.theme-2026.background-color-beige {
  background: var(--bg) !important;
}

/* ---------- Typography hierarchy ---------- */
body.theme-2026 h1,
body.theme-2026 h2,
body.theme-2026 h3,
body.theme-2026 h4,
body.theme-2026 h5,
body.theme-2026 h6 {
  font-family: var(--font-sans);
  color: var(--text);
  letter-spacing: -0.02em;
}

body.theme-2026 .heading {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
  text-transform: none !important;
}

body.theme-2026 .heading.top {
  margin-top: var(--space-sm);
}

body.theme-2026 .heading-3,
body.theme-2026 h1.heading.portfolio-page {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  font-size: clamp(32px, 3.6vw, 48px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.015em !important;
  color: var(--text) !important;
}

body.theme-2026 .heading-style-h1 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
}

body.theme-2026 .heading-style-h2 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: clamp(32px, 3.6vw, 44px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

body.theme-2026 .heading-style-h3,
body.theme-2026 .heading-style-h4 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.018em !important;
}

body.theme-2026 .heading-style-h5 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.014em !important;
}

body.theme-2026 .heading-style-h6,
body.theme-2026 .small-title,
body.theme-2026 strong.small-title {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
}

body.theme-2026 .heading-6 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

body.theme-2026 .heading-6.numbers {
  font-family: var(--font-sans) !important;
  font-size: clamp(40px, 4vw, 56px) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--text) !important;
  line-height: 1 !important;
  margin: 0 var(--space-md) 0 0;
}

body.theme-2026 .heading-6.padding-top {
  padding-top: 40px;
}

body.theme-2026 .text-size-medium {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
}

body.theme-2026 .text-size-medium.hero {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  color: var(--text-muted) !important;
}

body.theme-2026 .text-size-large,
body.theme-2026 h6.text-size-large {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.42 !important;
  letter-spacing: -0.012em !important;
  color: var(--text) !important;
}

body.theme-2026 .text-size-regular,
body.theme-2026 .text-size-regular-2,
body.theme-2026 h6.text-size-regular {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  letter-spacing: -0.005em !important;
  color: var(--text) !important;
}

body.theme-2026 .text-size-small {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.005em !important;
  color: var(--text-muted) !important;
}

body.theme-2026 .text-size-small.caption {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.005em !important;
  color: var(--text-muted) !important;
  opacity: 1 !important;
}

body.theme-2026 p,
body.theme-2026 li {
  color: var(--text);
  font-family: var(--font-sans);
}

body.theme-2026 .quote,
body.theme-2026 blockquote.hmw-statement {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  color: var(--text) !important;
  background: transparent !important;
  border-left: 2px solid var(--text) !important;
  padding: var(--space-sm) var(--space-md) !important;
  margin: 40px 0 !important;
  text-transform: none !important;
}

body.theme-2026 .quote::before,
body.theme-2026 blockquote.hmw-statement::before {
  content: "\201C";
}

body.theme-2026 .quote::after,
body.theme-2026 blockquote.hmw-statement::after {
  content: "\201D";
}

body.theme-2026 .hmw-statement .bold-text,
body.theme-2026 .bold-text {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: inherit !important;
  color: var(--text) !important;
}

body.theme-2026 a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

body.theme-2026 a:hover {
  opacity: 0.6;
}

body.theme-2026 .text-style-link-5 {
  color: var(--text) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.theme-2026 strong,
body.theme-2026 b {
  font-weight: 600;
}

body.theme-2026 em,
body.theme-2026 i {
  font-family: var(--font-sans);
  font-style: italic;
}

/* ---------- Buttons ---------- */
body.theme-2026 .button,
body.theme-2026 .button-2 {
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: -0.005em !important;
  background: var(--text) !important;
  color: var(--text-inverse) !important;
  border-radius: 9999px !important;
  padding: 14px 28px !important;
  border: none !important;
  transition: opacity 0.2s ease;
}

body.theme-2026 .button-2.is-secondary {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--text) !important;
}

body.theme-2026 .button:hover,
body.theme-2026 .button-2:hover {
  opacity: 0.85;
}

/* ---------- Navbar (legacy Webflow) ---------- */
body.theme-2026 .navbar1_component {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
  position: sticky;
  top: 0;
  z-index: 50;
}

body.theme-2026 .navbar1_container {
  max-width: var(--max-content);
  padding: 24px 32px;
}

body.theme-2026 .navbar1_logo-link {
  color: var(--text) !important;
}

body.theme-2026 .navbar1_link {
  font-family: var(--font-sans) !important;
  font-weight: 500;
  font-size: 15px;
  color: var(--text) !important;
  letter-spacing: -0.005em;
}

/* The 'is-page-height-tablet' class on the inner-page menu is what was
   producing the full-viewport "weird rectangle" at small sizes. The
   home page replaces this nav entirely; on inner pages, neutralize
   the height bug while keeping menu functionality. */
body.theme-2026 .navbar1_menu.is-page-height-tablet {
  height: auto !important;
  background: var(--bg) !important;
  padding: 0 !important;
  border: 0 !important;
}

@media screen and (max-width: 991px) {
  body.theme-2026 .navbar1_menu {
    height: auto !important;
    background: var(--bg) !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--border) !important;
    overflow: visible !important;
  }

  /* Hide sidebar TOC on tablet and below */
  body.theme-2026 .side-bar-portfolio {
    display: none !important;
  }

  /* Center the main content column when sidebar is hidden */
  body.theme-2026 .main-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  body.theme-2026 .right-side {
    width: 100% !important;
    max-width: 720px !important;
  }
}

/* ---------- Footer ---------- */
body.theme-2026 .footer4_component {
  background: var(--bg-inverse) !important;
  color: var(--text-inverse) !important;
  border-top: 0;
  margin-top: 80px !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.theme-2026 .footer4_component .padding-global,
body.theme-2026 .footer4_component .container-large,
body.theme-2026 .footer4_component .padding-vertical {
  background: transparent !important;
}

body.theme-2026 .footer4_component a,
body.theme-2026 .footer4_logo-link,
body.theme-2026 .footer4_social-link {
  color: var(--text-inverse) !important;
}

body.theme-2026 .footer4_component svg {
  color: var(--text-inverse) !important;
}

body.theme-2026 .footer4_link {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
}

.footer4_component .home2026__logo {
  color: inherit;
  font-size: 18px;
}

/* ---------- Project page header (cover image area) ---------- */
body.theme-2026 .section_portfolio-header {
  background: var(--bg) !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.theme-2026 .portfolio-header6_image-wrapper-2 {
  background: var(--bg-muted) !important;
  border-bottom: 1px solid var(--border);
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: clamp(220px, 36vw, 520px);
}

/* Full-bleed hero: fills wrapper; crop scales with viewport */
body.theme-2026 .portfolio-header6_image-wrapper-2 .portfolio-header6_image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 0 !important;
}

body.theme-2026 .portfolio-header6_metatag-item {
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
}

/* ---------- Project page content ---------- */
body.theme-2026 .section-content {
  background: var(--bg) !important;
  padding-top: 48px;
}

/* Major section separators */
body.theme-2026 .challenges-div,
body.theme-2026 .research-div,
body.theme-2026 .insights-div,
body.theme-2026 .w-layout-hflex.results-section {
  margin-top: 32px;
}

/* Secondary headings within the right content column */
body.theme-2026 .right-side .heading:not(.top):not(.portfolio-page) {
  font-size: clamp(22px, 2.4vw, 30px) !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: -0.012em !important;
  margin-top: 32px;
  margin-bottom: 12px;
}


body.theme-2026 .outcomes-div,
body.theme-2026 .learning-div {
  background-color: var(--bg-muted) !important;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-top: 24px;
}

body.theme-2026 .outcomes-div.no-bg {
  background-color: var(--bg) !important;
}

body.theme-2026 .objectives-block {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.theme-2026 .objectives,
body.theme-2026 .objectives.myq {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  align-self: stretch !important;
  background-color: var(--bg-muted) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 24px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
}

body.theme-2026 .objectives-content {
  gap: 14px !important;
  justify-content: flex-start !important;
}

body.theme-2026 .icon-embed-small {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
}

body.theme-2026 .objectives .text-size-medium,
body.theme-2026 .objectives-content .text-size-medium {
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: -0.003em !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  color: var(--text) !important;
}

body.theme-2026 .div-block-5 {
  padding: 0;
}

/* ── Table of contents ───────────────────────────────────────────────────── */

/* Keep headings clear of the sticky header when scrolled to */
body.theme-2026 .heading[id] {
  scroll-margin-top: 120px;
}

/* Ensure Webflow's "hide" reveal class never hides the sidebar */
body.theme-2026 .side-bar-links-div,
body.theme-2026 .side-bar-links-div.hide {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Each link row */
body.theme-2026 .table-of-contents-link {
  display: block !important;
  border-left: 2px solid transparent !important;
  padding: 6px 0 6px 16px !important;
  margin-bottom: 0 !important;
  text-decoration: none !important;
  opacity: 0.35;
  transition: opacity 0.2s ease, border-color 0.2s ease !important;
}

body.theme-2026 .table-of-contents-link:hover {
  opacity: 0.65 !important;
}

/* Active state: full opacity + black left bar */
body.theme-2026 .table-of-contents-link.is-active {
  border-left-color: var(--text) !important;
  opacity: 1 !important;
}

/* Label text */
body.theme-2026 .side-bar-link {
  display: block !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  /* Prevent Webflow IX2 inline styles from changing color */
  transition: none !important;
}

body.theme-2026 ul.list-3 li {
  margin-bottom: var(--space-xs);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Generic Webflow image wrappers ---------- */
body.theme-2026 .image-wrapper img,
body.theme-2026 img.image,
body.theme-2026 .portfolio1_image-wrapper img {
  border-radius: var(--radius-md);
}

/* ---------- Home page (.home2026 wrapper) ---------- */
.home2026 {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-inverse);
}

.home2026__hero,
.home2026__header {
  background: var(--bg);
}

.home2026 *,
.home2026 *::before,
.home2026 *::after {
  box-sizing: border-box;
}

/* Header */
.home2026__header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid var(--border);
  transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease, backdrop-filter 0.5s ease;
}

.home2026__header.is-light {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.3);
}

.home2026__header.is-dark {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.08);
}

.home2026__header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home2026__logo {
  font-family: var(--font-sans);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.4s ease;
}

.home2026__header .home2026__logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.02em;
}

.home2026__header.is-dark .home2026__logo {
  color: #fff;
}

.home2026__nav {
  display: flex;
  gap: 32px;
}

.home2026__nav a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  transition: color 0.4s ease;
}

.home2026__header.is-dark .home2026__nav a {
  color: #fff;
}

/* Hero */
.home2026__hero {
  width: 100%;
  padding: 96px 32px 64px;
  text-align: center;
  background: var(--bg);
}

body.theme-2026 .home2026__hero h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text);
}

/* Carousel */
.home2026__carousel {
  position: relative;
  margin: 0 auto;
  padding: 64px 32px 96px;
  background: linear-gradient(180deg, #ffffff 0%, #000000 75%, #000000 100%);
  overflow: hidden;
}

.home2026__carousel-stage {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.home2026__card {
  position: absolute;
  width: 500px;
  aspect-ratio: 3 / 2;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.18), 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
  transform-origin: center;
  cursor: pointer;
}

.home2026__card a,
.home2026__card a:hover,
.home2026__card a:focus,
.home2026__card a:active {
  display: block;
  position: absolute;
  inset: 0;
  color: inherit;
  background: transparent !important;
  opacity: 1 !important;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.home2026__card a::before,
.home2026__card a::after,
.home2026__card::before,
.home2026__card::after {
  display: none !important;
  content: none !important;
}

.home2026__card .home2026__card-img,
.home2026__card a:hover .home2026__card-img,
.home2026__card a:focus .home2026__card-img {
  width: 100%;
  height: 100%;
  opacity: 1 !important;
}

.home2026__card .home2026__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

.home2026__card[data-pos="active"]:hover .home2026__card-img {
  transform: scale(1.08);
}

/* Stack positions: prev, active, next, ghost */
/* Fan-arc: outside cards drop down and tilt, as if lying on a curved surface */
.home2026__card[data-pos="prev"] {
  transform: translate(calc(-100% - 32px), 28px) scale(0.88) rotate(-14deg);
  z-index: 1;
  opacity: 0.7;
  filter: saturate(0.75);
}

.home2026__card[data-pos="active"] {
  transform: translate(0, 0) scale(1.06);
  z-index: 3;
  opacity: 1;
}

.home2026__card[data-pos="next"] {
  transform: translate(calc(100% + 32px), 28px) scale(0.88) rotate(14deg);
  z-index: 2;
  opacity: 0.7;
  filter: saturate(0.75);
}

/* Right staging slot: card queued to enter from the right */
.home2026__card[data-pos="far-right"] {
  transform: translate(calc(200% + 64px), 95px) scale(0.76) rotate(26deg);
  z-index: 0;
  opacity: 0.45;
  filter: saturate(0.6);
}

/* Left staging slot: card queued to enter from the left */
.home2026__card[data-pos="far-left"] {
  transform: translate(calc(-200% - 64px), 95px) scale(0.76) rotate(-26deg);
  z-index: 0;
  opacity: 0.45;
  filter: saturate(0.6);
}

/* Departing card going forward: exits off-screen left along the arc */
.home2026__card[data-pos="exit-left"] {
  transform: translate(calc(-300% - 96px), 140px) scale(0.65) rotate(-36deg);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* Departing card going backward: exits off-screen right along the arc */
.home2026__card[data-pos="exit-right"] {
  transform: translate(calc(300% + 96px), 140px) scale(0.65) rotate(36deg);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* True hidden — fallback if more than 4 cards are ever added */
.home2026__card[data-pos="hidden"] {
  transform: translate(0, 30px) scale(0.76);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* Floating cursor-following pill for prev/next cards */
.home2026__cursor-pill {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: opacity 0.18s ease;
  z-index: 60;
  will-change: transform, opacity;
}

.home2026__cursor-pill[data-visible="true"] {
  opacity: 1;
}

/* Carousel meta (between stage and stats) */
.home2026__carousel-meta {
  max-width: var(--max-content);
  margin: 56px auto 0;
  padding: 0 32px;
  text-align: center;
}

body.theme-2026 .home2026__project-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-inverse);
  margin: 0;
}

body.theme-2026 .home2026__project-tagline {
  margin: 12px auto 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  white-space: pre-line;
  color: var(--text-inverse);
  max-width: 56ch;
}

.home2026__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.home2026__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.25s ease,
    width 0.25s ease;
}

.home2026__dot[data-active="true"] {
  background: var(--text-inverse);
  width: 24px;
}

/* Stats row — solid black section below carousel */
.home2026__stats-section {
  background: var(--bg-inverse);
  padding: 24px 32px 72px;
}

.home2026__stats {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.home2026__stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.home2026__stat-value {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text-inverse);
}

.home2026__stat-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted-inverse);
  max-width: 28ch;
}

/* ── Sub-desktop: always hide the 4th/5th staging cards ── */
@media (max-width: 1199px) {
  .home2026__card[data-pos="far-right"],
  .home2026__card[data-pos="far-left"] {
    opacity: 0 !important;
    pointer-events: none;
  }
}

/* ── Tablet: 768 px – 1199 px (includes iPad mini) ── */
@media (min-width: 768px) and (max-width: 1199px) {
  .home2026__carousel-stage {
    height: 320px;
  }

  .home2026__card {
    width: min(340px, 40vw);
  }

  .home2026__card[data-pos="prev"] {
    transform: translate(calc(-90% - 12px), 28px) scale(0.88) rotate(-12deg);
  }

  .home2026__card[data-pos="active"] {
    transform: translate(0, 0) scale(1.04);
  }

  .home2026__card[data-pos="next"] {
    transform: translate(calc(90% + 12px), 28px) scale(0.88) rotate(12deg);
  }
}

/* ── Mobile: up to 767 px ── */
@media (max-width: 767px) {
  .home2026__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .home2026__stat-value {
    font-size: clamp(20px, 5vw, 32px);
  }

  .home2026__stat-label {
    font-size: 11px;
    line-height: 1.4;
  }

  body.theme-2026 .objectives-block {
    flex-direction: column !important;
  }

  /* Carousel — shrink cards so all 3 fit in phone viewport */
  .home2026__carousel {
    padding: 40px 0 64px;
  }

  .home2026__carousel-stage {
    height: 180px;
    perspective: 800px;
  }

  .home2026__card {
    width: 38vw;
    max-width: 160px;
  }

  .home2026__card[data-pos="prev"] {
    transform: translate(calc(-100% - 8px), 16px) scale(0.8) rotate(-10deg);
  }

  .home2026__card[data-pos="active"] {
    transform: translate(0, 0) scale(1);
  }

  .home2026__card[data-pos="next"] {
    transform: translate(calc(100% + 8px), 16px) scale(0.8) rotate(10deg);
  }

  .home2026__card[data-pos="exit-left"] {
    transform: translate(calc(-320% - 32px), 80px) scale(0.45) rotate(-28deg);
  }

  .home2026__card[data-pos="exit-right"] {
    transform: translate(calc(320% + 32px), 80px) scale(0.45) rotate(28deg);
  }
}

/* Work cards (card-comp) — black band, matches stats / featured */
.home2026__work-cards {
  background: var(--bg-inverse);
  padding: 0 32px 80px;
  --card-font-family: var(--font-sans);
}

.home2026__work-cards-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.home2026__work-cards-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-inverse);
  margin: 0 0 40px;
  text-align: center;
}

/* Webflow bundle + `body.theme-2026 a` can override card-comp; force white on meta + spans */
body.theme-2026 .home2026__work-cards a.work-card__link {
  color: #ffffff !important;
}

body.theme-2026 .home2026__work-cards .work-card__meta,
body.theme-2026 .home2026__work-cards .work-title-wrapper {
  color: #ffffff !important;
}

body.theme-2026 .home2026__work-cards .work-title,
body.theme-2026 .home2026__work-cards .work-card__title,
body.theme-2026 .home2026__work-cards .work-card__sep {
  color: #ffffff !important;
}

/* Do not apply global `a:hover { opacity: 0.6 }` to the whole card (dims thumbnail + bg) */
body.theme-2026 .home2026__work-cards a.work-card__link:hover {
  opacity: 1;
}

/* Featured (single-card) row at the top of Selected work — keep height in line
   with the two-up rows below by using a wider, hero-style aspect ratio. */
@media screen and (min-width: 992px) {
  .card-row--feature .work-card__link,
  .card-row--feature .work-wrapper {
    aspect-ratio: 21 / 9;
  }

  .card-row--feature .work-card__thumb,
  .card-row--feature .project-card-thumbnail-wrapper {
    width: min(40%, 620px);
  }
}

/* Featured tile */
.home2026__featured {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 32px 32px 128px;
  background: var(--bg-inverse);
}

.home2026__featured-section {
  background: var(--bg-inverse);
}

.home2026__featured-section .home2026__featured {
  background: transparent;
}

.home2026__featured-inner {
  position: relative;
  background: var(--bg-accent-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 905 / 640;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.home2026__featured-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.75) 60%,
      rgba(0, 0, 0, 0.9) 100%
    );
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.home2026__featured-inner:hover::after {
  opacity: 0.92;
}

.home2026__featured-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}

.home2026__featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home2026__featured-inner:hover .home2026__featured-img {
  transform: scale(1.03);
}

.home2026__featured-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--text-inverse);
  padding: 48px 32px 40px;
  width: 100%;
}

.home2026__play {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  background: var(--text-inverse);
  color: var(--bg-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.home2026__featured-inner:hover .home2026__play {
  transform: scale(1.06);
}

.home2026__play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.home2026__featured-caption-label {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.home2026__featured-caption-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-inverse);
  margin: 0;
  max-width: 32ch;
}

/* About */
.home2026__about {
  background: var(--bg-inverse);
  color: var(--text-inverse);
  padding: 144px 32px;
  margin-top: 0;
  scroll-margin-top: 96px;
}

.home2026__about-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.home2026__about-bio {
  max-width: 905px;
}

body.theme-2026 .home2026__about-name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(56px, 7vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--text-inverse);
}

body.theme-2026 .home2026__about-name .who-is {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.home2026__about-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  margin-top: 48px;
}

.home2026__cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home2026__cred-primary {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-inverse);
}

.home2026__cred-secondary {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

body.theme-2026 .home2026__about-bio p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 24px;
}

body.theme-2026 .home2026__about-bio a {
  color: var(--text-inverse);
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.theme-2026 .home2026__about-bio a:hover {
  opacity: 0.7;
}

body.theme-2026 .home2026__cred-value {
  color: var(--text-inverse);
}

body.theme-2026 .home2026__cred-label {
  color: var(--text-muted-inverse);
}

@media (max-width: 900px) {
  .home2026__about {
    padding: 96px 32px;
  }
  .home2026__about-inner {
    gap: 48px;
  }
  .home2026__about-creds {
    gap: 32px;
    margin-top: 32px;
  }
  body.theme-2026 .home2026__hero h1 {
    font-size: clamp(14px, 2vw, 18px);
    max-width: 44ch;
  }
}

@media (max-width: 540px) {
  .home2026__about-creds {
    flex-direction: column;
    gap: 24px;
  }
  .home2026__hero {
    padding: 64px 24px 48px;
  }
  body.theme-2026 .home2026__hero h1 {
    font-size: clamp(12px, 3.2vw, 15px);
    max-width: 40ch;
  }
  .home2026__carousel {
    padding: 32px 16px 64px;
  }
  .home2026__featured {
    padding: 24px 24px 96px;
  }
}

/* Hide legacy "weird rectangle" navbar menu collapse on home */
.home2026 ~ * .navbar1_menu.is-page-height-tablet,
.home2026 .navbar1_menu.is-page-height-tablet {
  height: auto !important;
}

/* Show portfolio meta-tag grid (Discipline / Platform / Duration / Website).
   The shared Webflow CSS hides .portfolio-header6_metatag-list-2; we re-enable
   it so portfolio case studies can surface key project metadata in a clean,
   single-column list at the end of the project header. */
body.theme-2026 .portfolio-header6_metatag-list-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.25rem;
  margin-top: 1.5rem;
}

body.theme-2026 .image-2 {
  margin-top: 3rem;
}

/* ---------- ArtSense inline video player ---------- */
body.theme-2026 .artsense-player {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

body.theme-2026 .artsense-player__video {
  width: 100%;
  display: block;
  border-radius: 0;
}

body.theme-2026 .artsense-player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.52));
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

body.theme-2026 .artsense-player:hover .artsense-player__controls {
  opacity: 1;
  pointer-events: auto;
}

body.theme-2026 .artsense-player__scrubber {
  width: 100%;
  padding: 10px 0;
  cursor: pointer;
}

body.theme-2026 .artsense-player__track {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
}

body.theme-2026 .artsense-player__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 9999px;
  pointer-events: none;
  transition: width 0.1s linear;
}

body.theme-2026 .artsense-player__thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 9999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: left 0.1s linear;
}


/* ---------- Section chip (TOC label pill above section headline) ---------- */
body.theme-2026 .section-chip-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.theme-2026 .section-chip {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  line-height: 1.4;
  width: fit-content;
}
