@font-face {
  font-family: Archivo;
  src: url("/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: TeX Gyre Heros;
  src: url("/heros-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: TeX Gyre Heros;
  src: url("/heros-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Warm off-white and near-black, like the icons, with the official Instagram blue as an accent. */
:root {
  --paper: #f2efe9;
  --ink: #23201d;
  --muted: #69635c;
  --line: #d9d3c9;
  --accent: #0027aa;
  --on-accent: #fafaf7;
  --logo-filter: none;
  --space-color: #6b4b33;
  color-scheme: light;
  --gutter: clamp(22px, 4vw, 72px);
}
:root[data-brand="space"] {
  --paper: #fafaf7;
  --ink: #373936;
  --muted: #676a65;
  --line: #d9dcd4;
  --accent: #6b4b33;
  --on-accent: #fafaf7;
  --logo-filter: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
/* The canvas takes the footer colour, so overscroll past the end continues the footer. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
  background: #e8e3da;
}
:root[data-brand="space"] {
  background: #f1f1eb;
}
html.nav-locked {
  overflow: hidden;
}
body {
  overflow-x: clip;
  margin: 0;
  padding-top: calc(84px + env(safe-area-inset-top));
  background: var(--paper);
  color: var(--ink);
  /* Text everywhere is set in a Helvetica, like the printed menu. */
  font-family:
    TeX Gyre Heros,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.photo-page {
  padding-top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 0;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
p {
  margin: 0;
  line-height: 1.55;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0;
  line-height: 1.02;
}
h2 {
  font-size: clamp(42px, 6vw, 90px);
}
/* Grotesque titles with the softened, inked edges of the Stereo Ritual posters (#ink in each NòTT page). */
h1,
h2 {
  font-family: Archivo, Arial, sans-serif;
  font-stretch: 96%;
  font-weight: 700;
  letter-spacing: -0.05em;
  filter: url(#ink);
  text-transform: uppercase;
  line-height: 1;
  text-wrap: balance;
}
/* Spazio NòTT titles drop the inked poster type for plain Helvetica. */
:root[data-brand="space"] h1,
:root[data-brand="space"] h2 {
  font-family:
    TeX Gyre Heros,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  font-stretch: normal;
  filter: none;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
:root[data-brand="nott"] h3 {
  font-weight: 500;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 14px;
  background: var(--paper);
  z-index: 4;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.shell {
  padding-inline: var(--gutter);
  max-width: 1800px;
  margin: auto;
}
.site-header {
  height: calc(84px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: fixed;
  inset: 0 0 auto;
  z-index: 3;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.small-logo {
  width: 94px;
  flex-shrink: 0;
}
.logo {
  filter: var(--logo-filter);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 44px);
  margin-left: auto;
  font-size: 14px;
}
.main-nav a {
  padding-block: 10px;
}
.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--accent);
}
.main-nav a[aria-current="page"] {
  font-weight: 700;
}
.header-book {
  font-size: 14px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 14px 20px;
  white-space: nowrap;
  border-radius: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.nav-toggle,
.nav-extra {
  display: none;
}
.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  min-height: 48px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  line-height: 1.25;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.cta-button:hover {
  opacity: 0.86;
}
.cta-button:active {
  transform: translateY(1px);
}
.header-book:hover {
  opacity: 0.88;
}
.header-book:active,
button:active {
  transform: translateY(1px);
}
.hero-photo {
  width: 100%;
  height: clamp(400px, 58vw, 720px);
  max-height: 71dvh;
  object-fit: cover;
  object-position: center 54%;
}
.photo-page .site-header:not(.is-scrolled) {
  background: transparent;
  color: #fafaf7;
  border-bottom: 0;
}
.home-page .site-header:not(.is-scrolled) .main-nav a:hover,
.home-page .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] {
  color: #fafaf7;
}
.home-page .site-header:not(.is-scrolled) .logo {
  filter: brightness(0) invert(1);
}
.home-page .site-header:not(.is-scrolled) a:focus-visible,
.home-page .site-header:not(.is-scrolled) button:focus-visible {
  outline-color: #fafaf7;
}
/* The photo fills the whole screen, even under the browser toolbars (lvh); icons, title and
   Discover the place stay inside the area that is always visible (svh), on every browser. */
.room-hero {
  --hidden-by-toolbars: 0px;
  position: relative;
  min-height: 100vh;
  min-height: 100lvh;
  color: #fafaf7;
  background: #23201d;
  isolation: isolate;
}
@supports (height: 100svh) {
  .room-hero {
    --hidden-by-toolbars: calc(100lvh - 100svh);
  }
}
.room-hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-position: center 55%;
  z-index: -2;
}
/* A soft pool of shade behind the lockup lifts the icons off the busy room. */
.room-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 46% 40% at 50% 48%,
      rgb(22 16 11 / 58%),
      rgb(22 16 11 / 24%) 60%,
      transparent
    ),
    linear-gradient(
      180deg,
      rgb(22 16 11 / 55%),
      rgb(22 16 11 / 18%) 45%,
      rgb(22 16 11 / 65%)
    );
  z-index: -1;
}
.room-hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: 120px;
}
/* The hero measures everything in lockup units, so icons and title scale together. */
.hero-center {
  --u: clamp(3.6px, 1.12vw, 11.5px);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(74 * var(--u));
}
/* Three equal columns keep the spiral on the exact centre line. */
.hero-ritual-lockup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  width: 100%;
  color: #fafaf7;
  filter: drop-shadow(0 2px 18px rgb(18 12 8 / 45%));
}
.lockup-icon {
  display: block;
  width: auto;
  overflow: visible;
  transform-origin: center;
}
.lockup-dancer {
  height: calc(16.41 * var(--u));
}
.lockup-spiral {
  height: calc(11.38 * var(--u));
}
.lockup-horse {
  height: calc(16.18 * var(--u));
}
/* The Instagram bio as the page title, in Helvetica on one line under the icons. */
.hero-title {
  align-self: stretch;
  margin-top: calc(5.5 * var(--u));
  font-family:
    TeX Gyre Heros,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  font-stretch: normal;
  font-weight: 700;
  font-size: calc(3.75 * var(--u));
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  color: #fafaf7;
  filter: drop-shadow(0 2px 14px rgb(18 12 8 / 40%));
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: calc(34px + var(--hidden-by-toolbars, 0px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.hero-scroll:focus-visible {
  outline-color: currentColor;
}
.scroll-mark {
  position: relative;
  width: 18px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 12px;
}
.scroll-mark::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
  left: 6px;
  top: 6px;
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}
@keyframes scroll-hint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}
/* Hand-drawn icon set, one per action, in the style of the brand icons. */
.cta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.cta-icon-back {
  transform: scaleX(-1);
}
.cta-button:has(.cta-icon),
.header-book:has(.cta-icon),
.footer-navigation a:has(.cta-icon) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-navigation .cta-icon {
  width: 0.8em;
  height: 0.8em;
}
.cta-button .cta-icon,
.header-book .cta-icon {
  filter: brightness(0) invert(1);
}
.space-room-hero {
  color: var(--ink);
  background: var(--paper);
}
.space-room-hero::after {
  background: linear-gradient(
    180deg,
    rgb(250 250 247 / 70%),
    rgb(250 250 247 / 30%) 45%,
    rgb(250 250 247 / 85%)
  );
}
.space-room-hero .space-lockup {
  width: min(46vw, 580px);
}
.space-room-hero .logo {
  filter: none;
}
:root[data-brand="space"] .site-header:not(.is-scrolled) {
  color: var(--ink);
}
.intro {
  padding-block: 110px 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0 9vw;
  align-items: start;
}
.intro h2 {
  max-width: 820px;
  font-size: clamp(42px, 5.5vw, 82px);
  grid-column: 1;
  grid-row: 1 / 3;
}
.intro p {
  margin-top: 0;
  max-width: 520px;
  font-size: 19px;
  grid-column: 2;
  grid-row: 1;
}
.intro .cta-button {
  margin-top: 24px;
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
}
/* NòTT, In cucina and Stereo Ritual share one rhythm: text, then a staggered contact sheet. */
.story {
  padding-top: clamp(80px, 9vw, 120px);
}
.story-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0 9vw;
  align-items: start;
  margin-bottom: clamp(50px, 6vw, 90px);
}
.story-intro h2 {
  font-size: clamp(42px, 5.5vw, 82px);
  grid-row: 1 / 3;
}
.story-intro p {
  max-width: 520px;
  font-size: 19px;
}
.story-intro .cta-button {
  margin-top: 24px;
  justify-self: start;
}
/* Whole columns step down, so photos in one column stay close together. */
.story-grid {
  --offset: clamp(70px, 9vw, 150px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  align-items: start;
  padding-bottom: var(--offset);
}
.story-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.story-grid--3 figure:nth-of-type(3n + 2),
.story-grid--4 figure:nth-of-type(even) {
  translate: 0 var(--offset);
}
.story-grid figure:nth-of-type(4n + 2) {
  transition-delay: 0.12s;
}
.story-grid figure:nth-of-type(4n + 3) {
  transition-delay: 0.24s;
}
.story-grid figure:nth-of-type(4n + 4) {
  transition-delay: 0.36s;
}
.story-grid .photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
/* A blue brand icon is dropped, slightly askew, across the seam between photos. */
.story-grid figure {
  position: relative;
}
.story-grid figure:has(.story-mark) {
  z-index: 1;
}
.story-mark {
  position: absolute;
  height: clamp(96px, 12vw, 184px);
  aspect-ratio: var(--ratio);
  filter: drop-shadow(0 2px 10px rgb(18 12 8 / 30%));
  pointer-events: none;
}
.story-mark > span {
  display: block;
  height: 100%;
  background: var(--accent);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
/* On the right edge, between this photo and the next. */
.story-mark--edge {
  right: 0;
  top: 38%;
  translate: 50% -50%;
  rotate: -11deg;
}
/* On the left edge, between this photo and the previous one. */
.story-mark--start {
  left: 0;
  top: 58%;
  translate: -50% -50%;
  rotate: 9deg;
}
/* On the bottom-right corner, where four photos meet. */
.story-mark--corner {
  right: 0;
  bottom: 0;
  translate: 50% 50%;
  rotate: -16deg;
}
.brand-icon {
  width: 92px;
  filter: var(--logo-filter);
}
.space-teaser {
  /* The portal previews the white identity of Spazio NòTT. */
  margin-top: clamp(50px, 7vw, 100px);
  --paper: #fafaf7;
  --ink: #373936;
  --muted: #676a65;
  --line: #d9dcd4;
  --accent: #6b4b33;
  --on-accent: #fafaf7;
  --logo-filter: none;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.space-teaser .photo {
  aspect-ratio: 1.18;
  object-fit: cover;
}
.space-teaser-content {
  padding: clamp(35px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.space-lockup {
  width: clamp(180px, 22vw, 380px);
  color: var(--space-color);
}
.space-lockup .space-word {
  display: flex;
  justify-content: space-between;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0;
  margin: 0 1.47% 24px;
}
.space-lockup .logo {
  width: 100%;
}
.space-teaser p {
  max-width: 340px;
  margin-top: 35px;
  font-size: 18px;
}
.space-teaser .cta-button {
  margin-top: 22px;
  align-self: flex-start;
}
/* Footer: contacts up top; the three icons rise large from the bottom edge, behind the bottom bar. */
.brand-footer {
  --art: clamp(240px, 30vw, 430px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #e8e3da;
  border-top: 1px solid var(--line);
}
.brand-footer > .shell {
  width: 100%;
}
.footer-main {
  order: 1;
}
.footer-art {
  order: 2;
}
.footer-bottom {
  order: 3;
}
:root[data-brand="space"] .brand-footer {
  background: #f1f1eb;
}
.footer-art {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: calc(var(--art) * -0.12);
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 100%;
  gap: 9%;
  height: var(--art);
  opacity: 0.15;
  pointer-events: none;
}
.footer-art img {
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: clamp(60px, 7vw, 90px) calc(var(--art) * 0.62);
}
.footer-logo {
  width: clamp(160px, 16vw, 240px);
}
.footer-identity > p {
  font-size: 14px;
  margin-top: 25px;
}
.footer-identity address {
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
  margin-top: 40px;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  justify-self: end;
  min-width: 280px;
}
.footer-navigation a {
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -0.03em;
  padding-block: 12px;
  min-height: 44px;
}
.footer-navigation a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 34px calc(34px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.footer-bottom > span {
  margin-right: auto;
}
.footer-bottom a {
  padding-block: 10px;
}
:root[data-brand="space"] .intro {
  padding-block: 110px 80px;
}
:root[data-brand="space"] .header-book {
  background: var(--accent);
  color: var(--on-accent);
}
.space-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 8vw;
  padding-block: 30px 100px;
}
.space-feature .photo {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.space-feature h2 {
  font-size: clamp(36px, 4.5vw, 68px);
}
.space-feature p {
  max-width: 410px;
  margin-top: 25px;
  font-size: 18px;
}
.space-feature .cta-button {
  margin-top: 20px;
}
.space-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding-block: 30px 100px;
}
.space-detail .photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.space-detail .photo:nth-child(2) {
  margin-top: 90px;
}
.quote-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding-block: 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-section h2 {
  font-size: clamp(42px, 5.5vw, 80px);
}
.quote-introduction {
  max-width: 370px;
  font-size: 18px;
  margin-top: 28px;
}
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  max-width: 650px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.form-field label {
  font-size: 13px;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #f3f3ed;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px;
  min-height: 50px;
}
.form-field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.form-wide {
  grid-column: 1 / -1;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-actions .cta-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
}
.legal-page {
  max-width: 1100px;
  padding-block: 90px;
}
.legal-page h1 {
  font-size: clamp(44px, 7vw, 86px);
}
.legal-page section {
  margin-top: 55px;
}
.legal-page h2 {
  font-size: 30px;
  margin-bottom: 24px;
}
.legal-page p {
  max-width: 740px;
  margin-top: 18px;
}
.legal-draft {
  color: var(--muted);
}
.legal-data {
  margin: 0;
}
.legal-data > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.legal-data dt {
  font-weight: 500;
}
.legal-data dd {
  margin: 0;
  color: var(--muted);
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}
.not-found {
  padding-block: 120px;
  min-height: 75dvh;
}
.not-found h1 {
  font-size: clamp(44px, 6vw, 80px);
  max-width: 700px;
}
.not-found p {
  margin-top: 25px;
}
.not-found .cta-button {
  margin-top: 25px;
}
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.will-reveal.visible {
  opacity: 1;
  transform: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 767px) {
  body:not(.photo-page) {
    padding-top: calc(72px + env(safe-area-inset-top));
  }
  .header-book {
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  .site-header {
    gap: 18px;
  }
  .main-nav {
    gap: 20px;
  }
  .space-teaser-content {
    padding: 38px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 90px;
  }
  .site-header {
    height: calc(72px + env(safe-area-inset-top));
    gap: 20px;
  }
  .small-logo {
    width: 78px;
  }
  .header-book {
    margin-left: auto;
    padding: 12px 14px;
    font-size: 12px;
  }
  /* Hand-drawn menu toggle; it turns into a cross while the panel is open. */
  .nav-toggle {
    display: grid;
    place-items: center;
    order: 3;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    color: inherit;
  }
  .nav-toggle-icon {
    width: 26px;
    height: 26px;
    background: currentColor;
    -webkit-mask: url("/icon-burger.svg") center / contain no-repeat;
    mask: url("/icon-burger.svg") center / contain no-repeat;
    transition: rotate 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    -webkit-mask-image: url("/icon-close.svg");
    mask-image: url("/icon-close.svg");
    rotate: 90deg;
  }
  /* Full-screen panel: big inked links, contacts, booking and the three icons. */
  .main-nav:not(.space-nav) {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: calc(72px + env(safe-area-inset-top) + 36px) var(--gutter)
      calc(28px + env(safe-area-inset-bottom));
    background: var(--paper);
    color: var(--ink);
    overflow-y: auto;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition:
      clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1),
      visibility 0s linear 0.6s;
  }
  .main-nav.is-open {
    visibility: visible;
    clip-path: inset(0);
    transition:
      clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1),
      visibility 0s;
  }
  .main-nav:not(.space-nav) > a {
    padding-block: 4px;
    font-family: Archivo, Arial, sans-serif;
    font-stretch: 96%;
    font-weight: 700;
    font-size: clamp(44px, 13vw, 60px);
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    filter: url(#ink);
  }
  .main-nav:not(.space-nav) > a,
  .nav-extra > * {
    opacity: 0;
    translate: 0 18px;
    transition:
      opacity 0.5s ease,
      translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .main-nav.is-open > a,
  .main-nav.is-open .nav-extra > * {
    opacity: 1;
    translate: none;
  }
  .main-nav.is-open > a:nth-child(1) {
    transition-delay: 0.18s;
  }
  .main-nav.is-open > a:nth-child(2) {
    transition-delay: 0.25s;
  }
  .main-nav.is-open .nav-extra > * {
    transition-delay: 0.34s;
  }
  .nav-extra {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 40px;
    flex: 1;
  }
  .nav-extra > a:not(.cta-button) {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-block: 8px;
    font-size: 19px;
  }
  .nav-extra .cta-button {
    margin-top: 18px;
  }
  .nav-address {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
  }
  .nav-icons {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    margin-top: auto;
    padding-top: 36px;
  }
  .nav-icons span {
    height: 78px;
    aspect-ratio: var(--ratio);
    background: var(--accent);
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
  }
  .nav-icons span:nth-child(1) {
    rotate: -8deg;
  }
  .nav-icons span:nth-child(2) {
    height: 62px;
    rotate: 12deg;
  }
  .nav-icons span:nth-child(3) {
    rotate: -5deg;
  }
  /* While the panel is open the header sits on paper: dark logo and toggle. */
  .site-header.nav-open,
  .photo-page .site-header.nav-open:not(.is-scrolled) {
    color: var(--ink);
    border-bottom-color: transparent;
  }
  .home-page .site-header.nav-open .logo {
    filter: none;
  }
  .hero-photo {
    height: 58dvh;
    min-height: 370px;
    max-height: none;
    object-position: 38% center;
  }
  .room-hero .hero-photo {
    object-position: 43% center;
  }
  .hero-scroll {
    bottom: calc(22px + var(--hidden-by-toolbars, 0px));
  }
  .space-room-hero .space-lockup {
    width: 100%;
    max-width: 470px;
  }
  .intro {
    display: block;
    padding-block: 68px 55px;
  }
  .intro h2 {
    font-size: 51px;
  }
  .intro p {
    font-size: 18px;
    margin-top: 25px;
  }
  .story-intro {
    display: block;
  }
  .story-intro h2 {
    font-size: 51px;
  }
  .story-intro p {
    font-size: 18px;
    margin-top: 25px;
  }
  .story-grid,
  .story-grid--4 {
    --offset: 64px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-grid figure,
  .story-grid--3 figure:nth-of-type(3n + 2),
  .story-grid--4 figure:nth-of-type(even) {
    translate: none;
  }
  .story-grid figure:nth-of-type(even) {
    translate: 0 var(--offset);
  }
  .story-grid figure:last-of-type:nth-of-type(odd) {
    grid-column: 1 / -1;
    margin-top: var(--offset);
  }
  .story-grid figure:last-of-type:nth-of-type(odd) .photo {
    aspect-ratio: 3 / 2;
  }
  /* On touch screens a line running to the edge replaces the mouse icon. */
  .hero-scroll {
    bottom: var(--hidden-by-toolbars, 0px);
    gap: 14px;
    padding-bottom: 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 10px;
  }
  .hero-scroll .scroll-mark {
    order: 2;
    width: 1px;
    height: 56px;
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, currentColor 30%, transparent);
    overflow: hidden;
  }
  .hero-scroll .scroll-mark::after {
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    border-radius: 0;
    background: currentColor;
    animation: scroll-line 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 56px 44px;
  }
  .footer-navigation {
    justify-self: start;
    min-width: 0;
  }
  /* On phones the icons sit whole, side by side, just above the bottom bar. */
  .footer-art {
    position: static;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    /* The three icons together are about 2.3 times as wide as they are tall. */
    height: min(148px, calc((100vw - 2 * var(--gutter)) / 2.4));
    margin: 0 var(--gutter) 28px;
  }
  .footer-art img {
    width: auto;
  }
  .footer-bottom {
    gap: 10px 22px;
    flex-wrap: wrap;
    padding-block: 18px;
  }
  .footer-bottom > span {
    width: 100%;
  }
  .space-teaser {
    grid-template-columns: 1fr;
  }
  .space-teaser .photo {
    aspect-ratio: 4/3;
  }
  .space-teaser-content {
    padding: 45px var(--gutter) 55px;
  }
  .space-lockup {
    width: 230px;
  }
  .space-lockup .space-word {
    font-size: 19px;
    margin-bottom: 20px;
  }
  .space-teaser p {
    font-size: 17px;
    margin-top: 30px;
  }
  :root[data-brand="space"] .intro {
    padding-block: 80px 65px;
  }
  .space-feature {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 55px;
  }
  .space-feature h2 {
    font-size: 42px;
  }
  .quote-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 65px;
  }
  .quote-form {
    grid-template-columns: 1fr;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }
  .legal-page {
    padding-block: 55px;
  }
  .legal-data > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .space-detail {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 55px;
  }
  .space-detail .photo:nth-child(2) {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  /* Spazio NòTT has a single link, so it stays visible without the toggle. */
  .main-nav.space-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    margin-left: auto;
    background: none;
    border: 0;
    color: inherit;
    font-size: 14px;
  }
  .space-nav + .header-book {
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .header-book .cta-icon {
    display: none;
  }
}
@media (max-width: 380px) {
  .site-header {
    gap: 12px;
  }
  .small-logo {
    width: 64px;
  }
  .header-book {
    padding-inline: 12px;
  }
}
/* Opening: the three icons arrive on paper, then the room appears behind them. */
.hero-intro-veil {
  display: none;
}
.is-intro .hero-intro-veil {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: intro-veil 1.2s cubic-bezier(0.45, 0, 0.2, 1) 2.1s both;
}
.is-intro .hero-ritual-lockup {
  animation:
    intro-ink 1.2s cubic-bezier(0.45, 0, 0.2, 1) 2.1s both,
    intro-shadow 1.2s ease 2.1s both;
}
.is-intro .lockup-icon {
  animation: intro-icon 1s cubic-bezier(0.2, 0.7, 0.2, 1)
    calc(0.35s + var(--i) * 0.32s) both;
}
.is-intro .lockup-spiral {
  animation-name: intro-spiral;
}
.is-intro .hero-title,
.is-intro .hero-scroll,
.is-intro .site-header {
  animation: intro-fade 1s ease 2.6s both;
}
.is-intro .room-hero .hero-photo {
  animation: intro-photo 3s cubic-bezier(0.2, 0.7, 0.2, 1) 2s both;
}
@keyframes intro-veil {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes intro-ink {
  from {
    color: var(--ink);
  }
}
@keyframes intro-shadow {
  from {
    filter: none;
  }
}
@keyframes intro-icon {
  from {
    opacity: 0;
    transform: translateY(14%);
  }
}
@keyframes intro-spiral {
  from {
    opacity: 0;
    transform: translateY(14%) rotate(-50deg);
  }
}
@keyframes intro-fade {
  from {
    opacity: 0;
  }
}
@keyframes intro-photo {
  from {
    transform: scale(1.05);
  }
}
