@font-face {
  font-family: "Broadsheet";
  src: url("../assets/fonts/Broadsheet.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: optional
}

:root {
  --bg: #eeeae3;
  --bg-2: #e6e0d6;
  --ink: #151513;
  --muted: #716e66;
  --soft: #d7d0c5;
  --line: rgba(21, 21, 19, .16);
  --accent: #1f4f35;
  --glass: rgba(238, 234, 227, .84);
  --serif: "Broadsheet", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Mono", "Courier New", monospace;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease2: cubic-bezier(.16, 1, .3, 1);
  --header-h: 70px;
  --header-offset: 70px;
}

html[data-theme="dark"] {
  --bg: #121210;
  --bg-2: #191816;
  --ink: #ece8df;
  --muted: #aaa69e;
  --soft: #282622;
  --line: rgba(236, 232, 223, .16);
  --accent: #9fd7a8;
  --glass: rgba(18, 18, 16, .86)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  background: var(--bg)
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  transition: background .35s, color .35s
}

body.is-locked {
  overflow: hidden
}

body.header-away {
  --header-offset: 0px
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
textarea {
  font: inherit;
  color: inherit
}

button {
  cursor: pointer
}

::selection {
  background: var(--ink);
  color: var(--bg)
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
  opacity: .042;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E")
}

html[data-theme="dark"] .noise {
  mix-blend-mode: screen;
  opacity: .025
}

/* Loader */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: transparent;
  pointer-events: all;
}

.intro-loader img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  z-index: 70;
  transition: transform .4s var(--ease), background .35s, border .35s
}

.site-header.hide {
  transform: translateY(-101%)
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase
}

.brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  overflow: visible
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase
}

.header-center button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit
}

.header-center a,
.header-center button {
  position: relative;
  padding: 4px 0
}

.header-center a:after,
.header-center button:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .24s
}

.header-center a:hover:after,
.header-center button:hover:after {
  right: 0
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px
}

.tool-btn,
.burger {
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s
}

.tool-btn:hover,
.burger:hover {
  background: var(--ink);
  color: var(--bg)
}

.tool-btn:active,
.burger:active {
  transform: scale(.94)
}

.burger {
  display: none;
  position: relative
}

.burger span,
.burger:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
  left: 10px;
  transition: .28s var(--ease)
}

.burger span {
  top: 14px
}

.burger:before {
  top: 20px
}

.burger.open span {
  top: 17px;
  transform: rotate(45deg)
}

.burger.open:before {
  top: 17px;
  transform: rotate(-45deg)
}

/* Menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--bg);
  color: var(--ink);
  padding: 112px 7vw 34px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  transform: translateY(-102%);
  transition: transform .66s var(--ease2), background .35s, color .35s
}

.menu.open {
  transform: translateY(0)
}

.menu-links {
  display: flex;
  flex-direction: column;
  justify-content: center
}

.menu-links a,
.menu-links button {
  width: max-content;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
  font: italic 400 clamp(48px, 7vw, 102px)/.9 var(--serif);
  letter-spacing: -.05em;
  transition: opacity .25s, transform .25s
}

.menu-links a:hover,
.menu-links button:hover {
  opacity: .52;
  transform: translateX(10px)
}

.menu-meta {
  align-self: end;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

main {
  padding-top: var(--header-h)
}

.section {
  border-bottom: 1px solid var(--line)
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted)
}

.kicker:before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor
}

/* hero */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden
}

.hero-copy {
  padding: 7vw 5vw 5vw 6vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line)
}

.hero h1 {
  margin: 30px 0 22px;
  font: italic 400 clamp(70px, 9vw, 145px)/.79 var(--serif);
  letter-spacing: -.065em
}

.hero-lead {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted)
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 60px
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 230px;
  gap: 28px;
  border: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  padding: 14px 16px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s
}

.cta:hover {
  background: var(--ink);
  color: var(--bg)
}

.cta:active {
  transform: scale(.985)
}

.cta span:last-child {
  font-size: 16px
}

.hero-note {
  max-width: 205px;
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right
}

.hero-visual {
  position: relative;
  background: #0e0e0d;
  overflow: hidden
}

.hero-video {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.03);
  transition: filter .35s
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06) 35%, rgba(0, 0, 0, .3));
  pointer-events: none
}

.hero-label {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .44);
  background: rgba(20, 20, 18, .14);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase
}

.hero-index {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: #fff;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase
}

.scroll-cue {
  position: absolute;
  right: 18px;
  bottom: 20px;
  color: #fff;
  width: 28px;
  height: 74px;
  display: grid;
  justify-items: center;
  gap: 8px
}

.scroll-cue span {
  font-size: 8px;
  letter-spacing: .13em;
  writing-mode: vertical-rl;
  text-transform: uppercase
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 30px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite
}

@keyframes cue {

  0%,
  100% {
    transform: scaleY(.3);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }
}

/* marquee */
.marquee {
  height: 52px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center
}

.marquee__track {
  width: max-content;
  display: flex;
  gap: 58px;
  padding-left: 32px;
  animation: marquee 28s linear infinite;
  will-change: transform
}

.marquee__track span {
  font: italic 400 22px/1 var(--serif);
  white-space: nowrap
}

.marquee__track span:after {
  content: "✶";
  font-style: normal;
  margin-left: 58px;
  color: var(--accent);
  font-size: 12px
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

/* gallery */
.portfolio {
  position: relative
}

.portfolio__toolbar {
  position: sticky;
  top: var(--header-offset);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(15px);
  transition: top .4s var(--ease)
}

.portfolio__title {
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase
}

.filters {
  display: flex;
  gap: 4px;
  overflow: auto;
  scrollbar-width: none
}

.filters::-webkit-scrollbar {
  display: none
}

.filter {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap
}

.filter:hover {
  border-color: var(--line)
}

.filter.active {
  background: var(--ink);
  color: var(--bg)
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line)
}

.portfolio-card {
  background: var(--bg);
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease2), transform .5s var(--ease2), background .35s
}

.portfolio-card.visible {
  opacity: 1;
  transform: none
}

.portfolio-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--soft)
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.8) contrast(.98);
  transition: transform .7s var(--ease2), opacity .18s ease, filter .35s
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.025)
}

.portfolio-card__image.switching {
  opacity: .18
}

.portfolio-card__open {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 2
}

.portfolio-card__number,
.portfolio-card__type {
  position: absolute;
  z-index: 3;
  top: 10px;
  padding: 6px 7px;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none
}

.portfolio-card__number {
  left: 10px;
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--line)
}

.portfolio-card__type {
  right: 10px;
  background: rgba(17, 17, 15, .78);
  color: #f4f1e8
}

.portfolio-card__progress {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 20px;
  background: rgba(15, 15, 14, .24);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .2s
}

.portfolio-card:hover .portfolio-card__progress,
.portfolio-card:focus-within .portfolio-card__progress {
  opacity: 1
}

.portfolio-card__segment {
  width: 18px;
  height: 12px;
  border: 0;
  background: transparent;
  padding: 5px 0
}

.portfolio-card__segment:before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .45);
  transition: background .2s, transform .2s
}

.portfolio-card__segment.active:before {
  background: #fff;
  transform: scaleY(2)
}

.portfolio-card__body {
  height: 74px;
  border-top: 1px solid var(--line);
  padding: 12px 12px 13px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.portfolio-card__title {
  font: italic 400 18px/1.05 var(--serif);
  overflow: hidden;
  text-overflow: ellipsis
}

.portfolio-card__meta {
  text-align: right;
  font-size: 7px;
  line-height: 1.55;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap
}

.filter-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s
}

.filter-loader.show {
  opacity: 1;
  pointer-events: auto
}

.filter-box {
  text-align: center
}

.filter-ascii {
  font: 10px/1 "Courier New", monospace;
  white-space: pre;
  margin: 0 0 10px
}

.filter-text {
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted)
}

/* booking */
.booking {
  min-height: 680px;
  display: grid;
  grid-template-columns: .84fr 1.16fr
}

.booking-intro {
  padding: 6vw;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.booking-intro h2 {
  font: italic 400 clamp(50px, 6.2vw, 92px)/.86 var(--serif);
  letter-spacing: -.055em;
  margin: 28px 0 28px
}

.booking-intro p {
  max-width: 500px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted)
}

.booking-small {
  margin-top: 48px;
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted)
}

.booking-form {
  padding: 6vw;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.form-block {
  border: 0;
  padding: 0;
  margin: 0 0 36px
}

.form-block legend,
.field>span {
  display: block;
  margin-bottom: 11px;
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted)
}

.choice-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.choice-row label {
  position: relative
}

.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.choice-row span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 13px;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .2s
}

.choice-row input:checked+span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0 0 11px;
  outline: 0;
  font: italic 400 20px/1.2 var(--serif);
  transition: border-color .2s
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink)
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: .62
}

.field-area {
  margin-top: 30px
}

.field textarea {
  resize: none;
  min-height: 68px;
  max-height: 68px;
  overflow: auto
}

.form-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px
}

.form-bottom p {
  max-width: 310px;
  margin: 0;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

.submit-btn {
  min-width: 245px
}

.form-result {
  height: 18px;
  margin-top: 16px;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent)
}

/* footer */
footer {
  min-height: 82px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase
}

.footer-left,
.footer-right {
  display: flex;
  gap: 18px;
  align-items: center
}

.footer-info {
  border: 0;
  background: transparent;
  padding: 0;
  border-bottom: 1px solid currentColor;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: .13em
}

.footer-info span {
  display: inline-block;
  transition: transform .25s
}

.footer-info:hover span {
  transform: rotate(90deg)
}

/* info drawer */
.info-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s
}

.info-backdrop.open {
  opacity: 1;
  pointer-events: auto
}

.info-drawer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: min(76vh, 720px);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: .35fr .65fr;
  transform: translateY(104%);
  transition: transform .58s var(--ease2), background .35s;
  overflow: hidden
}

.info-backdrop.open .info-drawer {
  transform: none
}

.info-nav {
  border-right: 1px solid var(--line);
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.info-nav h3 {
  font: italic 400 36px/1 var(--serif);
  margin: 0 0 28px
}

.info-tab {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 0;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}

.info-tab.active {
  color: var(--ink)
}

.info-tab.active:before {
  content: "";
  color: var(--accent)
}

.info-content {
  padding: 42px 6vw 50px;
  overflow: auto;
  position: relative
}

.info-close {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent
}

.info-pane {
  display: none;
  max-width: 760px
}

.info-pane.active {
  display: block
}

.info-pane h4 {
  font: italic 400 clamp(42px, 5vw, 70px)/.9 var(--serif);
  letter-spacing: -.04em;
  margin: 34px 0 28px
}

.info-pane p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 650px
}

/* Work viewer */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 10, 9, .975);
  color: #f0ede6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto
}

.viewer-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  touch-action: none;
  user-select: none
}

.viewer-image-wrap {
  position: absolute;
  inset: 24px 72px;
  display: grid;
  place-items: center;
  overflow: hidden
}

.viewer-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .45s var(--ease2), opacity .2s
}

.viewer-image-wrap img.changing {
  opacity: .12
}

.viewer-stage.zoomed .viewer-image-wrap img {
  transition: transform .12s ease-out
}

.viewer-stage.dragging .viewer-image-wrap img {
  transition: none
}

.viewer-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(10, 10, 9, .15);
  backdrop-filter: blur(8px);
  color: #fff
}

.viewer-arrow.prev {
  left: 18px
}

.viewer-arrow.next {
  right: 18px
}

.viewer-arrow:hover {
  background: #f0ede6;
  color: #111
}

.viewer-count {
  position: absolute;
  left: 22px;
  bottom: 18px;
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55)
}

.zoom-node {
  position: absolute;
  z-index: 6;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
  transition: opacity .18s, transform .18s;
  background: rgba(15, 15, 14, .12);
  backdrop-filter: blur(3px)
}

.viewer-stage:hover .zoom-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1)
}

.magnifier-icon {
  width: 14px;
  height: 14px;
  border: 1px solid #fff;
  border-radius: 50%;
  position: relative
}

.magnifier-icon:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1px;
  background: #fff;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
  transform-origin: left
}

.zoom-node small {
  font-size: 6px;
  letter-spacing: .13em
}

.lightbox-side {
  border-left: 1px solid rgba(255, 255, 255, .15);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.lightbox-side h3 {
  font: italic 400 38px/1 var(--serif);
  margin: 14px 0
}

.lightbox-side p {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6)
}

.lightbox-side .kicker {
  color: rgba(255, 255, 255, .45)
}

.lightbox-close {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: transparent;
  color: #fff
}

.lightbox-note {
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42)
}

/* back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, bottom .38s var(--ease)
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.to-top.above-footer {
  bottom: 102px
}

.to-top svg {
  position: absolute;
  inset: 3px;
  width: 40px;
  height: 40px;
  transform: rotate(-90deg)
}

.to-top circle {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2
}

.to-top circle.progress {
  stroke: var(--ink);
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transition: stroke-dashoffset .08s linear
}

.to-top-arrow {
  font-size: 16px;
  transition: transform .22s
}

.to-top:hover .to-top-arrow {
  transform: translateY(-3px)
}

/* Cursor */
.leaf-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 29px;
  height: 34px;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  will-change: transform
}

.leaf-cursor svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform .2s var(--ease)
}

.leaf-cursor path:first-child {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 1.25;
  transition: fill .15s, stroke .15s
}

.leaf-cursor .leaf-vein {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1
}

.leaf-cursor.interactive svg {
  transform: rotate(34deg) scale(1.18)
}

.leaf-cursor.down svg {
  transform: rotate(-26deg) scale(.82)
}

.leaf-cursor.down path:first-child {
  fill: var(--accent)
}

.leaf-cursor.hidden {
  opacity: 0 !important
}

@media (pointer:fine) and (prefers-reduced-motion:no-preference) {

  body,
  a,
  button,
  .portfolio-card {
    cursor: none
  }

  .leaf-cursor {
    opacity: 1
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .68s var(--ease2), transform .68s var(--ease2)
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media (max-width:980px) {
  .header-center {
    display: none
  }

  .burger {
    display: grid
  }

  .menu {
    grid-template-columns: 1fr
  }

  .menu-meta {
    margin-top: 30px
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .hero-copy {
    min-height: 62svh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12vw 7vw 8vw
  }

  .hero-visual {
    min-height: 72svh
  }

  .hero-bottom {
    margin-top: 42px
  }

  .booking {
    grid-template-columns: 1fr
  }

  .booking-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .info-drawer {
    grid-template-columns: 1fr;
    height: min(84vh, 760px)
  }

  .info-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
    display: block;
    white-space: nowrap;
    overflow: auto
  }

  .info-nav h3 {
    display: none
  }

  .info-tab {
    margin-right: 18px
  }

  .info-content {
    padding: 24px
  }

  .lightbox {
    grid-template-columns: 1fr
  }

  .lightbox-side {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(18, 18, 16, .74);
    backdrop-filter: blur(14px);
    padding: 14px 16px;
    z-index: 7
  }

  .lightbox-side p,
  .lightbox-side .kicker,
  .lightbox-note {
    display: none
  }

  .lightbox-side h3 {
    font-size: 24px;
    margin: 4px 50px 4px 0
  }

  .lightbox-close {
    position: absolute;
    right: 12px;
    top: 12px
  }

  .viewer-image-wrap {
    inset: 18px 54px 94px
  }

  .zoom-node {
    display: none
  }
}

@media (max-width:700px) {
  :root {
    --header-h: 60px;
    --header-offset: 60px
  }

  .site-header {
    padding: 0 12px
  }

  .brand {
    font-size: 10px
  }

  .tool-btn,
  .burger {
    height: 34px;
    min-width: 34px
  }

  .burger span,
  .burger:before {
    left: 9px
  }

  .menu {
    padding: 90px 6vw 24px
  }

  .menu-links a,
  .menu-links button {
    font-size: 52px
  }

  .menu-meta {
    grid-template-columns: 1fr
  }

  .hero-copy {
    min-height: 55svh;
    padding: 15vw 6vw 9vw
  }

  .hero h1 {
    font-size: clamp(66px, 23vw, 105px);
    margin-top: 24px
  }

  .hero-lead {
    font-size: 13px;
    max-width: 360px
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column
  }

  .hero-note {
    text-align: left
  }

  .hero-visual {
    min-height: 67svh
  }

  .marquee {
    height: 46px
  }

  .marquee__track {
    gap: 42px
  }

  .marquee__track span {
    font-size: 19px
  }

  .marquee__track span:after {
    margin-left: 42px
  }

  .portfolio__toolbar {
    padding: 11px 10px;
    display: block
  }

  .portfolio__title {
    margin-bottom: 9px
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .portfolio-card__media {
    aspect-ratio: 4/5
  }

  .portfolio-card__body {
    height: 66px;
    padding: 9px
  }

  .portfolio-card__title {
    font-size: 15px
  }

  .portfolio-card__meta {
    font-size: 6.5px
  }

  .portfolio-card__progress {
    opacity: 1;
    bottom: 7px;
    padding: 5px 6px
  }

  .portfolio-card__segment {
    width: 12px
  }

  .booking-intro,
  .booking-form {
    padding: 44px 6vw
  }

  .booking-intro h2 {
    font-size: 48px
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .form-bottom {
    align-items: stretch;
    flex-direction: column
  }

  .submit-btn {
    width: 100%;
    min-width: 0
  }

  .field input,
  .field textarea {
    font-size: 18px
  }

  footer {
    min-height: 92px;
    padding: 18px 12px;
    align-items: flex-start
  }

  .footer-left {
    display: block
  }

  .footer-left span {
    display: block;
    margin-bottom: 6px
  }

  .footer-right {
    gap: 12px
  }

  .to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px
  }

  .to-top.above-footer {
    bottom: 106px
  }

  .to-top svg {
    width: 36px;
    height: 36px
  }

  .intro-topline,
  .intro-bottomline {
    left: 12px;
    right: 12px;
    font-size: 7px
  }

  .intro-topline {
    top: 16px
  }

  .intro-bottomline {
    bottom: 16px
  }

  .intro-ascii {
    font-size: 6px;
    letter-spacing: 0
  }

  .viewer-image-wrap {
    inset: 12px 12px 96px
  }

  .viewer-arrow {
    top: auto;
    bottom: 28px;
    width: 40px;
    height: 40px;
    z-index: 8
  }

  .viewer-arrow.prev {
    left: 20px
  }

  .viewer-arrow.next {
    right: 20px
  }

  .viewer-count {
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%)
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .leaf-cursor {
    display: none
  }

  .intro {
    display: none
  }

  .reveal,
  .portfolio-card {
    opacity: 1 !important;
    transform: none !important
  }

  .marquee__track {
    animation: none
  }
}

/* Responsive refinements */
.intro {
  background: #000;
  color: #f4f1e8;
  opacity: 1
}

.intro.exit {
  transform: none;
  opacity: 0;
  transition: opacity .55s ease
}

.intro video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none
}

.intro canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none
}

.intro-ascii {
  display: none !important
}

.intro-topline,
.intro-bottomline {
  color: rgba(244, 241, 232, .62);
  z-index: 2
}

#introStatus {
  color: rgba(244, 241, 232, .86)
}

.marquee__track span:after {
  content: "✾"
}

.lightbox {
  grid-template-columns: minmax(0, 1fr) 360px
}

.viewer-stage {
  touch-action: manipulation;
  user-select: none
}

.viewer-image-wrap {
  inset: 24px 70px 46px
}

.viewer-image-wrap img {
  transform: none !important;
  transition: opacity .22s ease
}

.viewer-image-wrap img.changing {
  opacity: .18
}

.zoom-node,
.magnifier-icon {
  display: none !important
}

.lightbox-side {
  border-left: 1px solid rgba(255, 255, 255, .15);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer
}

.lightbox-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px
}

.lightbox-headcopy {
  min-width: 0
}

.lightbox-scroll {
  margin-top: 18px;
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding-right: 2px
}

.lightbox-side h3 {
  font: italic 400 34px/1 var(--serif);
  margin: 12px 0 0
}

.lightbox-side p {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .67);
  margin: 0
}

.lightbox-note {
  display: block;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  padding-top: 18px
}

.lightbox-close {
  position: static;
  align-self: flex-start;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  flex: 0 0 auto
}

.viewer-count {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(10, 10, 9, .28);
  padding: 6px 9px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .8)
}

@media (max-width:980px) {
  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto
  }

  .viewer-image-wrap {
    inset: 18px 58px 18px
  }

  .lightbox-side {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    background: rgba(18, 18, 16, .92);
    backdrop-filter: blur(18px);
    padding: 14px 14px 16px;
    max-height: 34svh;
    overflow: hidden;
    z-index: 7;
    cursor: default
  }

  .lightbox-meta {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(18, 18, 16, .92);
    padding-bottom: 12px
  }

  .lightbox-side .kicker,
  .lightbox-note,
  .lightbox-side p {
    display: block
  }

  .lightbox-side h3 {
    font-size: 24px;
    margin: 6px 0 0
  }

  .lightbox-scroll {
    margin-top: 0;
    overflow: auto;
    padding-right: 4px
  }

  .lightbox-note {
    padding-top: 12px
  }
}

@media (max-width:700px) {
  .viewer-image-wrap {
    inset: 12px 54px 12px
  }

  .viewer-arrow {
    top: 50%;
    bottom: auto;
    width: 42px;
    height: 42px;
    z-index: 8
  }

  .viewer-arrow.prev {
    left: 12px
  }

  .viewer-arrow.next {
    right: 12px
  }

  .viewer-count {
    bottom: 10px;
    font-size: 7px
  }

  .info-drawer {
    height: min(84vh, 760px);
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr
  }

  .info-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 12px 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 10px 12px;
    white-space: normal;
    overflow: visible
  }

  .info-nav h3 {
    display: none
  }

  .info-tab {
    margin: 0;
    padding: 0;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .1em
  }

  .info-nav .info-tab:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1
  }

  .info-nav .info-tab:nth-of-type(2) {
    grid-column: 1;
    grid-row: 1
  }

  .info-nav .info-tab:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2
  }

  .info-nav .info-tab:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2
  }

  .info-nav .info-tab:nth-of-type(5) {
    grid-column: 3;
    grid-row: 1
  }

  .info-nav .info-tab:nth-of-type(6) {
    grid-column: 3;
    grid-row: 2
  }

  .info-content {
    padding: 18px 16px 22px
  }

  .info-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px
  }

  .info-pane h4 {
    font-size: 34px;
    margin: 24px 0 18px
  }

  .info-pane p {
    font-size: 13px;
    line-height: 1.7;
    padding-right: 44px
  }
}


/* Loader compatibility */
.intro {
  background: transparent !important;
  pointer-events: auto
}

.intro canvas {
  background: transparent !important
}

.intro.exit {
  pointer-events: none
}

/* Portfolio interaction */
.intro {
  background: transparent !important;
  transition: opacity .68s ease !important
}

.intro.exit {
  opacity: 0 !important;
  transform: none !important
}

.intro canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  pointer-events: none !important
}

.marquee__track span:after {
  content: "ꕤ" !important
}

.portfolio-card__progress {
  gap: 4px !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important
}

.portfolio-card__segment {
  width: 11px !important;
  height: 10px !important;
  padding: 4px 0 !important
}

.portfolio-card__segment:before {
  height: 1px !important;
  background: rgba(255, 255, 255, .5) !important
}

.portfolio-card__segment.active:before {
  background: #fff !important;
  transform: scaleY(1.6) !important
}

.leaf-cursor svg {
  transform: rotate(-38deg)
}

.leaf-cursor.interactive svg {
  transform: rotate(-24deg) scale(1.14)
}

.leaf-cursor.down svg {
  transform: rotate(-46deg) scale(.82)
}

@media (max-width:700px) {
  .portfolio-card__progress {
    bottom: 7px !important;
    padding: 0 !important;
    gap: 3px !important
  }

  .portfolio-card__segment {
    width: 8px !important;
    height: 8px !important;
    padding: 3px 0 !important
  }
}

/* Content refinements */
:root {
  --header-shift: 0px;
  --header-offset: calc(var(--header-h) + var(--header-shift))
}

body.header-away {
  --header-shift: calc(var(--header-h) * -1);
  --header-offset: 0px
}

.site-header,
.site-header.hide {
  transform: translateY(var(--header-shift));
  transition: transform .4s var(--ease), background .35s, border .35s
}

.portfolio__toolbar {
  top: var(--header-offset);
  transition: top .4s var(--ease)
}

.portfolio-card__count {
  font-size: 8.75px;
  letter-spacing: .115em
}

.portfolio-card__material {
  font-size: 7px
}

.hero-note {
  min-width: 205px;
  min-height: 2.9em
}

.memo-pane {
  max-width: 980px !important
}

.memo-sheet {
  display: grid;
  gap: 34px;
  padding-bottom: 24px
}

.memo-section {
  border-top: 1px solid var(--line);
  padding-top: 18px
}

.memo-section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px
}

.memo-code {
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px
}

.memo-list {
  list-style: none;
  counter-reset: memo;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px
}

.memo-list li {
  counter-increment: memo;
  position: relative;
  padding-left: 34px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink);
  max-width: 760px
}

.memo-list li:before {
  content: "ꕤ";
  position: absolute;
  left: 0;
  top: .06em;
  font-size: 15px;
  color: var(--accent)
}

.memo-list-compact {
  gap: 12px
}

.memo-list-compact li {
  font-size: 12px;
  line-height: 1.62;
  padding-left: 27px;
  color: var(--muted)
}

.memo-list-compact li:before {
  font-size: 12px
}

.memo-footnote {
  border-top: 1px solid var(--line);
  padding-top: 16px !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.62 !important;
  letter-spacing: .025em;
  color: var(--muted) !important
}

.care-switch {
  display: flex;
  gap: 5px;
  margin: -8px 0 28px
}

.care-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase
}

.care-tab.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.care-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 18px
}

.care-panel.active {
  display: block
}

@media (pointer:fine) and (prefers-reduced-motion:no-preference) {

  html,
  body,
  body *,
  body *:before,
  body *:after {
    cursor: none !important
  }
}

@media (max-width:980px) {
  .memo-section-split {
    grid-template-columns: 1fr;
    gap: 30px
  }
}

@media (max-width:700px) {
  .portfolio-card__count {
    font-size: 6.5px;
    letter-spacing: .1em
  }

  .portfolio-card__material {
    font-size: 6.5px
  }

  .hero-note {
    min-width: 0;
    min-height: 3em
  }

  .viewer-image-wrap {
    inset: 10px !important
  }

  .viewer-arrow {
    top: 50% !important;
    bottom: auto !important;
    width: 42px;
    height: 42px;
    background: rgba(10, 10, 9, .3);
    border-color: rgba(255, 255, 255, .28)
  }

  .viewer-arrow.prev {
    left: 10px !important
  }

  .viewer-arrow.next {
    right: 10px !important
  }

  .viewer-count {
    bottom: 10px !important
  }

  .memo-sheet {
    gap: 26px
  }

  .memo-section {
    padding-top: 14px
  }

  .memo-list {
    gap: 16px
  }

  .memo-list li {
    font-size: 13px;
    line-height: 1.65;
    padding-left: 28px
  }

  .memo-list li:before {
    font-size: 13px
  }

  .memo-list-compact {
    gap: 11px
  }

  .memo-list-compact li {
    font-size: 11.5px;
    line-height: 1.58;
    padding-left: 24px
  }

  .memo-code {
    font-size: 8px;
    margin-bottom: 14px
  }

  .care-switch {
    margin: -4px 0 20px
  }
}


/* Typography, consent and viewer details */
.leaf-cursor {
  display: none !important
}

.hero-work-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .34em;
  text-transform: uppercase;
  padding: 8px 0;
  color: var(--ink);
  position: relative
}

.hero-work-link:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right .32s var(--ease)
}

.hero-work-link:hover:after {
  right: 0
}

.hero-work-link .ascii-arrow {
  font-family: "Courier New", monospace;
  letter-spacing: 0;
  font-size: 11px;
  transition: letter-spacing .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap
}

.hero-work-link:hover .ascii-arrow {
  letter-spacing: .28em;
  transform: translateX(3px)
}

.cursor-ring,
.cursor-leaf {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  will-change: transform;
  transition: opacity .15s ease
}

.cursor-ring.visible,
.cursor-leaf.visible {
  opacity: 1
}

.cursor-ring {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 30%, transparent);
  backdrop-filter: blur(2px);
  transition: width .18s var(--ease), height .18s var(--ease), border-color .18s, background .18s, opacity .15s
}

.cursor-ring.interactive {
  width: 16px;
  height: 16px;
  background: color-mix(in srgb, var(--bg) 62%, transparent)
}

.cursor-ring.down {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-color: var(--accent)
}

.cursor-leaf {
  width: 24px;
  height: 29px;
  transform-origin: 50% 75%
}

.cursor-leaf svg {
  width: 100%;
  height: 100%;
  overflow: visible
}

.cursor-leaf path:first-child {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 1.2;
  transition: fill .18s, stroke .18s
}

.cursor-leaf .leaf-vein {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1
}

.cursor-leaf.interactive path:first-child {
  fill: color-mix(in srgb, var(--accent) 14%, var(--bg))
}

.lightbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.lightbox-tabs.single {
  display: none
}

.lightbox-tab {
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: rgba(255, 255, 255, .58);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border .2s
}

.lightbox-tab:hover,
.lightbox-tab.active {
  background: #f4f1e8;
  color: #141412;
  border-color: #f4f1e8
}

.model-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 2px 0
}

.model-name {
  font: 400 28px/1.05 var(--serif);
  color: #fff
}

.model-id {
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62)
}

.model-note {
  margin: 10px 0 2px !important;
  font-size: 10px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, .54) !important
}

.model-contact {
  display: inline-flex;
  margin-top: 8px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff
}

.model-review {
  margin: 0;
  padding: 0;
  border: 0;
  font: 400 24px/1.4 var(--serif);
  color: #fff
}

.review-cite {
  margin-top: 18px;
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52)
}

.cookie-note {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 230;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .1);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  transition: transform .46s var(--ease2), opacity .3s, visibility .3s
}

.cookie-note.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible
}

.cookie-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.cookie-copy p {
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted)
}

.cookie-mark {
  font-size: 17px;
  color: var(--accent);
  flex: 0 0 auto
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto
}

.cookie-actions button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 12px;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase
}

.cookie-accept {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important
}

@media (pointer:coarse),
(prefers-reduced-motion:reduce) {

  .cursor-ring,
  .cursor-leaf {
    display: none !important
  }
}

@media (max-width:700px) {
  .hero-work-link {
    font-size: 9px;
    letter-spacing: .27em;
    gap: 12px
  }

  .lightbox-tabs {
    margin-top: 12px;
    padding-bottom: 10px
  }

  .lightbox-tab {
    font-size: 7.5px;
    padding: 7px 9px
  }

  .model-name {
    font-size: 24px
  }

  .model-review {
    font-size: 20px;
    line-height: 1.35
  }

  .cookie-note {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 13px
  }

  .cookie-actions {
    width: 100%
  }

  .cookie-actions button {
    flex: 1
  }
}


/* Cursor, form and scrollbars */
@media (pointer:fine) {

  html,
  body,
  body *,
  body *::before,
  body *::after {
    cursor: none !important
  }
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px
}

*::-webkit-scrollbar-track {
  background: transparent
}

*::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--ink)
}

*::-webkit-scrollbar-corner {
  background: transparent
}

.field-area {
  margin-top: 24px
}

.field textarea {
  resize: none !important;
  min-height: 68px !important;
  height: 68px;
  max-height: 68px !important;
  overflow: auto
}

.cursor-ring,
.cursor-leaf {
  z-index: 999999 !important
}

.cursor-leaf {
  display: block;
  width: 24px !important;
  height: 29px !important;
  overflow: visible
}

.cursor-leaf svg {
  display: block;
  width: 24px !important;
  height: 29px !important;
  max-width: none !important;
  max-height: none !important
}

@media (max-width:700px) {
  .field textarea {
    min-height: 60px !important;
    height: 60px;
    max-height: 60px !important
  }
}


/* Site loader */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999990;
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
}

.site-loader__animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

/* Portfolio card interface */
.portfolio-card__number,
.portfolio-card__type {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .22s ease, transform .32s var(--ease2);
}

.portfolio-card__progress {
  opacity: 0 !important;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .32s var(--ease2) !important;
}

.portfolio-card:hover .portfolio-card__number,
.portfolio-card:hover .portfolio-card__type,
.portfolio-card:focus-within .portfolio-card__number,
.portfolio-card:focus-within .portfolio-card__type,
.portfolio-card.is-active .portfolio-card__number,
.portfolio-card.is-active .portfolio-card__type {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover .portfolio-card__progress,
.portfolio-card:focus-within .portfolio-card__progress,
.portfolio-card.is-active .portfolio-card__progress {
  opacity: 1 !important;
  transform: translate(-50%, 0);
}

/* Work viewer tabs */
.lightbox-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.lightbox-tabs.single {
  display: none
}

.lightbox-tab {
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  padding: 12px 6px 13px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-align: center;
  transition: color .2s ease, background .2s ease;
}

.lightbox-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width .24s var(--ease), background .2s;
}

.lightbox-tab:hover {
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .025);
}

.lightbox-tab:hover::after {
  width: 34%
}

.lightbox-tab.active {
  color: #fff;
  background: transparent;
}

.lightbox-tab.active::after {
  width: 100%;
  background: var(--accent);
}

.lightbox-scroll {
  min-height: 120px;
  will-change: opacity, transform;
}

.model-card {
  gap: 10px;
  padding: 8px 0
}

.model-name {
  font-size: 30px
}

.model-id {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: none;
  color: rgba(255, 255, 255, .68);
}

.model-note,
.model-contact {
  display: none !important
}

.model-review {
  font-size: 26px;
  line-height: 1.42
}

.review-cite {
  font-size: 10px
}

/* Booking layout stability */
.booking {
  min-height: 720px;
  align-items: stretch;
}

.booking-intro,
.booking-form {
  min-width: 0;
  min-height: 720px;
  contain: layout style;
}

.booking-form {
  justify-content: center;
}

.form-block {
  min-height: 76px;
}

.choice-row {
  min-height: 38px;
}

.form-grid {
  min-height: 150px;
}

.field input {
  min-height: 36px;
}

.field-area {
  min-height: 102px;
}

.form-bottom {
  min-height: 64px;
}

.form-result {
  min-height: 18px;
  height: 18px;
}

/* Cursor particles */
.cursor-leaf {
  display: none !important
}

.cursor-ring {
  z-index: 999999 !important;
}

.cursor-particle {
  position: fixed;
  z-index: 999998;
  width: 8px;
  height: 8px;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 9px;
  line-height: 1;
  transform-origin: center;
  will-change: transform, opacity;
}

.cursor-particle--flower {
  width: 12px;
  height: 12px;
  font-size: 10px;
}

.cursor-particle--dot {
  font-size: 10px;
}

.cursor-particle--leaf {
  width: 8px;
  height: 11px;
  border: 1px solid var(--accent);
  border-radius: 90% 0 90% 0;
  transform: rotate(35deg);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

/* Copy deterrence */
body,
main,
header,
footer,
.menu,
.info-backdrop,
.lightbox {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

img,
video {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Mobile tuning */
@media (max-width:980px) {

  .booking-intro,
  .booking-form {
    min-height: auto;
    contain: layout style;
  }
}

@media (max-width:700px) {
  .lightbox-tab {
    padding: 10px 4px 11px;
    font-size: 11.5px;
    letter-spacing: .04em;
  }

  .lightbox-scroll {
    min-height: 96px
  }

  .portfolio-card__number,
  .portfolio-card__type {
    transform: translateY(-10px);
  }

  .portfolio-card__progress {
    transform: translate(-50%, 10px);
  }

  .portfolio-card.is-active .portfolio-card__number,
  .portfolio-card.is-active .portfolio-card__type {
    transform: translateY(0);
  }

  .portfolio-card.is-active .portfolio-card__progress {
    transform: translate(-50%, 0);
  }
}

@media (pointer:coarse),
(prefers-reduced-motion:reduce) {
  .cursor-particle {
    display: none !important
  }
}



.portfolio-card__progress {
  pointer-events: none
}

.portfolio-card:hover .portfolio-card__progress,
.portfolio-card:focus-within .portfolio-card__progress,
.portfolio-card.is-active .portfolio-card__progress {
  pointer-events: auto
}

@media (max-width:980px) {
  .lightbox-side {
    height: min(34svh, 320px);
    max-height: none;
  }
}

body,
img,
video,
.portfolio-card__media,
.viewer-stage {
  -webkit-touch-callout: none;
}

/* v7.2 — readability, stable cursor-particle pool, mobile viewer */
.cursor-particles {
  position: fixed;
  inset: 0;
  z-index: 999998;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.cursor-particles .cursor-particle {
  position: absolute;
  z-index: auto;
}

.cursor-particle[hidden] {
  display: none !important;
}

.portfolio-card__body {
  height: 86px;
  padding: 14px 14px 15px;
}

.portfolio-card__title {
  font-size: 20px;
  line-height: 1.05;
}

.portfolio-card__meta {
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .075em;
}

.lightbox-side {
  padding: 26px 28px 22px;
}

.lightbox-side .kicker {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .13em;
}

.lightbox-side h3 {
  font-size: 36px;
  line-height: .98;
  margin-top: 14px;
}

.lightbox-side p,
.lightbox-content-copy {
  font-size: 17px;
  line-height: 1.55;
}

.lightbox-note {
  font-size: 10px;
  letter-spacing: .1em;
}

.lightbox-tab {
  font-size: 14px;
  padding: 14px 8px 15px;
}

.model-id {
  font-size: 14px;
}

.review-cite {
  font-size: 12px;
}

@media (max-width: 980px) {
  .lightbox-side {
    height: min(38svh, 380px);
    padding: 16px 16px 20px;
  }

  .lightbox-side .kicker {
    display: block;
    font-size: 10px;
  }

  .lightbox-side h3 {
    font-size: 29px;
    margin: 8px 52px 0 0;
  }

  .lightbox-tab {
    font-size: 13px;
    padding: 13px 5px 14px;
  }

  .lightbox-side p,
  .lightbox-content-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .lightbox-note {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .portfolio-card__body {
    height: 82px;
    padding: 13px 10px 14px;
  }

  .portfolio-card__title {
    font-size: 18px;
  }

  .portfolio-card__meta {
    font-size: 10.5px;
    line-height: 1.4;
    letter-spacing: .065em;
  }

  .lightbox-side {
    height: min(40svh, 390px);
    padding: 15px 12px 18px;
  }

  .lightbox-side h3 {
    font-size: 28px;
  }

  .lightbox-tab {
    font-size: 12.5px;
    letter-spacing: .035em;
  }

  .lightbox-scroll {
    min-height: 120px;
  }
}
/* v7.3 card density + readable metadata */
.portfolio-card__body {
  height: 60px !important;
  padding: 9px 12px 10px !important;
  border-top: 0 !important;
}

.portfolio-card__material {
  font-size: 12px !important;
  line-height: 1.2;
}

.portfolio-card__count {
  font-size: 10px !important;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .portfolio-card__body {
    height: 60px !important;
    padding: 9px 10px 10px !important;
  }

  .portfolio-card__material {
    font-size: 12px !important;
  }

  .portfolio-card__count {
    font-size: 10px !important;
  }
}


/* v7.4 mobile delivery + typography */
.hero-work-link::after {
  display: none !important;
}

.hero-work-link .ascii-arrow {
  display: inline-block;
  min-width: 3ch;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  letter-spacing: 0;
  font-size: 11px;
  transform: none;
  transition: transform .28s var(--ease);
}

.hero-work-link .ascii-arrow::after {
  content: "-->";
}

@media (hover:hover) and (pointer:fine) {
  .hero-work-link:hover .ascii-arrow {
    letter-spacing: 0;
    transform: translateX(4px);
  }

  .hero-work-link:hover .ascii-arrow::after {
    content: "------>";
  }
}

.portfolio-card__title {
  font-style: normal !important;
}

.site-loader {
  background: #000;
}

.site-loader__animation {
  opacity: 0;
  visibility: hidden;
}

.site-loader.is-ready {
  background: transparent;
}

.site-loader.is-ready .site-loader__animation {
  opacity: 1;
  visibility: visible;
}


/* Information and booking consent */
.form-consents {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.consent-check {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.consent-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-box {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color .2s, background .2s, color .2s;
}

.consent-box::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg) scale(0);
  transition: transform .18s var(--ease);
}

.consent-check input:checked + .consent-box {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.consent-check input:checked + .consent-box::after {
  transform: rotate(-45deg) scale(1);
}

.consent-check input:focus-visible + .consent-box {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.consent-check a,
.faq-item a,
.policy-copy a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  transition: color .2s, border-color .2s;
}

.consent-check a:hover,
.faq-item a:hover,
.policy-copy a:hover {
  color: var(--accent);
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 860px;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}

.faq-item h5 {
  margin: 0 0 9px;
  font: 500 15px/1.35 var(--sans);
  color: var(--ink);
}

.faq-item p,
.policy-copy p {
  margin: 0;
  max-width: 780px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

.policy-copy {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.contact-list {
  display: grid;
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.contact-list a {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding .25s var(--ease);
}

.contact-list a:hover {
  color: var(--accent);
  padding-left: 7px;
}

.contact-list span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list strong {
  font: 400 14px/1.3 var(--sans);
  letter-spacing: .02em;
}

@media (max-width: 700px) {
  .form-consents {
    margin-top: 22px;
    gap: 11px;
  }

  .consent-check {
    font-size: 11px;
    line-height: 1.5;
  }

  .faq-item {
    padding: 17px 0 19px;
  }

  .faq-item h5 {
    font-size: 13px;
  }

  .faq-item p,
  .policy-copy p {
    font-size: 12px;
    line-height: 1.65;
  }

  .contact-list a {
    min-height: 58px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-list span {
    font-size: 10px;
  }

  .contact-list strong {
    font-size: 13px;
  }

  .memo-footnote {
    font-size: 11.5px !important;
    line-height: 1.58 !important;
  }
}


/* v7.6 — mobile information navigation and form validation */
.consent-check {
  transition: color .28s var(--ease);
}

.consent-check.is-error {
  color: #c84b4b;
}

.consent-check.is-error .consent-box {
  border-color: #c84b4b;
  color: #c84b4b;
}

.consent-check.is-error a {
  color: #c84b4b;
  border-color: currentColor;
}

.consent-check .consent-box,
.consent-check a {
  transition: color .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}

@media (max-width: 700px) {
  .info-nav {
    padding: 14px 10px 12px;
    gap: 6px 8px;
  }

  .info-tab {
    min-height: 44px;
    padding: 10px 6px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .08em;
    touch-action: manipulation;
  }
}

/* v7.8 — contact selection, inline validation and persistent sent state */
.contact-controls { display: flex; gap: 12px; align-items: stretch; }
.contact-controls input { min-width: 0; flex: 1; }
.contact-controls select {
  width: 64px; flex: 0 0 64px; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent; color: var(--ink); padding: 0 5px 11px 0;
  font: 11px var(--mono); outline-offset: 4px; cursor: pointer;
}
.contact-controls select option { background: var(--bg); color: var(--ink); }
.field.is-error > span { color: #c84b4b; }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #c84b4b; }
.field > span { transition: color .28s var(--ease); }
.booking-success {
  min-width: 0; min-height: 720px; padding: 6vw; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
}
.booking-success h3 { margin: 0 0 22px; font: italic 400 clamp(32px, 3.2vw, 52px)/1.08 var(--serif); }
.booking-success p { margin: 0; max-width: 36ch; font-size: 15px; line-height: 1.65; color: var(--muted); }
.booking-success:focus { outline: none; }
.form-result { height: auto; }
@media (max-width: 700px) {
  .booking-success { min-height: 320px; padding: 48px 24px; }
  .booking-success h3 { font-size: 36px; }
}

/* v7.9 — vector arrows, uncropped photos and photo-only zoom */
body { touch-action: pan-y; }
.ui-arrow { display: inline-block; vertical-align: middle; width: 16px; height: 16px; flex: 0 0 auto; }
.ui-arrow--left { transform: rotate(180deg); }
.ui-arrow--up { transform: rotate(-90deg); }
.viewer-arrow { display: grid; place-items: center; padding: 0; font-size: 0; line-height: 1; }
.viewer-arrow .ui-arrow { width: 22px; height: 22px; }
.to-top-arrow { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.to-top .to-top-arrow .ui-arrow { position: static; inset: auto; width: 16px; height: 16px; }
.info-tab.active::before {
  content: ''; display: inline-block; width: 12px; height: 12px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.viewer-stage { touch-action: none; }
.viewer-image-wrap { display: block; min-width: 0; min-height: 0; }
.viewer-image-wrap img {
  position: absolute; inset: 0; min-width: 0; min-height: 0; object-position: center;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain;
  transform-origin: center;
  transform: translate3d(var(--photo-x, 0px), var(--photo-y, 0px), 0) scale(var(--photo-zoom, 1)) !important;
  transition: opacity .22s ease;
}
.photo-lens {
  position: fixed; left: 0; top: 0; z-index: 1000000; pointer-events: none;
  border: 2px solid rgba(245,242,234,.9); border-radius: 50%; box-sizing: border-box;
  background-color: #121210; background-repeat: no-repeat;
  box-shadow: 0 8px 32px rgba(0,0,0,.4); will-change: transform;
}
.photo-lens[hidden] { display: none; }
body.has-photo-lens .cursor-ring, body.has-photo-lens .cursor-particles { opacity: 0 !important; }
@media (hover: none), (pointer: coarse) { .photo-lens { display: none !important; } }

/* Gallery pack — videos play only in the opened photoset, never in grid thumbnails. */
/* Decorative SOON cards fill the last portfolio row. */
.portfolio-card--soon { cursor: default; }
.soon-card__media {
  display: grid; place-items: center; background: var(--bg-2);
}
.soon-card__logo {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); opacity: .65; max-width: 90%;
  font: 12px/1 var(--sans); letter-spacing: .12em;
}
.soon-card__logo .brand-mark,
.soon-card__logo .brand-mark svg { width: 42px; height: 42px; flex: 0 0 auto; }
.portfolio-card--soon .portfolio-card__title { letter-spacing: .06em; }
.portfolio-card--soon [data-soon-glitch] {
  font-family: 'Courier New',monospace; font-variant-ligatures: none;
  white-space: pre; font-size: 10px; letter-spacing: .09em;
}
.portfolio-card--soon .portfolio-card__number,
.portfolio-card--soon .portfolio-card__type { opacity: .65; }
@media (max-width: 600px) {
  .soon-card__logo { font-size: 9px; gap: 6px; letter-spacing: .07em; }
  .soon-card__logo .brand-mark,
  .soon-card__logo .brand-mark svg { width: 28px; height: 28px; }
  .portfolio-card--soon [data-soon-glitch] { font-size: 8px; letter-spacing: .05em; }
}
.lightbox-scroll[hidden] { display: none !important; }
.media-load {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 20px;
  color: #f5f2e8; background: rgba(12,12,11,.38); text-align: center;
  font: 12px/1.4 monospace; letter-spacing: .04em; pointer-events: none;
}
.media-load[hidden], .media-load__retry[hidden] { display: none !important; }
.media-load__spinner {
  width: 28px; height: 28px; border: 2px solid rgba(245,242,232,.25);
  border-top-color: #f5f2e8; border-radius: 50%; animation: media-load-spin .8s linear infinite;
}
.media-load.has-error .media-load__spinner { display: none; }
.media-load__retry {
  pointer-events: auto; color: inherit; background: #252522; border: 1px solid #77776c;
  padding: 9px 16px; border-radius: 3px; font: inherit; cursor: pointer;
}
.media-load__retry:focus-visible { outline: 2px solid #f5f2e8; outline-offset: 3px; }
.portfolio-card__media.is-media-pending .portfolio-card__image,
.viewer-image-wrap.is-media-pending img { opacity: .4; }
@keyframes media-load-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .media-load__spinner { animation: none; } }
#lightboxImg[hidden], #lightboxVideo[hidden] { display: none !important; }
#lightboxVideo {
  position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0;
  object-fit: contain; object-position: center; background: #121210;
}
.viewer-stage.is-video { touch-action: manipulation; }
.portfolio-card.is-video-frame .portfolio-card__media::after {
  content: ''; position: absolute; right: 14px; top: 14px; width: 26px; height: 26px;
  background: rgba(255,255,255,.9); pointer-events: none; z-index: 2;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l14-8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
