:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #262326; background: #fbf6ef; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { min-height: 100svh; margin: 0; background: url("/assets/bg.webp") center top / cover no-repeat; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, .animation-region:focus-visible { outline: 3px solid #a94c08; outline-offset: 5px; }
.site-header { max-width: 1100px; margin: auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: #c46d21; font: bold 2rem Georgia, "Times New Roman", serif; text-decoration: none; }
.site-header nav a { font-weight: 600; }
main { max-width: 1100px; margin: auto; padding: 0 20px; }
.first-screen { min-height: calc(100svh - 58px); display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 2.5svh, 24px); padding-bottom: 12px; }
.hero, .carousel-section { text-align: center; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 5px; }
h1 span, .phrase-highlight { color: #c46d21; }
.intro { margin-bottom: 0; font-size: clamp(1rem, 2vw, 1.2rem); }
.animation-region { max-width: 100%; border-radius: 12px; }
.phrase-window { --phrase-h: clamp(125px, 17svh, 145px); --phrase-shift: 10px; height: var(--phrase-h); overflow: hidden; }
.phrase-track { position: relative; height: 100%; }
.phrase { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; font-weight: 700; font-size: clamp(1.55rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.025em; }
.phrase-track .phrase:first-child { opacity: 0; }
.phrase-track .phrase:last-child { opacity: 0; transform: translateY(var(--phrase-shift)); }
.phrase-track.moving .phrase:nth-child(2) { opacity: 0; transform: translateY(calc(-1 * var(--phrase-shift))); transition: opacity 180ms ease-out, transform 700ms ease-in-out; }
.phrase-track.moving .phrase:last-child { opacity: 1; transform: translateY(0); transition: opacity 180ms ease-in 250ms, transform 700ms ease-in-out; }
.carousel-tagline { margin: 2px 0 0; font-size: .95rem; }
.carousel-tagline span { color: #c46d21; font: bold 1.3em Georgia, "Times New Roman", serif; }
.gallery { --step: clamp(50px, 15vw, 170px); position: relative; height: clamp(180px, 33svh, 320px); overflow: hidden; isolation: isolate; }
.orange-disk, .stickman, .garment { position: absolute; left: 50%; top: 49%; }
.orange-disk { width: 150px; height: 150px; background: #d7812a; border-radius: 50%; transform: translate(-50%, -50%); }
.stickman { width: 190px; height: min(259px, calc(100% - 24px)); object-fit: contain; transform: translate(-50%, -50%); }
.garment { --garment-size: clamp(80px, calc(20.6svh - 30px), 120px); width: var(--garment-size); height: var(--garment-size); object-fit: contain; z-index: var(--layer); opacity: var(--visibility); transform: translate(-50%, -50%) translateX(calc(var(--delta) * var(--step))) translateY(calc(var(--distance) * 10px - 8px)) scale(var(--scale)); transition: transform 700ms ease-in-out, opacity 700ms ease-in-out; }
.art-note { margin: 3px 0 0; font-size: .8rem; }
.info-grid { min-height: 100svh; padding: clamp(36px, 8svh, 90px) 0 40px; display: grid; grid-template-columns: 1.6fr 1fr; align-content: start; gap: 22px; }
.details { min-width: 0; padding: 24px; background: rgb(255 251 246 / 84%); border-radius: 20px; }
.details h2 { margin-bottom: 12px; font-size: 1.65rem; }
.animation-region.resync .garment { transition: none; }
.details ol { margin: 0; padding-left: 1.3em; display: grid; gap: 13px; font-size: 1.05rem; line-height: 1.5; }
.details li { padding-left: .2em; }
.details p { margin-bottom: 0; font-size: 1.05rem; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 600px) {
  .site-header { padding: 8px 16px; }
  .brand { font-size: 1.6rem; }
  main { padding: 0 14px; }
  .first-screen { min-height: calc(100svh - 51px); gap: clamp(10px, 2.5svh, 22px); }
  h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .intro { font-size: .96rem; }
  .phrase-window { --phrase-h: 92px; }
  .phrase { font-size: clamp(1.25rem, 5.5vw, 1.8rem); }
  .gallery { --step: clamp(39px, 14vw, 58px); height: clamp(195px, 27svh, 235px); }
  .orange-disk { width: 110px; height: 110px; }
  .stickman { width: 140px; height: min(190px, calc(100% - 10px)); }
  .garment { width: 85px; height: 85px; }
  .carousel-tagline { font-size: .9rem; }
  .art-note { font-size: .75rem; }
  .info-grid { grid-template-columns: 1fr; gap: 12px; padding: clamp(24px, 6svh, 60px) 0 16px; }
  .details { padding: 16px; }
  .details h2 { margin-bottom: 8px; font-size: 1.45rem; }
  .details ol, .details p { font-size: 1rem; }
  .details ol { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phrase-track.moving .phrase, .garment { transition: none; }
}
