@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #161514;
  --stage: #121211;
  --paper: #f5f0e7;
  --muted: #bbb6ad;
  --gold: #d7bb8e;
  --line: #403c37;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.35rem, 5.65vw, 6.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 1rem/1.55 var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
figure, h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
img { display: block; max-width: 100%; }
.frame { width: min(calc(100% - var(--gutter) * 2), 91rem); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -8rem; z-index: 20; padding: .6rem 1rem; color: var(--bg); background: var(--paper); }
.skip:focus { top: 1rem; }
header { background: #131312; border-bottom: 1px solid #35332f; }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 4.65rem; }
.brand { display: inline-flex; align-items: center; gap: 1rem; }
.brand img { width: 3.8rem; height: auto; }
.brand span { border-left: 1px solid #514d46; padding-left: 1rem; color: #d2ccc1; font-size: .88rem; }
.navigation { display: flex; gap: clamp(1.2rem, 2.8vw, 2.65rem); align-items: center; }
.navigation a, .footer-top { padding-block: .7rem; font-size: .94rem; }
.navigation a:hover, .footer-top:hover { color: var(--gold); }
.navigation a[href="#contatti"] { color: var(--gold); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--stage); border-bottom: 1px solid #35322e; }
.cover { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 65%; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 28%; }
.cover::after {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(90deg, var(--stage) 0%, rgba(18,18,17,.86) 9%, rgba(18,18,17,.30) 32%, transparent 58%),
              linear-gradient(0deg, rgba(14,13,12,.87), rgba(15,14,13,.18) 21%, transparent 44%);
}
.hero-wrap { min-height: clamp(34rem, 42vw, 45rem); display: flex; align-items: center; position: relative; }
.hero-copy { padding: clamp(2.8rem, 4vw, 4rem) 0; width: 50%; }
.role, .process-kicker { display: flex; align-items: center; gap: .8rem; color: var(--gold); font-size: .765rem; letter-spacing: .19em; text-transform: uppercase; }
.process-kicker::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
h1 { margin: 1.05rem 0 1.35rem -.05em; font-size: clamp(5.4rem, 7.65vw, 8.25rem); letter-spacing: -.055em; line-height: .84; }
.motto { font: 400 clamp(1.4rem, 1.9vw, 1.95rem)/1.17 var(--serif); color: #d8d1c5; }
.hero-links { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; padding: .72rem 1.25rem; border-radius: .2rem; background: #e4d3b6; color: #201c17; font-size: .95rem; }
.primary:hover { background: #f4e3c9; }
.primary svg { width: .98rem; height: .98rem; fill: none; stroke: currentColor; stroke-width: 1.45; }
.text-link { font-size: .94rem; text-decoration: underline; text-underline-offset: .33rem; text-decoration-color: #928676; padding-block: .7rem; }
.text-link:hover { text-decoration-color: var(--paper); }
.cover-controls { position: absolute; right: 0; bottom: 1.9rem; display: flex; gap: 1.1rem; align-items: center; }
.cover-caption { display: grid; text-align: right; gap: .04rem; }
.cover-metadata { color: #e7d8c4; font-size: .755rem; letter-spacing: .055em; }
.cover-metadata > span:first-child { margin: 0 .22rem; opacity: .7; }
#cover-title { font: 400 1.45rem/1.15 var(--serif); color: #fff7ea; }
.switches { display: flex; gap: .4rem; }
.round { display: grid; place-items: center; background: rgba(25,23,20,.62); color: var(--paper); border: 1px solid #b0a393; padding: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; cursor: pointer; }
.round:hover { background: #50473c; }
.round svg { width: .92rem; height: .92rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section { padding-block: clamp(3.2rem, 5.25vw, 6rem); }
h2 { font-size: clamp(3rem, 4.45vw, 5rem); line-height: .98; letter-spacing: -.047em; }
.section-head { margin-bottom: 1.8rem; }
.gallery-section { position: relative; }
.flo-grid { gap: 2.6rem clamp(1rem, 1.8vw, 2rem); }
.flo-filter { color: #d2ccc3; }
.flo-filter[aria-pressed="true"] { background: #ded4c2; border-color: #ded4c2; }
.bio-section { background: #201e1c; border-block: 1px solid #37332f; }
.bio { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 8rem); padding-block: clamp(3rem, 6vw, 6.5rem); align-items: center; }
.artist-photos { position: relative; padding: 0 12% 2.4rem 0; }
.artist-photo { max-height: 37rem; height: clamp(29rem, 39vw, 37rem); overflow: hidden; }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.easel-photo { position: absolute; right: 0; bottom: 0; width: 54%; }
.easel-photo img { width: 100%; height: auto; }
.bio-copy { max-width: 39rem; }
.bio-copy h2 { margin-bottom: 1.5rem; }
.bio-copy p, .process-notes > p:not(.process-kicker) { color: var(--muted); line-height: 1.65; }
.bio-copy p + p { margin-top: .75rem; }
.bio-copy blockquote { margin: 1.7rem 0 .9rem; font: 400 clamp(1.8rem, 2.65vw, 2.9rem)/1.12 var(--serif); letter-spacing: -.022em; color: var(--paper); }
.bio-signature { opacity: .85; }
.process-section h2 { margin-bottom: 2rem; }
.process { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 1.25rem; }
.process-picker { grid-column: 2; align-self: end; min-width: 0; }
#process-work { width: 100%; margin-top: .45rem; padding: .3rem 0; font: 400 clamp(1.55rem, 2.3vw, 2.6rem)/1.2 var(--serif); color: var(--paper); background: var(--bg); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.process-art { grid-area: 1 / 1 / 3 / 2; align-self: center; height: min(40vw, 37rem, 68svh); display: flex; justify-content: center; align-items: center; }
.process-art img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.phase-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 0 1rem; }
.phase-buttons button { padding: .65rem .85rem; text-align: left; background: transparent; color: var(--paper); border: 1px solid var(--line); border-radius: .15rem; min-height: 2.85rem; cursor: pointer; font-size: .94rem; }
.phase-buttons span { margin-right: .25rem; font-size: .78rem; opacity: .76; }
.phase-buttons button[aria-pressed="true"] { background: #e0d1b7; border-color: #e0d1b7; color: #221e1a; }
.phase-buttons button:hover { border-color: var(--gold); }
.phase-buttons button:nth-child(3):has(+ [hidden]) { grid-column: 1 / -1; }
#phase-caption { min-height: 6.6em; }
.contact { background: #201e1c; border-top: 1px solid var(--line); text-align: center; }
.contact h2 { text-wrap: balance; }
.contact p { max-width: 48ch; margin: 1.25rem auto .65rem; color: var(--muted); text-wrap: pretty; }
.contact a {
  display: inline-block; padding-block: .65rem; max-width: 100%; overflow-wrap: anywhere;
  color: var(--gold); font-size: clamp(.94rem, 3.65vw, 1.35rem);
  text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px;
  user-select: all;
}
.contact a:hover { color: var(--paper); }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.footer-inner .brand img { width: 3rem; }
.footer-top { color: var(--muted); }
@media (min-width: 56rem) {
  .gallery-section .flo-filters { position: absolute; right: 0; top: calc(clamp(3.2rem, 5.25vw, 6rem) + (clamp(3rem, 4.45vw, 5rem) - 2.75rem) / 2); margin: 0; }
}
@media (min-width: 110rem) {
  .cover { width: calc(50% + 15rem); }
}
@media (max-width: 55.99rem) {
  .hero-wrap { min-height: 33rem; }
  .hero-copy { width: 57%; }
  h1 { font-size: clamp(4.5rem, 10.1vw, 6rem); }
  .bio { gap: 2rem; }
  .artist-photo { height: 31rem; }
  .process { grid-template-columns: 1.1fr 1fr; gap: 1.5rem; }
  .phase-buttons { grid-template-columns: 1fr; }
}
@media (max-width: 49rem) {
  .bar .brand span { display: none; }
}
@media (max-width: 40rem) {
  :root { --gutter: clamp(1.1rem, 5.1vw, 2rem); }
  .bar { min-height: 3.85rem; gap: .85rem; }
  .brand img { width: 3.1rem; }
  .navigation { gap: clamp(.5rem, calc(10vw - 1.85rem), 1.6rem); }
  .navigation a { font-size: .875rem; padding-block: .8rem; }
  .hero-wrap { min-height: 40rem; min-height: clamp(36.8rem, 74svh, 42rem); align-items: flex-end; }
  .cover { inset: 0 0 auto; width: 100%; height: 78%; }
  .cover img { object-position: 63% 23%; }
  .cover::after { background: linear-gradient(0deg, var(--stage) 0%, rgba(18,18,17,.92) 13%, rgba(18,18,17,.50) 34%, rgba(18,18,17,.02) 72%),
                    linear-gradient(90deg, rgba(18,18,17,.42), transparent 70%); }
  .hero-copy { width: 100%; padding: 0 0 2.1rem; }
  .role { color: #f2d9b2; }
  h1 { font-size: clamp(4.55rem, 16.8vw, 6.3rem); margin: .75rem 0 .9rem -.035em; }
  .motto { font-size: 1.5rem; line-height: 1.1; }
  .hero-links { margin-top: 1.3rem; gap: 1.25rem; }
  .primary { min-height: 2.85rem; padding: .64rem .95rem; }
  .cover-controls { top: .85rem; right: -.05rem; bottom: auto; gap: .45rem; align-items: center; }
  .cover-caption { background: rgba(22,20,17,.78); border-radius: .16rem; padding: .32rem .55rem; }
  .cover-metadata { font-size: .75rem; }
  #cover-title { font-size: 1rem; }
  .switches { gap: .22rem; }
  .round { width: 2.75rem; height: 2.75rem; background: rgba(24,22,18,.73); }
  .section { padding-block: 2.85rem; }
  .section-head { margin-bottom: 1.3rem; }
  .bio, .process { grid-template-columns: 1fr; }
  .artist-photo { width: 100%; height: clamp(21rem, 83vw, 29rem); }
  .artist-photo img { object-position: center 27%; }
  .bio-copy { max-width: none; }
  .bio-copy h2 { margin-bottom: 1rem; }
  .process { gap: 1rem; }
  .process-picker, .process-art { grid-area: auto; }
  .process-art { height: min(92vw, 46svh); }
  .process:has(option[value="bambini"]:checked) .process-art { height: min(66vw, 46svh); }
  .phase-buttons { grid-template-columns: 1fr 1fr; }
  .phase-buttons button { padding-inline: .5rem; }
  .footer-inner .brand { gap: .65rem; }
  .footer-inner .brand span { padding-left: .65rem; font-size: .8rem; }
  .footer-top { font-size: .83rem; }
}
@media (max-width: 24rem) {
  .bar { flex-direction: column; gap: 0; padding-top: .65rem; }
  .navigation { width: 100%; justify-content: space-between; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.archive { border-bottom: 1px solid var(--line); }
.archive-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.8rem clamp(1.25rem, 2.2vw, 2.35rem); }
.archive-grid article { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.archive-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; object-position: left bottom; }
.archive-grid p { color: var(--muted); line-height: 1.6; }
.archive-grid .archive-date { margin-top: 1.25rem; font-size: .81rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.archive-grid h3 { margin: .4rem 0 .8rem; font-size: clamp(1.85rem, 2.35vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.archive-link { display: block; margin-top: auto; padding: 1.2rem 0 .3rem; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--paper); text-align: left; cursor: pointer; }
.archive-link span { margin-left: .3rem; color: var(--gold); }
.archive-link:hover { color: var(--gold); }
.archive-grid .archive-link::after { content: ""; position: absolute; inset: 0; }
.archive-grid :is(p, h3) { position: relative; z-index: 1; }
.archive-grid article:focus-within { outline: 1px solid var(--gold); outline-offset: .45rem; }
@media (max-width: 74rem) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 5%; }
  .archive-grid h3 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
}
@media (max-width: 35rem) {
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid h3 { font-size: 2.15rem; }
  .archive-grid img { aspect-ratio: auto; }
}
