/* YUUKI STUDIO — quiet form, precise rhythm. No external dependencies. */
:root {
  --paper:#f5f5f7;
  --ink:#1d1d1f;
  --muted:#6e6e73;
  --blue:#4169ac;
  --line:#dcdcdf;
  --shell:1280px;
  --header:72px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:96px;
  scrollbar-gutter:stable
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased
}

body.modal-open {
  overflow:hidden
}

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

button {
  font:inherit;
  color:inherit;
  cursor:pointer
}

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

button:focus-visible,a:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:6px
}

button {
  border:0
}

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

h1,h2,h3,p,figure {
  margin:0
}

button[hidden],[hidden] {
  display:none!important
}

::selection {
  background:#d4e2f4
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  top:12px;
  left:24px;
  z-index:100;
  background:#fff;
  padding:14px;
  transform:translateY(-160%)
}

.skip-link:focus {
  transform:none
}

.site-header {
  position:fixed;
  inset:0 0 auto;
  z-index:30;
  transition:background .35s,border-color .35s;
  color:var(--ink);
  border-bottom:1px solid transparent
}

.site-header.scrolled {
  background:rgba(245,245,247,.94);
  border-color:rgba(29,29,31,.08)
}

.nav-shell {
  max-width:1440px;
  margin:auto;
  height:var(--header);
  padding:0 5.5%;
  display:flex;
  justify-content:space-between;
  align-items:center
}

.wordmark {
  font-size:13px;
  font-weight:700;
  letter-spacing:.055em;
  white-space:nowrap
}

.wordmark span {
  font-size:8px;
  vertical-align:super;
  margin:0 3px 0 1px
}

.nav-links {
  display:flex;
  gap:34px;
  align-items:center
}

.nav-links a {
  font-size:12px;
  color:var(--muted);
  transition:color .2s;
  position:relative;
  padding:12px 0
}

.nav-links a:hover,.nav-links a[aria-current] {
  color:var(--ink)
}

.nav-links a[aria-current]:after {
  content:"";
  width:3px;
  height:3px;
  background:currentColor;
  border-radius:50%;
  position:absolute;
  bottom:2px;
  left:50%
}

.nav-links a span {
  margin-left:6px
}

.menu-toggle {
  display:none
}

.hero {
  height:100vh;
  height:100svh;
  min-height:760px;
  position:relative;
  display:grid;
  place-items:center;
  padding:104px 5.5% 100px;
  overflow:hidden
}

.hero-content {
  width:100%;
  text-align:center;
  will-change:transform,opacity
}

.eyebrow {
  font-size:10px;
  font-weight:600;
  letter-spacing:.18em;
  line-height:1.6
}

.hero .eyebrow {
  color:var(--muted);
  margin-bottom:28px
}

.hero h1 {
  font-size:clamp(48px,8.3vw,134px);
  font-weight:650;
  letter-spacing:-.072em;
  line-height:1.03;
  white-space:nowrap
}

.title-period {
  color:var(--blue)
}

.hero-subtitle {
  font-size:clamp(20px,2.5vw,37px);
  font-weight:500;
  letter-spacing:-.035em;
  margin-top:20px
}

.hero-note {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  margin-top:20px;
  letter-spacing:.09em
}

.mobile-break {
  display:none
}

/* A single glimpse of the same artwork leads into the next chapter. */
.hero-art {
  width:clamp(300px,30vw,430px);
  margin:28px auto 0;
  animation-delay:.48s;
}

.hero-art img {
  width:100%;
  height:auto;
  aspect-ratio:2;
  object-fit:cover;
  object-position:50% 57%;
  border-radius:8px;
}

.hero-art figcaption {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.08em;
}

.hero-bottom {
  position:absolute;
  bottom:37px;
  left:5.5%;
  right:5.5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:9px;
  font-weight:500;
  letter-spacing:.14em;
  color:var(--muted)
}

.scroll-cue {
  display:flex;
  gap:20px;
  align-items:center;
  padding:10px
}

.scroll-cue span {
  font-size:18px;
  transition:transform .3s
}

.scroll-cue:hover span {
  transform:translateY(5px)
}

.hero-enter {
  animation:arrive 1.1s cubic-bezier(.2,.7,.2,1) both
}

.hero .eyebrow {
  animation-delay:.05s
}

.hero h1 {
  animation-delay:.15s
}

.hero-subtitle {
  animation-delay:.28s
}

.hero-note {
  animation-delay:.4s
}

@keyframes arrive {
  from {
    opacity:0;
    transform:translateY(18px);
    filter:blur(5px)
  }

  to {
    opacity:1;
    transform:none;
    filter:blur(0)
  }

}

.showcase {
  height:320vh;
  position:relative;
  background:var(--paper)
}

.showcase-stage {
  position:sticky;
  top:0;
  height:100vh;
  height:100svh;
  min-height:540px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:var(--paper);
  isolation:isolate
}

.showcase-intro {
  position:absolute;
  top:13%;
  left:9%;
  right:9%;
  z-index:2;
  max-width:none;
  text-align:center;
  will-change:opacity,transform
}

.showcase-intro h2 br {
  display:none
}

.showcase-intro h2 {
  font-size:clamp(44px,5.5vw,82px);
  line-height:1.07;
  letter-spacing:-.07em;
  margin:20px 0
}

.showcase-intro>p:last-child {
  font-size:13px;
  color:var(--muted);
  line-height:1.8
}

.showcase-art {
  width:66%;
  height:52%;
  position:absolute;
  left:17%;
  top:40%;
  border-radius:14px;
  overflow:hidden;
  will-change:transform;
  transform-origin:center;
  box-shadow:0 25px 70px #1020361a
}

.showcase-art img {
  width:100%;
  height:100%;
  object-fit:cover
}

.art-label {
  opacity:var(--label-opacity,1);
  position:absolute;
  bottom:22px;
  left:25px;
  color:#fff;
  font-size:9px;
  letter-spacing:.14em;
  text-shadow:0 1px 7px #0008
}

.showcase-outro {
  position:absolute;
  z-index:3;
  left:9%;
  top:29%;
  color:white;
  max-width:min(650px,54%);
  opacity:0;
  visibility:hidden;
  transform:translateY(24px);
  will-change:transform,opacity
}

.showcase-outro h2 {
  font-size:clamp(46px,5.9vw,88px);
  letter-spacing:-.06em;
  line-height:1.08;
  margin:23px 0
}

.showcase-outro h2 span {
  color:#d1dceb
}

.showcase-outro>p:not(.eyebrow) {
  font-size:14px;
  color:#e1e7ee;
  line-height:1.9
}

.text-link {
  display:inline-flex;
  gap:35px;
  align-items:center;
  font-size:14px;
  margin-top:28px;
  border-bottom:1px solid #ffffff60;
  min-height:44px;
  padding-bottom:12px
}

.text-link span {
  transition:transform .25s
}

.text-link:hover span {
  transform:translate(3px,-3px)
}

.showcase-stage:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#05080ef5 0%,#05080ee6 38%,#05080ea3 68%,#05080e29 100%);
  opacity:var(--shade,0);
  z-index:1;
  pointer-events:none
}

.showcase-progress {
  position:absolute;
  bottom:35px;
  left:9%;
  right:9%;
  display:flex;
  align-items:center;
  gap:24px;
  font-size:8px;
  letter-spacing:.16em;
  z-index:3;
  color:var(--progress-ink,#6e6e73)
}

.progress-track {
  height:1px;
  width:110px;
  background:#94949960
}

.progress-track i {
  display:block;
  height:100%;
  background:currentColor;
  transform:scaleX(var(--progress,0));
  transform-origin:left
}

.showcase-progress>span:last-child {
  margin-left:auto
}

.section-shell {
  max-width:var(--shell);
  margin:0 auto;
  padding-left:42px;
  padding-right:42px
}

.works {
  padding-top:145px;
  padding-bottom:140px
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:50px
}

.section-heading h2 {
  font-size:clamp(38px,5.2vw,70px);
  letter-spacing:-.055em;
  line-height:1.1;
  margin-top:22px
}

.section-description {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  padding-bottom:4px
}

.works-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:55px 0 35px;
  gap:15px;
  border-bottom:1px solid var(--line);
  padding-bottom:20px
}

.filters {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}

.filters button {
  background:none;
  font-size:11px;
  color:var(--muted);
  padding:10px 15px;
  border-radius:30px;
  transition:background .2s,color .2s
}

.filters button:first-child {
  padding-left:16px
}

.filters button[aria-pressed="true"] {
  background:var(--ink);
  color:#fff
}

.filters button:not([aria-pressed="true"]):hover {
  background:#e5e5e8;
  color:var(--ink)
}

.filters button span {
  font-size:8px;
  margin-left:5px;
  opacity:.65
}

.demo-note {
  font-size:8px;
  letter-spacing:.07em;
  color:var(--muted);
  white-space:nowrap
}

.works-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px 28px;
  align-items:start
}

.work:nth-child(4n+2) {
  margin-top:70px
}

.work:nth-child(4n+3) {
  margin-top:-30px
}

.works-grid.filtered .work {
  margin-top:0
}

.work-button {
  display:block;
  text-align:left;
  width:100%;
  padding:0;
  background:none
}

.work-visual {
  display:block;
  aspect-ratio:1.23;
  overflow:hidden;
  position:relative;
  background:#e6e8ed;
  border-radius:3px
}

.work:nth-child(4n+2) .work-visual,.work:nth-child(4n+3) .work-visual {
  aspect-ratio:1.05
}

.work-visual img {
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(var(--work-scale,1.035));
  transition:transform .7s cubic-bezier(.2,.7,.2,1)
}

.work-button:hover .work-visual img {
  transform:scale(1.07)
}

.work-open {
  position:absolute;
  bottom:20px;
  right:20px;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--ink);
  background:#ffffffed;
  font-size:19px;
  transform:translateY(8px);
  opacity:0;
  transition:transform .3s,opacity .3s
}

.work-button:hover .work-open,.work-button:focus-visible .work-open {
  transform:none;
  opacity:1
}

.work-meta {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:19px;
  align-items:baseline
}

.work-meta .work-title {
  font-size:17px;
  letter-spacing:-.03em;
  font-weight:550
}

.work-meta .work-category {
  font-size:10px;
  color:var(--muted)
}

.work-caption {
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  color:var(--muted);
  font-size:9px;
  letter-spacing:.06em
}

.collection-footnote {
  margin-top:60px;
  font-size:11px;
  color:var(--muted);
  line-height:1.8
}

.fallback-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px
}

.fallback-grid img {
  width:100%;
  height:auto
}

.fallback-grid figcaption {
  padding-top:12px;
  font-size:12px
}

.reveal {
  opacity:1;
  transform:none
}

.motion-ready .reveal {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1)
}

.motion-ready .reveal.is-visible {
  opacity:1;
  transform:none
}

.about {
  border-top:1px solid var(--line);
  padding-top:70px;
  padding-bottom:135px
}

.about-top {
  display:flex;
  justify-content:space-between;
  align-items:center
}

.small-index {
  font-size:9px;
  color:var(--muted);
  letter-spacing:.1em
}

.about h2 {
  font-size:clamp(68px,11vw,152px);
  font-weight:600;
  letter-spacing:-.07em;
  line-height:.98;
  margin-top:64px
}

.about-cross {
  font-weight:300;
  color:#aaaab2
}

.about-body {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  margin-top:65px
}

.about-statement {
  font-size:clamp(22px,2.5vw,34px);
  letter-spacing:-.035em;
  line-height:1.65
}

.about-body>div>p {
  font-size:14px;
  line-height:2;
  color:var(--muted);
  margin-bottom:23px
}

.disciplines {
  list-style:none;
  padding:22px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:14px 24px;
  border-top:1px solid var(--line);
  margin:33px 0 0
}

.disciplines li {
  font-size:10px;
  color:var(--ink)
}

.contact {
  max-width:none;
  background:#050505;
  color:#fff;
  padding:110px max(42px,calc((100vw - 1196px)/2)) 0
}

.contact .eyebrow {
  color:#8c8c94
}

.contact h2 {
  font-size:clamp(48px,7.5vw,106px);
  letter-spacing:-.055em;
  line-height:1.05;
  margin-top:38px;
  font-weight:600
}

.contact h2 span {
  color:#8f9199
}

.contact-description {
  font-size:14px;
  color:#a7a7ae;
  margin-top:30px
}

.contact-links {
  display:flex;
  gap:45px;
  margin-top:40px;
  font-size:16px
}

.contact-pending {
  color:#8e8e94;
  display:flex;
  gap:20px;
  align-items:center
}

.contact-pending small {
  font-size:10px
}

.contact-links a {
  padding:12px 0;
  border-bottom:1px solid #555;
  transition:color .25s;
  overflow-wrap:anywhere
}

.contact-links a:hover {
  color:#a8c5e8
}

.contact-setup {
  font-size:11px;
  color:#8e8e94;
  margin-top:19px
}

.contact footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-top:115px;
  padding:27px 0;
  border-top:1px solid #29292b
}

.contact footer>span {
  font-size:8px;
  letter-spacing:.08em;
  color:#919198
}

.back-top {
  font-size:11px;
  display:flex;
  align-items:center;
  gap:18px
}

.back-top span {
  transition:transform .25s
}

.back-top:hover span {
  transform:translateY(-4px)
}

.work-dialog {
  border:0;
  padding:0;
  background:#fff;
  color:var(--ink);
  width:min(1080px,calc(100% - 64px));
  max-height:90vh;
  max-height:90dvh;
  overflow:auto;
  border-radius:10px;
  box-shadow:0 30px 100px #0005
}

.work-dialog::backdrop {
  background:#090d15b8;
  backdrop-filter:blur(8px)
}

.work-dialog:not([open]) {
  display:none
}

.dialog-shell {
  position:relative
}

.dialog-close {
  position:absolute;
  top:15px;
  right:15px;
  z-index:2;
  width:42px;
  height:42px;
  background:#fffffff0;
  border-radius:50%;
  font-size:28px;
  font-weight:300;
  line-height:1;
  transition:background .2s
}

.dialog-close:hover {
  background:#dce5f0
}

.dialog-visual {
  background:#e9ecf0;
  max-height:54vh;
  overflow:hidden
}

.dialog-visual img {
  width:100%;
  height:100%;
  max-height:54vh;
  object-fit:cover
}

.dialog-content {
  padding:35px 45px
}

.dialog-content h2 {
  font-size:36px;
  letter-spacing:-.04em;
  margin:10px 0 16px
}

.dialog-content>p:not(.eyebrow) {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  max-width:730px
}

.work-facts {
  display:flex;
  flex-wrap:wrap;
  gap:20px 45px;
  margin:24px 0 30px
}

.work-facts dt {
  font-size:9px;
  color:var(--muted);
  margin-bottom:6px
}

.work-facts dd {
  font-size:11px;
  margin:0
}

.dialog-footer {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:20px;
  font-size:10px;
  color:var(--muted)
}

.dialog-footer>div {
  display:flex;
  align-items:center;
  gap:17px
}

.dialog-footer button {
  width:36px;
  height:36px;
  background:var(--paper);
  border-radius:50%;
  font-size:16px
}

.dialog-footer button:hover {
  background:#e1e8f1
}

.dialog-footer button:disabled {
  opacity:.4;
  cursor:default
}

@media(min-width:1600px) {
  .hero h1 {
    font-size:150px
  }

  .nav-shell {
    max-width:1600px
  }

}

@media(max-width:1000px) {
  .section-shell {
    padding-left:32px;
    padding-right:32px
  }

  .demo-note {
    display:none
  }

  .showcase-intro {
    left:8%;
    right:8%
  }

  .showcase-art {
    left:12%;
    width:76%;
    top:42%;
    height:50%
  }

  .contact {
    padding-left:40px;
    padding-right:40px
  }

  .section-description {
    font-size:12px
  }

  .filters button {
    padding:10px 12px
  }

  .about-body {
    gap:35px
  }

}

@media(max-width:680px) {
  :root {
    --header:64px
  }

  html {
    scroll-padding-top:80px
  }

  .nav-shell {
    padding:0 24px
  }

  .wordmark {
    font-size:11px
  }

  .menu-toggle {
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:44px;
    height:44px;
    padding:11px;
    background:none;
    z-index:2
  }

  .menu-toggle span {
    display:block;
    width:22px;
    height:1px;
    background:var(--ink);
    transition:transform .25s
  }

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

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

  .nav-links {
    position:absolute;
    left:0;
    right:0;
    top:64px;
    padding:15px 24px 28px;
    background:var(--paper);
    display:flex;
    gap:0;
    flex-direction:column;
    align-items:stretch;
    border-bottom:1px solid var(--line)
  }

  .has-js .nav-links {
    display:none
  }

  .has-js .nav-links.is-open {
    display:flex
  }

  .nav-links a {
    font-size:17px;
    padding:17px 0
  }

  .nav-links a[aria-current]:after {
    left:auto;
    right:5px;
    bottom:50%
  }

  body:not(.has-js) .site-header {
    position:relative
  }

  body:not(.has-js) .menu-toggle {
    display:none
  }

  body:not(.has-js) .nav-links {
    position:static;
    flex-direction:row;
    gap:12px;
    padding:0;
    border:0
  }

  body:not(.has-js) .nav-shell {
    height:auto;
    min-height:64px;
    flex-wrap:wrap;
    gap:15px
  }

  body:not(.has-js) .nav-links a {
    font-size:11px
  }

  .hero {
    min-height:660px;
    padding:92px 24px 100px
  }

  .hero .eyebrow {
    font-size:8px;
    letter-spacing:.1em;
    margin-bottom:24px
  }

  .hero h1 {
    font-size:clamp(34px,9.6vw,66px);
    letter-spacing:-.065em
  }

  .hero-subtitle {
    font-size:clamp(22px,6.2vw,27px);
    line-height:1.3;
    margin-top:18px
  }

  .mobile-break {
    display:block
  }

  .hero-note {
    font-size:11px;
    margin-top:18px
  }

  .hero-art {
    width:min(100%,290px);
    margin-top:25px;
  }

  .hero-art img {
    aspect-ratio:1.85;
    border-radius:6px;
  }

  .hero-art figcaption {
    font-size:7px;
    letter-spacing:.04em;
    margin-top:10px;
  }

  .hero-bottom {
    left:24px;
    right:24px;
    bottom:25px;
    justify-content:center
  }

  .hero-bottom>span {
    display:none
  }

  .scroll-cue {
    font-size:8px;
    letter-spacing:.16em
  }

  .showcase {
    height:280vh
  }

  .showcase-stage {
    min-height:500px
  }

  .showcase-intro {
    left:24px;
    right:24px;
    top:max(90px,13%);
    text-align:left
  }

  .showcase-intro h2 br {
    display:block
  }

  .showcase-intro h2 {
    font-size:clamp(38px,10.8vw,54px);
    line-height:1.14;
    margin:16px 0
  }

  .showcase-intro>p:last-child {
    font-size:11px
  }

  .showcase-art {
    left:6%;
    top:46%;
    width:88%;
    height:44%;
    border-radius:8px
  }

  .art-label {
    font-size:7px;
    bottom:15px;
    left:16px
  }

  .showcase-outro {
    left:24px;
    right:24px;
    top:max(100px,22%);
    max-width:none
  }

  .showcase-outro h2 {
    font-size:clamp(38px,11.5vw,58px);
    line-height:1.14;
    margin:20px 0;
  }

  .showcase-stage:after {
    background:linear-gradient(180deg,#05080eb8 0%,#05080ef2 22%,#05080ee6 66%,#05080e66 100%);
  }

  .showcase-outro .text-link {
    margin-top:22px;
    gap:28px;
  }

  .showcase-outro>p:not(.eyebrow) {
    font-size:12px
  }

  .showcase-progress {
    left:24px;
    right:24px;
    bottom:24px;
    font-size:7px;
    gap:18px
  }

  .progress-track {
    width:70px
  }

  .section-shell {
    padding-left:24px;
    padding-right:24px
  }

  .works {
    padding-top:85px;
    padding-bottom:85px
  }

  .section-heading {
    display:block
  }

  .section-heading h2 {
    font-size:clamp(34px,9.5vw,46px);
    margin-top:15px
  }

  .section-description {
    margin-top:24px;
    font-size:12px
  }

  .eyebrow {
    font-size:8px
  }

  .works-toolbar {
    margin-top:32px;
    margin-bottom:24px;
    padding-bottom:16px
  }

  .filters {
    gap:4px
  }

  .filters button {
    font-size:11px;
    min-height:44px;
    padding:11px 12px
  }

  .works-grid {
    grid-template-columns:1fr;
    gap:38px
  }

  .work:nth-child(n) {
    margin-top:0
  }

  .work:nth-child(n) .work-visual {
    aspect-ratio:1.08
  }

  .work-meta .work-title {
    font-size:17px
  }

  .work-open {
    width:40px;
    height:40px;
    right:16px;
    bottom:16px;
    opacity:1;
    transform:none;
    font-size:16px
  }

  .collection-footnote {
    margin-top:35px;
    font-size:10px
  }

  .about {
    padding-top:40px;
    padding-bottom:80px
  }

  .small-index {
    display:none
  }

  .about h2 {
    font-size:clamp(54px,14.5vw,96px);
    margin-top:38px
  }

  .about-body {
    grid-template-columns:1fr;
    gap:28px;
    margin-top:35px
  }

  .about-statement {
    font-size:24px
  }

  .about-body>div>p {
    font-size:13px
  }

  .desktop-break {
    display:none
  }

  .disciplines {
    gap:14px 20px
  }

  .contact {
    padding:80px 24px 0
  }

  .contact h2 {
    font-size:clamp(36px,9vw,62px);
    margin-top:30px
  }

  .contact-description {
    font-size:12px;
    margin-top:24px
  }

  .contact-links {
    gap:30px;
    flex-wrap:wrap;
    font-size:14px
  }

  .contact-pending {
    gap:12px
  }

  .contact footer {
    margin-top:80px;
    flex-wrap:wrap;
    padding:25px 0;
    gap:25px
  }

  .contact footer>span {
    order:3;
    width:100%;
    font-size:7px
  }

  .back-top {
    margin-left:auto;
    font-size:10px
  }

  .work-dialog {
    width:calc(100% - 24px);
    max-height:92dvh;
    border-radius:6px
  }

  .dialog-content {
    padding:25px 22px
  }

  .dialog-content h2 {
    font-size:27px
  }

  .dialog-content>p:not(.eyebrow) {
    font-size:12px
  }

  .dialog-visual,.dialog-visual img {
    max-height:36vh
  }

  .dialog-close {
    width:36px;
    height:36px;
    top:10px;
    right:10px
  }

  .work-facts {
    gap:20px 30px
  }

  .dialog-footer {
    font-size:8px;
    align-items:flex-start
  }

  .dialog-footer>div {
    gap:10px
  }

  .fallback-grid {
    grid-template-columns:1fr
  }

}

@media(prefers-reduced-motion:reduce) {
  .art-label {
    opacity:1!important;
  }

  html {
    scroll-behavior:auto
  }

  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }

  .hero-content {
    transform:none!important;
    opacity:1!important
  }

  .motion-ready .reveal {
    opacity:1;
    transform:none
  }

  .showcase {
    height:auto
  }

  .showcase-stage {
    position:relative;
    height:auto;
    min-height:0;
    display:block;
    padding:90px 8%;
    background:#050505!important
  }

  .showcase-intro {
    position:relative;
    inset:auto;
    color:#fff;
    text-align:left;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }

  .showcase-intro h2 br {
    display:block
  }

  .showcase-intro>p:last-child {
    color:#b8bcc6
  }

  .showcase-art {
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    aspect-ratio:1.45;
    margin:35px 0;
    transform:none!important
  }

  .showcase-outro {
    position:relative;
    inset:auto;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important
  }

  .showcase-outro h2 {
    font-size:clamp(38px,6vw,70px)
  }

  .showcase-progress {
    display:none
  }

  .showcase-stage:after {
    display:none
  }

  .work-visual img {
    transform:none!important
  }

}


/* V1.2 — atmospheric palette and independent motion layers */
:root {
  --paper:#f5f7fa; --pearl:#f5f7fa; --mist:#d9e3eb; --steel:#bccedc;
  --lavender:#e3dfea; --ivory:#f8f6f3; --slate:#303743;
}
body { background:linear-gradient(180deg,var(--pearl),var(--ivory) 52%,var(--pearl) 78%); }
.nav-shell { gap:26px; }
.nav-shell>.wordmark { margin-right:auto; }
.nav-actions { display:flex; align-items:center; gap:8px; }
.motion-toggle { width:40px; height:44px; background:none; font-size:14px; border-radius:50%; }
.motion-toggle:hover { background:#dde5ed; }
.hero { min-height:820px; isolation:isolate; background:radial-gradient(ellipse at 16% 75%,#d9e3eb75,transparent 56%),radial-gradient(ellipse at 84% 30%,#e3dfea6b,transparent 60%),linear-gradient(150deg,#f8f6f3,#f5f7fa 55%,#e9eff4); }
.hero:before { content:''; position:absolute; inset:-10%; background:radial-gradient(ellipse at 70% 70%,#bccedc50,transparent 58%); pointer-events:none; z-index:-1; }
.has-js .hero:before { animation:ambient-light 16s ease-in-out infinite alternate; }
@keyframes ambient-light { from{transform:translate3d(-2%,0,0);opacity:.5} to{transform:translate3d(2%,2%,0);opacity:.85} }
.hero.ambient-paused:before,.document-hidden .hero:before,.motion-paused .hero:before { animation-play-state:paused; }
.motion-paused .hero-enter { animation:none; opacity:1; transform:none; filter:none; }
.hero-enter { animation-duration:1s; }
.hero-art { animation-delay:.5s; }
.hero-art .cinematic-frame { aspect-ratio:2; height:auto; border-radius:8px; }
.hero-art .scene-camera img { aspect-ratio:auto; object-position:50% 57%; border-radius:0; height:100%; }
.hero-art figcaption { font-size:8px; }
.cinematic-frame { position:relative; width:100%; height:100%; overflow:hidden; background:var(--mist); }
.cinematic-open { width:100%; height:100%; display:block; padding:0; background:none; position:relative; touch-action:pan-y; }
.cinematic-open:disabled { cursor:default; }
.scene-list,.cinematic-slide,.scene-camera { display:block; position:absolute; inset:0; }
.cinematic-slide { opacity:0; overflow:hidden; }
.cinematic-slide.is-active { opacity:1; }
.scene-camera { will-change:transform; }
.scene-camera img { width:100%; height:100%; object-fit:cover; }
.scene-shade { position:absolute; inset:0; display:block; background:linear-gradient(160deg,#30374300,#17233035); pointer-events:none; }
.cinematic-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:9px; color:var(--ink); }
.cinematic-controls button { min-width:32px; height:40px; background:transparent; border-radius:24px; font-size:12px; padding:0 8px; }
.cinematic-controls button:hover { background:#dce5ed; }
.cinematic-controls button:disabled { color:#6e6e73; cursor:default; }
.scene-dots { display:flex; gap:5px; }
.scene-dots button { position:relative; font-size:9px; color:var(--muted); }
.scene-dots button[aria-pressed='true'] { color:var(--ink); }
.scene-dots button:after { content:''; height:1px; position:absolute; bottom:6px; left:8px; right:8px; background:#c5cdd6; }
.scene-dots i { position:absolute; height:2px; bottom:6px; left:8px; right:8px; background:var(--ink); z-index:1; transform:scaleX(0); transform-origin:left; }
.player-navigation { display:flex; gap:2px; }
.scene-caption { position:absolute; bottom:17px; left:19px; color:white; font-size:9px; letter-spacing:.09em; text-shadow:0 1px 6px #17202c; pointer-events:none; }
.showcase { background:linear-gradient(180deg,#e9eff4,var(--pearl)); }
.showcase-stage { background-image:radial-gradient(ellipse at 80% 18%,#e3dfea32,transparent 58%),radial-gradient(ellipse at 18% 80%,#bccedc3d,transparent 62%); }
.showcase-art>.cinematic-frame { height:100%; }
.showcase-controls { position:absolute; z-index:5; bottom:74px; left:9%; width:min(330px,82%); margin:0; padding:4px 8px; border-radius:28px; background:#f5f7faf5; box-shadow:0 1px 10px #17233013; }
.showcase-controls button { height:40px; }
.showcase-stage:after { background:linear-gradient(90deg,#17202cf5 0%,#1a2634e6 38%,#243243a3 68%,#30374329 100%); }
.works { background:radial-gradient(ellipse at 100% 35%,#e3dfea55,transparent 56%),radial-gradient(ellipse at 0 72%,#d9e3eb55,transparent 60%); }
.about { background:radial-gradient(ellipse at 70% 70%,#e3dfea40,transparent 70%); }
.contact { background:radial-gradient(ellipse at 80% 0,#43506466,transparent 70%),linear-gradient(160deg,#303743,#1b2432); }
.featured-browser { margin:0 0 65px; }
.featured-open { width:100%; display:block; padding:0; background:var(--mist); border-radius:7px; overflow:hidden; text-align:left; aspect-ratio:2.1; perspective:1200px; touch-action:pan-y; }
.featured-perspective,.featured-parallax { display:block; width:100%; height:100%; position:relative; }
.featured-perspective { transition:transform .25s ease-out; }
.featured-parallax { transform:translate3d(var(--pointer-x,0px),var(--pointer-y,0px),0) scale(1.025); transition:transform .25s ease-out; }
.featured-image { width:100%; height:100%; object-fit:cover; object-position:center; }
.featured-hint { position:absolute; right:24px; bottom:24px; background:#f5f7faec; padding:13px 18px; border-radius:25px; font-size:11px; color:var(--ink); }
.featured-hint>span { margin-left:22px; }
@media(hover:hover) and (pointer:fine) { .featured-open:hover .featured-perspective { transform:rotateX(1deg) rotateY(-1deg) scale(1.005); } }
.featured-meta { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:25px 0; }
.featured-meta h3 { font-size:30px; letter-spacing:-.04em; font-weight:550; margin-top:8px; }
.featured-meta .eyebrow { color:var(--muted); }
.featured-navigation { display:flex; align-items:center; gap:17px; font-size:10px; color:var(--muted); }
.featured-navigation button { height:44px; width:44px; border-radius:50%; background:#e5ecf2; font-size:18px; }
.featured-navigation button:hover { background:#d3e0ea; }
.featured-navigation button:disabled { opacity:.4; cursor:default; }
.work-thumbnails { display:flex; gap:12px; overflow-x:auto; padding:5px 3px 10px; scrollbar-width:thin; }
.work-thumbnails button { background:none; flex:0 0 100px; padding:0; border:2px solid transparent; border-radius:4px; overflow:hidden; opacity:.6; transition:opacity .2s,border-color .2s; }
.work-thumbnails button[aria-pressed='true'] { opacity:1; border-color:var(--blue); }
.work-thumbnails button:hover { opacity:1; }
.work-thumbnails img { width:100%; height:65px; object-fit:cover; }
.interaction-note { margin-top:15px; font-size:10px; color:var(--muted); line-height:1.8; }
.detail-views { display:flex; flex-wrap:wrap; gap:8px; padding:15px 24px 0; }
.detail-views button { min-height:44px; padding:10px 16px; border-radius:24px; background:var(--paper); font-size:11px; }
.detail-views button[aria-pressed='true'] { background:var(--ink); color:#fff; }
.model-viewer { min-height:350px; }
.dialog-visual img { object-fit:contain; background:linear-gradient(135deg,#d9e3eb,#f5f7fa); }
@media(max-width:680px) {
  .nav-shell { gap:8px; }
  .nav-actions { gap:2px; }
  .motion-toggle { width:36px; }
  .hero { min-height:740px; }
  .hero-art .cinematic-frame { aspect-ratio:1.85; border-radius:6px; }
  .cinematic-controls button { height:44px; }
  .hero-art figcaption { font-size:7px; }
  .showcase-controls { left:24px; right:24px; bottom:60px; width:auto; max-width:330px; padding:2px 6px; }
  .showcase-stage:after { background:linear-gradient(180deg,#17202cb8 0%,#17202cf2 22%,#243243e6 66%,#30374366 100%); }
  .featured-open { aspect-ratio:1.2; }
  .featured-hint { right:16px; bottom:16px; padding:11px 14px; }
  .featured-meta { margin:20px 0; gap:10px; }
  .featured-meta h3 { font-size:23px; }
  .featured-navigation { gap:8px; }
  .featured-navigation button { height:40px; width:40px; }
  .work-thumbnails { gap:8px; }
  .work-thumbnails button { flex-basis:75px; }
  .work-thumbnails img { height:55px; }
  .featured-browser { margin-bottom:44px; }
  .interaction-note { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) {
  .showcase-stage { background:linear-gradient(150deg,#303743,#1b2432)!important; }
  .showcase-controls { position:relative; inset:auto; width:100%; max-width:330px; margin:28px 0 0; }
  .scene-camera,.featured-perspective,.featured-parallax { transform:none!important; }
  .hero:before { animation:none!important; }
  .showcase-art { aspect-ratio:1.45; }
}

/* Sticky chapters should land fully inside the viewport, with their controls visible. */
.showcase { scroll-margin-top:-96px; }
@media(max-width:680px) { .showcase { scroll-margin-top:-80px; } }

@media(max-width:680px) and (max-height:700px) { .hero { min-height:660px; padding:80px 24px; } }

.contact .eyebrow { color:#b6c1cf; }
.contact-pending,.contact-setup { color:#b1bdcc; }
.contact footer>span { color:#b5bfcc; }

.cinematic-open:focus-visible { outline:2px solid var(--blue); outline-offset:-5px; }
.hero-content:focus-within { opacity:1!important; transform:none!important; }

.hero-enter.has-entered { animation:none; opacity:1; transform:none; filter:none; }
