@charset "UTF-8";
@font-face {
  font-family: "Times Newer Roman";
  src: url("assets/TimesNewerRoman-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
.label-icon {
  display: block;
  transform-origin: center;
}
.label-icon.is-spinning {
  animation: label-spin 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes label-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

:root {
  --bg: #e8e4e1;
  --text: #000;
  --muted: #00000054;
  --border: rgba(0, 0, 0, 0.06);
  --overlay-bg: #fff;
  --cursor: #fa7330;
  --font-size-title: 72px;
  --font-size-body: 14px;
}

html[data-theme=dark] {
  --bg: #1b1a1a;
  --text: #f4f4f4;
  --muted: #bbbbbb69;
  --border: rgba(255, 255, 255, 0.06);
  --overlay-bg: #303030;
}

#work-index {
  --bg: #1b1a1a;
  --text: #f4f4f4;
  --muted: #bbb;
  --border: rgba(255, 255, 255, 0.15);
  background: var(--bg);
  color: var(--text);
}

html[data-theme=dark] #work-index {
  --bg: #F0ECE8;
  --text: #000;
  --muted: #0000007a;
  --border: rgba(0, 0, 0, 0.1);
  background: var(--bg);
  color: var(--text);
}

#intermission {
  --bg: #1b1a1a;
  --text: #f4f4f4;
  --muted: #bbb;
  --border: rgba(255, 255, 255, 0.15);
  background: var(--bg);
  color: var(--text);
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  height: 100%;
  width: 133.3333333333vh;
  flex-shrink: 0;
}

html[data-theme=dark] #intermission {
  --bg: #F0ECE8;
  --text: #1c1a1a;
  --muted: #0000007a;
  --border: rgba(0, 0, 0, 0.1);
  background: var(--bg);
  color: var(--text);
}

.pong-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pong-score {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-variant-numeric: tabular-nums;
}

* {
  box-sizing: border-box;
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--cursor);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-cursor__lang {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  letter-spacing: 0.05em;
}
.custom-cursor__more {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  position: absolute;
}
.custom-cursor__www {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  position: absolute;
}
.custom-cursor__close {
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
}
.custom-cursor__back {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  position: absolute;
}
.custom-cursor__drag {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  position: absolute;
}
.custom-cursor__nav {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  line-height: 1;
  position: absolute;
}
.custom-cursor.is-hovering {
  width: 50px;
  height: 50px;
  background: var(--cursor);
  border: 1.5px solid var(--cursor);
}
.custom-cursor.cursor--title {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--title .custom-cursor__lang {
  opacity: 1;
}
.custom-cursor.cursor--media {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--media .custom-cursor__more {
  opacity: 1;
}
.custom-cursor.cursor--close {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--close .custom-cursor__close {
  opacity: 1;
}
.custom-cursor.cursor--www {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--www .custom-cursor__www {
  opacity: 1;
}
.custom-cursor.cursor--back {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--back .custom-cursor__back {
  opacity: 1;
}
.custom-cursor.cursor--drag {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--drag .custom-cursor__drag {
  opacity: 1;
}
.custom-cursor.cursor--nav {
  width: 50px;
  height: 50px;
  background: var(--cursor);
}
.custom-cursor.cursor--nav .custom-cursor__nav {
  opacity: 1;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  font-family: Figtree, system-ui, sans-serif;
  text-rendering: geometricPrecision;
  line-height: 130%;
  font-size: var(--font-size-body);
  font-weight: 400;
}

h1 {
  font-size: var(--font-size-title);
  line-height: 100%;
  letter-spacing: -2%;
  font-weight: 400;
}
h1 span:last-child {
  transform: translateY(30px);
  opacity: 0;
}
h1:hover span:first-child {
  transform: translateY(0px);
}
h1:hover span:last-child {
  transform: translateY(10px);
  opacity: 0.1;
}

h2, p {
  font-size: var(--font-size-body);
  font-weight: 400;
}

.scroll-container {
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
}
.scroll-container::-webkit-scrollbar {
  height: 6px;
}
.scroll-container::-webkit-scrollbar-track {
  background: transparent;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 3px;
  opacity: 0.3;
}
.scroll-container::-webkit-scrollbar-thumb:hover {
  opacity: 0.6;
}

.main-scroll {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
}

.section {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  width: auto;
  padding: 40px 40px 40px 90px;
  border-right: 1px solid var(--border);
  position: relative;
}
.section:last-child {
  border-right: none;
}

.section-label {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 50px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: 10;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}
.section-label span {
  position: absolute;
  transition: 0.2s ease-in-out;
  white-space: nowrap;
  display: block;
  padding: 15px;
}
.section-label.start-label span {
  padding-left: 0;
}
.section-label b {
  font-weight: 400;
}

.section-inner {
  height: 50vh;
  display: flex;
  flex-direction: column;
}
.section-inner.with-columns {
  flex-direction: row;
  height: 100%;
}
.section-inner.with-columns .column {
  width: 800px;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.section-inner.with-columns .column .section-byline {
  width: 100%;
}
.section-inner.with-columns .column:not(:first-child) {
  width: 400px;
}
.section-inner.with-columns .column h1 {
  width: 625px;
}
.section-inner.with-columns .column p {
  margin-top: 0;
}
.section-inner.with-columns .column p b {
  font-weight: 400;
  opacity: 0.5;
  font-size: 11px;
  display: inline-block;
  margin-bottom: 4px;
}
.section-inner.with-columns .column p a {
  color: var(--text);
}

.section-title {
  position: relative;
  cursor: pointer;
  filter: url(#title-goo);
}

h2.section-title {
  font-size: 52px;
  line-height: 100%;
  width: 760px;
  height: 192px;
}

.lang-en,
.lang-se {
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: auto;
}

/* Initial base state - only current language visible */
[data-lang=en] .lang-en {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

[data-lang=en] .lang-se {
  opacity: 0;
  transform: translateY(20px);
  z-index: 1;
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

[data-lang=se] .lang-en {
  opacity: 0;
  transform: translateY(-20px);
  z-index: 1;
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

[data-lang=se] .lang-se {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

/* Block-level language switching — overlap via grid, keeps fade/slide animation */
.lang-pair {
  display: grid;
}
.lang-pair .lang-en,
.lang-pair .lang-se {
  grid-area: 1/1;
  position: relative;
  left: auto;
  right: auto;
}

/* Stagger only on labels */
.section-label .lang-en {
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s !important;
}

.section-label .lang-se {
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s !important;
}

/* Hover teaser for opposite language (0.1 opacity) */
.section-title:hover .lang-se {
  opacity: 0.1;
  transform: translateY(10px);
  transition-delay: 0s;
}

.section-title:hover .lang-en {
  opacity: 0.1;
  transform: translateY(-10px);
  transition-delay: 0s;
}

/* Keep active language fully visible during hover */
[data-lang=en] .section-title:hover .lang-en,
[data-lang=se] .section-title:hover .lang-se {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.section-title {
  font-family: "Times Newer Roman", serif;
  margin: 0 0 0.5rem 0;
  opacity: 1;
  transition: 0.3s ease;
  width: 950px;
  position: relative;
  cursor: pointer;
}
.section-title span {
  position: absolute;
}

.section-copy {
  margin: 0;
  max-width: 720px;
}

.top-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 40px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  background: transparent;
  color: #fff;
  mix-blend-mode: difference;
  border: none;
  backdrop-filter: none;
  padding: 0 40px 0 40px;
  border-radius: 0;
  z-index: 100;
  box-shadow: none;
  justify-content: space-between;
}
.top-menu .spacer {
  width: 40px;
}
.top-menu .logo {
  line-height: 0;
  cursor: pointer;
}
.top-menu .logo svg {
  filter: url(#logo-goo);
  display: block;
  height: 40px;
  width: auto;
}
.top-menu .controls {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
}
.top-menu .controls button {
  font-size: 12px;
}
.top-menu .controls .langs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  width: 250px;
}
.top-menu .controls .langs button {
  margin-right: 0.8em;
}
.top-menu .controls--right {
  display: flex;
  gap: 0.8em;
  align-items: flex-end;
}
.top-menu .lang-option,
.top-menu .theme-option,
.top-menu .anchor-option {
  border: none;
  background: transparent;
  color: inherit;
  opacity: 0.3;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: Inherit;
  text-rendering: geometricPrecision;
  line-height: 130%;
  font-size: var(--font-size-body);
  font-weight: 500;
  text-transform: uppercase;
}
.top-menu .lang-option.active,
.top-menu .theme-option.active,
.top-menu .anchor-option.active {
  opacity: 1;
}

.top-menu select {
  display: none;
}

.top-menu select {
  display: none;
}

#selected-work {
  padding-left: 0;
  padding-right: 0;
}

.case-feed {
  display: flex;
  flex-direction: row;
}
.case-feed .work-box {
  margin: 0 28vh 0 0;
  aspect-ratio: 1/1;
  height: 100%;
}
.case-feed .work-box:first-child {
  margin-left: 28vh;
}
.case-feed .work-box:last-child {
  margin-right: 28vh;
}
.case-feed .work-box .media {
  aspect-ratio: 1/1;
  cursor: pointer;
  height: 100%;
  position: relative;
  transition: transform 0.75s cubic-bezier(0.81, 0.01, 0.15, 0.99);
  line-height: 0;
}
.case-feed .work-box .media img, .case-feed .work-box .media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-feed .work-box .media .hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.case-feed .work-box .media .hover video, .case-feed .work-box .media .hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-feed .work-box .media:hover .hover {
  opacity: 1;
}
.case-feed .work-box .media-frame {
  position: relative;
  overflow: hidden;
}
.case-feed .work-box.is-open .media {
  transform: translateX(-50%);
}
.case-feed .work-box .info {
  display: flex;
}
.case-feed .work-box .info .work-title, .case-feed .work-box .info p {
  width: 50%;
  position: relative;
}
.case-feed .work-box .info .work-title span, .case-feed .work-box .info p span {
  position: absolute;
}

.work-description {
  opacity: 0.8;
}

h2.work-title {
  opacity: 0.8;
}

a.work-title,
.work-overlay .Collaborators a {
  color: var(--text);
  text-decoration: none;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
}
a.work-title::after,
.work-overlay .Collaborators a::after {
  font-family: "Inter", system-ui, sans-serif;
  content: "->";
  margin-left: 4px;
}

.work-overlay {
  position: absolute;
  aspect-ratio: 1/1;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.75s cubic-bezier(0.81, 0.01, 0.15, 0.99);
  background-color: var(--overlay-bg);
  z-index: 10;
  height: 100%;
  width: 100%;
  right: 0;
  padding: 24px 95px 24px 24px;
}
.work-box.is-open .work-overlay {
  transform: translateX(0);
  pointer-events: auto;
}
.work-overlay .close {
  position: absolute;
  right: 24px;
  color: var(--text);
  z-index: 10;
}
.work-overlay .my-work {
  height: 50%;
}
.work-overlay h3 {
  font-size: var(--font-size-body);
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 1em;
  opacity: 0.5;
  position: relative;
  height: var(--font-size-body);
}
.work-overlay p {
  position: relative;
  max-width: 500px;
}
.work-overlay p b {
  font-weight: 400;
  opacity: 0.5;
}

.dash {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--text);
  margin: 0;
  vertical-align: middle;
}

.doodad {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center;
  z-index: 1;
}
.doodad img {
  display: block;
  pointer-events: none;
  user-select: none;
}
.doodad.is-selected {
  outline: 1px dashed rgba(0, 38, 255, 0.5);
  outline-offset: 6px;
}
.doodad__handles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}
.doodad.is-selected .doodad__handles {
  display: block;
}
.doodad__handle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid var(--cursor);
  border-radius: 50%;
  pointer-events: auto;
}
.doodad__handle--tl {
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}
.doodad__handle--tr {
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}
.doodad__handle--bl {
  bottom: 0;
  left: 0;
  transform: translate(-50%, 50%);
}
.doodad__handle--br {
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
}
.doodad__handle--rotate {
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cursor);
  border-color: var(--cursor);
}

.collage {
  height: 100vh;
  /* aspect-ratio: 1 / 1; */
  position: absolute;
  width: 100%;
  right: 0;
}
.collage .grid {
  display: flex;
  height: 100%;
  width: 100%;
  display: flex;
  padding-left: 49px;
}
.collage .grid .column {
  border-left: 1px solid var(--border);
  height: 100%;
  width: 100%;
}

#start.section {
  width: 985px;
}
#start.section .section-title {
  font-size: 169px;
  line-height: 80%;
  height: 100%;
}
#start.section .section-inner {
  display: flex;
  justify-content: center;
}
#start.section .section-inner h1 {
  height: 100%;
}

.work-index {
  padding-top: 0;
  padding-bottom: 0;
}

.credits-roller {
  aspect-ratio: 16/9;
  height: 100%;
  width: 177.7777777778vh;
  padding: 0 35vh;
  overflow: hidden;
  user-select: none;
}
.credits-roller .group {
  position: relative;
  margin-bottom: 60px;
}
.credits-roller .group label {
  position: absolute;
  opacity: 0.5;
}
.credits-roller .group .item {
  display: flex;
  width: 100%;
  margin-bottom: 0.8em;
}
.credits-roller .group .item .client {
  width: 50%;
  text-align: right;
  padding-right: 20px;
}
.credits-roller .group .item .disciplines {
  width: 50%;
  text-align: left;
  padding-left: 20px;
  opacity: 0.5;
  position: relative;
}

#work-notable {
  padding: 0;
  width: calc(var(--notable-cols, 30) * 100vh / 8 + 49px);
  height: 100vh;
  overflow: visible;
  position: relative;
}
#work-notable .section-label {
  border-left: none;
}

.notable-grid {
  margin-left: 49px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  --cell-size: calc(100vh / 8);
  --grid-line-color: rgba(0, 0, 0, 0.06);
  background-size: var(--cell-size) var(--cell-size);
  background-image: linear-gradient(to right, var(--grid-line-color) 1px, transparent 0), linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 0);
}

html[data-theme=dark] .notable-grid {
  --grid-line-color: rgba(255, 255, 255, 0.06);
}

.notable-item {
  position: absolute;
  user-select: none;
  transform-origin: top left;
}
.notable-item img,
.notable-item video {
  display: block;
  width: auto;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.notable-item__arrow {
  font-family: "Inter", system-ui, sans-serif;
}
.notable-item__byline {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0.8;
}

p b {
  font-weight: 400;
  font-family: "Inter", system-ui, sans-serif;
}

.end-screen {
  width: 1400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.end-screen .section-inner {
  justify-content: center;
}
.end-screen p {
  text-align: center;
  max-width: 600px;
}
.end-screen p a {
  color: var(--text);
}

.get-cv a {
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
  font-size: 12px;
  padding: 6px 16px;
  transform: translateY(-13px);
  display: inline-block;
  margin-left: 428px;
  text-decoration: none;
}

.section-byline {
  margin-left: 0;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.8;
  width: 246px;
  left: 0;
  bottom: 0;
  line-height: 120%;
  position: relative;
}
.section-byline b {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  background: var(--text);
  color: var(--bg);
  border-radius: 100px;
  font-size: 9px;
  height: 13px;
  display: inline-flex;
  width: 13px;
  aspect-ratio: 1/1;
  transform: translateY(-2px);
  line-height: 0;
  align-items: center;
  justify-content: center;
}

#cv {
  min-width: 1400px;
}

#cv .section-inner {
  height: 100%;
  justify-content: center;
}
#cv .section-inner .section-byline {
  margin-left: 0;
  margin-top: 0px;
  font-size: 14px;
  opacity: 0.8;
  width: auto;
  left: 0;
  bottom: 0;
  line-height: 120%;
  position: relative;
}
