/* Objectif Neza · Evrard Niyomwungere */

/* fonts hosted with the site (SIL Open Font License), so no visitor data goes to Google */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Questrial";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/questrial-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Questrial";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/questrial-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141414;
  --ink-2: #3a3936;
  --muted: #7a756d;
  --line: #e6e2db;
  --bg: #ffffff;
  --bg-soft: #f5f2ed;
  --accent: #9c7a4c;
  --promo: #6c5332;
  --field: #faf9f7;
  --field-line: #d6d0c6;
  --error: #a33a2a;
  --white: #ffffff;
  --header-bg: rgba(255, 255, 255, .96);
  --field-focus: #ffffff;
  --todo-bg: #fbeee0;
  --todo-fg: #8a4b12;
  --clients-bg: var(--bg);
  --chrome-bg: #eee3cf;
  --chrome-header: rgba(238, 227, 207, .96);
  --chrome-line: #dccdb2;
  --chrome-muted: #625c53;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a3936' stroke-width='1.5'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");

  --font-sans: "Century Gothic", CenturyGothic, "URW Gothic", "URW Gothic L", "Questrial", AppleGothic, sans-serif;
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* dark mode (moon / sun button next to the language menu). --white stays white: it is the text on photos. */
html.theme-dark {
  color-scheme: dark;
  --ink: #ece8e1;
  --ink-2: #c9c3b9;
  --muted: #9a9388;
  --line: #2f2c28;
  --bg: #131211;
  --bg-soft: #1c1a18;
  --accent: #bf9f72;
  --field: #1a1917;
  --field-line: #3d3933;
  --error: #e58a78;
  --header-bg: rgba(19, 18, 17, .94);
  --field-focus: #22201d;
  --todo-bg: #3a2b1b;
  --todo-fg: #f0c28f;
  --clients-bg: var(--bg-soft);
  --chrome-bg: #221c15;
  --chrome-header: rgba(34, 28, 21, .95);
  --chrome-line: #3b3229;
  --chrome-muted: #a39b8f;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c3b9' stroke-width='1.5'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
}
/* the logo is drawn in black: white on dark backgrounds */
.theme-dark .site-header.is-solid .brand img,
.theme-dark .menu-open .site-header .brand img,
.theme-dark .footer-brand img,
.theme-dark .thumb-pending img,
.theme-dark .portrait-soon img { filter: invert(1); }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-wide {
  max-width: 1520px;
  padding-inline: clamp(16px, 3vw, 40px);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ink);
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.site-header.is-overlay { color: var(--white); }
.site-header.is-solid {
  color: var(--ink);
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}
/* once the page is scrolled, the menu bar takes the light gold of the footer */
.site-header.is-solid.is-scrolled {
  background: var(--chrome-header);
  box-shadow: 0 1px 0 var(--chrome-line);
}

/* workshop banner, at the top of the fixed header; it folds away once the page is scrolled */
.promo {
  display: flex;
  align-items: stretch;
  max-height: 160px;
  overflow: hidden;
  background: var(--promo);
  color: var(--white);
  transition: max-height .45s var(--ease), opacity .3s ease;
}
.site-header.is-scrolled .promo,
.menu-open .promo { max-height: 0; opacity: 0; }
.promo-link {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px 12px;
  padding: 5px 10px 5px 46px;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.45;
  text-align: center;
}
.promo-draft {
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 0 7px;
  background: var(--white);
  color: var(--promo);
}
.promo-title { text-transform: uppercase; letter-spacing: .14em; }
.promo-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.promo-link:hover .promo-cta { text-decoration-thickness: 2px; }
.promo.is-soon .promo-link { margin: 0; cursor: default; }
.promo-close {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .16);
  color: var(--white);
  transition: background-color .3s;
}
.promo-close:hover { background: rgba(0, 0, 0, .3); }
.promo-close svg { width: 13px; height: 13px; }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  transition: height .4s ease;
}
.site-header.is-solid .header-inner { height: 74px; }

.brand img {
  width: 76px;
  height: auto;
  transition: width .4s ease, filter .4s ease;
}
.site-header.is-overlay .brand img { filter: invert(1); }
.site-header.is-solid .brand img { width: 58px; filter: none; }

.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
}
.main-nav a {
  position: relative;
  font-size: 12.5px;
  letter-spacing: .09em;
  padding: 6px 0;
  opacity: .92;
  transition: opacity .3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.socials a,
.socials .is-pending {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.socials svg { width: 14px; height: 14px; }
.socials a { opacity: .85; transition: opacity .3s, transform .3s; }
.socials a:hover { opacity: 1; transform: translateY(-1px); }
.socials .is-pending { opacity: .3; cursor: default; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  opacity: .9;
  transition: opacity .3s, transform .4s var(--ease);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle:hover { opacity: 1; transform: rotate(-12deg); }

.lang { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  letter-spacing: .14em;
  padding: 6px 2px;
}
.lang-toggle svg { width: 12px; height: 12px; transition: transform .3s; }
.lang-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -10px;
  min-width: 170px;
  padding: 8px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 20, 20, .12);
  z-index: 60;
}
.lang-menu button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  text-align: left;
  font-size: 13.5px;
  letter-spacing: .03em;
  transition: background-color .2s;
}
.lang-menu button:hover,
.lang-menu button:focus-visible { background: var(--bg-soft); }
.lang-menu button[aria-current="true"] { color: var(--accent); }
.lang-code {
  width: 22px;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
}

.btn-contact {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: lowercase;
  padding: 9px 18px;
  border: 1px solid currentColor;
  transition: background-color .3s, color .3s;
}
.site-header.is-overlay .btn-contact:hover { background: var(--white); color: var(--ink); }
.site-header.is-solid .btn-contact:hover,
.mobile-menu .btn-contact:hover { background: var(--ink); color: var(--bg); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-bars { top: 50%; }
.menu-bars::before, .menu-bars::after { content: ""; left: 0; }
.menu-bars::before { transform: translateY(-7px); }
.menu-bars::after { transform: translateY(7px); }
.menu-open .menu-bars { background: transparent; }
.menu-open .menu-bars::before { transform: rotate(45deg); }
.menu-open .menu-bars::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 36px;
  background: var(--chrome-bg);
  color: var(--ink);
  --muted: var(--chrome-muted);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  overflow-y: auto;
}
.mobile-menu nav li { overflow: hidden; }
.mobile-menu nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1.25;
  transform: translateY(100%);
  transition: transform .6s var(--ease);
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav a { transform: none; }
.menu-open .mobile-menu nav li:nth-child(2) a { transition-delay: .04s; }
.menu-open .mobile-menu nav li:nth-child(3) a { transition-delay: .08s; }
.menu-open .mobile-menu nav li:nth-child(4) a { transition-delay: .12s; }
.menu-open .mobile-menu nav li:nth-child(5) a { transition-delay: .16s; }
.menu-open .mobile-menu nav li:nth-child(6) a { transition-delay: .2s; }
.menu-open .mobile-menu nav li:nth-child(7) a { transition-delay: .24s; }
.menu-open .mobile-menu nav li:nth-child(8) a { transition-delay: .28s; }
.menu-open .mobile-menu nav li:nth-child(9) a { transition-delay: .32s; }
.mobile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--chrome-line);
}
/* a backdrop-filter would make the header the frame of the fixed menu, so the menu could not cover the screen */
.menu-open .site-header {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.menu-open .site-header.is-solid.is-scrolled { background: transparent; box-shadow: none; }
.menu-open .site-header .brand img { filter: none; }
.menu-open .header-tools .btn-contact,
.menu-open .header-tools .header-socials { visibility: hidden; }

/* ---------- hero ---------- */

/* the photo fills exactly the first screen, centred so both the sky and the ground show */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #1b1b1b;
  color: var(--white);
}
.hero picture,
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero picture { will-change: transform; }
.hero-img {
  object-fit: cover;
  object-position: 50% 50%;
  animation: heroZoom 14s var(--ease) both;
}
.hero.is-static .hero-img { animation: none; }
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .4) 0%, rgba(12, 12, 12, .2) 32%, rgba(12, 12, 12, 0) 60%),
    linear-gradient(180deg, rgba(12, 12, 12, .3) 0%, rgba(12, 12, 12, 0) 16%, rgba(12, 12, 12, 0) 78%, rgba(12, 12, 12, .2) 100%);
}

.hero-text {
  position: absolute;
  left: clamp(20px, 7vw, 128px);
  right: var(--gutter);
  bottom: clamp(96px, 17vh, 190px);
  max-width: 760px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
  will-change: transform, opacity;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.8vw, 4.3rem);
  line-height: .98;
  letter-spacing: .005em;
}
.hero-word { display: block; white-space: nowrap; }
.hero-word + .hero-word { padding-left: .55em; }
.hero-name .ch {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(.32em);
  animation: chIn 1.25s var(--ease) forwards;
  animation-delay: calc(var(--i) * 62ms + 350ms);
}
@keyframes chIn {
  to { opacity: 1; filter: blur(0); transform: none; }
}

.hero-rule {
  display: block;
  width: 70px;
  height: 1px;
  margin: 24px 0 18px;
  background: rgba(255, 255, 255, .85);
  transform: scaleX(0);
  transform-origin: left;
  animation: ruleIn 1.1s var(--ease) 1.65s forwards;
}
@keyframes ruleIn { to { transform: scaleX(1); } }

.hero-role,
.hero-roles {
  font-family: var(--font-sans);
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 1s var(--ease) forwards;
}
.hero-role {
  font-size: clamp(.86rem, 1.1vw, 1rem);
  letter-spacing: .42em;
  animation-delay: 1.95s;
}
.hero-roles {
  margin-top: 6px;
  font-size: clamp(.74rem, .9vw, .86rem);
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .86);
  animation-delay: 2.2s;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero.is-static .ch,
.hero.is-static .hero-rule,
.hero.is-static .hero-role,
.hero.is-static .hero-roles {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
}
.hero.is-static .hero-roles { opacity: 1; }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, .8);
}
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.hero-scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 100%;
  background: var(--white);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

/* ---------- home sections ---------- */

.albums,
.cat-section {
  padding: clamp(44px, 5.5vw, 80px) 0 0;
  scroll-margin-top: 60px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: clamp(20px, 2.6vw, 34px);
  text-align: center;
}
.section-index {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: .38em;
  text-transform: lowercase;
}
.section-title a { transition: color .3s; }
.section-title a:hover { color: var(--accent); }

/* albums: one cover per category, like a photo album shelf */
.album-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}

.album {
  display: block;
  color: var(--white);
}
.album-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #2a2522;
}
.album-frame .thumb,
.album-blank {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.album-blank {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #2a2522 0%, #4a3b30 55%, #7a6148 100%);
}
.album-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .26);
  transition: background-color .5s ease;
}
.album-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
}
.album-title {
  padding: 7px 16px 6px;
  background: rgba(12, 12, 12, .34);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background-color .4s ease;
}
.album-sub {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, .9);
}
.album:hover .album-veil,
.album:focus-visible .album-veil { background: rgba(10, 10, 10, .42); }
.album:hover .album-title,
.album:focus-visible .album-title { background: rgba(12, 12, 12, .6); }
.album:hover .thumb,
.album:focus-visible .thumb { transform: scale(1.05); }

.card-grid.count-1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.card-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; }

.card {
  display: block;
  width: 100%;
  text-align: left;
  color: var(--white);
}
.card-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #222;
}
.card-frame .thumb,
.card-frame .thumb-insta,
.card-frame .thumb-pending {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.thumb {
  object-fit: cover;
  color: transparent;
  font-size: 0;
  transition: transform 1.4s var(--ease), opacity .6s ease;
}
.thumb[data-meta-field="thumb"]:not(.is-ready),
.thumb.is-broken { opacity: 0; }
.card:hover .thumb,
.card:focus-visible .thumb { transform: scale(1.05); }

.card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .05) 0%, rgba(10, 10, 10, .08) 40%, rgba(10, 10, 10, .45) 68%, rgba(10, 10, 10, .8) 100%);
  transition: background-color .5s ease;
}
.card:hover .card-veil,
.card:focus-visible .card-veil { background-color: rgba(10, 10, 10, .22); }

.card-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-title {
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-sub {
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .78);
}

.card-play,
.frame-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  color: var(--white);
  background: rgba(10, 10, 10, .12);
  transition: transform .5s var(--ease), opacity .5s ease, background-color .4s;
}
.card-play svg,
.frame-play svg { width: 20px; height: 20px; margin-left: 3px; }
.card-play { opacity: 0; transform: scale(.8); }
.card:hover .card-play,
.card:focus-visible .card-play { opacity: 1; transform: none; }

/* a home tile playing its video in place: 16:9 player, title underneath */
.card.is-playing { color: var(--ink); }
.card.is-playing .card-frame { aspect-ratio: 16 / 9; background: #000; }
.card-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.card-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding-top: 12px;
}
.card-caption-title {
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.card-caption-meta { font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }

/* shown in place of a player when the page is not allowed to embed it */
.embed-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #151515;
  color: var(--white);
  font-size: 12px;
  letter-spacing: .2em;
  text-align: center;
  text-transform: lowercase;
}
.embed-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 10, .5);
}
.embed-fallback-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.embed-fallback svg {
  width: 54px;
  height: 54px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(12, 12, 12, .3);
}
.embed-fallback-label,
.embed-fallback-note { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.embed-fallback-note {
  max-width: 34em;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: none;
  opacity: .85;
}
.embed-fallback:hover svg { background: rgba(255, 255, 255, .16); }
.lb-stage .embed-fallback { position: absolute; }

.thumb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(12, 12, 12, .55);
  color: var(--white);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: lowercase;
}
.thumb-badge svg { width: 13px; height: 13px; }
.frame-insta .thumb { transition: transform 1.4s var(--ease); }
.frame-insta:hover .thumb { transform: scale(1.04); }

.card.is-pending { color: var(--ink); }
.card.is-pending .card-frame { background: var(--bg-soft); }
.card.is-pending .card-veil { display: none; }
.card.is-pending .card-sub { color: var(--muted); }

.thumb-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(20, 20, 20, .025) 0 1px, transparent 1px 12px),
    var(--bg-soft);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: lowercase;
  text-align: center;
}
.thumb-pending img {
  width: 54px;
  height: auto;
  opacity: .22;
}
.card.is-pending .thumb-pending { padding-bottom: 64px; }

.thumb-insta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #2a2522 0%, #4a3b30 55%, #7a6148 100%);
  color: var(--white);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: lowercase;
}
.thumb-insta svg { width: 34px; height: 34px; opacity: .9; transition: transform .5s var(--ease); }
.frame-insta .thumb-insta svg { width: 46px; height: 46px; }
.frame-insta:hover .thumb-insta svg,
.card:hover .thumb-insta svg { transform: scale(1.08); }
.card .thumb-insta { padding-bottom: 64px; }

.see-more-wrap {
  margin-top: clamp(18px, 2vw, 26px);
  text-align: center;
}
.see-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: lowercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}
.see-more svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.see-more:hover { color: var(--accent); border-color: var(--accent); }
.see-more:hover svg { transform: translateX(6px); }

/* ---------- clients ---------- */

.clients {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--clients-bg);
  overflow: hidden;
}
.cat-section + .clients { margin-top: clamp(44px, 5.5vw, 80px); }
.clients-title {
  margin-bottom: clamp(30px, 4vw, 48px);
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: .38em;
  text-transform: lowercase;
}

/* clients: the logos scroll endlessly, in colour, on the section background (logo files are transparent;
   each has a version for the dark mode). NEZA.logoLoad gives wide logos less height and square ones more. */
.marquee {
  --logo-base: clamp(42px, 4vw, 58px);
  display: flex;
  overflow: hidden;
  padding-block: clamp(18px, 2.4vw, 30px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  min-width: 100%;
  justify-content: space-around;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: calc(var(--logo-base) * 1.3);
  padding: 0 clamp(26px, 3.2vw, 48px);
}
.client img {
  width: auto;
  max-width: 190px;
  height: calc(var(--logo-base) * var(--k, .8));
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.client:hover img { transform: scale(1.06); }
.client .logo-dark,
.theme-dark .client .has-dark { display: none; }
.theme-dark .client .logo-dark { display: block; }
.client-name {
  display: none;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-2);
}
.client.is-text .client-name { display: block; }

/* ---------- inner pages ---------- */

.page-head {
  padding-top: calc(74px + var(--promo-h, 0px) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(24px, 4vw, 48px);
  text-align: center;
}
.page-kicker {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 10px;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.05;
}
.page-intro {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14.5px;
}

.project-list { padding-bottom: clamp(40px, 6vw, 80px); }

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.project:first-child { border-top: 0; }

.frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1d1d1d;
}
.frame-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame .thumb,
.frame .thumb-insta,
.frame .thumb-pending {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame-btn::after,
.frame-insta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .14);
  transition: background-color .5s;
}
.frame-btn:hover::after,
.frame-insta:hover::after { background: rgba(10, 10, 10, .3); }
.frame-btn:hover .thumb { transform: scale(1.04); }
.frame-play { z-index: 1; }
.frame-btn:hover .frame-play,
.frame-insta:hover .frame-play { transform: scale(1.08); background: rgba(10, 10, 10, .3); }
.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.frame-photo {
  aspect-ratio: auto;
  background: none;
  cursor: zoom-in;
}
.frame-photo img {
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease);
}
.frame-photo:hover img { transform: scale(1.03); }

.frame-pending { background: var(--bg-soft); }

.project-extra {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.frame-small { aspect-ratio: 3 / 2; }
.frame-small .thumb-pending { gap: 6px; font-size: 9px; }
.frame-small .thumb-pending img { width: 30px; }
.frame-small img { width: 100%; height: 100%; object-fit: cover; }
.project-extra figcaption {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: lowercase;
  color: var(--muted);
}

.project-num {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
}
.project-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.12;
}
.project-meta {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-desc {
  margin-top: 18px;
  color: var(--ink-2);
  max-width: 46ch;
}
.project-desc.is-soon { color: var(--muted); font-style: italic; }
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 22px;
}
.project-links:empty { display: none; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: lowercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .3s, border-color .3s;
}
.project-link svg { width: 14px; height: 14px; }
.project-link:hover { color: var(--accent); border-color: var(--accent); }

.cat-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 34px;
  padding-bottom: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: lowercase;
}
.cat-pager a { display: inline-flex; align-items: center; gap: 12px; transition: color .3s; }
.cat-pager a:hover { color: var(--accent); }
.cat-pager svg { width: 18px; height: 18px; }
.pager-home { justify-self: center; color: var(--muted); }
.pager-next { justify-self: end; }

/* ---------- about ---------- */

.about { padding-bottom: clamp(56px, 8vw, 104px); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(16px, 3vw, 40px);
}
.about-name {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.about-text p + p { margin-top: 16px; }
.about-text { color: var(--ink-2); }
.about-text .lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
}
.about-portrait {
  justify-self: center;
  width: min(300px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.portrait-soon img {
  width: 96px;
  height: auto;
  opacity: .28;
}
.portrait-note {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: lowercase;
  color: var(--muted);
}

.about-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 96px);
}
.about-block { margin-top: clamp(48px, 7vw, 88px); scroll-margin-top: 100px; }
.block-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: .34em;
  text-transform: lowercase;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.lang-list li { padding: 4px 0; color: var(--ink-2); }
.skills { display: grid; gap: 14px; }
.skill { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.skill dt {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.skill dd { color: var(--ink-2); }

.timeline { display: grid; }
.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 0; }
.tl-years {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
  padding-top: 4px;
}
.tl-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.3;
}
.tl-org {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tl-clients { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.tl-clients span { color: var(--muted); }

.about-contact .contact-line { margin-top: 12px; }
.about-contact .contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  transition: color .3s, border-color .3s;
}
.about-contact .contact-line a:hover { color: var(--accent); border-color: var(--accent); }
.about-contact .contact-line svg { width: 15px; height: 15px; }
.contact-line.is-soon { color: var(--muted); font-style: italic; }
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: lowercase;
  transition: background-color .3s, color .3s;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ---------- training callout ---------- */

.callout-wrap { padding-bottom: clamp(12px, 2vw, 24px); }
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 24px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: center;
  transition: border-color .3s;
}
.callout:hover { border-color: var(--accent); }
.callout-kicker {
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.callout-text { font-size: 14px; color: var(--ink); }
.callout-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: lowercase;
}
.callout-cta svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.callout:hover .callout-cta svg { transform: translateX(5px); }

/* ---------- forms (contact, workshop registration) ---------- */

.form-section {
  max-width: 920px;
  padding-bottom: clamp(56px, 8vw, 104px);
  scroll-margin-top: 90px;
}
.form-title {
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  letter-spacing: .3em;
  text-transform: lowercase;
  text-wrap: balance;
}
.form-lead { max-width: 60ch; margin-bottom: 26px; color: var(--ink-2); }
.form-section > .form-title + .neza-form { margin-top: 28px; }
.form-after { margin-top: 40px; }

.neza-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}
.f-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.f-field.is-half { grid-column: auto; }
.f-field > label,
.f-field > legend {
  padding: 0;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--ink-2);
}
.f-field > legend { margin-bottom: 8px; }
.f-note {
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}
.f-field input,
.f-field select,
.f-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.f-field textarea { min-height: 150px; resize: vertical; }
.f-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  text-overflow: ellipsis;
}
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--field-focus);
  box-shadow: 0 0 0 3px rgba(156, 122, 76, .16);
}
.f-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 10px;
}
.f-sub { display: grid; gap: 6px; min-width: 0; }
.f-sub label {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}
.f-checks { gap: 12px; }
.f-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.f-field .f-check input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 0;
  height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--accent);
}
.f-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.f-privacy {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted);
}
.f-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.btn-submit {
  padding: 17px 46px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: lowercase;
  transition: background-color .3s, color .3s;
}
.btn-submit:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.btn-submit:disabled { opacity: .55; cursor: progress; }
.f-status { font-size: 14px; color: var(--ink-2); }
.f-status:empty { display: none; }
.f-status.is-error { color: var(--error); }
.f-sent {
  padding: clamp(24px, 4vw, 40px);
  border-left: 2px solid var(--accent);
  background: var(--bg-soft);
}
.f-sent:focus { outline: none; }
.f-sent-title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
}

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1160px;
  padding-top: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.contact-aside {
  position: sticky;
  top: calc(100px + var(--promo-h, 0px));
  display: grid;
  gap: 14px;
}
.contact-id { display: grid; gap: 16px; }
.contact-portrait {
  display: block;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
}
.contact-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
}
.contact-role {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-based { color: var(--ink-2); font-size: 14.5px; }
.contact-aside .contact-line { font-size: 14px; color: var(--ink-2); }
.contact-aside .contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  transition: color .3s, border-color .3s;
}
.contact-aside .contact-line a:hover { color: var(--accent); border-color: var(--accent); }
.contact-aside .contact-line svg { width: 15px; height: 15px; }

/* ---------- workshop page ---------- */

.ws-page { padding-top: calc(74px + clamp(20px, 3vw, 36px)); }
.ws-draft-note {
  margin-bottom: 14px;
  padding: 10px 16px;
  border: 1px dashed var(--accent);
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--ink-2);
}
.ws-hero-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 46vw, 620px);
  overflow: hidden;
  background: linear-gradient(135deg, #2a2522 0%, #4a3b30 55%, #7a6148 100%);
  color: var(--white);
  text-align: center;
}
.ws-hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .34) 0%, rgba(10, 10, 10, .56) 100%);
}
.ws-hero-text {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 1000px;
  padding: 48px var(--gutter);
}
.ws-kicker {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .9;
}
.ws-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.3;
  text-wrap: balance;
}
.ws-title span {
  padding: .02em .32em .08em;
  background: rgba(12, 12, 12, .36);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ws-dates {
  margin-top: 6px;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ws-format {
  max-width: 60ch;
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: .06em;
}
.ws-trainers {
  font-size: 12.5px;
  letter-spacing: .14em;
  opacity: .92;
}
.ws-hero-text p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.ws-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.ws-about { color: var(--ink-2); }
.ws-about > p + p { margin-top: 14px; }
.ws-about .lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
}
.ws-about .block-title,
.ws-programme .block-title { margin-top: clamp(32px, 4vw, 44px); }
.ws-programme .block-title { margin-top: 0; }
.ws-facts { display: grid; gap: 10px; }
.ws-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
}
.ws-facts dt {
  padding-top: 3px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ws-cta { margin-top: 26px; }
.ws-days { display: grid; }
.ws-day {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ws-day:first-child { padding-top: 0; }
.ws-day:last-child { border-bottom: 0; }
.ws-day h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.3;
}
.ws-day-n {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.ws-when { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.ws-day ul { display: grid; gap: 4px; margin-top: 10px; color: var(--ink-2); }
.ws-day li li { position: relative; padding-left: 18px; }
.ws-day li li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.ws-others ul { display: grid; }
.ws-others a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s;
}
.ws-others a:hover { color: var(--accent); }
.ws-others a span:first-child { font-family: var(--font-display); font-size: 1.3rem; }
.ws-others-dates { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.ws-others svg { width: 18px; height: 18px; margin-left: auto; }

/* ---------- legal page ---------- */

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: lowercase;
}
.legal-nav a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .3s, border-color .3s;
}
.legal-nav a:hover { color: var(--accent); border-color: var(--accent); }
.legal {
  max-width: 860px;
  padding-bottom: clamp(56px, 8vw, 104px);
  color: var(--ink-2);
}
.legal-block {
  padding-top: clamp(36px, 5vw, 56px);
  scroll-margin-top: calc(74px + var(--promo-h, 0px));
}
.legal-block + .legal-block { margin-top: clamp(20px, 3vw, 36px); border-top: 1px solid var(--line); }
.legal-title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
}
.legal h3 {
  margin: 28px 0 10px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
}
.legal p + p,
.legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; }
.legal li { position: relative; padding-left: 18px; }
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.legal strong { font-weight: 400; color: var(--ink); }
.legal a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.legal a:hover { color: var(--accent); border-color: var(--accent); }
.legal dl { display: grid; gap: 8px; }
.legal dl div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
}
.legal dt {
  padding-top: 3px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-todo {
  padding: 0 6px;
  background: var(--todo-bg);
  color: var(--todo-fg);
  font-style: italic;
}
.legal-date { margin-top: 24px; font-size: 13px; color: var(--muted); }
.f-privacy a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.f-privacy a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  background: var(--chrome-bg);
  --muted: var(--chrome-muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 32px;
}
.footer-brand img { width: 64px; height: auto; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  font-size: 12px;
  letter-spacing: .08em;
}
.footer-nav a { color: var(--ink-2); transition: color .3s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  grid-column: 1 / 3;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--chrome-line);
}
.footer-bottom .footer-copy { margin-right: auto; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 11.5px;
  letter-spacing: .06em;
}
.footer-legal a,
.footer-mail { color: var(--ink-2); transition: color .3s; }
.footer-legal a:hover,
.footer-mail:hover { color: var(--accent); }
.footer-mail {
  font-size: 13px;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
}
.to-top {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: lowercase;
  color: var(--muted);
  transition: color .3s;
}
.to-top:hover { color: var(--ink); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 64px 72px;
  background: rgba(8, 8, 8, .95);
  color: var(--white);
  opacity: 0;
  transition: opacity .35s ease;
}
.lightbox.is-open { opacity: 1; }
.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}
.lb-stage { position: relative; }
.lb-stage.is-youtube,
.lb-stage.is-vimeo {
  width: min(1200px, calc(100vw - 144px), calc((100vh - 170px) * 16 / 9));
  aspect-ratio: 16 / 9;
}
.lb-stage.is-instagram {
  width: min(420px, calc(100vw - 32px));
  height: min(760px, calc(100vh - 170px));
  background: var(--white);
}
.lb-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lb-stage.is-image img {
  max-width: calc(100vw - 144px);
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
}
.lb-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.lb-title {
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lb-meta {
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .6);
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, .8);
  transition: color .3s;
}
.lb-btn:hover { color: var(--white); }
.lb-btn svg { width: 28px; height: 28px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
.lb-btn[hidden] { display: none; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.card-grid .card:nth-child(2),
.album-grid .album:nth-child(3n+2) { transition-delay: .1s; }
.card-grid .card:nth-child(3),
.album-grid .album:nth-child(3n) { transition-delay: .2s; }

/* ---------- responsive ---------- */

/* the header socials stay in the footer and the mobile menu when space runs short */
@media (max-width: 1480px) {
  .header-socials { display: none; }
}

@media (max-width: 1300px) {
  .main-nav ul { gap: 6px 18px; }
  .header-inner { gap: 18px; }
}

@media (max-width: 1240px) {
  .main-nav ul { gap: 6px 12px; }
  .header-inner { gap: 14px; }
}

@media (max-width: 1180px) {
  .main-nav,
  .header-socials { display: none; }
  .menu-toggle { display: block; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-tools { justify-self: end; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .contact-id { display: flex; align-items: center; gap: 18px; }
  .contact-portrait { flex: 0 0 auto; width: 96px; }
  .ws-body { grid-template-columns: 1fr; }
  .album-grid,
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* three cards on two columns: the last one takes the full row instead of sitting alone */
  .card-grid > .card:nth-child(3):last-child { grid-column: 1 / -1; }
  .card-grid > .card:nth-child(3):last-child .card-frame { aspect-ratio: 3 / 1; }
  .project,
  .about-grid,
  .about-cols { grid-template-columns: 1fr; }
  .about-portrait { grid-row: 1; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-nav ul { justify-content: center; }
  .footer-copy { grid-column: auto; }
  .to-top { justify-self: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .footer-copy { width: 100%; margin-right: 0; }
  .footer-legal { justify-content: center; }
  .lightbox { padding: 64px 16px; }
  .lb-stage.is-youtube,
  .lb-stage.is-vimeo { width: min(100vw - 32px, (100vh - 170px) * 16 / 9); }
  .lb-stage.is-image img { max-width: calc(100vw - 32px); }
  .lb-prev, .lb-next { top: auto; bottom: 10px; margin-top: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }
  body { font-size: 15px; }
  .brand img { width: 60px; }
  .site-header.is-solid .brand img { width: 50px; }
  .site-header.is-solid .header-inner { height: 66px; }
  .header-tools .btn-contact { display: none; }
  .card-grid,
  .card-grid.count-2 { grid-template-columns: 1fr; }
  .card-grid > .card:nth-child(3):last-child .card-frame { aspect-ratio: 3 / 2; }
  .album-grid { gap: 8px; }
  .marquee { --logo-base: 38px; }
  .client img { max-width: 140px; }
  .promo-link { padding-left: 12px; gap: 0 10px; font-size: 10.5px; }
  .promo-title { letter-spacing: .1em; }
  .neza-form { grid-template-columns: 1fr; }
  .f-field.is-half { grid-column: 1 / -1; }
  .ws-facts div { grid-template-columns: 1fr; gap: 2px; }
  .legal dl div { grid-template-columns: 1fr; gap: 2px; }
  .ws-page { padding-top: calc(66px + 16px); }
  .album-frame { aspect-ratio: 1; }
  .album-label { gap: 6px; padding: 10px; }
  .album-title { padding: 5px 9px 4px; font-size: 10.5px; letter-spacing: .12em; }
  .album-sub { font-size: 10px; letter-spacing: .1em; }
  .hero-text { bottom: 110px; }
  .hero-word + .hero-word { padding-left: 0; }
  .hero-role { letter-spacing: .34em; }
  .hero-roles { letter-spacing: .16em; }
  .hero-scroll { right: 50%; transform: translateX(50%); bottom: 22px; }
  .hero-scroll span { display: none; }
  .page-head { padding-top: calc(66px + var(--promo-h, 0px) + 48px); }
  .project-extra { grid-template-columns: 120px 1fr; }
  .skill,
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .cat-pager { grid-template-columns: 1fr 1fr; }
  .cat-pager .pager-home { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee-track { animation: none !important; flex-wrap: wrap; justify-content: center; row-gap: 18px; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
