@font-face {
  font-family: 'Executive';
  src: url('uploads/Executive-65Medium-ff184e2a.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Miller Text';
  src: url('uploads/Miller Text Roman.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Miller Text';
  src: url('uploads/Miller Text Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'GT Alpina TW Thin Italic';
  src: url('uploads/GT-Alpina-Typewriter-Thin-Italic.ttf') format('truetype'), url('uploads/GT-Alpina-Typewriter-Thin-Italic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'GT Alpina TW Light';
  src: url('uploads/GT-Alpina-Typewriter-Light-c2ca554f.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Circular';
  src: url('uploads/CircularStd-Book 2.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'GT Alpina TW';
  src: url('uploads/GT-Alpina-Typewriter-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f4f1ec;
  --ink: #4a2810;
  --ink-head: #4a2810;
  --ink-inv: #f4f1ec;
  --stone: #b8a99a;
  --warm-mid: #d6cfc5;
  --accent: #b8a99a;
  --serif: 'Miller Text', 'Times New Roman', Times, serif;
  --sans: 'Miller Text', 'Times New Roman', Times, serif;
  --mono: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace;
  --label: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace;
  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='white' stroke='rgba(0,0,0,0.4)' stroke-width='1'%3E%3Ccircle cx='13' cy='7.5' r='4.2'/%3E%3Ccircle cx='18.23' cy='11.3' r='4.2'/%3E%3Ccircle cx='16.23' cy='17.45' r='4.2'/%3E%3Ccircle cx='9.77' cy='17.45' r='4.2'/%3E%3Ccircle cx='7.77' cy='11.3' r='4.2'/%3E%3C/g%3E%3Ccircle cx='13' cy='13' r='3.1' fill='%23e8b84b' stroke='rgba(0,0,0,0.35)' stroke-width='1'/%3E%3C/svg%3E") 13 13, pointer;
}
html { background: var(--bg); scroll-behavior: smooth; overflow-x: hidden; }
body[data-cursor="arrow"] {
  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M3 2 L3 17 L7 13.3 L9.7 19 L12 18 L9.3 12.4 L14.5 12.4 Z' fill='black' stroke='white' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, pointer;
}
body[data-cursor="thin"] {
  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M3 2 L3 17 L7 13.3 L9.7 19 L12 18 L9.3 12.4 L14.5 12.4 Z' fill='none' stroke='black' stroke-width='1' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") 3 2, pointer;
}
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; display: flex;
  justify-content: space-between; align-items: baseline;
  padding: 28px 40px 28px 40px; pointer-events: none;
}
nav > * { pointer-events: auto; }

/* — Header variants — */
/* A) studio: logo + studio info center + lang right */
nav.hdr-studio { padding: 26px 40px; }
nav.hdr-studio .nav-studio-meta {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 28px; align-items: baseline;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-inv); mix-blend-mode: difference; text-transform: uppercase;
  pointer-events: auto;
}
nav.hdr-studio .nav-studio-meta span { opacity: 0.85; }
nav.hdr-studio .nav-studio-meta a { color: inherit; text-decoration: none; cursor: var(--flower); opacity: 0.85; transition: opacity 0.2s; }
nav.hdr-studio .nav-studio-meta a:hover { opacity: 1; }
@media (max-width: 880px) { nav.hdr-studio .nav-studio-meta { display: none; } }

/* B) bold: large logo + tagline below */
nav.hdr-bold { padding: 28px 40px; align-items: flex-start; }
nav.hdr-bold .nav-logo { font-size: 28px; line-height: 1; }
nav.hdr-bold .nav-logo-stack { display: flex; flex-direction: column; gap: 6px; pointer-events: auto; }
nav.hdr-bold .nav-tagline {
  font-family: 'Miller Text', Georgia, serif; font-style: italic; font-size: 14px;
  color: var(--ink-inv); mix-blend-mode: difference; opacity: 0.9;
}

/* C) scroll-aware: shrinks + recolors when scrolled */
nav.hdr-scrollaware { transition: padding 0.3s cubic-bezier(0.4,0,0.2,1); }
body.scrolled nav .nav-logo,
body.scrolled nav .nav-links a {
  mix-blend-mode: normal;
  color: var(--ink-head);
}
body.scrolled nav {
  background: var(--bg);
}
body.scrolled nav .nav-links li:nth-child(1) a,
body.scrolled nav .nav-links li:nth-child(2) a,
body.scrolled nav .nav-links li:nth-child(3) a {
  color: var(--ink-head);
}
body.scrolled nav.hdr-scrollaware {
  padding: 14px 40px;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
body.scrolled nav.hdr-scrollaware .nav-logo,
body.scrolled nav.hdr-scrollaware .nav-links a {
  mix-blend-mode: normal;
  color: var(--ink-head);
}
body.scrolled nav.hdr-scrollaware .nav-logo { font-size: 14px; }
body.view-about nav .nav-logo { mix-blend-mode: normal; color: var(--ink-head); }
.nav-logo {
  font-family: var(--serif); font-size: clamp(19px, 2vw, 27px); font-weight: 400;
  letter-spacing: 0; text-transform: capitalize;
  color: var(--ink-inv); cursor: var(--flower);
  mix-blend-mode: difference;
}
body[data-nav-palette="ink"] .nav-logo:hover {
  color: oklch(72% 0.13 5); /* dov rosa */
}
.nav-links { display: flex; gap: 32px; list-style: none; margin-left: auto; margin-right: 16px; }
@media (max-width: 880px) { .nav-links { margin-right: 0; } }
.ig-icon { width: 21px; height: 21px; }
@media (max-width: 720px) {
  .nav-links { flex-direction: column; gap: 10px; align-items: flex-end; text-align: right; margin-right: 0; }
  .nav-links a { font-size: 21px; }
  .nav-links a:hover { font-size: 21px; }
  .ig-icon { width: 26px; height: 26px; }
  nav { padding: 20px 20px; align-items: flex-start; }
}
.nav-links a {
  font-family: var(--serif); font-size: clamp(19px, 2vw, 27px); font-weight: 400;
  letter-spacing: 0; text-transform: capitalize;
  text-decoration: none; cursor: var(--flower);
  transition: opacity 0.2s; opacity: 0.9;
}
.nav-links a:hover { font-style: italic; font-family: 'Miller Text', Georgia, serif; font-size: clamp(19px, 2vw, 27px); }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
body[data-nav-palette="ink"] .nav-links a:hover { font-style: normal; font-family: var(--serif); }
body[data-nav-palette="ink"] .nav-links li:nth-child(1) a:hover,
body.scrolled[data-nav-palette="ink"] .nav-links li:nth-child(1) a.active { color: oklch(82% 0.17 90); }   /* klarare gul */
body[data-nav-palette="ink"] .nav-links li:nth-child(2) a:hover,
body[data-nav-palette="ink"] .nav-links li:nth-child(2) a.active { color: oklch(60% 0.10 145); }  /* dov grön */
body[data-nav-palette="ink"] .nav-links li:nth-child(3) a:hover { color: oklch(60% 0.10 250); }  /* dov blå */
.nav-links li:nth-child(1) a { color: var(--nav-c1, oklch(78% 0.18 5)); }
.nav-links li:nth-child(2) a { color: var(--nav-c2, oklch(78% 0.18 145)); }
.nav-links li:nth-child(3) a { color: var(--nav-c3, oklch(82% 0.18 90)); }

body[data-nav-palette="muted"] {
  --nav-c1: oklch(72% 0.10 5);
  --nav-c2: oklch(70% 0.09 145);
  --nav-c3: oklch(75% 0.10 90);
}
body[data-nav-palette="earth"] {
  --nav-c1: oklch(58% 0.13 35);
  --nav-c2: oklch(55% 0.09 130);
  --nav-c3: oklch(60% 0.12 80);
}
body[data-nav-palette="autumn"] {
  --nav-c1: oklch(70% 0.16 60);
  --nav-c2: oklch(50% 0.10 145);
  --nav-c3: oklch(75% 0.14 80);
}
body[data-nav-palette="mono"] {
  --nav-c1: var(--ink-inv);
  --nav-c2: var(--ink-inv);
  --nav-c3: var(--ink-inv);
}
body[data-nav-palette="ink"] {
  --nav-c1: var(--ink-inv);
  --nav-c2: var(--ink-inv);
  --nav-c3: var(--ink-inv);
}
body.view-about[data-nav-palette="mono"],
body.view-about[data-nav-palette="ink"] {
  --nav-c1: var(--ink-head);
  --nav-c2: var(--ink-head);
  --nav-c3: var(--ink-head);
}

/* PAGE TRANSITIONS */
.page-enter { animation: fadeIn 0.45s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════
   LANDING
══════════════════════════════════ */
.landing { position: relative; min-height: 100vh; display: flow-root; }

/* Hero layout variants (set via data-hero on .landing) */
/* default = current asymmetric 2/3 + 1/3, near-full height */
.landing[data-hero="75"] .landing-bg { bottom: calc(25vh + 160px); right: calc(33.333% + 4px); }
.landing[data-hero="75"] .landing-video { bottom: calc(25vh + 160px); }
.landing[data-hero="75"] ~ * .below-fold,
.landing[data-hero="75"] .below-fold { margin-top: 75vh; }

.landing[data-hero="85"] .landing-bg { bottom: calc(15vh + 160px); right: calc(33.333% + 4px); }
.landing[data-hero="85"] .landing-video { bottom: calc(15vh + 160px); }
.landing[data-hero="85"] .below-fold { margin-top: 85vh; }

/* fullbleed: bg covers full width, video hidden */
.landing[data-hero="full"] .landing-bg { right: 0; bottom: calc(35vh + 60px); }
.landing[data-hero="full"] .landing-video { display: none; }
.landing[data-hero="full"] .below-fold { margin-top: 65vh; }

/* inset: bilden bli en "bild" med marginal runt — mindre dominant */
.landing[data-hero="inset"] .landing-bg { top: 96px; right: 40px; bottom: calc(28vh + 80px); left: 40px; border-radius: 2px; overflow: hidden; }
.landing[data-hero="inset"] .landing-video { display: none; }
.landing[data-hero="inset"] .below-fold { margin-top: 72vh; }
.landing[data-hero="inset"] .landing-tagline { bottom: 18vh; left: 40px; }
@media (max-width: 720px) {
  .landing[data-hero="inset"] .landing-bg { top: 80px; right: 16px; left: 16px; bottom: calc(30vh + 60px); }
  .landing[data-hero="inset"] .landing-tagline { left: 24px; }
}

/* Crossfading background */
/* Hero height variants — body[data-hero-height] toggles between 'tall' (default new) and 'short' (old) */
.landing-bg {
  position: fixed; top: 0; right: calc(33.333% + 4px); bottom: 80px; left: 0;
  z-index: 0; overflow: hidden;
}
body[data-hero-height="short"] .landing-bg { bottom: 160px; }
body[data-hero-height="short"] .landing-video { bottom: 160px; }
body[data-hero-height="short"] .project-hero,
body[data-hero-height="short"] .project-hero-side:not([data-mode="video-meta"]),
body[data-hero-height="short"] .project-hero-side[data-mode="video-meta"] .phs-video { height: 72vh; }
.landing-video {
  position: fixed; top: 0; right: 0; bottom: 80px; width: calc(33.333% - 4px);
  z-index: 0; overflow: hidden; background: var(--warm-mid);
}
@media (min-width: 700px) { .project-list .list-card-wrap.col-start { display: block; break-before: column; -webkit-column-break-before: column; } }
.img-duo.duo-contain img { height: auto !important; object-fit: contain; }
.soft-photo img { filter: saturate(0.88) contrast(0.96); }
.img-duo.duo-contain { align-items: end; }
.video-loop-host { width: 100%; height: 100%; display: block; }
/* Safari ritar en stor play-symbol i videons shadow DOM nar autoplay nekas
   eller nar den vantar pa data. Dolj den overallt — vi styr uppspelningen. */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-enclosure { display: none !important; opacity: 0 !important; -webkit-appearance: none !important; pointer-events: none !important; }
video { background: transparent; }
.landing-video video, .landing-video iframe {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}
.landing-video-caption {
  position: fixed; right: 28px; bottom: 130px; z-index: 11;
  width: calc(33.333% - 28px); padding-right: 0;
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace;
  font-size: 11px; letter-spacing: 0.04em; line-height: 1.3;
  color: var(--ink-head); opacity: 0.85; text-align: left;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.scrolled .landing-video-caption,
body.scrolled .landing-scroll-cue,
body.scrolled .landing-tagline { opacity: 0; }
@media (max-width: 700px) {
  .landing-video-caption { display: none; }
}
.landing-video .video-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(-45deg, #c8bfae 0,#c8bfae 10px, #b8a99a 10px,#b8a99a 20px);
  display: flex; align-items: center; justify-content: center;
}
.landing-video .video-placeholder span {
  font-family: var(--label); font-size: 11px; letter-spacing: 0.12em;
  text-transform: capitalize; color: var(--bg); opacity: 0.85;
}
@media (max-width: 700px) {
  /* Mobile landing: same proportions as project pages — hero 60vh + 6px gap + loop 33vh */
  /* Now/Recent far ett fast utrymme i underkant. Loopen ankras mot det i
     stallet for att ha egen vh-hojd, sa mellanrummet blir lika stort pa alla
     telefoner och bara loopen andrar storlek. dvh dar det stods, annars vh. */
  :root { --strip-space: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .landing-bg { top: 0; right: 0; left: 0; bottom: auto; height: 50vh; }
  .landing-video { display: block; position: fixed; top: calc(50vh + 8px); left: 0; right: 0; width: 100%; bottom: var(--strip-space); height: auto; }
  body[data-hero-height="short"] .landing-bg { height: 40vh; bottom: auto; }
  body[data-hero-height="short"] .landing-video { top: calc(40vh + 8px); bottom: var(--strip-space); height: auto; }
  @supports (height: 100dvh) {
    .landing-bg { height: 50dvh; }
    .landing-video { top: calc(50dvh + 8px); }
    body[data-hero-height="short"] .landing-bg { height: 40dvh; }
    body[data-hero-height="short"] .landing-video { top: calc(40dvh + 8px); }
  }
}
.bg-slide {
  position: absolute; inset: 0;
  transition: opacity 1.4s cubic-bezier(0.4,0,0.2,1);
}
.bg-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  
}
.bg-slide-ph {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(-45deg, #c8bfae 0,#c8bfae 10px, #b8a99a 10px,#b8a99a 20px);
}
.landing-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(26,25,21,0.04) 0%, rgba(26,25,21,0.02) 50%, rgba(26,25,21,0.20) 100%);
}
.bg-slide.linked { cursor: var(--flower); }

.landing-tagline {
  position: fixed; bottom: 100px; left: 110px; z-index: 10;
  color: #ffffff; font-family: var(--serif);
  font-size: clamp(17px,1.7vw,21px); font-weight: 400;
  line-height: 1.4; max-width: 500px; opacity: 0.7;
  pointer-events: none;
}
.landing-scroll-cue {
  position: fixed; bottom: 100px; right: 110px; z-index: 10;
  font-family: var(--label); font-size: 10px;
  letter-spacing: 0.12em; text-transform: capitalize;
  color: var(--ink-inv); mix-blend-mode: difference;
  pointer-events: none; writing-mode: vertical-rl;
}

/* ── Floating thumbnails ── */
.floating-stage {
  position: relative; z-index: 5;
  width: 100%; height: 100vh;
  /* prevent text selection while dragging */
  user-select: none;
}
.floating-thumb {
  position: absolute; cursor: grab;
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  /* NO box-shadow */
}
.floating-thumb.dragging { cursor: grabbing; transition: none; z-index: 99 !important; }
.floating-thumb:not(.dragging):hover { transform: scale(1.04) !important; z-index: 20 !important; }
.floating-thumb img {
  display: block; object-fit: cover;
  width: 100%; height: 100%; pointer-events: none;
}
.ft-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(-45deg, var(--warm-mid) 0,var(--warm-mid) 8px,#e4ddd4 8px,#e4ddd4 16px);
  display: flex; align-items: center; justify-content: center;
}
.ft-placeholder span {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.06em; color: var(--stone); text-align: center; padding: 8px;
}
.thumb-label {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; pointer-events: none; text-align: center;
  opacity: 0; transition: opacity 0.3s;
}
.floating-thumb:hover .thumb-label { opacity: 1; }
.thumb-label h4 {
  font-family: 'GT Alpina TW Thin Italic', var(--serif); font-size: 15px; font-weight: 100; font-style: italic;
  color: var(--ink-inv); mix-blend-mode: difference; line-height: 1.2;
}
.thumb-label span {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.07em; text-transform: capitalize; color: var(--accent);
}

/* Drag hint */
.drag-hint {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 15; background: rgba(26,25,21,0.72); color: var(--ink-inv);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: capitalize; padding: 10px 18px; pointer-events: none;
  opacity: 0; transition: opacity 0.5s;
}
.drag-hint.show { opacity: 1; }

/* ── Index footer ── */
.index-footer-minimal {
  margin-top: 80px; padding: 32px 40px; border-top: 1px solid rgba(0,0,0,0.08);
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace;
  font-size: 13px; letter-spacing: 0.04em; color: var(--stone);
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
}
.index-footer-minimal a { color: inherit; text-decoration: none; transition: color 0.15s; }
.index-footer-minimal a:hover { color: #d97a6c; }
.index-footer-minimal .ifm-sep { opacity: 0.5; }

.index-footer-textblock {
  margin-top: 100px; padding: 80px 40px 64px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px;
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: 21px; line-height: 1.4; color: #d97a6c;
}
.index-footer-textblock .iftb-label,
.about-page .index-footer-textblock .iftb-label {
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace !important;
  font-size: 10px !important; letter-spacing: 0.1em; color: #d97a6c !important; opacity: 0.7 !important;
  margin-bottom: 14px !important; text-transform: capitalize;
  line-height: 1.4;
}
.index-footer-textblock a { color: inherit; text-decoration: none; transition: color 0.15s; }
.index-footer-textblock p,
.about-page .index-footer-textblock p { color: #d97a6c !important; margin-bottom: 0; font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif; font-size: 21px; line-height: 1.4; max-width: none; }
.index-footer-textblock a:hover { color: oklch(82% 0.17 90); }
.iftb-copy,
.about-page .iftb-copy {
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace !important;
  font-size: 11px !important; letter-spacing: 0.06em; color: #d97a6c !important;
  margin: 0 !important; padding: 24px 40px 32px;
  text-align: left; opacity: 1;
}
.index-footer-textblock .iftb-addr,
.about-page .index-footer-textblock .iftb-addr {
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace !important;
  font-size: 13px !important; letter-spacing: 0.04em;
  color: #d97a6c !important; opacity: 0.85;
  line-height: 1.5; margin: 4px 0 10px !important;
}
@media (max-width: 700px) {
  .index-footer-textblock { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px 48px; }
  .index-footer-minimal { flex-direction: column; gap: 8px; }
}

.intro-strip {
  position: fixed; bottom: 12px; left: 0; right: 0; z-index: 11;
  display: grid; grid-template-columns: 1fr auto; gap: 40px;
  padding: 0 40px;
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-head); text-transform: uppercase;
  align-items: start;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.intro-strip > * { pointer-events: auto; }
body[data-hero-height="short"] .intro-strip { bottom: 48px; }
body.intro-faded .intro-strip { opacity: 0; pointer-events: none; }
.intro-strip .intro-now { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.intro-strip .intro-now-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; line-height: 1.45; }
.intro-strip .intro-now-row .label { color: var(--stone); }
.intro-strip .intro-now-row .value { color: var(--ink-head); text-transform: none; font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif; font-size: 14px; letter-spacing: 0; }
a.now-link { text-decoration: none; cursor: var(--flower); transition: color 0.15s ease; }
.intro-strip .intro-now-row a.now-link:hover { color: #d97a6c !important; }
a.recent-link { text-decoration: none; cursor: var(--flower); transition: color 0.15s ease; }
.intro-strip .intro-now-row a.recent-link:hover { color: #d27ba0 !important; }

/* Strip style: mixed (default) vs mono (all left text in grey GT Alpina) vs serif (all left text in brown Miller body) */
body[data-strip-style="mono"] .intro-strip .intro-now-row .label,
body[data-strip-style="mono"] .intro-strip .intro-now-row .value {
  color: var(--stone);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
}
body[data-strip-style="mono"] .intro-strip .intro-now-row .label::first-letter { text-transform: uppercase; }

body[data-strip-style="serif"] .intro-strip .intro-now-row {
  grid-template-columns: 100px 1fr;
}
body[data-strip-style="serif"] .intro-strip .intro-now-row .label,
body[data-strip-style="serif"] .intro-strip .intro-now-row .value {
  color: var(--ink-head);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
body[data-strip-style="serif"] .intro-strip .intro-now-row .value,
body[data-strip-style="serif"] .intro-strip .intro-now-row .label {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-style: normal;
  font-size: clamp(19px, 2vw, 27px);
}
body[data-strip-style="serif"] .intro-strip .intro-now { gap: 4px; }
/* Now / Recent labels match project-title size */
body[data-strip-style="serif"] .intro-strip .intro-now-row .label {
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.2;
}
.intro-strip .intro-meta { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.intro-strip .intro-meta a { color: #d97a6c; text-decoration: none; text-transform: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; line-height: 1.3; transition: color 0.15s; }
.intro-strip .intro-meta a:hover { color: oklch(82% 0.17 90); text-decoration: none; }
.intro-strip .intro-meta .intro-cities,
.intro-strip .intro-meta .intro-phone { color: #d97a6c; text-transform: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; line-height: 1.3; }
@media (max-width: 720px) {
  .intro-strip {
    bottom: 10px; padding: 0 20px;
    grid-template-columns: 1fr;
  }
  /* px + safe-area i stallet for vh: en liten marginal ska inte krympa
     pa korta skarmar, och maste ligga ovanfor hemindikatorn. */
  body[data-hero-height="short"] .intro-strip { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .intro-strip .intro-meta { display: none; }
  .intro-strip .intro-now { gap: 4px; }
  /* Mobile: hide the date after ArkDes in the Now row */
  .now-date { display: none; }
  .intro-strip .intro-now-row { grid-template-columns: 76px 1fr; gap: 10px; line-height: 1.3; }
  .intro-strip .intro-now-row .label { font-size: 12px; }
  .intro-strip .intro-now-row .value { font-size: 14px; }
  body[data-strip-style="mono"] .intro-strip .intro-now-row .label,
  body[data-strip-style="mono"] .intro-strip .intro-now-row .value { font-size: 12px; }
  body[data-strip-style="serif"] .intro-strip .intro-now-row .label,
  body[data-strip-style="serif"] .intro-strip .intro-now-row .value { font-size: 20px; }
}

/* Mobile intro strip (inline at top of below-fold) — only shown on small screens */
.intro-strip-mobile { display: none; }

/* ── Below fold ── */
.below-fold {
  position: relative; z-index: 10;
  margin-top: 100vh; background: var(--bg);
  padding: 24px 40px 120px;
}

.below-fold-tagline { display: none; }
.img-num-badge {
  position: absolute; top: 12px; left: 12px; z-index: 30;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(20,18,15,0.82); color: #fff;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.thumb-num-badge {
  position: absolute; top: 10px; left: 10px; z-index: 40;
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px;
  background: rgba(20,18,15,0.85); color: #fff;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Category tabs */
.cat-tabs {
  display: flex; gap: 0; margin-top: 56px; margin-bottom: 8px;
  flex-wrap: nowrap; align-items: baseline;
}
@media (max-width: 720px) {
  .cat-tabs {
    margin-top: 60px; margin-bottom: 16px;
    flex-direction: column; align-items: flex-start; gap: 0;
    overflow: visible;
  }
  .cat-tab { white-space: nowrap; padding: 8px 0; font-size: 13px; }
  .cat-tabs > .cat-tab { display: none; }
  /* Grid/List switch removed entirely on mobile */
  .cat-tabs > div { display: none !important; }
  .cat-tabs > div.__unused {
    flex-direction: row !important; margin-left: 0 !important;
    order: -1; margin-bottom: 12px; align-self: flex-end;
  }
}
.cat-tab {
  font-family: var(--label); font-size: 13px;
  letter-spacing: 0.06em; text-transform: none;
  color: var(--stone); padding: 10px 13px 10px 0;
  cursor: var(--flower); border: none; background: none;
  transition: color 0.2s; white-space: nowrap;
}
.cat-tab:hover {
  color: var(--ink);
  font-family: 'GT Alpina TW Thin Italic', var(--serif);
  font-style: italic; font-weight: 100;
  letter-spacing: 0.04em;
}
.cat-tab.active { color: oklch(78% 0.18 5); }
.cat-tab:nth-child(1):hover { color: oklch(72% 0.08 88); }
.cat-tab:nth-child(2):hover { color: oklch(68% 0.09 42); }
.cat-tab:nth-child(3):hover { color: oklch(62% 0.08 228); }
.cat-tab:nth-child(4):hover { color: oklch(65% 0.08 295); }
.cat-tab:nth-child(5):hover { color: oklch(74% 0.07 132); }

.project-list {
  column-count: 3; column-gap: 36px;
  padding: 12px 0 32px;
}
@media (max-width: 700px) { .project-list { column-count: 2; column-gap: 24px; } }
@media (max-width: 480px) { .project-list { column-count: 1; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); } .project-list .list-card-caption { padding-left: 20px; padding-right: 20px; } }

.project-textlist { padding: 12px 24px 32px; max-width: 1200px; }
.textlist-row {
  display: grid; grid-template-columns: 1.4fr 1fr 80px;
  gap: 24px; padding: 14px 4px;
  cursor: var(--flower); transition: background 0.15s, padding 0.2s;
  align-items: baseline;
}
.textlist-row:hover { padding-left: 14px; padding-right: 14px; }
.textlist-row:hover .tl-title,
.textlist-row:hover .tl-cat,
.textlist-row:hover .tl-year { color: oklch(72% 0.13 5); }
.textlist-row:hover .tl-cat {
  font-family: 'GT Alpina TW Thin Italic', 'GT Alpina TW Light', Georgia, serif;
  font-style: italic;
  font-weight: 100;
}
.tl-title { font-family: 'Miller Text', Georgia, serif; font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; color: var(--ink-head); transition: color 0.15s; }
.tl-cat { font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace; font-size: 13px; color: var(--stone); transition: color 0.15s; }
.tl-year { font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace; font-size: 13px; color: var(--stone); text-align: right; transition: color 0.15s; }
@media (max-width: 600px) {
  .textlist-row { grid-template-columns: 1fr 60px; }
  .tl-cat { display: none; }
}

.list-card {
  cursor: var(--flower); position: relative; overflow: hidden;
  background: var(--warm-mid);
  display: block; width: 100%;
}
.list-card-wrap:nth-child(7n+1) .list-card { aspect-ratio: 4/5; }
.list-card-wrap:nth-child(7n+2) .list-card { aspect-ratio: 4/3; }
.list-card-wrap:nth-child(7n+3) .list-card { aspect-ratio: 4/5; }
.list-card-wrap:nth-child(7n+4) .list-card { aspect-ratio: 1/1; }
.list-card-wrap:nth-child(7n+5) .list-card { aspect-ratio: 5/4; }
.list-card-wrap:nth-child(7n+6) .list-card { aspect-ratio: 4/5; }
.list-card-wrap:nth-child(7n+7) .list-card { aspect-ratio: 16/11; }
.list-card-wrap[data-pid="21"] .list-card { aspect-ratio: 4/5 !important; }
.list-card-wrap[data-pid="23"] .list-card { aspect-ratio: 4/5 !important; }
.list-card-wrap[data-pid="11"] .list-card { aspect-ratio: 4/5 !important; }
.list-card-wrap[data-pid="10"] .list-card { aspect-ratio: 3/2 !important; }
.list-card-wrap[data-pid="3"] .list-card { aspect-ratio: 3/4 !important; }
/* The Chestnut Tree Café (pid 7): landscape, smaller */
.list-card-wrap[data-pid="7"] .list-card { aspect-ratio: 3/2 !important; }
/* Solar Powered Fountains (pid 22): landscape, small */
.list-card-wrap[data-pid="22"] .list-card { aspect-ratio: 3/2 !important; }
/* Dream plants/Dream place (pid 12): landscape */
.list-card-wrap[data-pid="12"] .list-card { aspect-ratio: 3/2 !important; }
/* Harpefoss (pid 29): portrait */
.list-card-wrap[data-pid="29"] .list-card { aspect-ratio: 4/5 !important; }
/* In the Rock, Nearby (pid 30): no cropping anywhere */
.list-card-wrap[data-pid="30"] .list-card { aspect-ratio: 4/5 !important; }
.list-card-wrap[data-pid="30"] .list-card img { object-position: 28% 50%; }
.project-page[data-pid="30"] .img-full img,.project-page[data-pid="30"] .img-duo img,.project-page[data-pid="30"] .img-text-row img,.project-page[data-pid="30"] .img-overlap-wide img,.project-page[data-pid="30"] .img-overlap-portrait img,.project-page[data-pid="30"] figure img{height:auto !important;object-fit:contain !important;background:transparent !important}
.project-page[data-pid="30"] .img-text-row{align-items:center}
.project-page[data-pid="30"] .project-body .img-full img[src$="skytte4.jpg"]{height:clamp(380px,58vw,820px) !important;object-fit:cover !important}
.list-card img.thumb-contain { object-fit: contain; background: transparent; }
.list-card:hover img.thumb-contain { transform: none; }
/* Sveaparken (pid 1): cutout map floating on page bg, landscape, zoomed in */
.list-card-wrap[data-pid="1"] .list-card { aspect-ratio: 3/2 !important; background: transparent; overflow: hidden; }
.list-card-wrap[data-pid="1"] .list-card img.thumb-contain { transform: scale(1.95); transform-origin: 40% 48%; }
.list-card-wrap[data-pid="1"] .list-card:hover img.thumb-contain { transform: scale(2.05); transform-origin: 40% 48%; }

/* Thumb rhythm: irregular = some thumbs much bigger for varied scale */
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+1) .list-card { aspect-ratio: 3/4; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+2) .list-card { aspect-ratio: 1/1; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+3) .list-card { aspect-ratio: 4/5; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+4) .list-card { aspect-ratio: 5/4; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+5) .list-card { aspect-ratio: 3/5; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+6) .list-card { aspect-ratio: 4/3; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+7) .list-card { aspect-ratio: 1/1; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+8) .list-card { aspect-ratio: 2/3; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(9n+9) .list-card { aspect-ratio: 4/3; }
/* Make every 4th card "break out" with extra margins to dominate */
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(4n+1) { margin-bottom: 96px; }
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(4n+1) .list-card-caption {
  padding-top: 36px;
}
body[data-thumb-rhythm="irregular"] .list-card-wrap:nth-child(4n+1) .list-card-caption h3 {
  font-size: clamp(22px, 2.4vw, 32px);
}
@media (max-width: 600px) { .list-card { aspect-ratio: 4/3 !important; } }
@media (max-width: 600px) { .list-card-wrap[data-pid="11"] .list-card { aspect-ratio: 3/4 !important; } }
@media (max-width: 600px) { .list-card-wrap[data-pid="10"] .list-card { aspect-ratio: 3/2 !important; } }
.list-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.list-card:hover img { transform: scale(1.05); }
.list-card-wrap { break-inside: avoid; margin-bottom: 56px; cursor: var(--flower); display: inline-block; width: 100%; }
.list-card-caption { padding: 28px 8px 0; text-align: center; transition: color 0.25s ease; }
.list-card-wrap:hover .list-card-caption,
.list-card-wrap:hover .list-card-caption h3,
.list-card-wrap:hover .list-card-caption span,
.list-card-wrap:hover .list-card-caption .lc-body { color: #e8633a !important; }
.list-card-wrap[data-pid="21"]:hover .list-card-caption h3,
.list-card-wrap[data-pid="21"]:hover .list-card-caption span,
.list-card-wrap[data-pid="21"]:hover .list-card-caption .lc-body { color: #e8633a !important; }
.list-card-wrap[data-pid="20"]:hover .list-card-caption,
.list-card-wrap[data-pid="20"]:hover .list-card-caption h3,
.list-card-wrap[data-pid="20"]:hover .list-card-caption span,
.list-card-wrap[data-pid="20"]:hover .list-card-caption .lc-body { color: var(--ink-head) !important; }
.list-card-wrap[data-pid="20"] .list-card-overlay h3,
.list-card-wrap[data-pid="20"] .list-card-overlay .lc-body { color: var(--ink-head) !important; }
.list-card-caption h3 {
  font-family: 'Miller Text', Georgia, serif; font-size: clamp(19px, 2vw, 27px); font-weight: 400;
  color: var(--ink-head); line-height: 1.2; margin-bottom: 8px; letter-spacing: 0;
}
.list-card-wrap[data-pid="21"] .list-card-caption h3 {
  font-family: 'Miller Text', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(19px, 2vw, 27px) !important;
}
.list-card-caption span {
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace; font-size: 14px; font-weight: 300;
  letter-spacing: 0.04em; text-transform: none; white-space: nowrap;
  color: var(--ink-head); opacity: 0.75; display: block; margin-bottom: 10px;
}
.list-card-caption .lc-body {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: clamp(13px, 1.1vw, 15px); line-height: 1.4;
  color: var(--ink-head);
}
@media (max-width: 700px) {
  .list-card-caption h3,
  .list-card-wrap[data-pid="21"] .list-card-caption h3 { font-size: 24px !important; }
  .list-card-caption span { font-size: 13px; }
  .list-card-caption .lc-body { font-size: 15px; }
}
.list-card-overlay {
  position: absolute; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity 0.3s;
}
.list-card:hover .list-card-overlay { opacity: 1; }

/* Thumb style: default = overlay only on video cards (legacy). summary = overlay on all cards. */
body[data-thumb-style="default"] .list-card-wrap:not(.has-video) .list-card-overlay { display: none; }
body[data-thumb-style="summary"] .list-card-wrap:not(.has-video) .list-card-caption .lc-body { display: none; }

/* Summary mode: all text brown, short summary that fits the thumb */
body[data-thumb-style="summary"] .list-card-overlay {
  padding: 20px;
}
body[data-thumb-style="summary"] .list-card-overlay .lc-body,
body[data-thumb-style="summary"] .list-card:hover .list-card-overlay .lc-body,
body[data-thumb-style="summary"] .list-card-wrap:hover .list-card-overlay .lc-body {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.4;
  color: #e8633a !important;
}
body[data-thumb-style="summary"] .list-card-wrap:hover .list-card-caption,
body[data-thumb-style="summary"] .list-card-wrap:hover .list-card-caption h3,
body[data-thumb-style="summary"] .list-card-wrap:hover .list-card-caption span,
body[data-thumb-style="summary"] .list-card-wrap:hover .list-card-caption .lc-body,
body[data-thumb-style="summary"] .list-card:hover .list-card-overlay h3 { color: #e8633a !important; }
.list-card-overlay h3 {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif; font-size: clamp(18px, 2.0vw, 28px); font-weight: 400;
  color: var(--ink-head); line-height: 1.2; margin-bottom: 10px; letter-spacing: 0;
}
.list-card-overlay .lc-body {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.4;
  color: #e8633a;
  margin-top: 14px; max-width: 90%; text-align: center;
  overflow: hidden;
}
.list-card:hover .list-card-overlay h3 { color: #e8633a; }
.list-card-overlay span {
  font-family: 'GT Alpina TW Light', 'GT Alpina TW', 'Courier Prime', monospace; font-size: 10px; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-head); opacity: 0.75;
}
.lc-ph {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(-45deg,var(--warm-mid) 0,var(--warm-mid) 8px,#ddd6cd 8px,#ddd6cd 16px);
  display: flex; align-items: center; justify-content: center;
}
.lc-ph span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--stone); }

/* ══════════════════════════════════
   PROJECT PAGE
══════════════════════════════════ */
.project-page { min-height: 100vh; }
.project-text-override * { color: inherit !important; }

.back-btn {
  position: fixed; top: 28px; left: 40px; z-index: 200;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: capitalize; color: var(--ink-inv); cursor: var(--flower);
  display: flex; align-items: center; gap: 8px;
  mix-blend-mode: difference; border: none; background: none; padding: 0;
}
.back-btn:hover { opacity: 0.6; }

.project-hero {
  width: calc(66.666% + 4px); height: 80vh; position: relative;
  overflow: hidden; background: var(--warm-mid);
}
body[data-project-hero-side="video-meta"] .project-hero { width: calc(66.666% - 4px); }
body[data-project-hero-side="none"] .project-hero { width: 100%; }
.project-page[data-hero-full] .project-hero { width: 100% !important; }
.hero-credit {
  position: absolute; bottom: 10px; right: 13px; z-index: 4;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92); text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  pointer-events: none;
}
@media (max-width: 700px) { .hero-credit { bottom: 8px; right: 10px; font-size: 10px; } }
.hero-index-nav {
  position: absolute; bottom: 10px; left: 13px; z-index: 5;
  display: flex; gap: 5px;
}
.hero-index-dot {
  width: 22px; height: 22px; padding: 0; border: 0; cursor: pointer;
  border-radius: 50%; background: rgba(20,16,12,0.32); color: #fff;
  font-family: var(--mono); font-size: 11px; line-height: 22px; text-align: center;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-index-dot:hover { background: rgba(20,16,12,0.55); }
.hero-index-dot.is-active { background: #fff; color: #1a1410; }
.hero-index-nav { display: none !important; }
.project-hero-side[data-mode="video-meta"] .phs-video-spacer { height: 80vh; background: transparent; pointer-events: none; }
body[data-hero-height="short"] .project-hero-side[data-mode="video-meta"] .phs-video-spacer { height: 72vh; }
@media (min-width: 701px) { .project-page[data-hero-full] .project-meta-bar { display: none !important; } }
@media (max-width: 700px) { .phs-video-spacer { display: none !important; } }
.project-hero-side {
  position: absolute; top: 0; right: 0; width: calc(33.333% - 4px); height: 80vh;
  overflow: hidden; background: var(--warm-mid);
}
.project-hero-side img,
.project-hero-side video { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-hero-side[data-mode="video-meta"] { display: block; background: transparent; height: auto; }
.project-hero-side[data-mode="video-meta"] .phs-video {
  height: 80vh; overflow: hidden; background: var(--warm-mid); position: relative;
}
.project-hero-side[data-mode="video-meta"] .phs-meta {
  padding: 72px 40px 0 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px;
  background: var(--bg);
}
.project-hero-side[data-mode="video-meta"] .phs-meta .meta-cell {
  padding: 0;
}
.project-hero-side[data-mode="video-meta"] .phs-meta .meta-label {
  font-family: var(--label); font-size: 9px; letter-spacing: 0.12em;
  text-transform: capitalize; color: var(--accent); margin-bottom: 4px;
}
.project-hero-side[data-mode="video-meta"] .phs-meta .meta-value {
  font-family: var(--mono); font-size: 13px; color: var(--ink-head);
  letter-spacing: 0.04em;
}
body[data-project-hero-side="video-meta"] .project-meta-bar { display: none; }
@media (max-width: 700px) {
  body .project-hero,
  body[data-project-hero-side="video-meta"] .project-hero { width: 100%; height: 60vh; margin-top: 10px; }
  /* On mobile: stack loop on TOP, hero below — via flex order */
  .project-page { display: flex; flex-direction: column; }
  .project-hero { order: -1; }
  .project-hero-side:not([data-mode="video-meta"]) {
    order: -2;
    position: static; width: 100%; height: 33vh; margin-top: 0;
  }
  /* video-meta variant: video stacks below at 1/3 viewport, hide meta-grid (project-meta-bar shows under title instead) */
  .project-hero-side[data-mode="video-meta"] {
    order: -2;
    position: static; width: 100%; height: auto;
  }
  .project-hero-side[data-mode="video-meta"] .phs-video {
    height: 62vh; margin-top: 0;
  }
  /* Ordning pa mobil: filmloop -> titel (sticker fram) -> bildspel -> resten.
     display:contents loser upp wrappern sa titeln kan sorteras fritt. */
  .project-body { display: contents; }
  .project-hero-side[data-mode="video-meta"] { order: -3; }
  body[data-project-hero-side="video-meta"] .project-title-block { order: -2; }
  body[data-project-hero-side="video-meta"] .project-hero { order: -1; }
  /* Projekt UTAN filmloop (t.ex. Dream plants): det tomma loop-blocket lamnade
     en tom yta i overkant och titeln hamnade forst. Da ska bildspelet ligga
     flush i overkant och titeln under. */
  .project-page[data-no-loop] .project-hero-side[data-mode="video-meta"] { display: none !important; }
  .project-page[data-no-loop] .project-hero { order: -3 !important; margin-top: 0 !important; }
  .project-page[data-no-loop] .project-title-block { order: -2 !important; }
  .project-hero-side[data-mode="video-meta"] .phs-meta {
    display: none;
  }
  body[data-project-hero-side="video-meta"] .project-meta-bar {
    display: grid;
  }
  body[data-hero-height="short"] .project-hero,
  body[data-hero-height="short"] .project-hero-side:not([data-mode="video-meta"]),
  body[data-hero-height="short"] .project-hero-side[data-mode="video-meta"] .phs-video { height: 62vh; }
  body[data-hero-height="short"] .project-hero { height: 56vh; }
  body .project-title-block { padding: 30px 20px 24px; }
  body .project-title-block h1 { font-size: 21px; margin-bottom: 22px; }
  /* Pa projektsidor ska filmloopen synas anda upp i overkant:
     gor menyn genomskinlig och lat texten vandas mot bilden. */
  body:has(.project-page) nav { background: transparent !important; border-bottom: none !important; backdrop-filter: none !important; }
  body:has(.project-page) nav .nav-logo,
  body:has(.project-page) nav .nav-links a { mix-blend-mode: difference; color: var(--ink-inv) !important; }
  /* Bildspelet efter titeln haller liggande format (3:2). Hojden sätts i vw i
     stallet for aspect-ratio: pa aldre iOS-Safari kan aspect-ratio pa ett
     flex-barn kollapsa till noll hojd, sa bildspelet forsvinner helt. */
  body .project-hero,
  body[data-project-hero-side="video-meta"] .project-hero,
  body[data-hero-height="short"] .project-hero {
    height: 66.6vw; min-height: 200px; aspect-ratio: auto; flex: 0 0 auto;
  }
}
.project-hero-ph {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(-45deg,var(--warm-mid) 0,var(--warm-mid) 12px,#e8e2da 12px,#e8e2da 24px);
  display: flex; align-items: center; justify-content: center;
}
.project-hero-ph span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--stone); }

.project-title-block { padding: 72px 40px 40px; max-width: 860px; }
.project-title-block h1 {
  font-family: var(--sans); font-size: clamp(22px,2.2vw,30px);
  font-weight: 300; line-height: 1.1; letter-spacing: 0em; margin-bottom: 24px;
  color: var(--ink-head); 
}
.title-note-link {
  display: inline-block; margin-left: 16px;
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: clamp(22px,2.2vw,30px); font-style: normal; font-weight: 400;
  letter-spacing: 0; color: var(--ink-head); text-decoration: none;
  white-space: nowrap; vertical-align: baseline;
  transition: color 0.15s ease; cursor: var(--flower);
}
.title-note-link:hover { color: #d97a6c; }
.project-title-block .intro-text {
  font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px);
  font-weight: 400; line-height: 1.45; color: var(--ink-head); max-width: 44ch; text-wrap: pretty;
}
.project-title-block .project-title-meta {
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em;
  margin: -12px 0 20px; line-height: 1.4;
  color: var(--ink-head);
}
.project-title-block .project-title-meta .ptm-label { color: var(--accent); }
.project-title-block .project-title-meta .ptm-value { color: var(--ink-head); }
.project-title-block .project-title-meta .ptm-sep { color: var(--accent); opacity: 0.5; }

.project-meta-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin: 0 40px;
}
@media (max-width: 700px) { .project-meta-bar { grid-template-columns: repeat(2,1fr); margin: 0 20px; } }
.meta-cell { padding: 22px 20px 22px 0; }
.meta-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: var(--accent); margin-bottom: 4px; }
.meta-value { font-family: var(--mono); font-size: 13px; font-weight: 300; letter-spacing: 0.04em; color: var(--ink-head); }
/* Desktop: meta-rutan kandes for liten. Den SYNLIGA rutan pa projektsidor ar
   .phs-meta (project-meta-bar ar dold dar), sa storleken maste sattas med
   samma specificitet som 9px/11px-reglerna ovan for att vinna. */
@media (min-width: 701px) {
  .meta-label, .meta-value { font-size: 15px; }
  .project-hero-side[data-mode="video-meta"] .phs-meta .meta-label { font-size: 13px; }
  .project-hero-side[data-mode="video-meta"] .phs-meta .meta-value { font-size: 15px; }
}
.meta-award-link { color: inherit; text-decoration: none; border-bottom: none; transition: color 0.15s; }
.meta-award-link:hover, .meta-award-link:focus, .meta-award-link:active, .meta-award-link:visited:hover { color: #d97a6c; }

/* Overlapping image blocks */
.img-full { width: 100%; display: block; }
.img-full img { width: 100%; display: block; height: clamp(380px,58vw,820px); object-fit: cover; background: var(--warm-mid); }
.img-masonry {
  columns: 3; column-gap: 18px; padding: 0 40px;
}
.img-masonry img {
  width: 100%; display: block; margin: 0 0 18px; break-inside: avoid;
  background: var(--warm-mid);
}
@media (max-width: 900px) { .img-masonry { columns: 2; column-gap: 14px; } .img-masonry img { margin-bottom: 14px; } }
@media (max-width: 700px) { .img-masonry { padding: 0; } }
@media (max-width: 480px) { .img-masonry { columns: 1; } }
.img-duo { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; padding: 0 40px; align-items: start; }
.img-duo.flip { grid-template-columns: 0.75fr 1.25fr; }
.img-duo img { width: 100%; height: clamp(360px,46vw,650px); object-fit: cover; display: block; background: var(--warm-mid); }
.img-duo img:nth-child(2) { margin-top: clamp(28px,5vw,72px); }
.img-duo.even { grid-template-columns: 1fr 1fr; }
.img-duo.even img { height: clamp(420px,54vw,760px); }
.img-duo.even img:nth-child(2) { margin-top: 0; }
@media (max-width: 700px) {
  .img-duo, .img-duo.flip, .img-duo.even { grid-template-columns: 1fr; gap: 20px; padding: 0 20px; }
  .img-duo img, .img-duo.even img { height: auto; }
  /* Full-bleed images edge to edge on mobile; container padding keeps captions inset */
  .img-duo img, .img-duo > figure img { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px) !important; max-width: none; }
  .img-duo img:nth-child(2) { margin-top: 0; }
  /* duo-solo-first: first image breaks out to full-bleed and stands alone, larger */
  .img-duo.duo-solo-first { gap: 32px; }
  .img-duo.duo-solo-first img:first-child { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px); max-width: none; }
}
/* Tree pair (duo-sketch): stack full-width and uncropped on mobile so neither image is squeezed */
@media (max-width: 700px) {
  .duo-sketch-wrap { padding: 0 20px !important; }
  .duo-sketch-row { flex-direction: column !important; align-items: stretch !important; gap: 22px !important; }
  /* Sketch-par: centrerade i spalten, inte forskjutna at vanster */
  .duo-sketch-row img { margin-left: auto !important; margin-right: auto !important; max-width: 100%; }
}
.img-full-contain { background: none !important; padding: clamp(20px,4vw,64px); }
.img-full-contain img { background: none !important; }
.img-full-contain img { height: auto; max-height: 900px; object-fit: contain; }
.img-full-cap { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-head); padding: 10px 2px 0 18px; text-align: left; line-height: 1.4; background: none; }
figure.cap-fig figcaption, .duo-fig figcaption { background: none; }
.img-full .ph { height: clamp(380px,58vw,820px); }

.img-overlap-group {
  position: relative; padding: 0 40px 80px; display: flex; gap: 40px; align-items: flex-end;
}
.img-overlap-group.flip { flex-direction: row-reverse; }
.img-overlap-wide { flex: 1 1 60%; display: block; }
.img-overlap-wide img { width: 100%; display: block; height: clamp(280px,38vw,560px); object-fit: cover; background: var(--warm-mid); }
.img-overlap-portrait { flex: 0 1 34%; background: var(--warm-mid); margin-bottom: 40px; }
.img-overlap-portrait:has(> figure.cap-fig) { background: transparent; }
.img-overlap-portrait > figure.cap-fig { display: flex; flex-direction: column; margin: 0; }
.img-overlap-portrait > figure.cap-fig img { width: 100%; display: block; height: clamp(300px,40vw,580px); object-fit: cover; background: var(--warm-mid); }
.img-overlap-portrait > figure.cap-fig figcaption { padding: 10px 2px 0 0; }
.img-overlap-portrait img { width: 100%; display: block; height: clamp(300px,40vw,580px); object-fit: cover; }
.img-overlap-portrait.canal-drop { margin-top: 104px; margin-bottom: 0; }
.img-overlap-portrait video { width: 100%; display: block; height: clamp(300px,40vw,580px); object-fit: cover; }
@media (max-width: 700px) {
  .img-overlap-group { flex-direction: column; gap: 24px; padding: 0 20px 48px; align-items: stretch; }
  .img-overlap-group.flip { flex-direction: column; }
  .img-overlap-portrait { margin-bottom: 0; }
  .img-overlap-portrait.canal-drop { margin-top: 0; }
  /* Show overlap pair images at full height on mobile — no fixed-height cropping */
  .img-overlap-wide img,
  .img-overlap-portrait img,
  .img-overlap-portrait video,
  .img-overlap-portrait > figure.cap-fig img { height: auto; }
  /* Full-bleed the wide (landscape) overlap image edge to edge; portrait stays inset */
  /* !important behovs: flera av dessa bilder har bredd satt inline i koden */
  .img-overlap-wide img { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px) !important; max-width: none; }
  /* Portrait also edge to edge on mobile */
  .img-overlap-portrait img, .img-overlap-portrait video { margin-left: -20px; margin-right: -20px; width: calc(100% + 40px) !important; max-width: none; }
  .img-overlap-portrait figcaption { padding-left: 0; }
  /* Bird feeders end overlap: kids (portrait) above grape (wide) */
  .compact-end-overlap .img-overlap-portrait,
  .img-overlap-group[style*="78%"] .img-overlap-portrait { order: -1; }
}

.oph {
  background: repeating-linear-gradient(-45deg,var(--warm-mid) 0,var(--warm-mid) 10px,#ddd6cd 10px,#ddd6cd 20px);
  display: flex; align-items: center; justify-content: center;
}
.oph span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--stone); }

.body-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; padding: 80px 40px; align-items: start;
}
@media (max-width: 700px) {
  .body-section { grid-template-columns: 1fr; gap: 24px; padding: 38px 20px; }
  /* Tva textavsnitt i rad gav dubbel luft (48+48) */
  .body-section + .body-section { padding-top: 0; }
  /* Krediteringen hade 40px sidmarginal medan allt annat har 20px */
  .body-credits { margin-top: 44px; padding: 0 20px; }
  /* Text som foljer direkt pa en kant-till-kant-bild ska inte sitta for langt ifran */
  .img-full + .body-section, .img-duo + .body-section, .img-text-row + .body-section { padding-top: 30px; }
  /* Flera bildrader har inline margin-top (t.ex. 88px) satt for skrivbord.
     Pa mobil blir det ett tomt falt intill textblocken. */
  .project-page .img-text-row[style*="margin-top"],
  .project-page .img-duo[style*="margin-top"],
  .project-page .img-full[style*="margin-top"] { margin-top: 26px !important; }
}
.body-section .body-text {
  font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px);
  font-weight: 400; line-height: 1.45; color: var(--ink-head);
  max-width: 44ch; text-wrap: pretty;
}
.body-credits {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em;
  line-height: 1.7; color: var(--ink-head); max-width: 620px;
  margin: 80px auto 0; padding: 0 40px; text-align: left;
}
/* Mobil: maste sta EFTER .body-credits ovan (annars vinner basregeln),
   och !important for att sla den inline-satta marginalen pa 96px. */
@media (max-width: 700px) {
  .body-credits { margin-top: 40px !important; padding: 0 20px !important; }
}
.body-section .caption {
  font-family: var(--label); font-size: 11px;
  letter-spacing: 0.06em; color: var(--stone); line-height: 1.355; padding-top: 4px;
}

.img-text-row {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 0; align-items: stretch; margin-bottom: 0;
}
.img-text-row.flip { grid-template-columns: 1fr 1.5fr; }
.img-text-row.flip > .aside-text { order: 0; }
.img-text-row.flip > img,
.img-text-row.flip > .oph { order: 1; }
@media (max-width: 700px) {
  .img-text-row, .img-text-row.flip { grid-template-columns: 1fr; }
  .img-text-row img, .img-text-row.tall-img img { height: auto; object-fit: contain; }
  .aside-text { padding: 24px 20px 40px; }
}
.img-text-row img { width: 100%; display: block; height: clamp(300px,44vw,660px); object-fit: cover; }
.img-pair-cell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px,1vw,14px); align-self: center; align-items: center; }
.img-pair-cell img { width: 100%; height: auto; display: block; object-fit: contain; }
@media (max-width: 700px) { .img-pair-cell { grid-template-columns: 1fr 1fr; } }
.img-text-row.tall-img { grid-template-columns: 1fr 1.5fr; }
.img-text-row.tall-img.flip { grid-template-columns: 1.5fr 1fr; }
.img-text-row.tall-img img { height: clamp(420px,60vw,840px); }
.img-text-row > figure.cap-fig { display: flex; flex-direction: column; margin: 0; }
.img-text-row.flip > figure.cap-fig { order: 1; }
.img-text-row > figure.cap-fig img { width: 100%; display: block; height: clamp(300px,44vw,660px); object-fit: cover; }
/* Mobil: tall-img och cap-fig deklareras efter mobilregeln ovan och maste
   aterstallas hit, annars blir raden tvaspaltig med bilden klamd till vanster. */
@media (max-width: 700px) {
  .img-text-row.tall-img,
  .img-text-row.tall-img.flip { grid-template-columns: 1fr; }
  .img-text-row.tall-img img,
  .img-text-row > figure.cap-fig img { height: auto; object-fit: contain; }
}
figure.cap-fig figcaption {
  font-family: var(--mono); font-size: 13px; font-weight: 400; font-style: normal;
  letter-spacing: 0.04em; color: var(--ink-head); padding: 10px 2px 0 18px; text-align: left; line-height: 1.4;
}
/* Captions only keep the left inset when the image is in the left column; flipped (right-side) images align flush */
.img-text-row.flip > figure.cap-fig figcaption { padding-left: 0; }
figure.sketch-full { display: block; max-width: 560px; margin-left: auto; margin-right: auto; }
figure.sketch-full img { width: 100%; height: auto; display: block; }
figure.sketch-full figcaption { padding-left: 0; padding-right: 0; }
/* Mobile: full-bleed image captions sit under the image with a consistent 20px gutter (never glued to the edge). In-container captions keep their inline paddingLeft:0 and align to their own image. */
@media (max-width: 700px) {
  .img-full-cap { padding-left: 20px; padding-right: 20px; }
  figure.sketch-full figcaption { padding-left: 20px; padding-right: 20px; }
  figure.free-fig { max-width: 78% !important; margin-top: 48px !important; }
  figure.free-fig[style*="margin-left: auto"] { margin-right: 20px !important; }
  figure.free-fig:not([style*="margin-left: auto"]) { margin-left: 20px !important; }
  figure.free-fig figcaption { padding-left: 0; padding-right: 0; }
}
.inline-video-small {
  display: flex; justify-content: center;
  padding: 0 40px;
}
.inline-video-small video {
  width: 100%;
  height: auto !important;
  display: block;
  background: var(--warm-mid);
  object-fit: contain !important;
}
.inline-video-small > div, .inline-video-small > span {
  display: block;
  width: clamp(220px, 24vw, 360px);  overflow: hidden;
  background: var(--warm-mid);
}
.inline-video-small > .img-full-cap { width: auto; overflow: visible; background: none; }
.inline-video-small img { width: 100%; height: auto; display: block; }
.img-video-row { display: flex; justify-content: center; align-items: center; gap: 28px; padding: 0 40px; }
.img-video-row > img { width: clamp(180px,20vw,300px); height: auto; display: block; background: var(--warm-mid); }
.img-video-row .ivr-video { width: clamp(220px,30vw,420px); }
.img-video-row .ivr-video video { width: 100%; height: auto; display: block; background: var(--warm-mid); }
.poster-row { display: flex; justify-content: center; align-items: flex-end; gap: 40px; padding: 0 40px; flex-wrap: wrap; }
.poster-row figure { margin: 0; }
@media (max-width: 700px) {
  .img-video-row { flex-direction: column; gap: 16px; padding: 0 24px; }
  .img-video-row > img, .img-video-row .ivr-video { width: 80%; }
  .poster-row { gap: 22px; padding: 0 24px; }
}
@media (max-width: 700px) {
  .inline-video-small { padding: 0 24px; }
  .inline-video-small video { width: 80%; }
}
.aside-text {
  background: var(--bg); padding: 24px 40px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.aside-text p {
  font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px);
  font-weight: 400; line-height: 1.45; color: var(--ink-head);
  max-width: 44ch; text-wrap: pretty;
}
.aside-text p + p { margin-top: 1em; }
/* Textblocket ska hugga bildens kant, inte flyta i tomrummet */
.img-text-row.flip > .aside-text { align-items: flex-end; }
.img-text-row.flip > .aside-text p { margin-left: auto; }
@media (max-width: 700px) { .img-text-row.flip > .aside-text { align-items: stretch; } .img-text-row.flip > .aside-text p { margin-left: 0; } }
.closing-text { max-width: 600px; margin: 88px auto 0; padding: 0 24px; }
.closing-text p { font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px); font-weight: 400; line-height: 1.45; color: var(--ink-head); max-width: 44ch; text-wrap: pretty; }
.portrait-center { max-width: 560px; margin: 88px auto 0; padding: 0 24px; }
.portrait-center img { width: 100%; height: auto; display: block; }

.next-project {
  padding: 28px 40px 20px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
  cursor: var(--flower); margin-top: 40px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-head);
}
.next-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: none; color: var(--accent); }
.next-title { font-family: var(--mono); font-size: 13px; font-weight: 300; letter-spacing: 0.04em; color: var(--stone); transition: color 0.2s; }

.next-project:hover > .next-title {
  font-family: 'GT Alpina TW Thin Italic', var(--mono);
  font-style: italic; font-weight: 100;
  color: oklch(72% 0.13 5);
}
.next-current .next-title,
.next-current .next-label,
.next-current .next-title-serif,
.next-current .next-label-serif { color: var(--stone) !important; }
.next-project:hover .next-current .next-title { color: var(--stone) !important; font-style: normal; }

/* Serif/rosa footer variant */
.next-project-serif {
  padding: 28px 40px 60px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
  margin-top: 40px;
}
.next-title-serif {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: 21px; font-weight: 400; line-height: 1.4;
  color: #d97a6c;
  transition: font-style 0.15s;
}
.next-label-serif {
  font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-size: 15px; font-weight: 400; line-height: 1.4;
  color: #d97a6c; opacity: 0.85;
}
.next-link-serif { cursor: var(--flower); color: var(--stone); transition: color 0.2s, font-style 0.15s; }
.next-link-serif:hover {
  font-style: italic;
  font-family: 'GT Alpina TW Thin Italic', 'Miller Text', 'Miller Text Roman', Georgia, serif;
  font-weight: 100;
  color: oklch(72% 0.13 5);
}

/* ABOUT */
.about-page { padding: 140px 40px 100px; max-width: none; margin: 0; }
.about-page h2 { font-family: var(--sans); font-size: clamp(22px,2.2vw,30px); font-weight: 300; margin-bottom: 40px; line-height: 1.1; letter-spacing: 0em; color: var(--ink-head);  }
.about-page p { font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px); font-weight: 400; line-height: 1.45; color: var(--ink-head); margin-bottom: 20px; max-width: 44ch; text-wrap: pretty; }
.about-grid { display: grid; grid-template-columns: minmax(0,560px) 320px; gap: 60px; align-items: start; justify-content: start; }
.about-text { min-width: 0; max-width: 560px; }
.about-text p { max-width: none; }
.about-text .about-img-inline { float: right; width: 280px; margin: 6px 0 18px 32px; shape-outside: margin-box; }
.about-text .about-img-inline img { width: 100%; display: block; border-radius: 2px; }
.about-text .about-img-left { float: left; width: 260px; margin: 6px 32px 18px 0; shape-outside: margin-box; }
.about-text .about-img-left img { width: 100%; display: block; border-radius: 2px; }
.about-text .about-illus { float: right; width: 180px; margin: 0 0 12px 28px; shape-outside: margin-box; }
.about-text .about-illus img { width: 100%; display: block; }
.about-text .about-illus-buske { float: right; width: 200px; margin: 4px -10px 8px 28px; }
.about-text .about-illus-gullviva { float: right; width: 170px; margin: -10px -10px 8px 28px; }
.about-text .about-illus-mark { float: left; width: 240px; margin: 6px 32px 18px -10px; }
.about-text .about-illus-wide { clear: both; width: 70%; margin: 48px auto 8px; }
.about-text .about-illus-wide img { width: 100%; display: block; }
.about-clients { align-self: start; padding-top: 4px; }
.about-clients .about-label { color: #d97a6c; opacity: 1 !important; margin-bottom: 14px !important; }
.about-clients p { font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif; font-size: 21px; line-height: 1.4; color: #d97a6c; margin-bottom: 0; max-width: none; opacity: 1; }
.about-clients .client-group { margin-bottom: 22px; }
.about-clients .client-group:last-child { margin-bottom: 0; }
.about-contact { margin-bottom: 32px; padding-bottom: 0; border-bottom: none; }
.about-contact-label { color: #d97a6c !important; }
.about-contact p { font-family: 'Miller Text', 'Miller Text Roman', Georgia, serif; font-size: 21px; line-height: 1.4; color: #d97a6c; margin-bottom: 4px !important; max-width: none; opacity: 1; }
.about-contact a { color: #d97a6c; text-decoration: none; }
.about-contact a:hover { color: oklch(60% 0.10 145); text-decoration: none; }
.about-portrait-wide { clear: both; width: 100%; margin: 56px 0 8px; }
.about-portrait-wide img { width: 100%; display: block; border-radius: 2px; }
.about-portrait-wide figcaption,
figure.has-caption figcaption,
.img-caption {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-head); opacity: 1; margin-top: 10px; text-align: left;
}
.about-clients .client-group-label { font-family: 'GT Alpina TW Thin Italic', var(--serif) !important; font-style: italic; font-weight: 100; font-size: 11px !important; letter-spacing: 0.04em; text-transform: none; color: #d97a6c; opacity: 0.9 !important; margin-bottom: 6px !important; }
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-text .about-img-inline,
  .about-text .about-img-left,
  .about-text .about-illus,
  .about-text .about-illus-buske,
  .about-text .about-illus-gullviva,
  .about-text .about-illus-mark { float: none; width: 100%; margin: 0 0 24px 0; }
  .about-text .about-illus { width: 60%; }
  .about-text .about-illus-buske { width: 70%; }
  .about-text .about-illus-gullviva { width: 55%; }
  .about-text .about-illus-mark { width: 75%; }
}
.about-section { margin-top: 40px; }
/* Tva avsnitt som hor samman ska sta narmare varandra an ovriga */
.about-section + .about-section { margin-top: 26px; }
@media (max-width: 720px) { .about-section { margin-top: 32px; } .about-section + .about-section { margin-top: 22px; } }
.about-approach p { font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px); font-weight: 400; line-height: 1.45; color: var(--ink-head); margin-bottom: 18px; max-width: 44ch; text-wrap: pretty; }
.about-readmore { background: none; border: none; cursor: var(--flower); padding: 8px 0 0; margin-top: 4px; font-family: 'GT Alpina TW Thin Italic', var(--serif); font-style: italic; font-weight: 100; font-size: clamp(17px,1.7vw,21px); color: var(--ink-head); transition: color 0.2s; }
.about-readmore:hover { color: #d97a6c; }
.about-section-title { font-family: 'GT Alpina TW Thin Italic', var(--serif); font-style: italic; font-weight: 100; font-size: clamp(17px,1.7vw,21px); line-height: 1.355; color: var(--ink-head); margin-bottom: 8px; letter-spacing: 0; }
.about-label { font-family: var(--mono) !important; font-size: 11px !important; letter-spacing: 0.1em; text-transform: capitalize; color: var(--stone); margin-bottom: 10px !important; opacity: 1 !important; }
.contact-block { margin-top: 64px; padding-top: 0; }
.contact-block .cl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: capitalize; color: var(--stone); margin-bottom: 16px; display: block; }
.contact-block a, .contact-block p { font-family: var(--mono); font-size: 13px; letter-spacing: 0em; color: var(--ink); text-decoration: none; display: block; margin-bottom: 10px; opacity: 0.72; }
.contact-block a:hover { opacity: 1; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* TWEAKS */
.tweaks-panel {
  position: fixed; top: 50%; left: 24px; transform: translateY(-50%); z-index: 500;
  background: var(--ink); color: var(--bg); border-radius: 2px;
  padding: 20px 24px; width: 250px; font-family: var(--mono);
  font-size: 11px; display: none; box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  max-height: 80vh; overflow-y: auto;
}
.tweaks-panel.open { display: block; }
.tweaks-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 19px; line-height: 1; cursor: pointer; color: inherit; opacity: 0.55; padding: 2px 4px; }
.tweaks-close:hover { opacity: 1; }
.tweaks-panel h4 { position: relative; }
.tweaks-panel h4 { font-size: 10px; letter-spacing: 0.12em; text-transform: capitalize; opacity: 0.5; margin-bottom: 16px; }
.tweak-row { margin-bottom: 14px; }
.tweak-label { opacity: 0.55; margin-bottom: 6px; display: block; }
.tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-btn { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--bg); padding: 4px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; cursor: var(--flower); border-radius: 1px; transition: background 0.15s; }
.tweak-btn:hover, .tweak-btn.active { background: rgba(255,255,255,0.25); }
.tweak-action { width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--bg); padding: 7px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; cursor: var(--flower); border-radius: 1px; transition: background 0.15s; text-align: left; }
.tweak-action:hover { background: rgba(255,255,255,0.2); }
/* Filmthumbs: grabeige yta innan filmen borjar, aldrig en play-ikon */
.list-card-wrap video { background: #ddd9d1; }


@media (max-width: 480px) { .project-list { display: flex; flex-direction: column; } .project-list .list-card-wrap { order: 1; } .project-list .list-card-wrap:first-child, .project-list .list-card-wrap[data-pid="11"] { order: 0; } }

.scatter-row{display:flex;flex-wrap:nowrap;gap:3%;align-items:flex-start;justify-content:center;padding:0 40px;max-width:1500px;margin-left:auto;margin-right:auto}
.scatter-item{margin:0;width:var(--w);margin-top:var(--y)}
.scatter-item img{width:100%;height:auto;display:block}
.scatter-item figcaption{padding-left:0;text-align:center;font-style:italic}
@media (max-width:700px){.scatter-row{flex-wrap:wrap;gap:16px 4%;padding:0 20px 40px}.scatter-item{width:46%;margin-top:0}.scatter-item:last-child{width:70%}}

.img-duo.duo-contain.duo-stagger{align-items:start}
.img-duo.duo-contain.duo-stagger img:nth-child(2){margin-top:clamp(48px,8vw,120px)}
@media (max-width:700px){.img-duo.duo-contain.duo-stagger img:nth-child(2){margin-top:0}}

.img-text-row.nocrop{align-items:center}.img-text-row.nocrop img,.img-text-row.nocrop > figure.cap-fig img{height:auto;object-fit:contain}
.img-full.nocrop img{height:auto;object-fit:contain}
.portrait-center.nocrop img{height:auto;object-fit:contain}

.meta-sub{opacity:.75}

.blend-bg{mix-blend-mode:multiply}
.blend-bg img{background:transparent !important}
.img-full.no-crop img{height:auto !important;object-fit:contain !important;background:transparent !important}

.hero-cap-below{width:calc(66.666% + 4px);position:relative;z-index:2}body[data-project-hero-side="video-meta"] .hero-cap-below{width:calc(66.666% - 4px)}.project-page[data-hero-full] .hero-cap-below{width:100%}@media (max-width:700px){body .hero-cap-below{width:100%;order:-1;padding-left:20px;padding-right:20px}.project-page[data-no-loop] .hero-cap-below{order:-3 !important}}

.list-card-wrap[data-pid="32"] .list-card { aspect-ratio: 4/5 !important; }

@media (max-width:700px){.project-page[data-no-loop] .project-hero{height:62vh !important;min-height:320px}}
