/* ═══════════════════════════════════════════════════════════
   Julian Lucas Wohlleber — Portfolio
   Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@font-face { font-family: 'Bio Sans'; src: url('fonts/BioSans-Regular.woff2') format('woff2'), url('fonts/BioSans-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bio Sans'; src: url('fonts/BioSans-Light.woff2') format('woff2'), url('fonts/BioSans-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bio Sans'; src: url('fonts/BioSans-SemiBold.woff2') format('woff2'), url('fonts/BioSans-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bio Sans'; src: url('fonts/BioSans-Bold.woff2') format('woff2'), url('fonts/BioSans-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bio Sans'; src: url('fonts/BioSans-Italic.woff2') format('woff2'), url('fonts/BioSans-Italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }

/* ── Design Tokens ── */
:root {
  --blue:       #2b3fa0;
  --primary:    #c7dbe8;
  --primary-dk: #9bbdd4;
  --primary-xl: #f0f6fa;
  --ink:        #0f0f12;
  --ink-mid:    #3a3a3a;
  --ink-muted:  #8a8a8a;
  --bg:         #ffffff;
  --line:       #e8e8e5;
  --nav-h:      60px;
  --content-w:  680px;
  --wide-w:     1100px;
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Bio Sans', 'Arial', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* ── Nav ── */
.site-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 56px; z-index: 100; }
.nav-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; z-index: 101; }
.nav-logo-img { height: 48px; width: auto; }
.nav-back { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); text-decoration: none; transition: opacity 0.2s; }
.nav-back:hover { opacity: 0.6; }
.nav-projects { display: flex; gap: 24px; align-items: center; }
.nav-projects a { font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav-projects a:hover { color: var(--blue); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }

/* ── Hero (Index) ── */
.hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; padding-left: 56px; padding-right: 56px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 520px; gap: 40px; align-items: start; }
.hero-name { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; text-decoration: underline; text-underline-offset: 3px; }
.hero-headline { font-family: var(--font-head); font-size: clamp(72px, 10vw, 130px); line-height: 0.9; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); margin-bottom: 40px; }
.hero-body { font-size: 17px; font-weight: 400; line-height: 1.75; color: var(--ink-mid); max-width: 600px; margin-bottom: 36px; }
.hero-body a { color: var(--blue); }
.hero-links { display: flex; list-style: none; flex-wrap: wrap; }
.hero-links li + li::before { content: ' :: '; color: var(--ink-muted); margin: 0 8px; }
.hero-links a { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.hero-image { padding-top: 0; margin-top: -72px; display: flex; justify-content: flex-end; }
.hero-image img { width: 520px; object-fit: cover; }

/* ── Section Header ── */
.section-header { max-width: 1200px; margin: 0 auto; padding: 32px 56px 36px; border-top: 2px solid var(--ink); }
.section-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }

/* ── Work Grid (Index) ── */
.work-grid { max-width: 1200px; margin: 0 auto; padding: 0 56px 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.work-card { display: block; text-decoration: none; position: relative; }
.work-card:first-child { grid-column: span 2; }
.work-card-bg { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 6px; position: relative; overflow: hidden; cursor: crosshair; }
.work-card:first-child .work-card-bg { aspect-ratio: 16/8; }
/* Background image container for zoom */
.work-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.work-card-vid { position: absolute; inset: 0; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.work-card:hover .work-card-vid { transform: scale(1.04); }
/* Corner crop marks — thin, close to edges, fade in on hover (like above.se) */
.work-card-bg::before, .work-card-bg::after { content: ''; position: absolute; width: 28px; height: 28px; border-color: rgba(255,255,255,0.9); border-style: solid; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.work-card-bg::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.work-card-bg::after { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.work-card-marks { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.work-card-marks::before, .work-card-marks::after { content: ''; position: absolute; width: 28px; height: 28px; border-color: rgba(255,255,255,0.9); border-style: solid; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.work-card-marks::before { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.work-card-marks::after { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
/* Crosshair plus sign */
.work-card-crosshair { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.work-card-crosshair::before, .work-card-crosshair::after { content: ''; position: absolute; background: rgba(255,255,255,0.85); }
.work-card-crosshair::before { width: 20px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.work-card-crosshair::after { width: 1px; height: 20px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
/* Permanent full-size tint (ClassSpaces only) */
.work-card-tint { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.c2 .work-card-tint { background: rgba(180,100,105,0.12); }
/* Hover overlay — inset to match corners, dark + project-tinted */
.work-card-overlay { position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
/* Hover state — reveal everything + zoom image */
.work-card:hover .work-card-bg::before, .work-card:hover .work-card-bg::after,
.work-card:hover .work-card-marks::before, .work-card:hover .work-card-marks::after,
.work-card:hover .work-card-crosshair { opacity: 1; }
.work-card:hover .work-card-overlay { opacity: 1; }
.work-card:hover .work-card-img { transform: scale(1.04); }
/* Card colors + per-project dark tinted overlays */
.c1 .work-card-bg { background-color: #c7dbe8; background: linear-gradient(135deg, #c7dbe8 0%, #9bbdd4 100%); }
.c1 .work-card-overlay { background: rgba(60,90,120,0.35); }
.c2 .work-card-bg { background-color: #e8cfd0; background: linear-gradient(135deg, #e8cfd0 0%, #d4a0a3 100%); }
.c2 .work-card-overlay { background: rgba(120,60,65,0.35); }
.c3 .work-card-bg { background-color: #c7d5e8; background: linear-gradient(135deg, #c7d5e8 0%, #9bb4d4 100%); }
.c3 .work-card-overlay { background: rgba(50,70,110,0.35); }
.c4 .work-card-bg { background-color: #d0e6d5; background: linear-gradient(135deg, #d0e6d5 0%, #a0c9a8 100%); }
.c4 .work-card-overlay { background: rgba(40,80,50,0.35); }
.c5 .work-card-bg { background-color: #e0dac7; background: linear-gradient(135deg, #e0dac7 0%, #c8b89b 100%); }
.c5 .work-card-overlay { background: rgba(90,75,50,0.35); }
.work-card-info { padding: 20px 4px 0; }
.work-card-title { font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; text-transform: none; }
.work-card:first-child .work-card-title { font-size: 22px; }
.work-card-desc { font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink-mid); margin-top: 6px; }
.work-card-tag { display: inline-block; margin-top: 14px; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-muted); padding: 5px 14px; border: 1px solid var(--line); border-radius: 100px; text-transform: none; }
.work-card-tag::before { content: '• '; }
.work-card-cta { display: none; }

/* ── About (Index) ── */
.about-strip { background: var(--primary); padding: 80px 56px; border-top: 2px solid var(--primary-dk); }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-headline { font-family: var(--font-head); font-size: clamp(44px, 5.5vw, 72px); line-height: 0.92; text-transform: uppercase; color: var(--ink); letter-spacing: 0.02em; }
.about-body { font-size: 16px; font-weight: 400; line-height: 1.75; color: var(--ink-mid); }
.about-body p + p { margin-top: 16px; }

/* ── Project Header ── */
.project-header { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 80px; padding-left: 56px; padding-right: 56px; max-width: var(--wide-w); margin: 0 auto; }
.project-category { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 24px; display: block; }
.project-title { font-family: var(--font-head); font-size: clamp(56px, 8.5vw, 114px); line-height: 0.9; text-transform: uppercase; color: var(--ink); margin-bottom: 40px; letter-spacing: 0.01em; }
.project-subtitle { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); line-height: 1; text-transform: uppercase; color: var(--ink-muted); letter-spacing: 0.04em; margin-bottom: 40px; }
.project-intro { font-size: 18px; font-weight: 400; line-height: 1.75; color: var(--ink-mid); max-width: var(--content-w); }

/* ── Hero Visual (Project) ── */
.hero-visual { width: 100%; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-visual img { width: 100%; height: auto; display: block; }
.shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.2); }
.s1 { width: 320px; height: 320px; top: -100px; right: 8%; }
.s2 { width: 180px; height: 180px; bottom: -50px; left: 6%; }
.s3 { width: 90px; height: 90px; top: 38%; left: 22%; background: rgba(255,255,255,0.12); }
.visual-hint { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(15,15,18,0.3); text-align: center; }

/* ── Content & Prose ── */
.content { max-width: var(--wide-w); margin: 0 auto; padding: 72px 56px; }
.content.narrow { max-width: calc(var(--content-w) + 112px); }
.kicker { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 16px; }
.section-h2 { font-family: var(--font-head); font-size: clamp(32px, 4vw, 52px); line-height: 0.95; text-transform: uppercase; color: var(--ink); margin-bottom: 28px; max-width: 700px; letter-spacing: 0.02em; }
.prose { font-size: 17px; font-weight: 400; line-height: 1.8; color: var(--ink-mid); max-width: var(--content-w); }
.prose p + p { margin-top: 24px; }
.prose em { font-style: italic; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ── Pullquote ── */
.pullquote-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 56px; }
.pullquote { font-family: var(--font-head); font-size: clamp(32px, 4.5vw, 60px); line-height: 1.0; text-transform: uppercase; color: var(--ink); max-width: 900px; letter-spacing: 0.02em; }
.pullquote em { color: var(--blue); font-style: normal; }

/* ── Visual Frames ── */
.visual-wrap { max-width: var(--wide-w); margin: 0 auto; padding: 0 56px 72px; }
.visual-frame { width: 100%; border-radius: 2px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); overflow: hidden; }
.visual-frame img { width: 100%; height: auto; object-fit: contain; display: block; }
.visual-frame.tinted { background: var(--primary-xl); border-color: var(--primary-dk); }
.visual-frame.dark { background: #14141e; border-color: #14141e; }
.visual-frame.dark .visual-hint { color: rgba(255,255,255,0.18); }
.visual-caption { margin-top: 12px; font-size: 13px; color: var(--ink-muted); font-weight: 400; }

/* Full-height visual frames (no cropping) */
.visual-frame-full { height: auto; }
.visual-frame-full img { width: 100%; height: auto; object-fit: contain; }

/* ── Process Steps ── */
.process-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; }
.process-step { padding: 32px; background: var(--primary-xl); }
.process-step:first-child { grid-column: span 2; }
.step-num { font-family: var(--font-head); font-size: 48px; line-height: 1; color: var(--primary-dk); margin-bottom: 8px; }
.step-title { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.step-desc { font-size: 15px; font-weight: 400; line-height: 1.7; color: var(--ink-mid); }
.process-step-visual { padding: 0; display: flex; align-items: stretch; }
.process-step-visual .visual-frame { border: none; border-radius: 0; width: 100%; height: 100%; }
.process-step-visual .visual-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ── Feature Sections (Glasshome) ── */
.feature-section { max-width: var(--wide-w); margin: 0 auto; padding: 0 56px 0; }
.feature-section + .feature-section { border-top: 1px solid var(--line); }
/* Legacy split layout (kept for other project pages) */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: 460px; }
.feature-split.flip { direction: rtl; }
.feature-split.flip > * { direction: ltr; }
.feature-text { padding: 64px 48px 64px 0; display: flex; flex-direction: column; justify-content: center; }
.feature-split.flip .feature-text { padding: 64px 0 64px 48px; }
/* Fluid stacked layout */
.feature-stacked { display: block; }
.feature-stacked .feature-text { padding: 64px 0 32px; }
.feature-stacked .feature-visual { border-radius: 4px; margin-bottom: 0; }
/* Asymmetric split — image takes 60% */
.feature-wide-img { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center; }
.feature-wide-img.flip { grid-template-columns: 3fr 2fr; }
.feature-wide-img .feature-text { padding: 48px 0; }
.feature-wide-img .feature-visual { border-radius: 4px; }
/* Full-bleed image section (no container padding) */
.feature-bleed { margin-left: -56px; margin-right: -56px; }
.feature-bleed .feature-visual { border-radius: 0; border-left: none; border-right: none; }
.feature-num { font-family: var(--font-head); font-size: 80px; line-height: 1; color: var(--primary-dk); margin-bottom: 4px; letter-spacing: 0.01em; }
.feature-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 20px; display: block; }
.feature-title { font-family: var(--font-head); font-size: clamp(28px, 3.2vw, 44px); line-height: 0.95; text-transform: uppercase; color: var(--ink); margin-bottom: 24px; letter-spacing: 0.02em; }
.feature-desc { font-size: 15px; font-weight: 400; line-height: 1.8; color: var(--ink-mid); max-width: 580px; }
.feature-desc p + p { margin-top: 16px; }
.feature-visual { background: var(--primary-xl); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.feature-visual img { width: 100%; height: auto; object-fit: contain; display: block; }
.feature-visual.tinted { background: var(--primary-xl); border-color: var(--primary-dk); }
.feature-visual.dark-vis { background: #14141e; border-color: #14141e; }
.feature-visual.dark-vis .visual-hint { color: rgba(255,255,255,0.18); }
.feature-full-visual { max-width: var(--wide-w); margin: 0 auto; padding: 0 56px 72px; }
.feature-full-visual .visual-frame { height: 380px; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--line); }

/* ── Business Block (Glasshome) ── */
.business-block { background: var(--ink); padding: 80px 56px; }
.business-inner { max-width: var(--wide-w); margin: 0 auto; }
.business-kicker { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary-dk); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 16px; }
.business-h2 { font-family: var(--font-head); font-size: clamp(36px, 5vw, 68px); line-height: 0.92; text-transform: uppercase; color: #ffffff; margin-bottom: 40px; max-width: 800px; letter-spacing: 0.02em; }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.business-card { background: rgba(255,255,255,0.05); padding: 36px; border: 1px solid rgba(255,255,255,0.08); }
.business-card-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary-dk); margin-bottom: 12px; }
.business-card-text { font-size: 15px; font-weight: 400; line-height: 1.75; color: rgba(255,255,255,0.65); }

/* ── Continuing Block (Glasshome) ── */
.continuing-block { background: var(--primary-xl); border-top: 2px solid var(--primary-dk); padding: 64px 56px; }
.continuing-inner { max-width: var(--wide-w); margin: 0 auto; display: flex; align-items: flex-start; gap: 80px; }
.continuing-badge { flex-shrink: 0; width: 80px; height: 80px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.continuing-badge-dot { width: 16px; height: 16px; background: var(--primary-dk); border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.6; } }
.continuing-text { flex: 1; }
.continuing-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 16px; }
.continuing-h3 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 38px); line-height: 0.95; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; letter-spacing: 0.02em; }
.continuing-prose { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--ink-mid); max-width: 560px; }

/* ── Outcomes ── */
.outcomes-block { background: var(--primary); padding: 72px 56px; border-top: 2px solid var(--primary-dk); }
.outcomes-inner { max-width: var(--wide-w); margin: 0 auto; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.outcome-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.outcome-value { font-family: var(--font-head); font-size: clamp(40px, 5vw, 64px); line-height: 1; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.02em; }
.outcome-desc { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--ink-mid); }

/* ── Meta ── */
.meta-block { max-width: var(--wide-w); margin: 0 auto; padding: 64px 56px 80px; border-top: 2px solid var(--ink); }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 48px; }
.meta-label { font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meta-value { font-size: 14px; font-weight: 400; line-height: 1.7; color: var(--ink-mid); }
.meta-value a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ── Project Nav ── */
.project-nav { border-top: 1px solid var(--line); display: flex; }
.pnav-item { flex: 1; padding: 44px 56px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: background 0.2s; }
.pnav-item:first-child { border-right: 1px solid var(--line); }
.pnav-item:hover { background: var(--primary-xl); }
.pnav-dir { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.pnav-title { font-family: var(--font-head); font-size: 24px; text-transform: uppercase; color: var(--ink); letter-spacing: 0.02em; }
.pnav-item.next { text-align: right; }

/* ── Principles (ClassSpaces) ── */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 32px; }
.principle { padding: 28px 32px; background: var(--primary); border-left: 4px solid var(--primary-dk); }
.principle-num { font-family: var(--font-head); font-size: 36px; line-height: 1; color: var(--primary-dk); margin-bottom: 6px; }
.principle-text { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

/* ── Gallery (ClassSpaces) ── */
.gallery-section { max-width: var(--wide-w); margin: 0 auto; padding: 0 56px 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-frame { width: 100%; background: var(--primary-xl); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.gallery-frame img { width: 100%; height: auto; object-fit: contain; display: block; cursor: zoom-in; transition: transform 0.3s ease; }
.gallery-frame:hover img { transform: scale(1.03); }
.gallery-frame.gallery-frame-full { aspect-ratio: auto; height: auto; }
.gallery-frame.gallery-frame-full img { width: 100%; height: auto; object-fit: contain; }
/* Asymmetric 2-column gallery (unequal widths for height balancing) */
.gallery-asymmetric { display: flex; gap: 24px; }
.gallery-asymmetric .gallery-col { display: flex; flex-direction: column; gap: 24px; }
.gallery-asymmetric .gallery-col:first-child { flex: 32; }
.gallery-asymmetric .gallery-col:last-child { flex: 20; }
/* Masonry / Pinterest-style gallery */
.gallery-masonry { column-count: 3; column-gap: 24px; }
.gallery-masonry .gallery-item { break-inside: avoid; margin-bottom: 24px; }
.gallery-masonry .gallery-frame { aspect-ratio: auto; height: auto; }
.gallery-masonry .gallery-frame img { width: 100%; height: auto; object-fit: contain; display: block; cursor: zoom-in; transition: transform 0.3s ease; }
.gallery-masonry .gallery-frame:hover img { transform: scale(1.03); }
.gallery-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-top: 10px; }
.gallery-caption { font-size: 12px; color: var(--ink-muted); margin-top: 3px; line-height: 1.5; }

/* ── Zones (Diebold) ── */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 32px; }
.zone { padding: 24px; background: var(--primary); }
.zone-name { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.02em; }
.zone-desc { font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--ink-mid); }

/* ── Personas (OurAir) ── */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 32px; }
.persona { padding: 28px; background: var(--primary-xl); border-top: 4px solid var(--primary-dk); }
.persona-type { font-family: var(--font-head); font-size: 22px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.02em; }
.persona-need { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.persona-desc { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--ink-mid); }

/* ── Footer ── */
footer { background: var(--ink); padding: 72px 56px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; }
.footer-name { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.footer-headline { font-family: var(--font-head); font-size: clamp(32px, 4vw, 54px); line-height: 0.93; text-transform: uppercase; color: #fff; letter-spacing: 0.02em; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links a { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { max-width: 1200px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── Lightbox ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(15,15,18,0.92); z-index: 200; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: 2px; box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.lightbox-close { position: absolute; top: 20px; right: 24px; font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); background: none; border: none; cursor: pointer; transition: color 0.2s; padding: 8px 12px; }
.lightbox-close:hover { color: #fff; }
.gallery-frame[data-lightbox], .visual-frame[data-lightbox], .feature-visual[data-lightbox] { cursor: zoom-in; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { opacity:0; animation: fadeUp 0.65s ease forwards; }
.fade-up:nth-child(1) { animation-delay:0.05s; }
.fade-up:nth-child(2) { animation-delay:0.15s; }
.fade-up:nth-child(3) { animation-delay:0.28s; }
.fade-up:nth-child(4) { animation-delay:0.4s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-projects { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: var(--nav-h); padding-bottom: 48px; gap: 16px; }
  .hero-content { order: 2; }
  .hero-image { order: 1; display: block; justify-content: center; padding-top: 0; margin-top: 0; }
  .hero-image img { width: 100%; max-width: 260px; }
  .feature-split { grid-template-columns: 1fr; direction: ltr; }
  .feature-split.flip { direction: ltr; }
  .feature-visual img { position: static; }
  .feature-text { padding: 48px 0 32px !important; }
  .feature-stacked .feature-text { padding: 48px 0 24px !important; }
  .feature-wide-img { grid-template-columns: 1fr; gap: 24px; }
  .feature-wide-img.flip { grid-template-columns: 1fr; }
  .feature-wide-img .feature-text { padding: 48px 0 0; }
  .feature-wide-img.flip .feature-visual { order: 2; }
  .feature-wide-img.flip .feature-text { order: 1; }
  .feature-bleed { margin-left: -24px; margin-right: -24px; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step:first-child { grid-column: span 1; }
  .principles { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { column-count: 2; }
  .zones { grid-template-columns: 1fr 1fr; }
  .personas { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .continuing-inner { flex-direction: column; gap: 32px; }
  .continuing-badge { width: 56px; height: 56px; }
}
@media (max-width: 768px) {
  .site-nav { padding: 0 16px; }
  .nav-logo-img { height: 36px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 10px; }
  .hero { padding: var(--nav-h) 24px 48px; }
  .hero-image img { max-width: 220px; }
  .section-header { padding: 28px 24px; }
  .work-grid { grid-template-columns: 1fr; padding: 0 24px 80px; gap: 32px; }
  .work-card:first-child { grid-column: span 1; }
  .work-card:first-child .work-card-bg { aspect-ratio: 4/3; }
  .about-strip { padding: 56px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .project-header { padding: 110px 24px 56px; }
  .content { padding: 56px 24px; }
  .pullquote-wrap { padding: 56px 24px; }
  .visual-wrap { padding: 0 24px 56px; }
  .feature-section { padding: 0 24px; }
  .feature-bleed { margin-left: -24px; margin-right: -24px; }
  .feature-full-visual { padding: 0 24px 56px; }
  .gallery-section { padding: 0 24px 56px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid.cols-3 { grid-template-columns: 1fr; }
  .gallery-grid.cols-2 { grid-template-columns: 1fr; }
  .gallery-masonry { column-count: 1; }
  .outcomes-block { padding: 56px 24px; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
  .meta-block { padding: 48px 24px 64px; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .pnav-item { padding: 32px 24px; }
  footer { padding: 56px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .footer-links { align-items: flex-start; }
  .business-block { padding: 64px 24px; }
  .continuing-block { padding: 48px 24px; }
  .zones { grid-template-columns: 1fr; }
}
