/* Gurumood — design system
   Two canvases in one page: ink panels for drama, bone panels for reading.
   Every panel declares its own colours through --paper/--type/--soft, so a
   section can be flipped between the two without touching its markup. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/cormorant.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: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-italic.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: Outfit;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/outfit.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: #0d0b09;
  --ink-soft: #17130f;
  --bone: #f5f1e9;
  --bone-2: #ebe4d8;
  --brass: #a9834e;
  --brass-lift: #c9a771;
  --type-dark: #211c16;
  --muted-dark: #6d6459;
  --muted-light: #b3a898;

  /* Panel tokens, overridden per panel */
  --paper: var(--bone);
  --type: var(--type-dark);
  --soft: var(--muted-dark);
  --rule: rgba(33, 28, 22, 0.14);
  --rule-strong: rgba(33, 28, 22, 0.28);

  --shell: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  background: var(--bone);
  color: var(--type-dark);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.06rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--brass);
  color: var(--bone);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.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;
}

.skip {
  position: fixed;
  top: calc(var(--dd-banner-h, 0px) + 0.75rem);
  left: 1rem;
  z-index: 130;
  padding: 0.7rem 1.1rem;
  background: var(--brass);
  color: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}

.skip:focus {
  transform: none;
}

/* ---------- Panels ---------- */

.panel {
  position: relative;
  background: var(--paper);
  color: var(--type);
}

.panel--ink {
  --paper: var(--ink);
  --type: var(--bone);
  --soft: var(--muted-light);
  --rule: rgba(245, 241, 233, 0.14);
  --rule-strong: rgba(245, 241, 233, 0.32);
}

.panel--ink-soft {
  --paper: var(--ink-soft);
  --type: var(--bone);
  --soft: var(--muted-light);
  --rule: rgba(245, 241, 233, 0.14);
  --rule-strong: rgba(245, 241, 233, 0.32);
}

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.018em;
}

h1.display {
  font-size: clamp(3.4rem, 12vw, 9rem);
}

h2.display {
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
}

h3.display {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

.kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lead {
  max-width: 46ch;
  color: var(--soft);
  font-size: clamp(1.02rem, 0.5vw + 0.94rem, 1.16rem);
}

.prose {
  max-width: 58ch;
  color: var(--soft);
}

.prose p + p {
  margin-top: 1rem;
}

.prose em {
  font-family: var(--display);
  font-size: 1.15em;
  font-style: italic;
  color: var(--type);
}

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 62rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0 1.6rem;
  overflow: hidden;
  border: 1px solid var(--brass);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brass);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}

.btn:hover::before {
  transform: scaleY(0);
}

.btn:hover {
  color: var(--type);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  color: var(--type);
  border-color: var(--rule-strong);
}

.btn--ghost::before {
  background: var(--type);
  transform: scaleY(0);
}

.btn--ghost:hover::before {
  transform: scaleY(1);
}

.btn--ghost:hover {
  color: var(--paper);
  border-color: var(--type);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--rule-strong);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.chip:hover {
  background: var(--type);
  color: var(--paper);
  border-color: var(--type);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-arrow span {
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(6px);
}

/* ---------- Chrome: progress, cursor, curtain ---------- */

.progress {
  position: fixed;
  top: var(--dd-banner-h, 0px);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 45;
  background: transparent;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brass);
}

.cursor,
.cursor-dot {
  display: none;
}

@media (pointer: fine) {
  .cursor,
  .cursor-dot {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 115;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }

  .cursor {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201, 167, 113, 0.75);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.4s var(--ease);
  }

  .cursor.is-hot {
    width: 74px;
    height: 74px;
    background: rgba(201, 167, 113, 0.16);
  }

  .cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--brass-lift);
  }
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bone);
  animation: curtain-out 0.8s 2.35s var(--ease) forwards;
}

.curtain.is-done {
  animation: curtain-out 0.6s var(--ease) forwards;
}

.curtain-mark {
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(2.8rem, 11vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}

.curtain-mark span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 0.9s var(--ease) forwards;
}

.curtain-sub {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--brass-lift);
  opacity: 0;
  animation: fade-in 0.8s 0.75s var(--ease) forwards;
}

.curtain-rule {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 16%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  animation: sweep 1.3s 0.35s var(--ease) forwards;
}

/* ---------- Reveals ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0s);
}

/* The clip lives on the image, never on the observed element: Chrome computes
   intersection after clipping, so a clipped container never reports itself as
   visible — the reveal would never fire and a lazy image never load. */
html.js [data-reveal="mask"],
html.js [data-reveal="zoom"] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal="mask"] img {
  clip-path: inset(100% 0 0 0);
}

html.js [data-reveal="mask"].is-in img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.25s var(--ease);
  transition-delay: var(--delay, 0s);
}

html.js [data-reveal="zoom"] img {
  clip-path: inset(12% 8%);
  transform: scale(1.12);
}

html.js [data-reveal="zoom"].is-in img {
  clip-path: inset(0);
  transform: none;
  transition: clip-path 1.3s var(--ease), transform 1.7s var(--ease);
}

.word {
  display: inline-block;
  white-space: pre;
}

html.js .word {
  opacity: 0.12;
  transition: opacity 0.7s var(--ease);
}

html.js .word.is-lit {
  opacity: 1;
}

/* ---------- Header ---------- */

.masthead {
  /* The bar floats over the hero image, so its own tokens have to be the ink
     set: a ghost button inheriting the bone-panel tokens would go invisible. */
  --paper: var(--ink);
  --type: var(--bone);
  --soft: var(--muted-light);
  --rule: rgba(245, 241, 233, 0.14);
  --rule-strong: rgba(245, 241, 233, 0.3);
  position: sticky;
  top: var(--dd-banner-h, 0px);
  z-index: 40;
  height: var(--header-h);
  color: var(--bone);
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 9, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 241, 233, 0.12);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.masthead.is-stuck::before {
  opacity: 1;
}

.masthead--solid::before {
  opacity: 1;
}

.masthead .shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0.05em;
}

.wordmark i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

.mainnav {
  display: none;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.mainnav a {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.68);
  transition: color 0.3s var(--ease);
}

.mainnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.mainnav a:hover,
.mainnav a[aria-current="page"] {
  color: var(--bone);
}

.mainnav a:hover::after,
.mainnav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.masthead-tools {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.langswitch {
  display: flex;
  gap: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: rgba(245, 241, 233, 0.55);
}

.langswitch [aria-current="true"] {
  color: var(--bone);
}

.masthead .btn {
  min-height: 44px;
  padding: 0 1.2rem;
  font-size: 0.7rem;
}

.burger {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 241, 233, 0.28);
}

.burger i {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.burger i::before {
  top: -5px;
}

.burger i::after {
  top: 5px;
}

.burger[aria-expanded="true"] i {
  background: transparent;
}

.burger[aria-expanded="true"] i::before {
  transform: translateY(5px) rotate(45deg);
}

.burger[aria-expanded="true"] i::after {
  transform: translateY(-5px) rotate(-45deg);
}

.sheet {
  --paper: var(--ink);
  --type: var(--bone);
  --rule-strong: rgba(245, 241, 233, 0.3);
  position: fixed;
  inset: var(--dd-banner-h, 0px) 0 0 0;
  z-index: 39;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bone);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}

.sheet.is-open {
  clip-path: inset(0);
}

.sheet nav {
  display: grid;
  gap: clamp(0.6rem, 2vw, 1.2rem);
  text-align: center;
}

.sheet a {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.05;
  color: rgba(245, 241, 233, 0.72);
  transition: color 0.3s var(--ease);
}

.sheet a:hover {
  color: var(--bone);
}

/* ---------- Hero ---------- */

.hero {
  --paper: var(--ink);
  --type: var(--bone);
  --soft: var(--muted-light);
  --rule-strong: rgba(245, 241, 233, 0.32);
  position: relative;
  min-height: calc(100dvh - var(--header-h) - var(--dd-banner-h, 0px));
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  /* Pulled up under the sticky bar so the header sits on the image instead of
     on a cream strip; the matching padding keeps the copy clear of it. */
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}

.hero-stack {
  position: absolute;
  inset: 0;
}

.hero-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease);
}

.hero-stack img.is-live {
  opacity: 1;
  animation: drift 9s linear forwards;
}

/* Three scrims, not one: the copy sits bottom-left over photographs that can
   be bright exactly there, and the brass kicker needs something to sit on. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 11, 9, 0.6) 0%, rgba(13, 11, 9, 0.15) 34%, rgba(13, 11, 9, 0.9) 100%),
    linear-gradient(95deg, rgba(13, 11, 9, 0.78) 0%, rgba(13, 11, 9, 0.34) 42%, transparent 68%),
    radial-gradient(60% 55% at 18% 78%, rgba(169, 131, 78, 0.2), transparent 70%);
}

.hero-body {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero h1 {
  margin-top: 0.7rem;
  text-transform: lowercase;
}

.hero-tagline {
  margin-top: 0.35rem;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass-lift);
  text-shadow: 0 1px 18px rgba(13, 11, 9, 0.85);
}

.hero .kicker {
  text-shadow: 0 1px 16px rgba(13, 11, 9, 0.9);
}

.hero p.lead {
  margin-top: 1.5rem;
  color: rgba(245, 241, 233, 0.86);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(245, 241, 233, 0.16);
}

.hero-foot .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.62);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 34px;
  height: 2px;
  background: rgba(245, 241, 233, 0.28);
  transition: background 0.4s var(--ease);
}

.hero-dots button[aria-current="true"] {
  background: var(--brass-lift);
}

.hero-scroll {
  display: none;
  align-items: center;
  gap: 0.7rem;
}

.hero-scroll i {
  display: block;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  animation: slide-x 1.9s ease-in-out infinite;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee ul {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: 0.04em;
  color: var(--soft);
  white-space: nowrap;
}

.marquee li::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Manifesto ---------- */

.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  max-width: 32ch;
}

.manifesto footer {
  margin-top: 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- Studio (about) ---------- */

.studio {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.studio-figure {
  overflow: hidden;
}

.studio-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.studio-figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--soft);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.facts dt {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--type);
}

.facts dd {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--soft);
}

/* ---------- Rooms: sticky index + scrolling images ---------- */

.rooms {
  display: grid;
  gap: 2rem;
}

.rooms-index {
  position: sticky;
  top: calc(var(--dd-banner-h, 0px) + var(--header-h));
  z-index: 5;
  padding-block: 1rem;
  background: var(--paper);
}

.rooms-index h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.rooms-index p {
  margin-top: 0.5rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.rooms-count {
  margin-top: 0.9rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.rooms-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.rooms-jump a {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--rule);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.rooms-jump a:hover,
.rooms-jump a.is-live {
  color: var(--type);
  border-color: var(--rule-strong);
}

.room {
  display: grid;
  gap: 0.6rem;
  scroll-margin-top: calc(var(--header-h) + 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

/* The room name is already the sticky index's whole job. This heading exists
   so the section still has one without JavaScript, and so screen readers keep
   the outline; with JavaScript it steps out of the way. */
.room > h4 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
}

html.js .room > h4 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.room-shot {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  display: block;
}

.room-shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.room-shot:hover img {
  transform: scale(1.045);
}

.room-shot .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1.1rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  color: rgba(245, 241, 233, 0.9);
  background: linear-gradient(transparent, rgba(13, 11, 9, 0.8));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.room-shot:hover .cap,
.room-shot:focus-visible .cap {
  opacity: 1;
  transform: none;
}

.room-shot--tall img {
  aspect-ratio: 4 / 5;
}

.room-duo {
  display: grid;
  gap: 0.6rem;
}

/* ---------- Feature quote ---------- */

.feature {
  position: relative;
  min-height: min(78dvh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--bone);
}

.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 9, 0.68);
}

.feature blockquote {
  position: relative;
  z-index: 1;
  width: min(60rem, 100% - var(--gutter) * 2);
  text-align: center;
}

.feature blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 4.4vw, 3.1rem);
  line-height: 1.2;
}

.feature blockquote footer {
  margin-top: 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.82);
}

/* ---------- Path ---------- */

.path {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.path li {
  display: grid;
  gap: 0.9rem;
  padding-block: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 1px solid var(--rule);
}

.path li:last-child {
  border-bottom: 1px solid var(--rule);
}

.path .step-index {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.path h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.path p {
  color: var(--soft);
  max-width: 46ch;
}

/* ---------- People / contact ---------- */

.people {
  display: grid;
  gap: 1rem;
}

.person {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.person:hover {
  border-color: var(--rule-strong);
  transform: translateY(-3px);
}

.person h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
}

.person p {
  color: var(--soft);
  font-size: 0.9rem;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  color: var(--soft);
  font-size: 0.94rem;
}

.contact-meta a:hover {
  color: var(--type);
}

/* ---------- Closing CTA ---------- */

.closing {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

/* ---------- Footer ---------- */

.sitefoot {
  padding-block: clamp(2.5rem, 5vw, 4rem) 7rem;
  border-top: 1px solid var(--rule);
}

.sitefoot .shell {
  display: grid;
  gap: 1.4rem;
}

.sitefoot p {
  color: var(--soft);
  font-size: 0.86rem;
}

.sitefoot .display {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--type);
  font-style: italic;
  max-width: 30ch;
}

/* ---------- Gallery ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.filter {
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.filter:hover {
  color: var(--type);
  border-color: var(--rule-strong);
}

.filter[aria-pressed="true"] {
  background: var(--type);
  color: var(--paper);
  border-color: var(--type);
}

.mosaic {
  columns: 1;
  column-gap: 0.6rem;
}

.mosaic figure {
  break-inside: avoid;
  margin-bottom: 0.6rem;
}

.mosaic button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.mosaic img {
  width: 100%;
  transition: transform 1s var(--ease);
}

.mosaic button:hover img {
  transform: scale(1.04);
}

.mosaic figcaption {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--soft);
}

/* ---------- Lightbox ---------- */

.lightbox {
  --type: var(--bone);
  --paper: var(--ink);
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(13, 11, 9, 0.95);
  color: var(--bone);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 80dvh;
  object-fit: contain;
  animation: pop 0.5s var(--ease);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 241, 233, 0.3);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--bone);
  color: var(--ink);
}

.lightbox-close {
  top: calc(var(--dd-banner-h, 0px) + 1rem);
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: min(46rem, 90vw);
  text-align: center;
  font-size: 0.86rem;
  color: rgba(245, 241, 233, 0.76);
}

/* ---------- Brief form ---------- */

.form {
  display: grid;
  gap: 1.4rem;
  max-width: 46rem;
}

.form.is-sent {
  display: none;
}

.duo {
  display: grid;
  gap: 1.4rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field > label,
.field > span.label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--soft);
  opacity: 0.6;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}

.field .error {
  display: none;
  color: #b4442f;
  font-size: 0.84rem;
}

.field.is-bad .error {
  display: block;
}

.field.is-bad input,
.field.is-bad textarea {
  border-bottom-color: #b4442f;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.choice {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--rule);
  font-size: 0.82rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.choice:hover {
  border-color: var(--rule-strong);
}

.choice[aria-pressed="true"] {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.sent {
  display: none;
  max-width: 46rem;
}

.sent.is-on {
  display: grid;
  gap: 1.2rem;
}

.note {
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--brass);
  color: var(--soft);
  font-size: 0.9rem;
}

/* ---------- Player ---------- */

.player {
  /* Right-hand side: the left column carries the sticky room index and every
     heading in the page starts there. */
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 60;
  width: min(23rem, calc(100vw - 1.5rem));
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "disc meta toggle"
    "disc bar  bar";
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding: 0.8rem 0.9rem;
  background: rgba(13, 11, 9, 0.82);
  border: 1px solid rgba(245, 241, 233, 0.18);
  backdrop-filter: blur(20px);
  color: var(--bone);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: width 0.5s var(--ease), padding 0.5s var(--ease);
}

.player.is-tucked {
  width: auto;
  grid-template-columns: auto;
  grid-template-areas: "disc";
  padding: 0.5rem;
}

.player.is-tucked .player-meta,
.player.is-tucked .player-bar,
.player.is-tucked .player-toggle {
  display: none;
}

.player-disc {
  grid-area: disc;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  display: grid;
  place-items: center;
}

.player-disc::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 167, 113, 0.4);
}

.player.is-playing .player-disc::after {
  animation: spin 7s linear infinite;
}

.player-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.player-bars b {
  width: 2px;
  height: 4px;
  background: var(--brass-lift);
  transform-origin: bottom;
}

.player.is-playing .player-bars b {
  animation: bounce 0.9s ease-in-out infinite;
}

.player.is-playing .player-bars b:nth-child(2) {
  animation-delay: 0.12s;
}

.player.is-playing .player-bars b:nth-child(3) {
  animation-delay: 0.26s;
}

.player.is-playing .player-bars b:nth-child(4) {
  animation-delay: 0.05s;
}

.player-meta {
  grid-area: meta;
  min-width: 0;
}

.player-meta strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-meta span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 233, 0.55);
}

.player-toggle {
  grid-area: toggle;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 241, 233, 0.28);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.player-toggle:hover {
  background: var(--bone);
  color: var(--ink);
}

.player-bar {
  grid-area: bar;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.player-bar input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  height: 2px;
  background: rgba(245, 241, 233, 0.24);
  cursor: pointer;
}

.player-bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass-lift);
}

.player-bar input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--brass-lift);
}

.player-time {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: rgba(245, 241, 233, 0.55);
  min-width: 2.4rem;
}

/* ---------- Keyframes ---------- */

@keyframes rise {
  to {
    transform: none;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes sweep {
  to {
    transform: scaleX(1);
  }
}

@keyframes curtain-out {
  to {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}

@keyframes drift {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.14);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes slide-x {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-6px);
  }
  50% {
    opacity: 1;
    transform: translateX(6px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(3.2);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Layout up ---------- */

@media (min-width: 700px) {
  .duo {
    grid-template-columns: 1fr 1fr;
  }

  .people {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .room-duo {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic {
    columns: 2;
  }

  .hero-scroll {
    display: flex;
  }
}

@media (min-width: 900px) {
  .mainnav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .studio {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .studio-figure {
    position: sticky;
    top: calc(var(--dd-banner-h, 0px) + var(--header-h) + 2rem);
  }

  .manifesto p {
    max-width: 26ch;
  }

  .rooms {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }

  .rooms-index {
    top: calc(var(--dd-banner-h, 0px) + var(--header-h) + 3rem);
    background: transparent;
    padding-block: 0;
  }

  .path {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .path li {
    border-top: 1px solid var(--rule);
  }

  .path li:last-child {
    border-bottom: 0;
  }

  .mosaic {
    columns: 3;
  }
}

@media (max-width: 899px) {
  .masthead .btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .curtain {
    display: none;
  }

  .cursor,
  .cursor-dot {
    display: none !important;
  }

  .marquee ul,
  .hero-stack img,
  .player-bars b,
  .player-disc::after,
  .hero-scroll i {
    animation: none !important;
  }

  html.js [data-reveal],
  html.js [data-reveal] img,
  html.js .word {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}
