:root {
  color-scheme: dark;
  --ink: #111111;
  --pink: #f3dde3;
  --white: #ffffff;
  --ruby: #a64450;
  --muted: #c0b8ba;
  --rule: #ffffff29;
  --serif: "Bodoni MT", Didot, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(ellipse 64rem 46rem at 93% 1%, #382631 0%, #251d22 39%, transparent 86%),
    var(--ink);
  color: var(--white);
  font: 16px/1.5 Arial, sans-serif;
}
#contenuto { flex: 1; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
.shell { width: min(100% - 2 * clamp(20px, 5vw, 76px), 1440px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; background: var(--pink); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); position: relative; z-index: 2; }
.header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--pink); }
.brand span { font-size: .67rem; text-transform: uppercase; letter-spacing: .18em; font-weight: bold; line-height: 1.35; }
.desktop-nav, .mobile-nav nav { font-size: .8rem; letter-spacing: .05em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 48px); }
.desktop-nav a, .mobile-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-instagram { width: 44px; }
.desktop-nav .nav-instagram { justify-content: center; }
.nav-feature { color: var(--pink); text-decoration: underline; text-underline-offset: 6px; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--pink); text-decoration: underline; text-underline-offset: 5px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { min-height: 44px; align-content: center; color: var(--pink); }
.mobile-nav nav { position: absolute; right: 0; top: 100%; min-width: 175px; padding: 8px 16px; border: 1px solid var(--rule); background: var(--ink); }
.mobile-nav a { display: flex; }

.hero { flex: 1; position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(510px, 72svh, 860px); }
.hero-image, .hero::after { position: absolute; inset: 0; }
.hero-image { left: 20%; z-index: -2; }
.hero-image img { object-fit: cover; object-position: 70% 44%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #111 17%, #111e 30%, #1115 61%, #1110 96%); }
.hero-copy { padding-block: 62px; }
.eyebrow { color: var(--pink); text-transform: uppercase; font-size: .7rem; font-weight: bold; letter-spacing: .2em; margin: 0 0 18px; }
.hero h1, .page-heading h1 { font: 400 clamp(55px, 10.5vw, 164px)/.84 var(--serif); letter-spacing: -.067em; margin: 0; }
.hero h1 em { display: block; font-weight: inherit; }
.button { display: inline-flex; gap: 25px; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; background: var(--ruby); color: var(--white); text-transform: uppercase; font-size: .75rem; letter-spacing: .11em; font-weight: bold; }
.button:hover { background: #883440; }
.hero .button { margin-top: 31px; }

.collection-page { min-height: 64svh; padding-block: clamp(40px, 7vw, 96px); }
.page-heading { margin: 0 0 clamp(28px, 5vw, 65px); }
.page-heading h1 { font-size: clamp(52px, 8.5vw, 128px); line-height: .95; }
.collections, .photo-grid { padding: 0; margin: 0; list-style: none; display: grid; gap: clamp(14px, 2vw, 28px); }
.collections { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(28px, 5vw, 55px); }
.collection { display: block; }
.collection-image, .photo-tile { position: relative; display: block; overflow: hidden; background: #1c191a; }
.collection-image { aspect-ratio: 4 / 3; }
.collection-image img, .photo-tile img { object-fit: cover; }
.collection-image .nude-art-cover { object-position: center 15%; }
.collection:hover .collection-image img, .photo-tile:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: no-preference) {
  .collection-image img, .photo-tile img { transition: transform .35s ease; }
}
.collection-caption { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0 8px; border-bottom: 1px solid var(--rule); }
.collection-caption h2 { font: 400 clamp(25px, 3vw, 43px)/1 var(--serif); margin: 0; }
.collection-number, .collection-arrow { font-size: .74rem; color: var(--pink); }
.collection-private { display: grid; place-items: center; background: #211b1d; }
.lock-mark { position: relative; width: 28px; height: 21px; border: 1px solid var(--pink); margin-top: 12px; }
.lock-mark::before { position: absolute; content: ""; left: 5px; right: 5px; bottom: 100%; height: 14px; border: 1px solid var(--pink); border-bottom: 0; border-radius: 12px 12px 0 0; }
.back { display: inline-block; margin-bottom: 24px; color: var(--pink); text-underline-offset: 4px; }
.back:hover { text-decoration: underline; }
.photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-tile { aspect-ratio: 4 / 5; }
.notice { max-width: 56ch; margin: 0; border-top: 1px solid var(--rule); padding-top: 18px; color: var(--muted); }
.notice p:first-child { margin-top: 0; }
.notice .button { margin-top: 10px; }

.lightbox { width: min(94vw, 1080px); max-height: 94dvh; padding: 12px; color: var(--white); background: var(--ink); border: 1px solid var(--rule); }
.lightbox::backdrop { background: #000e; }
.lightbox-photo { position: relative; height: min(66dvh, 800px); }
.lightbox-photo img { object-fit: contain; }
.lightbox-bar, .lightbox-controls { display: flex; align-items: center; justify-content: space-between; color: var(--pink); }
.lightbox button { min-width: 44px; min-height: 44px; padding-inline: 12px; border: 0; background: transparent; color: inherit; }
.lightbox button:hover { background: #ffffff14; }
.lightbox-controls { justify-content: center; gap: 20px; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { padding-block: 10px; color: var(--muted); font-size: .75rem; }

@media (max-width: 850px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .header-inner { min-height: 68px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: clamp(480px, 74svh, 670px); align-items: end; }
  .hero-image {
    left: 0;
    bottom: clamp(100px, 25%, 240px);
    mask-image: linear-gradient(#000 82%, transparent);
  }
  .hero-image img { object-position: 79% 43%; }
  .hero::after { background: linear-gradient(0deg, #111 0%, #111e 19%, #1114 53%, #1110 77%); }
  .hero-copy { padding-block: 36px; }
  .hero h1 { font-size: clamp(54px, 14vw, 98px); }
  .hero .button { margin-top: 24px; }
}
@media (max-width: 520px) {
  .collections { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer-inner a { text-decoration: underline; text-underline-offset: 4px; }
.footer-inner a:hover { color: var(--pink); }
.privacy-copy { max-width: 68ch; color: var(--muted); }
.privacy-copy h2 { margin: 2rem 0 .55rem; color: var(--white); font: 400 clamp(23px, 3vw, 30px)/1.2 var(--serif); }
.privacy-copy p, .privacy-copy ul { margin: 0 0 1rem; }
.privacy-copy li + li { margin-top: .25rem; }
.privacy-copy a { color: var(--pink); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

.collection-image img,
.photo-tile img,
.lightbox-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
