@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Italiana&display=swap");

:root {
  --paper: #f3efe6;
  --paper-deep: #e6dfd1;
  --ink: #1d211d;
  --muted: #6f716b;
  --sage: #6f806b;
  --rust: #a95e3f;
  --blue: #637d8a;
  --line: rgba(29, 33, 29, 0.18);
  --display: "Italiana", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(29, 33, 29, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 4px;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--paper);
  background: var(--rust);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition:
    height 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  height: 4.5rem;
  border-color: var(--line);
  background: rgba(243, 239, 230, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: -0.08em;
}

.brand-name {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.7rem);
  font-size: 0.82rem;
  font-weight: 400;
}

.navigation a {
  position: relative;
}

.navigation a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.navigation a:hover::after,
.navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.72fr);
  gap: clamp(2rem, 5vw, 7rem);
  min-height: 100svh;
  padding: clamp(8rem, 13vh, 10rem) var(--page-pad) 5rem;
  align-items: center;
}

.hero::before {
  position: absolute;
  top: 9%;
  left: 38%;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  content: "";
  background: rgba(132, 149, 123, 0.12);
  filter: blur(60px);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero h1 em,
.contact h2 em {
  color: var(--rust);
  font-weight: 400;
}

.hero-intro {
  max-width: 33rem;
  margin: clamp(2rem, 4vw, 3.6rem) 0 0;
  color: #494d47;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.1rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-dark:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.22rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 500;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(0.2rem, 0.2rem);
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 31rem);
}

.hero-paper {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
  aspect-ratio: 0.79;
  background: #e9e2d6;
  box-shadow:
    0 2.2rem 5rem rgba(47, 44, 37, 0.18),
    0 0 0 1px rgba(29, 33, 29, 0.08);
  transform: rotate(2.5deg);
  transition: transform 200ms ease-out;
}

.hero-paper::before {
  position: absolute;
  top: -1.1rem;
  left: 42%;
  z-index: 2;
  width: 5.8rem;
  height: 2.1rem;
  content: "";
  background: rgba(208, 197, 174, 0.65);
  box-shadow: 0 2px 4px rgba(29, 33, 29, 0.07);
  transform: rotate(-4deg);
}

.paper-note {
  position: absolute;
  top: 2.5rem;
  right: -2.2rem;
  z-index: 3;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1.1;
  transform: rotate(90deg);
}

.paper-signature {
  position: absolute;
  right: 2.2rem;
  bottom: 1.75rem;
  z-index: 3;
  margin: 0;
  color: rgba(29, 33, 29, 0.72);
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: italic;
}

.visual-caption {
  display: block;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-align: right;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 1px;
  background: var(--muted);
}

.scroll-cue i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  content: "";
  transform: rotate(-45deg);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.7rem;
  padding: 1.05rem 0;
  animation: ticker 24s linear infinite;
  font-family: var(--display);
  font-size: 1rem;
}

.ticker-track i {
  color: var(--rust);
  font-size: 0.55rem;
}

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

.section {
  padding: clamp(5.5rem, 10vw, 10rem) var(--page-pad);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-heading h2,
.artist-copy h2,
.approach h2 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.section-index {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.prototype-note {
  max-width: 46rem;
  margin: 0 0 3.5rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--rust);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.24);
  font-size: 0.76rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem) clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.work-card {
  grid-column: span 4;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: zoom-in;
}

.work-card-wide {
  grid-column: span 8;
}

.work-card-tall .art-surface {
  aspect-ratio: 0.72;
}

.work-card-wide .art-surface {
  aspect-ratio: 1.5;
}

.art-surface {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.93;
  background-color: #e3dacb;
  isolation: isolate;
}

.art-surface::before,
.art-surface::after {
  position: absolute;
  content: "";
  mix-blend-mode: multiply;
}

.art-surface::after {
  inset: 0;
  opacity: 0.21;
  background-image:
    repeating-linear-gradient(2deg, transparent 0 9px, rgba(45, 50, 43, 0.13) 10px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.7' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.36'/%3E%3C/svg%3E");
}

.art-surface-hero {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(82deg, transparent 48%, rgba(28, 41, 35, 0.8) 48.4% 48.9%, transparent 49.3%),
    linear-gradient(99deg, transparent 64%, rgba(28, 41, 35, 0.5) 64.3% 64.8%, transparent 65.1%),
    radial-gradient(ellipse at 35% 40%, rgba(190, 94, 59, 0.7), transparent 36%),
    radial-gradient(ellipse at 70% 64%, rgba(91, 118, 121, 0.66), transparent 38%),
    radial-gradient(ellipse at 50% 80%, rgba(160, 146, 95, 0.45), transparent 31%),
    #d8d0c4;
}

.art-surface-hero::before {
  top: 12%;
  left: 10%;
  width: 86%;
  height: 76%;
  border: 2px solid rgba(38, 48, 40, 0.6);
  border-color: transparent transparent rgba(38, 48, 40, 0.65) rgba(38, 48, 40, 0.45);
  border-radius: 48% 60% 42% 58%;
  transform: rotate(-16deg);
}

.art-1 {
  background:
    linear-gradient(106deg, transparent 28%, rgba(35, 45, 38, 0.76) 28.3% 28.8%, transparent 29.1%),
    linear-gradient(77deg, transparent 52%, rgba(35, 45, 38, 0.48) 52.2% 52.7%, transparent 53%),
    radial-gradient(ellipse at 36% 32%, rgba(67, 112, 119, 0.72), transparent 33%),
    radial-gradient(ellipse at 70% 72%, rgba(164, 86, 58, 0.64), transparent 39%),
    #d9d2c5;
}

.art-1::before {
  top: 24%;
  right: 14%;
  width: 46%;
  height: 54%;
  border: 2px solid rgba(44, 55, 47, 0.7);
  border-radius: 61% 39% 58% 42%;
  transform: rotate(24deg);
}

.art-2 {
  background:
    repeating-linear-gradient(97deg, transparent 0 21px, rgba(38, 42, 36, 0.32) 22px 23px),
    radial-gradient(circle at 67% 35%, rgba(216, 174, 68, 0.71), transparent 22%),
    radial-gradient(ellipse at 35% 63%, rgba(87, 119, 99, 0.67), transparent 43%),
    #d9d0bc;
}

.art-2::before {
  bottom: 12%;
  left: 13%;
  width: 74%;
  height: 28%;
  border: 2px solid rgba(47, 49, 41, 0.62);
  border-top-color: transparent;
  transform: skew(-8deg) rotate(-4deg);
}

.art-3 {
  background:
    linear-gradient(14deg, transparent 51%, rgba(32, 41, 40, 0.6) 51.3% 51.7%, transparent 52%),
    linear-gradient(168deg, transparent 63%, rgba(32, 41, 40, 0.45) 63.2% 63.6%, transparent 64%),
    radial-gradient(ellipse at 45% 32%, rgba(86, 90, 133, 0.67), transparent 35%),
    radial-gradient(ellipse at 63% 68%, rgba(185, 115, 76, 0.58), transparent 31%),
    #ded4ca;
}

.art-3::before {
  top: 17%;
  left: 18%;
  width: 62%;
  height: 67%;
  border: 1px solid rgba(35, 42, 40, 0.67);
  border-radius: 43% 57% 70% 30%;
  box-shadow:
    8px 8px 0 -7px rgba(35, 42, 40, 0.67),
    16px 16px 0 -15px rgba(35, 42, 40, 0.67);
}

.art-4 {
  background:
    linear-gradient(76deg, transparent 17%, rgba(37, 43, 36, 0.62) 17.2% 17.5%, transparent 17.9%),
    linear-gradient(104deg, transparent 78%, rgba(37, 43, 36, 0.5) 78.2% 78.6%, transparent 79%),
    radial-gradient(ellipse at 22% 57%, rgba(184, 84, 54, 0.65), transparent 28%),
    radial-gradient(ellipse at 54% 42%, rgba(74, 117, 130, 0.64), transparent 31%),
    radial-gradient(ellipse at 82% 60%, rgba(118, 140, 87, 0.55), transparent 25%),
    #d8d0c2;
}

.art-4::before {
  top: 20%;
  left: 12%;
  width: 76%;
  height: 58%;
  border-bottom: 2px solid rgba(35, 42, 37, 0.63);
  border-radius: 50%;
  transform: rotate(5deg);
}

.art-5 {
  background:
    repeating-radial-gradient(ellipse at 45% 58%, transparent 0 18px, rgba(41, 48, 42, 0.22) 19px 20px),
    radial-gradient(ellipse at 40% 54%, rgba(194, 136, 72, 0.68), transparent 40%),
    radial-gradient(ellipse at 71% 30%, rgba(113, 91, 127, 0.52), transparent 26%),
    #ddd4c3;
}

.art-5::before {
  top: 10%;
  left: 37%;
  width: 26%;
  height: 80%;
  border-right: 2px solid rgba(39, 44, 37, 0.65);
  border-left: 1px solid rgba(39, 44, 37, 0.42);
  transform: rotate(17deg);
}

.art-6 {
  background:
    linear-gradient(25deg, transparent 36%, rgba(36, 44, 38, 0.67) 36.2% 36.6%, transparent 37%),
    linear-gradient(151deg, transparent 56%, rgba(36, 44, 38, 0.5) 56.2% 56.6%, transparent 57%),
    radial-gradient(ellipse at 35% 72%, rgba(69, 115, 99, 0.68), transparent 34%),
    radial-gradient(ellipse at 66% 31%, rgba(185, 81, 61, 0.68), transparent 31%),
    radial-gradient(ellipse at 62% 76%, rgba(70, 91, 134, 0.48), transparent 27%),
    #d9d1c6;
}

.art-6::before {
  top: 18%;
  left: 15%;
  width: 70%;
  height: 63%;
  border: 2px solid rgba(39, 47, 40, 0.62);
  border-top-color: transparent;
  border-radius: 40% 60% 48% 52%;
  transform: rotate(-8deg);
}

.work-card .art-surface {
  transition:
    transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 500ms ease;
}

.work-card:hover .art-surface {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(0.985);
}

.work-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid transparent;
}

.work-meta > span:first-child {
  display: grid;
  gap: 0.18rem;
}

.work-meta strong {
  font-size: 0.82rem;
  font-weight: 500;
}

.work-meta small {
  color: var(--muted);
  font-size: 0.7rem;
}

.work-open {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  font-size: 0.85rem;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.work-card:hover .work-open {
  color: var(--paper);
  background: var(--ink);
  transform: rotate(45deg);
}

.artist {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 10rem);
  background: #dfe3d8;
  align-items: center;
}

.artist-portrait {
  justify-self: center;
  width: min(100%, 28rem);
}

.portrait-placeholder {
  display: grid;
  aspect-ratio: 0.78;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 54% 32%, rgba(241, 235, 221, 0.9) 0 13%, transparent 13.5%),
    radial-gradient(ellipse at 52% 70%, rgba(53, 62, 52, 0.8) 0 30%, transparent 30.5%),
    linear-gradient(145deg, #8c9a87, #c6c9b9 60%, #7f8d7a);
  box-shadow: 1.4rem 1.4rem 0 rgba(29, 33, 29, 0.08);
  place-items: center;
}

.portrait-placeholder span {
  color: rgba(243, 239, 230, 0.83);
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 8rem);
  letter-spacing: -0.09em;
}

.portrait-placeholder small {
  align-self: end;
  justify-self: start;
  color: rgba(243, 239, 230, 0.8);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-portrait > p {
  margin: 1.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artist-copy h2 {
  max-width: 12ch;
}

.artist-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 51rem;
  margin: 3rem 0 2.5rem;
  color: #4c534b;
  font-size: 0.92rem;
  line-height: 1.75;
}

.artist-text p {
  margin: 0;
}

.approach {
  color: var(--paper);
  background: var(--ink);
}

.approach-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.approach .eyebrow {
  align-self: flex-start;
}

.approach h2 {
  margin-left: auto;
  text-align: right;
}

.approach-list {
  border-top: 1px solid rgba(243, 239, 230, 0.2);
}

.approach-item {
  display: grid;
  grid-template-columns: 5rem minmax(10rem, 0.65fr) minmax(15rem, 1fr);
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.2);
  align-items: baseline;
}

.approach-item > span {
  color: #a6aaa1;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

.approach-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.approach-item p {
  max-width: 34rem;
  margin: 0;
  color: #bfc2bb;
  font-size: 0.86rem;
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.7fr);
  gap: clamp(4rem, 10vw, 11rem);
  color: var(--paper);
  background: var(--rust);
}

.contact h2 {
  font-size: clamp(3.8rem, 7vw, 7.5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.contact h2 em {
  color: var(--ink);
}

.contact-copy > p:last-child {
  max-width: 31rem;
  margin: 2.5rem 0 0;
  color: rgba(243, 239, 230, 0.8);
  font-size: 0.94rem;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.35);
}

.contact-form label span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 2px 0 var(--paper);
}

.contact-form .button {
  justify-self: start;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
}

.form-status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  color: rgba(243, 239, 230, 0.85);
  font-size: 0.72rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--page-pad);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.68rem;
}

.footer-brand .brand-mark {
  border-color: rgba(243, 239, 230, 0.5);
}

.site-footer p {
  margin: 0;
  color: #a9aca6;
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 3.5rem 6rem;
  border: 0;
  color: var(--paper);
  background: rgba(20, 23, 20, 0.96);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(20, 23, 20, 0.8);
}

.lightbox-content {
  display: grid;
  justify-items: center;
  width: 100%;
  height: 100%;
}

.lightbox-art {
  display: grid;
  width: min(72vw, 58rem);
  height: calc(100vh - 10rem);
  place-items: center;
}

.lightbox-art .art-surface {
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 0.9;
}

.lightbox-art .art-4 {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
}

.lightbox-meta {
  display: flex;
  width: min(72vw, 58rem);
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.73rem;
}

.lightbox-meta p {
  margin: 0;
  font-weight: 500;
}

.lightbox-meta span {
  color: #aeb2aa;
}

.lightbox-close,
.lightbox-arrow {
  border: 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--sans);
  font-size: 2.4rem;
  font-weight: 200;
}

.lightbox-arrow {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 239, 230, 0.3);
  border-radius: 50%;
  place-items: center;
  font-size: 1.1rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.lightbox-arrow:hover {
  color: var(--ink);
  background: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(1.8rem);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery .reveal:nth-child(2),
.approach-list .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.gallery .reveal:nth-child(3),
.approach-list .reveal:nth-child(3) {
  transition-delay: 160ms;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr 0.74fr;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 9vw, 6rem);
  }

  .work-card {
    grid-column: span 6;
  }

  .work-card-wide {
    grid-column: span 12;
  }

  .artist {
    gap: 4rem;
  }

  .artist-text {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 4.6rem;
  }

  .brand-name {
    font-size: 0.72rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.72rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    place-content: center;
    gap: 5px;
  }

  .nav-toggle span {
    display: block;
    width: 1.05rem;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .navigation {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.7rem;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    transition:
      opacity 200ms ease,
      visibility 200ms ease;
    font-family: var(--display);
    font-size: 2.2rem;
  }

  .navigation.is-open {
    visibility: visible;
    opacity: 1;
  }

  .nav-contact {
    padding: 0;
    border: 0;
  }

  .nav-contact:hover,
  .nav-contact:focus-visible {
    color: inherit;
    background: transparent;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    min-height: auto;
    padding-top: 8rem;
  }

  .hero::before {
    top: 27%;
    left: 10%;
    width: 20rem;
    height: 20rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  .hero-visual {
    width: min(84%, 26rem);
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 1.4rem;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .section-heading h2,
  .artist-copy h2,
  .approach h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .prototype-note {
    margin-bottom: 2rem;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .work-card,
  .work-card-wide {
    grid-column: 1;
  }

  .work-card-wide .art-surface {
    aspect-ratio: 1.05;
  }

  .artist {
    grid-template-columns: 1fr;
  }

  .artist-portrait {
    width: min(85%, 24rem);
  }

  .artist-copy {
    grid-row: 1;
  }

  .approach-intro {
    display: block;
  }

  .approach h2 {
    margin-top: 2rem;
    text-align: left;
  }

  .approach-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .approach-item p {
    grid-column: 2;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 4rem 1.2rem 2rem;
  }

  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
  }

  .lightbox-content {
    grid-column: 1 / -1;
  }

  .lightbox-art {
    width: 100%;
    height: calc(100vh - 12rem);
  }

  .lightbox-meta {
    width: 100%;
  }

  .lightbox-prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .lightbox-next {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Portfolio con le opere originali */

.hero-art-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-intro {
  max-width: 42rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.gallery {
  display: block;
  columns: 3 18rem;
  column-gap: clamp(1rem, 2vw, 2rem);
}

.work-card,
.work-card-wide,
.work-card-tall {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(2.5rem, 4vw, 4rem);
  break-inside: avoid;
  page-break-inside: avoid;
}

.work-image-wrap {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.work-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 650ms ease;
}

.work-card:hover .work-image-wrap img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.artist-portrait {
  margin: 0;
}

.artist-artwork {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  background: #cbc9bd;
  box-shadow: 1.4rem 1.4rem 0 rgba(29, 33, 29, 0.08);
}

.artist-portrait figcaption {
  margin-top: 1.2rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artist-instagram {
  margin-top: 0.5rem;
}

.instagram-card {
  position: relative;
  display: grid;
  min-height: 22rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(243, 239, 230, 0.42);
  color: var(--paper);
  transition:
    color 240ms ease,
    background-color 240ms ease,
    transform 240ms ease;
  align-content: space-between;
}

.instagram-card:hover,
.instagram-card:focus-visible {
  color: var(--rust);
  background: var(--paper);
  transform: translateY(-0.35rem);
}

.instagram-card-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.instagram-card strong {
  align-self: center;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.instagram-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-size: 1.1rem;
}

.instagram-card small {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.3);
}

@media (max-width: 960px) {
  .gallery {
    column-count: 2;
  }

  .navigation {
    gap: 1.2rem;
  }
}

@media (max-width: 720px) {
  .gallery {
    display: block;
    column-count: 1;
  }

  .work-card,
  .work-card-wide,
  .work-card-tall {
    width: 100%;
  }

  .instagram-card {
    min-height: 18rem;
  }

  .site-footer {
    gap: 1.2rem;
  }
}
