/* Warm light and restrained movement, with a still version for touch/reduced motion. */
body {
  background: radial-gradient(ellipse at 94% 9%, #e7d1bc66, transparent 32rem),
    radial-gradient(ellipse at 4% 23%, #e8ddd655, transparent 38rem), var(--paper);
}
.hero { isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3rem 0 0 40%;
  background: radial-gradient(ellipse, #d9b8934a, #f5e6d838 46%, transparent 70%);
  pointer-events: none;
}
.hero-image { padding: 0; margin-block: 8px 40px; }
.hero-image > img { border-radius: 28px; }
.hero-image-caption {
  left: 20px; right: 20px; bottom: -24px;
  border-radius: 18px;
  background: linear-gradient(125deg, #fffdf9f5, #f4eadff5);
  border: 1px solid #ffffffb3;
  box-shadow: 0 12px 32px #654d3820;
}
.space-section {
  background: radial-gradient(ellipse at 12% 28%, #fffaf2c9, transparent 55%),
    radial-gradient(ellipse at 95% 85%, #c9a88a33, transparent 55%),
    linear-gradient(125deg, #f1e9df, #e7d9cd 58%, #f4eae1);
}
.space-main { position: relative; border-radius: 100px 20px 20px 20px; }
.space-main > img { border-radius: inherit; }
.collage-line { display: none; }
.space-small {
  border-radius: 22px; padding: 6px;
  background: linear-gradient(135deg, #fffcf7, #d3b99d 55%, #fbf5ee);
  border: 1px solid #fffaf0cc;
}
.space-small > img { border-radius: 16px; }
.light-surface {
  --light-x: 50%; --light-y: 35%; --light-opacity: 0;
  --move-x: 0px; --move-y: 0px; --turn-x: 0deg; --turn-y: 0deg;
  transform: perspective(1100px) translate3d(var(--move-x), var(--move-y), 0)
    rotateX(var(--turn-x)) rotateY(var(--turn-y));
  transition: transform .65s cubic-bezier(.2,.65,.25,1), box-shadow .65s ease;
}
.hero-image.light-surface, .space-main.light-surface {
  box-shadow: 0 24px 55px -18px #66442c42, 0 3px 12px #66442c0d;
}
.hero-image.light-surface { border-radius: 28px; }
.light-surface::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--light-x) var(--light-y), #fff4de80, #fffaf11a 30%, transparent 65%);
  opacity: var(--light-opacity);
  transition: opacity .5s ease;
}
.light-surface.is-tracking {
  transition: transform .12s linear, box-shadow .5s ease;
  box-shadow: 0 32px 65px -20px #66442c57, 0 0 0 1px #fff8ea99;
}
.space-small.light-surface { box-shadow: 0 20px 40px -12px #66442c4a; }
.card-image, .journal-image { border-radius: 18px; box-shadow: 0 9px 24px -12px #66442c38; }
.image-tag { border-radius: 7px; }
.card-open .card-image, .journal-card .journal-image { transition: box-shadow .45s ease, transform .45s ease; }
.hero .button, .contact-section .button { border-radius: 10px; box-shadow: 0 6px 15px #654d3814; }
.button:not(.button-ghost):not(.button-cream) { background: linear-gradient(125deg, #796052, #564235); }
.button:not(.button-ghost):not(.button-cream):hover { background: linear-gradient(125deg, #685044, #443429); }
.contact-section { background: radial-gradient(ellipse at 80% 20%, #8b6d56, transparent 65%), linear-gradient(135deg, #655044, #4e3c32); }
.contact-photo, .contact-photo img { border-radius: 24px; }
@media (hover:hover) and (pointer:fine) {
  .card-open:hover .card-image, .journal-card:hover .journal-image { transform: translateY(-4px); box-shadow: 0 19px 35px -15px #66442c59; }
}
@media (max-width:650px) {
  .hero-image { margin-bottom: 34px; }
  .hero-image > img, .hero-image.light-surface { border-radius: 22px; }
  .hero-image-caption { left: 12px; right: 12px; bottom: -20px; padding: 15px; border-radius: 14px; }
  .space-main { border-radius: 65px 16px 16px 16px; }
  .space-small { border-radius: 18px; padding: 5px; }
  .space-small > img { border-radius: 13px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .light-surface, .card-open .card-image, .journal-card .journal-image,
  .card-image > img, .journal-image > img, .button {
    transform: none !important; transition: none !important;
  }
  .light-surface::after { display: none; }
}
