:root {
  --coffee: #4b2f24;
  --coffee-deep: #2f1d17;
  --coffee-soft: #8a6557;
  --ink: #33251f;
  --muted: #74675f;
  --paper: #f4efe9;
  --surface: #fffaf4;
  --clay: #8a5a48;
  --moss: #6f745f;
  --sage: #ded8ca;
  --line: rgba(75, 47, 36, 0.15);
  --shadow: 0 20px 50px rgba(75, 47, 36, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
a,
button,
small {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-header,
.hero-content,
.canvas,
.intro-band div,
.art-card,
.feature-image,
.feature-copy,
.product-grid article,
.contact > div,
.contact-form {
  will-change: transform, opacity;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(244, 239, 233, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  min-height: 79px;
  animation: slideDown 0.7s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--coffee);
  border-radius: 50%;
  clip-path: circle(50%);
  background: var(--surface);
}

.brand strong,
.hero h1,
.section-heading h2,
.feature-copy h2,
.contact h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.brand strong {
  display: block;
  font-size: 1.15rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--coffee);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cart-link [data-cart-count] {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  place-items: center;
  color: var(--surface);
  background: var(--coffee);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.floating-cart-button {
  display: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--coffee);
}

.hero {
  position: relative;
  min-height: calc(100svh - 79px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 239, 233, 0.98), rgba(244, 239, 233, 0.78), rgba(244, 239, 233, 0.24)),
    url("../assets/hero-studio.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
  animation: fadeLift 0.9s ease 0.12s both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 7.25rem;
  line-height: 0.9;
}

.hero-subtitle {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--coffee-deep);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--coffee);
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button.primary {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--surface);
}

.button.ghost {
  color: var(--coffee-deep);
  background: rgba(255, 250, 244, 0.64);
  border-color: rgba(75, 47, 36, 0.35);
}

.button.full {
  width: 100%;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.museum-hero {
  position: relative;
  min-height: calc(100svh - 79px);
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.72), rgba(244, 239, 233, 0.96)),
    linear-gradient(90deg, #eee3d7, #f8f1e9 46%, #dfcfc0);
}

.museum-wall {
  position: relative;
  min-height: 610px;
  border-bottom: 18px solid rgba(75, 47, 36, 0.2);
  background:
    linear-gradient(90deg, rgba(75, 47, 36, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 244, 0.68), rgba(209, 190, 174, 0.3));
  background-size: 120px 100%, 100% 100%;
  border-radius: var(--radius);
  box-shadow: inset 0 -60px 80px rgba(75, 47, 36, 0.08);
}

.wall-frame {
  position: absolute;
  padding: 14px;
  background: #fffaf4;
  border: 1px solid rgba(75, 47, 36, 0.18);
  box-shadow: 0 22px 48px rgba(75, 47, 36, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wall-frame:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 28px 60px rgba(75, 47, 36, 0.22);
}

.wall-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(75, 47, 36, 0.12);
}

.frame-large {
  right: 10%;
  top: 9%;
  width: min(45vw, 380px);
  height: 440px;
  transform: rotate(2deg);
}

.frame-small {
  left: 8%;
  top: 30%;
  width: min(42vw, 360px);
  height: 220px;
  transform: rotate(-4deg);
  z-index: 2;
}

.frame-medium {
  left: 38%;
  bottom: 8%;
  width: min(28vw, 260px);
  height: 250px;
  transform: rotate(2deg);
}

.museum-bench {
  position: absolute;
  right: 11%;
  bottom: 24px;
  width: 310px;
  height: 54px;
  background: linear-gradient(180deg, #79503f, var(--coffee-deep));
  border-radius: 5px;
  box-shadow: 0 16px 30px rgba(75, 47, 36, 0.22);
}

.museum-bench::before,
.museum-bench::after {
  content: "";
  position: absolute;
  bottom: -48px;
  width: 18px;
  height: 58px;
  background: var(--coffee-deep);
}

.museum-bench::before {
  left: 44px;
}

.museum-bench::after {
  right: 44px;
}

.museum-copy {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  animation: fadeLift 0.9s ease 0.12s both;
}

.museum-copy h1,
.page-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 7rem;
  line-height: 0.9;
  font-weight: 600;
}

.canvas {
  position: absolute;
  border: 12px solid #f8f4ee;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  transform: rotate(var(--tilt));
  animation: canvasFloat 1s ease both;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.canvas::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.canvas-one {
  --tilt: -5deg;
  right: 8vw;
  top: 13vh;
  width: min(36vw, 460px);
  aspect-ratio: 4 / 5;
  background-image: url("../assets/obra-caminho.png");
  animation-delay: 0.28s;
}

.canvas-two {
  --tilt: 6deg;
  right: 28vw;
  bottom: 6vh;
  width: min(28vw, 340px);
  aspect-ratio: 1 / 1;
  background-image: url("../assets/obra-jardim.png");
  animation-delay: 0.42s;
}

.canvas-three {
  --tilt: 4deg;
  right: -4vw;
  bottom: 13vh;
  width: min(24vw, 300px);
  aspect-ratio: 3 / 4;
  background-image: url("../assets/obra-flor.png");
  animation-delay: 0.55s;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-band div {
  min-height: 132px;
  padding: 30px clamp(18px, 4vw, 48px);
  background: var(--surface);
  animation: fadeLift 0.75s ease both;
}

.intro-band div:nth-child(2) {
  animation-delay: 0.12s;
}

.intro-band div:nth-child(3) {
  animation-delay: 0.24s;
}

.intro-band span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 1;
}

.intro-band p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section,
.feature,
.contact,
.footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.section {
  padding-block: clamp(64px, 9vw, 118px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 660px;
}

.section-heading h2,
.feature-copy h2,
.contact h2 {
  margin: 0;
  font-size: 3.75rem;
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.contact p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46rem;
}

.museum-copy p,
.art-info p,
.product-grid p,
.cart-item p,
.cart-summary p,
.empty-cart p {
  max-width: 42rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter.active,
.filter:hover {
  color: var(--surface);
  background: var(--coffee);
  border-color: var(--coffee);
}

.filter:hover {
  transform: translateY(-1px);
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 84px);
  background:
    linear-gradient(90deg, rgba(244, 239, 233, 0.98), rgba(244, 239, 233, 0.72)),
    url("../assets/hero-studio.png") center / cover no-repeat;
}

.page-hero p {
  max-width: 680px;
  color: var(--coffee-deep);
  font-size: 1.12rem;
  line-height: 1.65;
}

.art-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 44%, rgba(255, 250, 244, 0.1) 0 20%, transparent 21%),
    linear-gradient(90deg, rgba(244, 239, 233, 0.98) 0%, rgba(244, 239, 233, 0.88) 36%, rgba(244, 239, 233, 0.2) 66%, rgba(75, 47, 36, 0.1) 100%),
    url("../assets/artes-rayanni-hero.jpeg") right 32% center / auto 116% no-repeat,
    linear-gradient(135deg, #f4efe9, #d5c8bc);
  box-shadow: inset 0 -1px 0 rgba(75, 47, 36, 0.12);
}

.necessaire-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 48%, rgba(255, 250, 244, 0.08) 0 18%, transparent 19%),
    linear-gradient(90deg, rgba(244, 239, 233, 0.98) 0%, rgba(244, 239, 233, 0.88) 36%, rgba(244, 239, 233, 0.24) 62%, rgba(75, 47, 36, 0.12) 100%),
    url("../assets/necessaires-rayanni-hero.jpeg") right 38% center / auto 118% no-repeat,
    linear-gradient(135deg, #f4efe9, #d8cabd);
  box-shadow: inset 0 -1px 0 rgba(75, 47, 36, 0.12);
}

.cart-page-hero {
  min-height: 360px;
  background:
    linear-gradient(135deg, var(--coffee-deep), var(--coffee) 58%, var(--coffee-soft));
  color: var(--surface);
}

.cart-page-hero p {
  color: rgba(255, 250, 244, 0.78);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.art-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(75, 47, 36, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.art-card:hover {
  transform: translateY(-6px);
  border-color: rgba(75, 47, 36, 0.34);
  box-shadow: 0 18px 42px rgba(75, 47, 36, 0.18);
}

.art-card:hover .art-image {
  transform: scale(1.025);
}

@media (hover: none) {
  .art-card:hover,
  .product-grid article:hover {
    transform: none;
  }

  .art-card:hover .art-image {
    transform: none;
  }
}

.art-card.is-hidden {
  display: none;
}

.gallery-grid .art-card.is-hidden,
.shop-grid .art-card.is-hidden {
  display: none;
}

.art-image {
  position: relative;
  z-index: 1;
  display: grid;
  aspect-ratio: 4 / 5;
  min-height: 240px;
  place-items: end start;
  padding: 16px;
  color: rgba(255, 250, 245, 0.84);
  font-size: 0.8rem;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.product-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  border: 0;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.product-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.shop-grid .art-card .product-photo img,
.showcase-carousel .carousel-slide img,
.museum-wall .wall-frame img {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f4efe9, #ded1c4);
}

.product-photo span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  padding: 7px 11px;
  color: var(--surface);
  background: rgba(75, 47, 36, 0.88);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.product-photo::after {
  content: "Ampliar";
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  padding: 7px 11px;
  color: var(--coffee);
  background: rgba(255, 250, 244, 0.9);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.product-photo:focus-visible {
  outline: 3px solid rgba(75, 47, 36, 0.42);
  outline-offset: -3px;
}

.has-lightbox {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(47, 29, 23, 0.82);
  backdrop-filter: blur(10px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__panel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  width: min(1060px, 100%);
  max-height: min(860px, 92svh);
  padding: clamp(14px, 3vw, 22px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.image-lightbox__panel img {
  grid-column: 2;
  width: 100%;
  max-height: min(720px, 72svh);
  object-fit: contain;
  background: #eadfd4;
  border-radius: var(--radius);
}

.image-lightbox__caption {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
}

.image-lightbox__caption strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.image-lightbox__caption span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.image-lightbox__close,
.image-lightbox__control {
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--coffee);
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.image-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

.image-lightbox__control {
  align-self: center;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

.image-lightbox__control--prev {
  grid-column: 1;
}

.image-lightbox__control--next {
  grid-column: 3;
}

.image-lightbox__control[hidden] {
  display: none;
}

.landscape-a {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.35), transparent 55%),
    url("../assets/obra-caminho.png") center / cover no-repeat;
}

.landscape-b {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.35), transparent 55%),
    url("../assets/obra-jardim.png") center / cover no-repeat;
}

.abstract-a {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.34), transparent 55%),
    url("../assets/obra-flor.png") center / cover no-repeat;
}

.sketch-a {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.34), transparent 55%),
    url("../assets/obra-serie.png") center / cover no-repeat;
}

.art-info {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 12px;
  background: var(--surface);
}

.status {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status.available {
  color: #382318;
  background: #ead8cb;
}

.status.unavailable {
  color: #6d5d54;
  background: #eee7df;
}

.status.portfolio {
  color: var(--coffee);
  background: #e5d0be;
}

.status.commission {
  color: #3f2d23;
  background: #d9d1c4;
}

.status.canvas {
  color: #382318;
  background: #ead8cb;
}

.status.acrylic {
  color: var(--coffee);
  background: #e5d0be;
}

.status.oil {
  color: #fffaf5;
  background: var(--coffee);
}

.status.mixed {
  color: #3f2d23;
  background: #d9d1c4;
}

.status.paper {
  color: #4f392c;
  background: #efe2d5;
}

.art-info h3,
.product-grid h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.art-info p,
.product-grid p {
  margin: 0;
  color: var(--muted);
}

.art-info a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--clay);
  font-weight: 800;
  position: relative;
}

.inline-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--clay);
  font-weight: 800;
}

.shop-grid .art-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.cart-button,
.cart-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 16px;
  color: var(--surface);
  background: var(--coffee);
  border: 1px solid var(--coffee);
  border-radius: var(--radius);
  font: inherit;
  line-height: 1.2;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.cart-button.secondary {
  color: var(--coffee);
  background: transparent;
}

.cart-clear {
  color: var(--coffee);
  background: transparent;
}

.cart-button.is-added {
  background: var(--moss);
  border-color: var(--moss);
}

.button.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.necessaire-a {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.34), transparent 55%),
    radial-gradient(circle at 32% 36%, #ead8cb 0 26%, transparent 27%),
    linear-gradient(135deg, #7b5040, #dfc7b6 52%, #3d281f);
}

.necessaire-b {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.34), transparent 55%),
    url("../assets/obra-jardim.png") center / cover no-repeat;
}

.necessaire-c {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.34), transparent 55%),
    url("../assets/obra-caminho.png") center / cover no-repeat;
}

.necessaire-d {
  background:
    linear-gradient(0deg, rgba(35, 34, 31, 0.34), transparent 55%),
    url("../assets/obra-serie.png") center / cover no-repeat;
}

.showcase-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
}

.carousel-track {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #efe4d9, #d6c2b2);
  box-shadow: var(--shadow);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 5vw, 58px);
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.carousel-slide.reveal,
.carousel-slide.reveal.is-visible {
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.carousel-slide.is-active.reveal,
.carousel-slide.is-active.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  border: 14px solid var(--surface);
  box-shadow: 0 20px 38px rgba(75, 47, 36, 0.18);
}

.carousel-slide > div {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}

.carousel-slide .status {
  display: inline-flex;
  width: auto;
  margin: 0;
}

.carousel-slide h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.carousel-slide p {
  margin: 0;
}

.carousel-control {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--surface);
  background: var(--coffee);
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  z-index: 6;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-item img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-item h3 {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.remove-cart {
  min-height: 40px;
  padding: 0 12px;
  color: var(--coffee);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cart-summary {
  position: sticky;
  top: 106px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-summary h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
}

.empty-cart {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.art-info a::after,
.footer-credit a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.art-info a:hover::after,
.footer-credit a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 118px);
  background: var(--surface);
}

.feature-image {
  margin: 0;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--coffee);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.95) contrast(1.02);
}

.product-section {
  background:
    linear-gradient(180deg, var(--paper), #e7dacd);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-grid article {
  min-height: 240px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.museum-links article {
  cursor: pointer;
}

.museum-links article:focus-visible {
  outline: 3px solid rgba(75, 47, 36, 0.34);
  outline-offset: 4px;
}

.product-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 47, 36, 0.3);
}

.product-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  place-items: center;
  color: var(--surface);
  background: var(--coffee);
  border-radius: 50%;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 76px);
  padding-block: clamp(64px, 9vw, 118px);
  background:
    linear-gradient(135deg, var(--coffee-deep), var(--coffee) 58%, var(--coffee-soft));
  color: var(--surface);
}

.contact p {
  color: rgba(255, 250, 245, 0.72);
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 245, 0.74);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  background: var(--coffee-deep);
  color: var(--surface);
}

.footer p {
  margin: 4px 0 0;
  color: rgba(255, 250, 245, 0.64);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: rgba(255, 250, 245, 0.76);
  font-weight: 700;
}

.footer-credit {
  margin: 0;
  color: rgba(255, 250, 245, 0.66);
  font-size: 0.9rem;
}

.footer-credit a {
  position: relative;
  color: var(--surface);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes canvasFloat {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(calc(var(--tilt) - 3deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt));
  }
}

@media (max-width: 980px) {
  .museum-copy h1,
  .page-hero h1,
  .hero h1 {
    font-size: 5.4rem;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact h2 {
    font-size: 3rem;
    line-height: 1.04;
  }

  .carousel-slide h3 {
    font-size: 2.65rem;
  }

  .museum-hero {
    grid-template-columns: 1fr;
  }

  .museum-wall {
    min-height: 520px;
  }

  .frame-large {
    width: min(58vw, 360px);
  }

  .frame-small {
    width: min(46vw, 320px);
  }

  .frame-medium {
    width: min(32vw, 240px);
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .gallery-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .canvas-one {
    right: -5vw;
    width: 44vw;
  }

  .canvas-two {
    right: 22vw;
    width: 32vw;
  }

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

  .contact-form {
    max-width: 620px;
  }

  .feature-image {
    min-height: 390px;
  }

  .feature-image img {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding-block: 12px;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .floating-cart-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    color: var(--surface);
    background: var(--coffee);
    border: 3px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(47, 29, 23, 0.28);
  }

  .floating-cart-button svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
  }

  .floating-cart-button [data-cart-count] {
    position: absolute;
    top: -7px;
    right: -6px;
    display: inline-grid;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    place-items: center;
    color: var(--coffee);
    background: var(--surface);
    border: 2px solid var(--coffee);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
  }

  .nav {
    position: absolute;
    inset: calc(100% + 8px) 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px;
    font-size: 0.86rem;
  }

  .museum-hero {
    min-height: auto;
    padding-top: 28px;
  }

  .museum-wall {
    min-height: 430px;
  }

  .museum-copy h1,
  .page-hero h1 {
    font-size: 4.2rem;
    line-height: 0.94;
  }

  .museum-copy {
    max-width: 42rem;
  }

  .hero-subtitle,
  .page-hero p {
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.62;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact h2 {
    font-size: 2.55rem;
    line-height: 1.05;
  }

  .section-heading p:not(.eyebrow),
  .feature-copy p,
  .contact p {
    font-size: 0.98rem;
  }

  .art-info h3,
  .product-grid h3,
  .cart-item h3 {
    font-size: 1.42rem;
  }

  .frame-large {
    right: -3%;
    top: 8%;
    width: min(68vw, 300px);
    height: 310px;
  }

  .frame-small {
    left: 4%;
    top: 44%;
    width: min(62vw, 250px);
    height: 160px;
  }

  .frame-medium {
    display: none;
  }

  .museum-bench {
    right: 8%;
    width: min(70vw, 260px);
  }

  .page-hero {
    min-height: 330px;
    padding-bottom: 46px;
  }

  .art-page-hero {
    background:
      linear-gradient(90deg, rgba(244, 239, 233, 0.98) 0%, rgba(244, 239, 233, 0.9) 42%, rgba(244, 239, 233, 0.36) 74%, rgba(244, 239, 233, 0.14) 100%),
      url("../assets/artes-rayanni-hero.jpeg") right 28% center / auto 104% no-repeat,
      linear-gradient(135deg, #f4efe9, #d5c8bc);
  }

  .necessaire-page-hero {
    background:
      linear-gradient(90deg, rgba(244, 239, 233, 0.98) 0%, rgba(244, 239, 233, 0.9) 42%, rgba(244, 239, 233, 0.38) 74%, rgba(244, 239, 233, 0.16) 100%),
      url("../assets/necessaires-rayanni-hero.jpeg") right 34% center / auto 108% no-repeat,
      linear-gradient(135deg, #f4efe9, #d8cabd);
  }

  .showcase-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .carousel-track {
    min-height: 580px;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
  }

  .carousel-slide img {
    max-height: 330px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .image-lightbox__panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .image-lightbox__panel img,
  .image-lightbox__caption {
    grid-column: 1;
  }

  .image-lightbox__control {
    position: absolute;
    top: 46%;
    width: 42px;
    height: 42px;
  }

  .image-lightbox__control--prev {
    left: 18px;
  }

  .image-lightbox__control--next {
    right: 18px;
  }

  .hero {
    min-height: auto;
    align-items: end;
    padding-top: clamp(250px, 42vh, 330px);
    padding-bottom: 46px;
    background:
      linear-gradient(180deg, rgba(244, 239, 233, 0.34) 0%, rgba(244, 239, 233, 0.78) 44%, var(--paper) 72%),
      url("../assets/hero-studio.png") center top / cover no-repeat;
  }

  .hero-content {
    max-width: 100%;
    padding: 22px 0 0;
  }

  .hero h1 {
    font-size: 4rem;
    line-height: 0.94;
  }

  .hero-subtitle {
    max-width: 34rem;
    margin-top: 18px;
    color: var(--ink);
  }

  .canvas-one {
    top: 32px;
    right: -12vw;
    width: min(68vw, 300px);
    border-width: 9px;
    opacity: 0.92;
  }

  .canvas-two {
    top: 118px;
    right: 49vw;
    bottom: auto;
    width: min(40vw, 170px);
    border-width: 8px;
    opacity: 0.88;
  }

  .canvas-three {
    display: none;
  }

  .intro-band,
  .gallery-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 56px;
  }

  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .cart-item img {
    width: 88px;
  }

  .remove-cart {
    grid-column: 1 / -1;
  }

  .intro-band div {
    min-height: auto;
  }

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

@media (max-width: 430px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand small {
    max-width: 155px;
    line-height: 1.25;
  }

  .nav {
    inset-inline: 10px;
  }

  .floating-cart-button {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .museum-wall {
    min-height: 360px;
  }

  .frame-large {
    width: 240px;
    height: 260px;
  }

  .frame-small {
    top: 48%;
    width: 210px;
    height: 135px;
  }

  .museum-bench {
    height: 42px;
  }

  .page-hero {
    padding-top: 58px;
    min-height: 300px;
  }

  .art-page-hero {
    background:
      linear-gradient(90deg, rgba(244, 239, 233, 0.99) 0%, rgba(244, 239, 233, 0.94) 48%, rgba(244, 239, 233, 0.5) 78%, rgba(244, 239, 233, 0.22) 100%),
      url("../assets/artes-rayanni-hero.jpeg") right 24% center / auto 96% no-repeat,
      linear-gradient(135deg, #f4efe9, #d5c8bc);
  }

  .necessaire-page-hero {
    background:
      linear-gradient(90deg, rgba(244, 239, 233, 0.99) 0%, rgba(244, 239, 233, 0.94) 48%, rgba(244, 239, 233, 0.52) 78%, rgba(244, 239, 233, 0.24) 100%),
      url("../assets/necessaires-rayanni-hero.jpeg") right 28% center / auto 112% no-repeat,
      linear-gradient(135deg, #f4efe9, #d8cabd);
  }

  .page-hero p,
  .museum-copy .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .showcase-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    position: absolute;
    z-index: 8;
    top: 35%;
  }

  .carousel-control.prev {
    left: 8px;
  }

  .carousel-control.next {
    right: 8px;
  }

  .carousel-track {
    min-height: 520px;
  }

  .carousel-slide {
    padding: 22px;
  }

  .carousel-slide img {
    border-width: 9px;
  }

  .hero {
    padding-top: 258px;
    padding-bottom: 42px;
  }

  .hero-content {
    padding-top: 16px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 3.15rem;
    line-height: 0.96;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact h2 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .museum-copy h1,
  .page-hero h1 {
    font-size: 3.15rem;
    line-height: 0.96;
  }

  .carousel-slide h3 {
    font-size: 1.9rem;
    line-height: 1.05;
  }

  .art-info h3,
  .product-grid h3,
  .cart-item h3 {
    font-size: 1.34rem;
  }

  .button,
  .cart-button,
  .cart-clear {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 0.94rem;
  }

  .art-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 18px 16px 16px;
    background: var(--surface);
  }

  .art-card:hover .art-image {
    transform: none;
  }

  .art-info h3 {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
    line-height: 1.12;
  }

  .status {
    align-self: flex-start;
    margin: 0;
    font-size: 0.68rem;
  }

  .art-info p {
    margin: 0;
  }

  .art-info .cart-button {
    margin-top: 8px;
  }

  .intro-band span {
    font-size: 2.35rem;
  }

  .feature-image {
    min-height: 310px;
  }

  .feature-image img {
    min-height: 310px;
    object-position: center 28%;
  }

  .product-grid article {
    min-height: 210px;
  }
}

@media (max-width: 360px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.68rem;
  }

  .museum-copy h1,
  .page-hero h1 {
    font-size: 2.72rem;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact h2 {
    font-size: 1.85rem;
  }

  .hero {
    padding-top: 230px;
  }

  .canvas-one {
    right: -18vw;
    width: 245px;
  }

  .canvas-two {
    top: 105px;
    right: 50vw;
    width: 132px;
  }

  .brand small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }
}
